I have two select statement like
Select author_id, count(text) from posts group by author_id
select author_id, count(text) from posts where postcounter =1 group by author_id
Is there a way to combine in a single query the two statements? Results differ in length, so it is needed to insert some 0s in the second resultset.
Many thanks for any help
Best regards,
Simone
You should be able to get this in a single query using: