Here I have 3 tables and I need to join them with the following criteria.Please help me out..
id emp_name emp_address
1 Manu sdfsdfdsfs Table-1
2 Anu sdfsdfdsfsdf
3 Vinu sdfsdfsdfsdf
id age sex
2 12 m
3 34 f Table 2
id course dept
2 x wer
3 y rty
1 z rtyt Table 3
Here I have 3 tables..I want to have a query where all the details of table1 should be there and from table 1 and table 2 i just want the records which are matching with the corressponding id in the table1
id emp_name emp_address
1 Manu sdfsdfdsfs Table-1
2 Anu sdfsdfdsfsdf
3 Vinu sdfsdfsdfsdf
id age sex
2 12 m
3 34 f Table 2
id course dept
2 x wer
3 y rty
1 z rtyt Table 3
Here I have 3 tables..I want to have a query where all the details of table1 should be there and from table 1 and table 2 i just want the records which are matching with the corressponding id in the table1