I have following table,
_________________ |id key1 key2 key3| ------------------ 1 101 102 103 2 201 202 203 I need a query which will create the following output,
|id key| -------- 1 101 1 102 1 103 2 201 2 202 2 203 Is there anything other than union all? When I used "union all", i came across an error disk utilization full... I have billions of records.