BookStore数据库中有图书表Book(BookCode,BookName,...As最高价与最低价的差值FromBook
举一反三
- BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,BookSort,ISBN,BookPicture,ContentInro,Price,Discount),其中PublishTime是datetime类型。 显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。SQL语句: SELECTMAX(Price)As最高价,MIN(Price)As最低价,Str(AVG(Price),6,2)As平均价, ________As最高价与最低价的差值FromBook
- BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTimePublishTime是datetime类型。显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。SQL语句:SELECTMAX(Price)As最高价,MIN(Price)As最低价,Str(AVG(Price),6,2)As平均价()As最高价与最低价的差值FromBook A: (MAX-MIN)Price B: MAX(Price)-MIN(Price) C: (MAX-MIN)(Price) D: MAX:Price-MIN:Price
- BookStore数据库中有图书表Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount),其中 PublishTime是datetime类型。 显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。SQL语句
- BookStore数据库中有图书表Book(BookCode,BookName,...WHERELenth(Author)=8
- 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