查询出bok表中的总记录数
A: select count(*)from tb_book;
B: selectcountfromtb_book;
C: selectfromcounttb_book;
D: select*fromcounttb_book;
A: select count(*)from tb_book;
B: selectcountfromtb_book;
C: selectfromcounttb_book;
D: select*fromcounttb_book;
举一反三
- 查询book表中price字段的最大值,查询语句是: A: select max(price) from book; B: select min(price) from book; C: select price from min book; D: select price from max book;
- 查询book表中book_name字段和book_price字段的信息,查询语句是 A: select book_name,book_price from book B: select * from book C: select book from book_name,book_price D: select * from book book_name,book_price
- 查询“图书”表中书名含有“计算机”的图书信息,正确的选项是______。 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 ‘%计算机%’
- 以下____完整,语句的作用是:查询book表中图书价格大于图书均价的图书信息select * from book where _____>;(select avg(price) from Book )
- 以下语句的作用是()select * from book where Price<(select avg(price) from Book ) A: 查询book表中图书价格大于图书均价的图书信息 B: 查询book表中图书价格小于图书均价的图书信息 C: 查询book表中图书价格等于图书均价的图书信息 D: 查询book表中图书价格的均价