rajesh kumar

rajesh kumar

  • NA
  • 408
  • 14.3k

Getting data from tables

Mar 27 2018 4:23 PM
Hi everybody, 
 
I have 2 tables tbl1  and tbl2 , in these tables id are different and columns are different, now my requirement is if i call tabl1 data it has to display tabl1 and tbl2 data.
 
I don't want to call directly tbl2 data .
 
Whenever i call tbl1 data then only tbl2 has to display how to make reference between  2 tables
 
By using foreign key we have give reference id but here both tables id are different.
 
Can anybody help me please

Answers (4)