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表中图书价格大于图书均价的图书信息select * from book where _____>;(select avg(price) from 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
- 以下语句的作用是:查询book表中图书价格大于图书均价的图书信息 select * from book where _____>( select avg(price) from Book ) 则____处的内容为,
- 语句Select avg(price)as 图书金额 from book中“图书金额”是book表的列。
- 以下语句的作用是:查询book表中图书价格大于图书均价的图书信息select * from book where _____>(select avg(price) from Book )则____处的内容为,
内容
- 0
查询不比计算机类图书便宜的书,语句中SELECT name ,price from book where price____(select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C:
- 1
显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。语句如下:SELECT Max(Price) AS 最高价, ________ AS 最低价, Str(Avg(Price),6,2) AS 平均价, Max(Price)-Min(Price) AS 最高价与最低价的差值FROM Book
- 2
BookStore数据库中有图书表Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount),其中 PublishTime是datetime类型。显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。SQL语句:SELECT MAX(Price) As 最高价, MIN(Price) As 最低价, Str(AVG(Price),6,2) As 平均价,________ As 最高价与最低价的差值 From Book A: (MAX-MIN)Price B: MAX(Price)-MIN(Price) C: (MAX-MIN)(Price) D: MAX:Price-MIN:Price
- 3
查询比计算机类图书便宜的书,语句中 SELECT name ,price from book where price____ (select price from book where category='计算机')缺省的部分应是()。 A: > all B: > any C: < any D: < all
- 4
以下语句的作用是()select * from book where Price<(select avg(price) from Book ) A: 查询book表中图书价格大于图书均价的图书信息 B: 查询book表中图书价格小于图书均价的图书信息 C: 查询book表中图书价格等于图书均价的图书信息 D: 查询book表中图书价格的均价