wsproperties
MIS
SQL by default displays instances of data vertically. I have a situation where I have a gifthrnkey and giftid. If there are multiple gifthrnkeys and giftid, I want to list the output horizontally. For example in a normal sql query of select gifthnrkey,giftid from gift_table, the output would be:
gifthrnkey Giftid
0012 1111
0012 1113
I want it like this
gifhnrkey giftid1 giftid2
0012 1111 1113
How can I do this in a select statement in query analyzer??
gifthrnkey Giftid
0012 1111
0012 1113
I want it like this
gifhnrkey giftid1 giftid2
0012 1111 1113
How can I do this in a select statement in query analyzer??