BookStore数据库中有销售明细表OrderDetail(OrderCode, BookCode, Amount)
在OrderDetail表中添加一条记录:“08110801”、0701、3。SQL语句:________ 。
在OrderDetail表中添加一条记录:“08110801”、0701、3。SQL语句:________ 。
INSERT INTO OrderDetail(OrderCode, BookCode, Amount) VALUES('08110801', '0701', 3)INSERT INTO OrderDetail VALUES('08110801', '0701', 3)INSERT INTO OrderDetail(OrderCode, Amount, BookCode) VALUES('08110801',3, '0701')
举一反三
- BookStore数据库中有销售明细表OrderDetail(OrderCode, BookCode, Amount) 查询销售总量前20%的图书,并按总销量降序排列。SQL语句: SELECT TOP 20 PERCENT Bookcode As 书号, SUM(Amount)As总销量 ROM OrderDetail GROUP BY Bookcode ORDER BY ________
- BookStore数据库中有销售明细表OrderDetail(OrderCode...701、3。SQL语句:________
- BookStore数据库中有销售明细表OrderDetail(OrderCode...kcodeORDERBY________
- BookStore数据库中有出版社表Publisher(PublisherCode, Publisher, Telephone) 在Publisher表中添加一条记录:“66”、“群众出版社”、“0321-76584391”。SQL语句:________。
- BookStore数据库中有订单表Order(OrderCode, Custom...rder] WHERE ________
内容
- 0
BookStore数据库中有出版社表Publisher(PublisherCod...4391”。SQL语句:________
- 1
BookStore数据库中有图书表Book(BookCode, BookName..._ BookSort FROM Book
- 2
BookStore数据库中有图书表Book(BookCode,BookName,...WHERELenth(Author)=8
- 3
BookStore数据库中有订单表Order(OrderCode, CustomerCode, TotalPrice, Address, OrderTime, OrderStatus) 查询订单总价(TotalPrice)在100到200元之间的订单信息。SQL语句: SELECT OrderCode, TotalPrice, OrderTime, OrderStatus FROM [Order] WHERE ________
- 4
BookStore数据库中有订单表Order(OrderCode,Custome...]语句中TOP3的含义是________