要查询book表中所有书名以“电子商务”开头的书籍作者,可用(61)语句。A.SELECT author FROM booK WHERE book _name=‘电子商务*’B.SELECT author FROM booK WHERE book _name LIKE‘电子商务*’C.SELECT author FROM booK WHERE book_ name=‘电子商务%’D.SELECT author FROM booK WHERE book_name LIKE‘电子商务%’
要查询book表中所有书名以“电子商务”开头的书籍作者,可用(61)语句。
A.SELECT author FROM booK WHERE book _name=‘电子商务*’
B.SELECT author FROM booK WHERE book _name LIKE‘电子商务*’
C.SELECT author FROM booK WHERE book_ name=‘电子商务%’
D.SELECT author FROM booK WHERE book_name LIKE‘电子商务%’
相关考题:
● 在XML中,元素book 的声明语句如下:!ELEMENT book (title,price+,author?,borrow*)该声明语句表明,元素book中子元素 (62) 至少出现一次。A. title B. price C. author D. borrow
(1)将表“book”的结构复制到新表“book_bk”中,将命1令语句保存在“result1.prg,中。(2)将表“book”的记录复制到表“book_r”中,将命令语句保存在“result2.prg”中。(3)建立简单的菜单“cd1”,要求有两个菜单项:“查询”1和“统计”。其中“查询”菜单项有子菜单“执行查询”和“关闭”。“关闭”子菜单项负责返回到系统子菜单,其他菜单项不做要求。(4)为表“book”增加字段“作者”,类型和宽度为“字符型(8)”。
若用表Reader存储读者信息,Book表存储图书信息,Borrow表存储借阅情况。以下SQL语句是“查询证号为12345的读者当前所借阅的图书书名(即尚未归还的图书)”,请补充完整。SELECT 书名 FROM Book WHERE 流水号(1)(SELECT 流水号 FROM(2)WHERE 证号="12345" AND(3))以下SQL语句是“查询书名包含‘软件设计师’的图书情况”,请补充完整。SELECT * FROM Book WHERE 书名(4)"%软件设计师%"
若要删除book表中所有数据,以下语句错误的是哪两项?() A.delete all from bookB.delete from bookC.truncate table bookD.drop table book
在XML中,元素book的声明语句如下:<1ELEMENT book(title.price+,author?,borrow*)>该声明语句表明,元素book中子元素______至少出现一次。A.titleB.priceC.authorD.borrow
在XML中,元素book的声明语句如下:<1ELEMENT book (title.price+, author?, borrow*)>该声明语句表明,元素book中子元素______至少出现一次。A.title]B.price]C.authorD.borrow
阅读下面XML文档,下列说法正确的是______。<book><author>tony</author><!--作者信息--><bookcode>97873022</book>A.<book>是元素对象,同样也是数据内容B.<author>是数据内容C.<!--作者信息-->是元素对象D.97873022是数据内容
要查询book表中所有书名以“电子商务”开头的书籍作者,可用______语句。A.SELECT author FROM book WHERE book_name='电子商务*'B.SELECT author FROM book WHERE book_name LIKE'电子商务*'C.SELECT author FROM book WHERE book_name='电子商务%'D.SELECT author FROM book WHERE book_name LIKE'电子商务%'
如果要查询book表中所有书名以“数据库”开头的书籍价格,下列( )语句是正确的。A.SELECTpriceFROMbookWHEREbook_name=‘数据库:1:’B.SELECTpriceFROMbookWHEREbook_nameLIKE‘数据库*’C.SELECTpriceFROMbookWHEREbook_name=‘数据库%’D.SELECTpriceFROMbookWHEREbook_nameLIKE‘数据库%’
BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询作者名长度大于等于8的图书信息,显示书名(BookName)及作者(Author)。SQL语句:SELECTBookName,AuthorFROMBookWHERELenth(Author)=8
BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,PublishTime是datetime类型。查询Book表中的图书类别(BookSort),要求每个类别只显示一次。SQL语句:SELECT()BookSort FROM BookA、DISTINCTB、ONLYC、ONED、PERCENT
BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询图书名称(BookName)含有“程序”的图书信息。SQL语句:SELECTBookCode,BookName,Author,Price,DiscountFROMBookWHEREName=“%程序%”
现有书目表book,包含字段:price(float);现在查询一条书价最高的书目的详细信息,以下语句正确的是()A、select top 1 * from book order by price ascB、select top 1 * from book order by price descC、select top 1 * from book where price= (select max (price)from book)D、select top 1 * from book where price= max(price)
若要删除book表中所有数据,以下语句错误的是()A、truncate table bookB、delete * from bookC、drop table bookD、delete from book
现有书目表book,包含字段:价格price(float),类别type(char);现在查询各个类别的平均价格、类别名称,以下语句正确的是()。A、select avg(price),type from book group by typeB、select count(price),type from book group by priceC、select avg(price),type from book group by priceD、select count(price),type from book group by type
如果要查询book表中所有书名以“数据库”开头的书籍价格,下列()语句是正确的。A、SELECT price FROM book WHERE book_name=“数据库*”B、SELECT price FROM book WHERE book_name LIKE“数据库*”C、SELECT price FROM book WHERE book_name=“数据库%”D、SELECT price FROM book WHERE book_name LIKE“数据库%”
关于SQL语句“SELECTAuthor,BookName,ID,ISBN,Price FROM book ORDER BY ID DESC”的说法错误的是()。A、该语句表示从表“book”中查询所有记录B、该语句显示的字段是“Author”、“BookName”、“ID”、“ISBN”和“Price”C、该语句对查询到的记录将根据ID按升序排列D、该语句中的“book”表示数据表
单选题BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime,PublishTime是datetime类型。查询Book表中的图书类别(BookSort),要求每个类别只显示一次。SQL语句:SELECT()BookSort FROM BookADISTINCTBONLYCONEDPERCENT
判断题BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询作者名长度大于等于8的图书信息,显示书名(BookName)及作者(Author)。SQL语句:SELECTBookName,AuthorFROMBookWHERELenth(Author)=8A对B错
判断题BookStore数据库中有图书表Book(BookCode,BookName,Author,PublisherCode,PublishTime查询图书名称(BookName)含有“程序”的图书信息。SQL语句:SELECTBookCode,BookName,Author,Price,DiscountFROMBookWHEREName=“%程序%”A对B错
单选题查询book表中所有书名中包含“计算机”的书籍情况,可用()语句。ASELECT*FROM book WHERE book_nameLIKE‘*计算机*’BSELECT*FROM book WHERE book_nameLIKE‘%计算机%’CSELECT*FROM book WHERE book_name=‘%计算机*’DSELECT*FROM book WHERE book_name=‘*计算机%’
单选题现有书目表book,包含字段:price(float);现在查询一条书价最高的书目的详细信息,以下语句正确的是()。Aselect top1*from book order by price ascBselect top1*from book order by price descCselect top1*from book where priceDselect top1*from book where price=max(price)
单选题关于SQL语句“SELECTAuthor,BookName,ID,ISBN,Price FROM book ORDER BY ID DESC”的说法错误的是()。A该语句表示从表“book”中查询所有记录B该语句显示的字段是“Author”、“BookName”、“ID”、“ISBN”和“Price”C该语句对查询到的记录将根据ID按升序排列D该语句中的“book”表示数据表
单选题要查询book表中所有书名中以“计算机”开头的书籍的价格,可用()语句。ASELECT price FROM book WHERE book_name=‘计算机*’BSELECT price FROM book WHERE book_nameLIKE‘计算机*’CSELECT price FROM book WHERE book_name=‘计算机%’DSELECT price FROM book WHERE book_nameLIKE‘计算机%’