Skip to content
Advertisement

What is the query for getting user location from this database schema?

I have 4 tables – USERS, CITIES, STATES, COUNTRIES

I want to select username with complete location (eg: ADAM New Delhi, Delhi, India)

What is the optimal query for this?

Advertisement

Answer

Try this below script

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement