select a.author_id,a.name,a.city,a.country from author a,catalog c
where c.author_id=a.author_id
and c.book_id=(select book_id from order_details
group by book_id
having sum(quantity)=(select max(quantity)
from (select sum(quantity) as quantity from order_details group by book_id)));
我想找到销量最高的书的作者,但它显示错误。这有什么问题?