The SQL standard does not allow the order by clause when creating tables or views. You use the order by when selecting data from the table or view. The system looks at the existing access paths & figures out the best way to get the data. There is also a create index command you can use to create other access paths.

Reply With Quote