Hello
I've got a table called invoice with a field supplier and another one invoice_category among others.
How can I retrieve all the suppliers that have more than two categories in the invoice table.
I tried
select count(*) from (select distinct invoice_category from invoice) but it didn't...