单项选择题
学校组织运动会比赛,需要从名单状态字段(正常,请假,无故不参加,退赛)中筛选出未参会的运动员姓名,请问如何实现()
A.select name from list where status< >"正常"
B.select name from list where status="请假,无故不参加,退赛"
C.select name from list where status!="正常"
D.A和C都正确
相关考题
-
单项选择题
需要从公司的员工表中,查询出不属于公司中高层(title为manager和senior_manager)的人员名单,实现方法是()
A.select name from employees where title="manager",title="senior_manager")
B.select name from employees where title="manager"AND title="senior_manager"
C.select name from employees where NOT title="manager"&title="senior_manager"
D.select name from employees where title NOT IN ("manager","senior_manager") -
单项选择题
公司绩效考核评比中,需要从绩效表中筛选出60分及以下的人员,以下能正确实现需求的SQL是()
A.select score from assessment where score=< 60
B.select name,score from assessment where score< =60
C.select name,score from assessment where score< 60
D.无法实现 -
单项选择题
需要从学生成绩表中查询出第10名到第20名的学生,以下select语句能正确查询出结果的是()
A.SELECT score FROM student_score LIMIT 10,20
B.SELECT TOP 10-20FROM student_score
C.SELECT TOP 10-20score FROM student_score
D.无法实现