可以使用如下 SQL 查询语句来查询学生表 student 中入学总分 enterscore 在 600 及以上的'男'学生的学号 sno、姓名 sname、性别 sex 和入学总分 enterscore:

SELECT sno, sname, sex, enterscore
FROM student
WHERE enterscore >= 600 AND sex = '男';

注意:上述查询语句假设学生表的表名为 student,性别字段为 sex,入学总分字段为 enterscore。请根据实际情况修改表名和字段名。


原文地址: http://www.cveoy.top/t/topic/pFw 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录