I have two tables
Table 1
id name
1 New-York
2 Dallas
3 LA
Table 2
id name city
1 Shops 1
2 Hotels 1
3 Shops 2
4 Hotels 2
How to get value of the city name table 1, in one query know row id of table 2?
Result:
1 Shops New-York