If I have two tables A and B, so that table A has columns: ID, VALUE, ACTIVE
and table B has columns: ID, NAME, ACTIVE.
A.ACTIVE and B.ACTIVE refer to different things.
Upon
SELECT * FROM A
JOIN B ON A.ID = B.ID
I would like to seperate the ACTIVE column so that I know which is which.
How do I go about accomplishing that ?
Thanks !
Don’t use * and qualify each column