Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
joao.alberto
Starting Member
1 Post |
Posted - 2001-05-18 : 12:03:25
|
| Hi,1) the table looks like this : row col text 1 1 A 1 2 B 1 3 C 2 1 D 2 2 E 2 3 F ...2) the result should be like this C1 C2 C3 1 A B C 2 D E F3) the (beep) query is this SELECT row, CASE col WHEN 1 text END C1, CASE col WHEN 2 text END C2, CASE col WHEN 3 text END C3 FROM table4) the (beep)(beep) result is this C1 C2 C3 1 A null null 1 null B null 1 null null C 2 D null null 2 null E null 2 null null FQuestion : How can I put the 3 (beep) A,B,C in one (beep) row.Thanks for any help.joao.alberto |
|
|
|
|
|