单项选择题
公司员工表的出生地字段里有空值,如果需要查询出非空出生地的员工,以下查询语句正确的是()
A.select name,birth_city from worker where birth_city< >""
B.select name,birth_city from worker where birth_city IS NOT NULL
C.select name,birth_city from worker where birth_city!=""
D.select name,birth_city from worker where birth_city=NOT_NULL
相关考题
-
单项选择题
学校组织运动会比赛,需要从名单状态字段(正常,请假,无故不参加,退赛)中筛选出未参会的运动员姓名,请问如何实现()
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.无法实现