在VF里,怎样写大于600,小于590分数段有多少人?

来源:百度知道 编辑:UC知道 时间:2024/06/19 00:27:17
命令应该怎么写?

use 表名
count to 变量名 for 分数>600 or 分数<590

select count * from table where score>600 or score<590

select count(人名) from table where score>600 or score<590
这是一个问题还是2个 要是一个数怎么能大于600并且还小于590?

select count(人名字段) from 表名 where score>600 or score<590 ;