查询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表中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表中price字段的最大值,查询语句是: 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表中price字段的最大值,查询语句是: 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表中book_name字段和book_price字段的信息,查询语句是
智慧职教: 查询book表中book_name字段和book_price字段的信息,查询语句是
有下列XML文档,XPATH:“/bookstore/book[position()<3]”能够查找到上述XML文档中的( )内容. <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book> <title lang="eng">Harry Potter</title> <price>29.99</price> </book> <book> <title lang="eng">Learning XML</title> <price>39.95</price> </book> </bookstore>
有下列XML文档,XPATH:“/bookstore/book[position()<3]”能够查找到上述XML文档中的( )内容. <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book> <title lang="eng">Harry Potter</title> <price>29.99</price> </book> <book> <title lang="eng">Learning XML</title> <price>39.95</price> </book> </bookstore>
要修改book(id,name,price)表中所有书名中以“计算机”开头的书籍的价格上幅5元,可用( )语句。 A: UPDATE book SET price =price+5 WHERE name = ‘计算机*’ B: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机*’ C: UPDATE book SET price =price+5 WHERE name LIKE = ‘计算机%’ D: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机%’
要修改book(id,name,price)表中所有书名中以“计算机”开头的书籍的价格上幅5元,可用( )语句。 A: UPDATE book SET price =price+5 WHERE name = ‘计算机*’ B: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机*’ C: UPDATE book SET price =price+5 WHERE name LIKE = ‘计算机%’ D: UPDATE book SET price =price+5 WHERE name LIKE ‘计算机%’
现有表 book,字段:id (int),title (varchar), price(float); 其中 id 字段设为主键,使用 insert 语句向 book 表中 插入数据,以下语句错误的是( )。 A: insert into book (id,title,price) values(1,'java',100) B: insert into book (title,price) values('java',100) C: insert into book values ('java',100) D: insert book values('java',100)
现有表 book,字段:id (int),title (varchar), price(float); 其中 id 字段设为主键,使用 insert 语句向 book 表中 插入数据,以下语句错误的是( )。 A: insert into book (id,title,price) values(1,'java',100) B: insert into book (title,price) values('java',100) C: insert into book values ('java',100) D: insert book values('java',100)
现有表book,字段:id(int),title(varchar),price(float);其中id字段设为主键,使用insert语句向book表中插入数据,以下语句正确的是 A: insert into book(title,price) values('java',100) B: c)insert into book values('java',100) C: insert book values('java',100) D: insert into book(id,title,price) values(1,'java',100)
现有表book,字段:id(int),title(varchar),price(float);其中id字段设为主键,使用insert语句向book表中插入数据,以下语句正确的是 A: insert into book(title,price) values('java',100) B: c)insert into book values('java',100) C: insert book values('java',100) D: insert into book(id,title,price) values(1,'java',100)
现有表book,属性为:id(int),title(nvarchar(10)),price(numeric(6,2)),其中id为identity列,使用insert语句想book中插入数据,以下语句错误的是( ) A: Insert book(id,title,price) values (1,’java’,56.3) B: Insert book(title,price) values (’java’,56.3) C: Insert book values (’java’,56.3) D: Insert book values (’java’,56)
现有表book,属性为:id(int),title(nvarchar(10)),price(numeric(6,2)),其中id为identity列,使用insert语句想book中插入数据,以下语句错误的是( ) A: Insert book(id,title,price) values (1,’java’,56.3) B: Insert book(title,price) values (’java’,56.3) C: Insert book values (’java’,56.3) D: Insert book values (’java’,56)
语句Select avg(price)as 图书金额 from book中“图书金额”是book表的列。
语句Select avg(price)as 图书金额 from book中“图书金额”是book表的列。
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
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