这语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId这个语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/07 21:02:44

这语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId这个语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId
这语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId
这个语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId

这语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId这个语句什么意思select * from [Feedbacks] where QId=3 order by case when QId=3 then 1 else 2 end,QId
从Feedbacks] 表查找条件是QId=3的数据并排序,本人觉得case when QId=3 then 1 else 2 end,QId 没多大意义.因为你都查询出来的数据都是QId=3了