• 2022-06-16
    查询比计算机类图书便宜的书,语句中 SELECT name ,price from book where price____ (select price from book where category='计算机')缺省的部分应是()。
    A: > all
    B: > any
    C: < any
    D: < all
  • D

    内容

    • 0

      查询“图书”表中书名含有“计算机”的图书信息,正确的选项是______。 A: select * from book where bname like ‘_计算机_’ B: select * from book where bname like ‘_计算机%’ C: select * from book where bname like ‘%计算机_’ D: select * from book where bname like ‘%计算机%’

    • 1

      以下语句的作用是:查询book表中图书价格大于图书均价的图书信息 select * from book where _____>( select avg(price) from Book ) 则____处的内容为,

    • 2

      查询被借阅过的图书,语句 SELECT name from book where( ) 的条件,下列哪[br][/br]一个不能实现. A: no =all (select bno from borrow) B: no =any (select bno from borrow) C: no in (select bno from borrow) D: exists (select * from borrow where bno=book.bno)

    • 3

      ‍查询图书名称含有“程序”的图书信息。语句如下:‌‍‌SELECT BookCode, BookName, Author, Price, Discount‌FROM Book‌WHERE BookName LIKE ________‌

    • 4

      要修改book(id,name,price)表中所有书名中以“计算机”开头的书籍的价格上幅5元,可用( )语句。 A: UPDATE book SET price =price+5 WHERE name = ‘计算机*’ B: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机*’ C: UPDATE book SET price =price+5 WHERE name LIKE = ‘计算机%’ D: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机%’