Tab1 and Tab2 has the following info.ID column in Tab1 and Tab2 has
 matching values.
 Tab3 should have the info as below.
 Tab1
 --
 ID Val1 Val2
 1 qqq sa
 2 aaa fa
 3 ddd we
 Tab2
 --
 ID F1
 1 A
 1 B
 1 C
 1 D
 2 F
 2 G
 3 H
 Output Should be as blelow, without using the functions please advise the
 sql query.
 Tab3
 --
 ID Val1 Val2 F1
 1 qqq sa A,B,C,D
 2 aaa fa F,G
 3 ddd we H
 Thanks in advance.See: http://www.aspfaq.com/show.asp?id=2529
Razvan|||See: http://www.aspfaq.com/show.asp?id=2529
Razvan
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment