查询语句问题?
请问:(请写出在CLASS表中查找满足如下条件的记录的SQL语句?1.返回字段C_NAME,C_STU
2.返回记录数为前5条
3.查询条件:C_STA的值大于30,并且C_TYPE的值为真,并且C_NAME字段中有"二班"两字
4.查询结果按C_STA正序排列,按C_TYPE倒序排列
2006-06-27 01:00
select top 5 c_name,c_str from class where c_sta>30 and c_type=true and c_name like '%二班%' order by c_sta,c_type desc

2006-06-27 08:19
2006-06-27 08:34
2006-06-28 21:03
2006-06-29 10:54
2006-06-30 20:50