DB2 SQL count in join or where clause
- by Pat
This is probably an amateur question but I'm an amateur ! ;o)
I have several tables: Account table, Officer table, Location table, Web table...
The Officer table doesn't give me the number of officers per account.
I need to retrieve only the accounts that have more than 20 officers.
Should I use the COUNT ? If so, how ?
Your help is greatly appreciated.
Thanks.
Pat