sql - One row with 2 same name columns -
i wish have resultset 2 columns of data coming same column.
select cust,date,data cust_a1 ai_code between '17' , '19'; this return multiple rows
1234567 | 04-04-2011 | special offer 1234567 | 04-04-2011 | cheep offer 1345678 | 04-04-2011 | friday offer 1345678 | 04-04-2011 | special offer i shape this:
1234567 | 04-04-2011 | special offer | cheep offer 1345678 | 04-04-2011 | special offer | friday offer how can done?
this known pivot
Comments
Post a Comment