how to get the salary in descending order with out using
the keyword desc in sql
Answer Posted / sanjay
Select * from emp order by ((Select max(salary ) from emp) -
salary)+1
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Explain tablesample?
What is oltp (online transaction processing)?
How to loop through result set objects using odbc_fetch_row()?
What is the New in SQL server 2008?
Explain indexes disadvantages?
What are the basic functions for master, msdb, model, tempdb databases?
How to transfer data from a cursor to variables with a "fetch" statement?
Other than truncate statement, which other command can by-pass the trigger on the tables?
When I delete any data from a table, does the sql server reduce the size of that table?
What is dbcc command in sql server?
Is it safe to delete log files?
How to locate and take substrings with charindex() and substring() functions?
You have to store user responses of ‘yes’ and ‘no’ what kind of data type is best suited for this task?
How you can change the database name in SQL SERVER?
Explain a join?