I have a column that allows me to say 10 values of all NCHAR (20) in SQL Server.
I want to sort the values by the 2nd letter in descending order. In other words, if I have the following column values. Note that this should work with any values, these are just examples.
SQL Query should produce the following output
The closest I could answer to was This -
Select a planet, the name from the galaxy WHERE is the planet as _ _% ORDER BY planet desc
source
share