How will the results be sorted?

The EMP table contains these columns:
EMPLOYEE_ID NUMBER(4)
EMPNAME VARCHAR2 (25)
SALARY NUMBER(9,2)
HIRE_DATE DATE
You query the database with this SQL statement:
SELECT empname,hire_date HIREDATE, salary
FROM EMP

ORDER BY hire_date;
How will the results be sorted?

The EMP table contains these columns:
EMPLOYEE_ID NUMBER(4)
EMPNAME VARCHAR2 (25)
SALARY NUMBER(9,2)
HIRE_DATE DATE
You query the database with this SQL statement:
SELECT empname,hire_date HIREDATE, salary
FROM EMP

ORDER BY hire_date;
How will the results be sorted?

A.
descending alphabetically

B.
descending by date

C.
randomly

D.
ascending by date

E.
ascending alphabetically



Leave a Reply 0

Your email address will not be published. Required fields are marked *