Visual Database Tools
Creating Column Aliases
You can create
- Create a column name, such as "Total Amount," for an
expression such as(quantity * unit_price)
or for anaggregate function . - Create a shortened form of a column name, such as
"d_id"
for"discounts.stor_id."
After you have defined a column alias, you can use the alias in a
To create a column alias
- In the Grid pane, locate the row containing the data column for which you want to create an alias, and if necessary, mark it for output. If the data column is not already in the grid, add it.
- In the Alias column for that row, enter the alias. The alias must follow all naming conventions for SQL. If the alias name you enter contains spaces, the Query Designer automatically puts delimiters around it.