I have two tables and i am trying to get count from both tables. Means count from first table then count from 2nd table and result should look like this.
Count(users.name) Count(users_types)
5 8
But my query brings this result
Count(users.name) Count(users_types)
8 8
Here is my query
select count(users.users),
count(users_types.users_types)
form users , users_types
How can i get correct result?