There is query sql, i need query 3 columns and order by 3 + 2 + 0
SELECT col1, col2, col3
FROM my_table
ORDER BY 3 + 2 + 0 Desc;
This does not cause a SQL error and can be executed normally. Why?
And the records are not sorted either.
New contributor
董宇航 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2