Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Is it possible to sort a column using a column alias?
Home
Sql
Is it possible to sort a column using a column alias?
0
votes
asked
Nov 7, 2021
in
Sql
by
rajeshsharma
Is it possible to sort a column using a column alias?
column-alias
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 7, 2021
by
rajeshsharma
Yes. We can use the alias method in the ORDER BY instead of the WHERE clause for sorting a column.
Related questions
0
votes
Q: Is it possible using MAX on a CHAR column?
asked
Feb 27
in
DB2
by
Robin
charcolumn
+2
votes
Q: Is it possible to import data directly from T-SQL commands without using SQL Server Integration Services? If so, what are the commands?
asked
Jan 15, 2022
in
Sql
by
GeorgeBell
t-sql
0
votes
Q: Which function(s) of dplyr would you use to first subset the columns and then sort them on a particular column?
asked
May 27, 2019
in
Other
by
tempuser
0
votes
Q: What is an Alias in SQL?
asked
Dec 14, 2020
in
Sql
by
SakshiSharma
#alias
#alias-sql
0
votes
Q: Explain the difference between Rename and Alias in SQL?
asked
Jul 12, 2020
in
Sql
by
Robindeniel
#sql-rename
#sql-alias
#sql-rename-vs-alias
+2
votes
Q: How can you capture the length of a column when it is a Text, NText and/or Image data type?
asked
Jan 14, 2022
in
Sql
by
GeorgeBell
t-sql
0
votes
Q: Is it possible for a table to have more than one foreign key in SQL?
asked
Jul 10, 2020
in
Sql
by
Robindeniel
#foreign-key
#sql-foreign-key
0
votes
Q: Suppose a Student column has two columns, Name and Marks. How to get names and marks of the top three students.
asked
Jul 10, 2020
in
Sql
by
SakshiSharma
#sql-columns
0
votes
Q: How do you add a column to a table in SQL?
asked
Jul 8, 2020
in
Sql
by
Robindeniel
#sql-add-column-table
0
votes
Q: What happens when the column is set to AUTO INCREMENT and if you reach maximum value in the table?
asked
Jan 13
in
Sql
by
DavidAnderson
sql-interview-questions-answers
...