I have the following table for example:
Table users:
|Id |User |
| 1 |Frank |
| 2 |Tom |
| 3 |Lisa |
Table cities:
|Id |City |
| 1 |Paris |
| 2 |Tokyo |
How can I have the count of each table users and cities in only one SQL query ?
I want to have:
- Number of users: 3
- Number of cities: 2
Thanks.
sum? Did you really meancount?