I have an inheritance relationship in my database, where I have a parent table (Table A) that is basically a sequence of auto-incrementing integers (Id column). From here, I have several tables (Table B,C & D) that also have an Id column, which is a foreign key to the Id column in Table A.
Now my question is, if I have the Id, what is the most efficient way I can go about getting the correct row from table B, C, or D?
EDIT: There will be only ONE row with the Id in either table B, C, or D (there will not be a matching row in the other 2).