+ -
当前位置:首页 → 问答吧 → 新手问题,高手帮助!

新手问题,高手帮助!

时间:2010-12-21

来源:互联网

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
检查不出这条的错误,高手帮助!谢谢

作者: 海里虾   发布时间: 2010-12-21

没有引用表,改成这样试试看?
select top 5 class.c_name,class.c_stu from class where class.c_stu>30 and class.c_type=true and class.c_name like '*二班*'  order by class.c_stu asc,class.c_type desc

作者: roych   发布时间: 2010-12-21