In MSSQL, I can select a column and change the column header by doing:
SELECT mycolumn as 'MyNewColumnName' from MyTable
This doesn't work in Oracle Database. How do I perform the same thing in Oracle Database?
In MSSQL, I can select a column and change the column header by doing:
SELECT mycolumn as 'MyNewColumnName' from MyTable
This doesn't work in Oracle Database. How do I perform the same thing in Oracle Database?
2条答案
按热度按时间y4ekin9u1#
dfty9e192#
In Oracle you can just provide a space after the column name and provide the alias name without any quotes as