I have 3 tables in which one column name is common for all i.e PRNO .I want to write SQL query to select everything from Table1 where PRNO is 500, Table2 where PRNO is 500 , Table3 where PRNO is 500 .
“Select * from Tab1,Tab2,Tab3 WHERE PRNO=500”
Getting Error “Ambiguous column name ‘PRNO’ “