select publishing_company from (select * from database where pages >= 500) foo group by 1 having count(*) >= 2 and sum(pages) >= 500in a translater but the problem is that no subqueries are allowed...
Hi guys
I have a Problem:
I have a dataset within the following format:
{
"book": "TITLE"
"pages": 560
"publishing company": "PUBLISHER"
...
}
Now I want to create a query, which will show me all publishing companies that have at least 2 books with pages > 500.
Can anyone help me?
Thanks