I have a table named Province with column name id, District and Municipality. So, If I select any District values , then its respective municipality value should be displayed. How do I do it?
enter image description here
If I select District values named Kapilvastu, then its respective Municipality values named Kapilvastu should come as an output.
Slava Rozhnev
10.2k6 gold badges27 silver badges43 bronze badges
1 Answer 1
I think an SQL statement like this should work!
SELECT Municipality FROM Province WHERE District = 'District Name'
Sign up to request clarification or add additional context in comments.
Comments
lang-sql