I am trying to create a temp table and my query reads as
Create table temp.Customer_All as (select ID, Name, ... from Customer... order by ID) with data;
However, order by is not allowed in subquery. Does anyone know how to obtain an answer set with ID in ascending order when creating a table?