大家好我需要在一个sql查询中使用多个where子句,如下所示,但它无法帮助我。
select (select count(total) as 'studentMarks1' from School where total <60 ),
(select count(total) as 'studentMarks2' from School where total >80 )
from School
where Id = '8'
答案 0 :(得分:2)
您需要使用{/ 1}}语句,如
CASE
答案 1 :(得分:1)
您通常会使用适当的void translateOutline(vector<Point>& outline, Point center)
{
for (auto & point : outline){
point = point + center;
}
}
声明执行此操作:
CASE