Write a Oracle SQL statement to get number of days between two given dates.
Oracle Code:
SELECT ROUND ((MONTHS_BETWEEN ('01-May-2024', '01-Dec-2023') * 30), 0) num_of_days FROM DUAL;
Output:
NUM_OF_DAYS 1 150
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