I have three tables:
I want to know how many companies in my database has the accounts with more that 100 addresses linked to them.
I tried this but it didn't work:
Addresses ad ON ad.Customer = cu.Id
Companies c ON cu.company = c.Id
COUNT(ad.ID) > 100
© 2016 Powered by mzan.com design MATCHINFO