Please support our MS SQL advertiser: Programming Forums
Views: 1924 | Replies: 1
•
•
Join Date: Apr 2006
Location: South Africa
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi
I have 3 tables that I need to display in a report
TableA
idxA valueA
1, a
2, b
3, c
TableB
idxB bidxA valueB
1, 1, aa
2, 1, bb
3, 1, cc
4, 2, aa
5, 2, cc
TableC
idxC bidcA valueC
1, 1, dd
2, 1, ee
3, 2, ff
4, 2, gg
5, 2, hh
6, 2, ii
The resut I would like to display is
1 aa dd
1 bb ee
1 cc __
2 aa ff
2 cc gg
2 __ hh
2 __ ii
Does anyone have and idea and preferably an example on how to do something like this in SQL
Thanks
I have 3 tables that I need to display in a report
TableA
idxA valueA
1, a
2, b
3, c
TableB
idxB bidxA valueB
1, 1, aa
2, 1, bb
3, 1, cc
4, 2, aa
5, 2, cc
TableC
idxC bidcA valueC
1, 1, dd
2, 1, ee
3, 2, ff
4, 2, gg
5, 2, hh
6, 2, ii
The resut I would like to display is
1 aa dd
1 bb ee
1 cc __
2 aa ff
2 cc gg
2 __ hh
2 __ ii
Does anyone have and idea and preferably an example on how to do something like this in SQL
Thanks
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode