posted 19 years ago
As long as you have ID column in the selected tables it should be ok. If two tables have same column name, (ID) in this case, I think, JDBC will give you back the first ID column value. However, if you are joining two tables, and both tables have same column name but join doesnt include it, then it would mean , there's a potential for these columns to have different values. You may get different answers than expected.
I have a SQL query: SELECT * FROM Job_Request_Record, Requester_Record WHERE Job_Request_Record.Job_Requester_ID=Requester_Reco rd.Requester_ID; if i want to call an attribute from Job_Request_Record table e.g. rs.getString("ID")is it valid? or anything else. please help.