English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Consider the following employee table. Write SQL commands for the question. To display the details of all employees in descending order of pay. - Computer Science

Advertisements
Advertisements

Question

Consider the following employee table. Write SQL commands for the question.

EMP CODE NAME DESIG PAY ALLO WANCE
S1001 Hariharan Supervisor 29000 12000
P1002 Shaji Operator 10000 5500
P1003 Prasad Operator 12000 6500
C1004 Manjima Clerk 8000 4500
M1005 Ratheesh Mechanic 20000 7000

To display the details of all employees in descending order of pay.

One Line Answer

Solution

SELECT * FROM employee ORDER BY DESC;

shaalaa.com
SQL Commands and Their Functions
  Is there an error in this question or solution?
Chapter 12: Structured Query Language (SQL) - Evaluation [Page 231]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 12 Structured Query Language (SQL)
Evaluation | Q 2. (i) | Page 231
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×