已知网上书城数据库中图书表结构如下:图书(ISBN号,图书名,出版社,价格),现要查询作家出版社出版的价格低于该出版社出版图书平均价格的图书的信息,则查询语句应该是()

A.select * from 图书 where 价格>(select avg(价格) from 图书 where 出版社=作家出版社) B.select * from 图书 where 价格>avg(价格) and 出版社=作家出版社 C.select * from 图书 where出版社=作家出版社 and价格>(select avg(价格) from 图书) D.select * from 图书 where 出版社=作家出版社 and 价格>(select avg(价格) from 图书 where 出版社=作家出版社)

时间:2023-09-09 09:21:39

相似题目