Archives of the TeradataForum
Message Posted: Fri, 04 Sep 2009 @ 11:39:08 GMT
I m new to Teradata and I m implementing our existing application to support Teradata and we already supports DB2 and Oracle. Now I have a issue with the scenario below
Insert into table test2 (a1,a2,a3) select x,y,z from test1 order by z;
When I execute this query it failed with error order by cannot be used in subqueries. Could anyone please let me know if there are any workaround with single SQL statement to achieve the same result.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|