I have one table with a column ID and SERVICE_TYPE_TEXT, and another table with columns
ID, SERVICE_TYPE ...
and lots of other columns.
The SERVICE_TYPE in the second table contains the ID from the first table. I want to query so I can get the SERVICE_TYPE_TEXT from the first table that matches the ID given in the second table.
I've tried to join, and setting different names on ID with AS, but always at the end of the query result I get the original ID from the first table with column name ID, as well as the name I defined in the AS.
Any suggestions on how I can get the ID from the first table to stay away ? :)
*that is almost certainly somewhere in yourSELECTclause (of course, this would be easier to diagnose if we could see your query)