为列出居住在MA或者DC州的所有的出版商,其SELECT语句是()。
A: A
B: B
C: C
D: D
A: A
B: B
C: C
D: D
举一反三
- 为列出居住在MA或者DC州的所有的出版商,其SELECT语句的WHERE子句是( )。 A: WHERE State = (‘MA’,‘DC’) B: WHERE State IN (‘MA’,‘DC’) C: WHERE State BETWEEN ‘MA’ AND ‘DC’ D: WHERE State=‘MA’ AND? State=‘DC’
- 查询所有非计算机系学生的信息,不正确的SQL语句是:( ) A: SELECT * FROM Student WHERE Sdept != 'CS'; B: SELECT * FROM Student WHERE NOT Sdept = 'CS'; C: SELECT * FROM Student WHERE Sdept IN ('MA', 'IS'); D: SELECT * FROM Student WHERE NOT Sdept IN ('CS');
- 查询学生表的所有记录的所有字段,SQL语句是 A: select 学生 from *; B: select * from 学生; C: select*from学生; D: select 所有记录所有字段 from 学生;
- 查询表A中所有信息的SQL语句是( )。 A: SELECT ALL ON A; B: SELECT * FROM A; C: SELECT ALL WHERE A; D: SELECT * WHERE A;
- 列出SC表中所有考试不及格的学生的学号Sno(无须重复),其SQL语句为( ) A: SELECT DISTINCT Sno FROM SC WHERE Grade<60; B: SELECT DISTINCT Sno FROM SC WHERE Grade IS NULL; C: SELECT Sno FROM SC WHERE Grade<60; D: SELECT ALL Sno FROM SC WHERE Grade<60;