Login
Remember
Register
Ask a Question
Can we rename a column in the output of the SQL query?
0
votes
asked
Jul 10, 2020
in
Sql
by
SakshiSharma
Can we rename a column in the output of the SQL query?
#sql-query
#query-sql
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 10, 2020
by
sharadyadav1986
Yes, using the following syntax we can do this.
SELECT column_name AS new_name FROM table_name;
...