帮我看看这段SQL语句哪出错了

2025-04-14 08:49:56
推荐回答(3个)
回答1:

select top 5 c_name,c_stu from class where c_stu>30 and c_type=true and c_name like '*二班*' order by c_stu asc,c_type desc

回答2:

Like 后 用'%二班%'

回答3:

c_type='ture'
c_name like'%二班%'

count的值35