I have a student id and multiple tables in my database all for info of students such that given any id, it is present only in one table. Each table has attribute Student id.
Given a student id, how to use SQL query to determine table has the info of student with that student id?
or slightly less fancy
you could also make a lookup view / query. something like this:
Then query this view for location. This can be useful if you need to joins