ExamVeda
Login
Home
This question belongs to SQL Sql Miscellaneous
Sql Miscellaneous
?

Which of the following is illegal?

Answer & Solution
Correct Answer: Option D

SELECT SYSDATE - SYSDATE FROM DUAL; outputs 0
SELECT SYSDATE - (SYSDATE - 2) FROM DUAL; outputs 2
SELECT SYSDATE - (SYSDATE + 2) FROM DUAL; outputs -2

Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Animesh Musicals
Animesh Musicals 9 years ago
How can a future date be subtracted from current date??