可以将查询包装为一个内嵌视图
例如:
select * from (select class,count(student_id)as sum from student )as aa where sum<50
group by class
SQL中在where子句中引用别列名
最新推荐文章于 2021-01-28 07:29:28 发布
可以将查询包装为一个内嵌视图
例如:
select * from (select class,count(student_id)as sum from student )as aa where sum<50
group by class