1

I need to reorder my query to have the name in the first column, but I still need the rest of the columns populated as well. How would you implement an alias in oracle to achieve this query?

select s.name, s.* from table as s

Thanks for the help.

4

1 回答 1

2

没有简单的方法可以解决这个问题,您必须按照您希望的顺序指定所有列。

select s.name, s.column1, s.column2, ... from table as s
于 2013-05-24T18:57:21.263 回答