分析以下SQL 命令执行后的输出结果是( )。[br][/br]SELECT price[br][/br]FROM inventory[br][/br]WHERE price BETWEEN 1 AND 50[br][/br]AND (price IN(55, 30, 95);
A: 55
B: 95
C: 30
D: NULL
A: 55
B: 95
C: 30
D: NULL
举一反三
- 分析以下SQL 命令: SELECT price FROM inventory WHERE price BETWEEN 1 AND 50 AND (price IN(55, 30, 95); 命令执行后的输出结果是:() A: 55 B: 30 C: 95 D: NULL
- 分析以下SQL命令: SELECT price FROM inventory WHERE price BETWEEN 1 AND 50 AND (price IN(55, 30, 95); 命令执行后的最可能的输出结果是( ) A: 55 B: 30 C: 95 D: 51
- 【单选题】显示图书信息表中不同书架图书的平均价格大于50元的书架号和平均价格。能得到正确结果的SELECT语句是 A: select casename,AVG(price) <br> from bookinfo group by casename where AVG(price)>50 B: select casename,AVG(price)>50 from bookinfo group by casename C: select casename,AVG(price) <br> from bookinfo<br> having AVG(price)>50 group by casename D: select casename,AVG(price) <br> from bookinfo group by casename<br> having AVG(price)>50
- 查 询 比 计 算 机 类 图 书 贵 的 书 , 语 句 中 SELECT name ,price from book where[br][/br]price________[br][/br] (select price from book where category='计算机')缺省的部分应是( ). A: all B: any C: D:
- 查询在2009年9月出生的学生,最准确的SQL语句是(<br/>)。 A: SELECT<br/>* FROM students WHERE birthday BETWEEN '2009-09-01' AND '2009-09-30' B: SELECT<br/>* FROM students WHERE birthday BETWEEN 2009-09-01 AND 2009-09-30 C: SELECT<br/>* FROM students WHERE birthday BETWEEN '2009-09-01' AND '2009-09-31' D: SELECT<br/>* FROM students WHERE birthday BETWEEN 2009-09-01 AND 2009-09-31