Hi,
I have three tables
T1 has the columns Course, Site and Roomid.
T2 that has the same columns.
T3 that has columns RoomId and Room Name
I want to populate T2 with the values from T1 . For the Course and the Site the values can be automatically populated by using a Select and Insert statement. But the Roomid column in T2 should have the RoomName column data from T3.
(Eg : T2. Roomid= T3.Roomname where T1.Roomid=T3.Roomid)
How can I do this using a Select Query Only
ie, Select Query and Select Subquery
Help is appreciated.
Thanks