title: Fetching 3 tables at a time, retrieve only the table which matches the condition (SQL)
body: <p>I have 3 tables: WATER_TENDER,ENGINE and TRAILER.</p>
  
  <p>All of them have the EQ_ID as primary key and some other attributes, different for each table.</p>
  
  <p>for example, EQ _ ID='WT-123' points a row inside the WATER _TENDER table only, and nothing inside the other tables.</p>
  
  <p>As I do not know the EQ _ID in advance so I do not know which table to look at, how can I write a single query which checks all the 3 tables based on EQ _ID and retrieve just the table which matches the EQ _ID specified?? </p>