I’ve Two Tables in One database…
I want to get the Count of the Two Tables Sharing One Value.
Table accommodation
Name | Age | Nationality
mark | 19 | USA
john | 18 | Canada
Table off_campus
Name | Age | Nationality
smith | 21 | USA
maria | 20 | Mexico
Sql Statement
SELECT nationality,nationality count( * )
FROM accommodation, off_campus
GROUP BY nationality,nationality
Mistake :injured:
Which i want it to be as result
USA | 2
Canada | 1
Mexico | 1
Thank you for the help