WHERE条件中出现 LIKE '_C%' ,下面哪一个结果可以被查询出来()。
A. CCA
B. CAD
C. ABCDFE
D. CD
查看答案
SQL语句:select distinct sdept from student 实现了关系代数中的()操作。
A. 选择
B. 投影
C. 连接
D. 除
SQL语句:select student.* , cno, grade from student, sc where student.sno=sc.sno 实现了关系代数中的()操作。
A. 笛卡尔积
B. 等值连接
C. 自然连接
D. 除
SQL语句:select * from student where sname like '张%' 实现了关系代数中的()操作。
A. 选择
B. 投影
C. 并
D. 交
查询“计算机类”图书相关销售明细(不含未售出图书)。
A. SELECT sale_item.*FROM sale_item ,booksWHERE sale_item.book_no =books.book_no ANDbook_type='计算机'
B. SELECT sale_item.*FROM sale_item inner join bookson sale_item.book_no =books.book_noWHERE book_type='计算机'
C. Select *from sale_itemWhere book_no in (Select book_nofrom booksWhere book_type='计算机')
D. Select *from sale_itemWhere exists (Select *from booksWhere books.book_no=sale_item.book_no and book_type='计算机')