-
Is there any error in the following query?
SELECT emp_id, title, start_date, fname, fed_id
FROM Employee
ORDER BY 3, 4;
-
- No
- Depends
- Yes
- All of above
- None of these
Correct Option: A
“ORDER BY” clause can be used with Place holders. Here “3” represent column “title” and “4” represent “fed_id”. Therefore it look like “ORDER BY title, fed_id”.