Tuesday, 6 August 2013

Sql join on 2 table

Sql join on 2 table

I've 2 tables.
Table1: Id, Id_2, Val
Table2: Id, Val2
So I would like to join the table1 with table2 in this way: T1.Id join
into T2.Id, T1.Id_2 join into T2.Id, T1.Val and T2.Val2.
I can not generate the query to do this. Can someone help me, please?
Thanks!!

No comments:

Post a Comment