Imtiyaz Ansari

Imtiyaz Ansari

  • 561
  • 1.9k
  • 187.2k

sql query

Sep 1 2014 7:11 AM
i have two table 
1:-table1 
id hobies
 1 aa
 2 bb
 3 cc
 2:- table2
 id employee_idname lastname
 1 1f1 l1
 1,2 2 f2 l2
 2,3 3 f3 l3
required result 
 employee_id name  hobies
 1 f2l1 aa
 2 f2l2 aa,bb
 3 f3l3 bb,cc
 
 
 

Answers (5)