求一道数据库题目的解

来源:百度知道 编辑:UC知道 时间:2024/05/07 19:27:12
题目是这样的(图片):
是用ACCESS 2003 中的SQL语句
谢谢!

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

select c_name,c_stu from class
where c_stu>30
and c_type is true
and c_name like '%二班%'
and rownum<=5
order by c_stu asce,c_type desc;

1 select c_name,c_stu from class
2 Select top 5 * From class
3 select *
from class
where c_stu>30 and c_type=true and c_name like "%二班%"
4select * from class
order by c_stu asc,c_type desc