BookStore数据库中有图书表 Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount) 查询图书名称(BookName)含有“程序”的图书信息。SQL语句: SELECT BookCode,BookName,Author,Price,Discount FROM Book WHERE Name=“%程序%”
举一反三
- BookStore数据库中有图书表 Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount) 查询作者名长度大于等于8的图书信息,显示书名(BookName)及作者(Author)。SQL语句: SELECT BookName, Author FROM Book WHERE Lenth(Author)= 8
- BookStore数据库中有图书表Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount),其中 PublishTime是datetime类型。 查询Book表中的图书类别(BookSort),要求每个类别只显示一次。SQL语句: SELECT _________ BookSort FROM Book
- 查询图书名称含有“程序”的图书信息。语句如下:SELECT BookCode, BookName, Author, Price, DiscountFROM BookWHERE BookName LIKE ________
- BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,BookSort,ISBN,BookPicture,ContentInro,Price,Discount),其中PublishTime是datetime类型。 A: DISTINCT B: ONLY C: ONE D: PERCENT
- BookStore数据库中有图书表Book(BookCode, BookName, Author, PublisherCode, PublishTime,BookSort, ISBN, BookPicture, ContentInro, Price, Discount),其中 PublishTime是datetime类型。 显示图书的最高价、最低价、平均价、最高价与最低价之间的差值。SQL语句