题目内容

使用如下数据表: 学生(学号(C,8),姓名(C,6),性别(C,2),出生日期(D) ) 选课(学号(C,8),课程号(C,3),成绩(N,5,1)) 查询所有1988年9月10日(含)以后出生、性别为女的学生,正确的SQL语句是

A. SELECT * FROM 学生 WHERE 出生日期>={^1988-09-10} AND 性别="女"
B. SELECT * FROM 学生 WHERE 出生日期<={^1988-09-10} AND 性别="女"
C. SELECT * FROM 学生 WHERE 出生日期>={^1988-09-10} OR 性别="女"
D. SELECT * FROM 学生 WHERE 出生日期<={^1988-09-10} OR 性别="女\

查看答案
更多问题

使用如下数据表: 学生(学号(C,8),姓名(C,6),性别(C,2),出生日期(D) ) 选课(学号(C,8),课程号(C,3),成绩(N,5,1)) 插入一条记录到“选课”表中,学号、课程号和成绩分别是“09080001”、“001”和80,正确的SQL语句是

A. INSERT INTO 选课(学号,课程号,成绩)FROM VALUES("09080001","001",80)
B. INSERT INTO 选课 VALUES("09080001", "001", 80)
C. INSERT VALUES("09080001","001",80) TO 选课(学号,课程号,成绩)
D. INSERT VALUES("09080001","001",80) INTO 选课(学号,课程号,成绩)

使用如下数据表: 学生(学号(C,8),姓名(C,6),性别(C,2),出生日期(D) ) 选课(学号(C,8),课程号(C,3),成绩(N,5,1)) 假定学号的第3、4位为专业代码。要计算各专业学生选修课程号为“007”课程的平均成绩,正确的SQL语句是

A. SELECT 专业 AS SUBS (学号,3,2),平均分AS AVG (成绩) FROM 选课
B. WHERE 课程号="007" GROUP BY 专业
C. SELECT SUBS (学号,3,2) AS 专业,AVG (成绩) AS 平均分 FROM 选课
D. WHERE 课程号="007" GROUP BY 1
E. SELECT SUBS (学号,3,2) AS 专业,AVG (成绩) AS 平均分 FROM 选课
F. WHERE 课程号="007" ORDER BY 专业
G. SELECT 专业 AS SUBS (学号,3,2),平均分 AS AVG (成绩) FROM 选课
H. WHERE 课程号="007" ORDER BY 1

使用如下数据表: 学生(学号(C,8),姓名(C,6),性别(C,2),出生日期(D) ) 选课(学号(C,8),课程号(C,3),成绩(N,5,1)) 将学号为“09080001”、课程号为“002”的选课记录的成绩改为92,正确的SQL语句是

A. UPDATE FROM 选课 SET 成绩 WITH 92 FOR 学号="09080001" AND 课程号="002"
B. UPDATE FROM 选课 SET 成绩=92 FOR 学号="09080001" AND 课程号="002"
C. UPDATE 选课 SET 成绩 WITH 92 WHERE 学号="09080001" AND 课程号 "002"
D. UPDATE 选课 SET 成绩=92 WHERE 学号="09080001" AND 课程号="002\

We know we have to read "between the lines" to get the most out of anything. Marking up is also a useful practice, (76) you shouldn’t mark up a book which isn’t yours. Librarians (77) lend you books expect you to keep them clean, and you should. If you decide that I am right about the usefulness of marking books, you will have to (78) them. There are three kinds of book owners. The first has all the standard sets and best sellers—unread, (79) . The second has a (80) many books—few of them read (81) , most of them dipped into, but all of them as clean and shiny as the day they were bought. The third has a few books or many every one of them (82) and dilapidated. Why is (83) a book indispensable to reading First, it keeps you awake. I mean wide (84) . In the second place, reading if it is active, is thinking, and thinking (85) express itself in words. Finally, writing helps you remember the thought you had, or the thoughts the author expressed.

A. on B. aloud C. through D. about

答案查题题库