Write a Oracle SQL statement to determine how many days are left in the current month.
Oracle Code:
SELECT SYSDATE, LAST_DAY(SYSDATE) "Last", LAST_DAY(SYSDATE) - SYSDATE "Days Left" FROM DUAL;
Output:
SYSDATE Last Days Left 1 2/24/2021 12:38:14 PM 2/28/2021 12:38:14 PM 4
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Oracle Code:
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer