A SELECT statement can be used to perform these three functions:1. Choose rows from a table.2. Choose columns from a table3. Bring together data that is stored in different tables by creating a link between them. Which set of keywords describes these capabilities? ()
A. difference, projection, join
B. selection, projection, join
C. selection, intersection, join
D. intersection, projection, join
E. difference, projection, product
第1题:
假设所有学生都已选课,所有的选课成绩都已确定。检索所有选课成绩都在90分以上(含)的学生信息,正确的SQL命令是( )。
A.SELECT*FROM学生WHERE学号IN(SELECT学号FROM选课WHERE成绩>=90)
B.SELECT*FROM学生WHERE学号NOT IN(SELECT学号FROM选课 WHERE成绩<90)
C.SELECT*FROM学生WHERE学号!=ANY(SELECT学号FROM选课 WHERE成绩<90)
D.SELECT*FROM学生WHERE学号=ANY(SELECT学号FROM选课 WHERE成绩>=90)
第2题:
有如下SQL语句: SELECT姓名FROM学生表WHERE学号IN; (SELECT学号FROM成绩表WHERE成绩>90) 下列哪条命令与该SQL语句等价
A.SELECT姓名FROM学生表WHERE EXISTS; (SELECT学号FROM成绩表WHERE成绩>90)
B.SELECT姓名FROM学生表WHERE EXISTS; (SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90)
C.SELECT姓名FROM学生表WHERE学号EXISTS; (SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90)
D. SELECT姓名FROM学生表WHERE学号=; (SELECT学号FROM成绩表WHERE成绩>90)
第3题:
查询“成绩”表的所有记录并存储于数组arrl中的SQL语句是( )。
A)SELECT﹡FROM成绩INTO ARRAY arrl
B)SELECT﹡FROM成绩TO CURSOR arrl
C)SELECT﹡FROM成绩TO ARRAY arrl
D)SELECT﹡FROM成绩INTO CURSOR arrl
第4题:
与“SELECT*FROM教师表INTO DBF A”等价的语句是( )。
A.SELECT*FROM教师表TO DBF A
B.SELECT*FROM教师表TO TABLE A
C.SELECT*FROM教师表INTO TABLE A
D.SELECT*FROM教师表INTO A ,
第5题:
( 30 )与 “ SELECT * FROM 教师表 INTO DBF A ” 等价的语句是
A ) SELECT * FROM 教师表 TO DBF A
B ) SELECT * FROM 教师表 TO TABLE A
C ) SELECT * FROM 教师表 INTO TABLE A
D ) SELECT * FROM 教师表 INTO A
第6题:
SELECT语句中必选的子句是()
A.SELECT…FROM
B.SELECT…FROM…WHERE
C.SELECT…FROM…ORDER BY
D.SELECT