单项选择题
执行SQL语句:select city from people where city LIKE ("_eij_");,会查询出什么样的结果()
A.查询出eij的city
B.查询出前后任意一个字符,中间是eij的city
C.查询会出错
D.查询出匹配beijing的city
点击查看答案&解析
相关考题
-
单项选择题
某查询语句,select name from worker where name LIKE ("sao%");,执行上述SQL语句,正确结果是()
A.查询出sao所有的员工
B.执行结果报错
C.查询出name以sao打头的员工
D.查询出name叫sao%的员工 -
单项选择题
请查询出员工月薪不在20000到30000之间的员工明细()
A.select name,salary from worker where salary NOT BETWEEN 20000AND 30000
B.select name,salary from worker where salary< 20000AND salary>30000
C.A和D都能实现
D.select name,salary from worker where salary< 20000OR salary>30000 -
单项选择题
公司员工表的出生地字段里有空值,如果需要查询出非空出生地的员工,以下查询语句正确的是()
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