对于图书价格低于 10 美元的出版商,计算其所有图书的平均价格

For publishers having books priced less than $10, calculate the average price of all their books

谁能帮帮我,我实在是想不通,真是烦死了。 我知道如何做 avg 以及如何找出拥有 10 本书以下的出版商,但如何定义标准? 请参阅下面的架构,

TITLES
title_id
title
type
price
pub_id

提前致谢!

select pub_id, avg(price)
from TITLES
group by pub_id
having min(price) < 10