Hello All,
Parent Table
ID EMP_ID EMP_NAME
1 emp01 Sam
2 emp02 Jam
3 emp03 Mam
Child Table 1
ID EMP_ID EMP_ADDRESS
1 1 A Street
2 1 B Street
3 2 Z Street
4 3 L Street
5 3 M Street
6 3 N Street
Child Table 2
ID EMP_ID EMP_PHONE
1 1 123456789
2 1 456789123
3 3 456987321
4 3 465987321
5 3 321651213
If i pass the input as 'emp01', i need to get all the information from parent and child tables
Parent table ID and Child emp_id forms the foreign key relationships
How can this be achieved?