Page 1 of 1

See the structure of the PROGRAMS table:Which two SQL statements would execute successfully? (Choose two.)

Posted: Wed Jun 07, 2023 6:12 am
by answerhappygod
See the structure of the PROGRAMS table:Which two SQL statements would execute successfully? (Choose two.)
See The Structu 1
See The Structu 1 (1.38 KiB) Viewed 155 times
A. SELECT NVL(ADD_MONTHS(END_DATE,1),SYSDATE) FROM programs;
B. SELECT TO_DATE(NVL(SYSDATE-END_DATE,SYSDATE)) FROM programs;
C. SELECT NVL(MONTHS_BETWEEN(start_date,end_date),'Ongoing') FROM programs;
D. SELECT NVL(TO_CHAR(MONTHS_BETWEEN(start_date,end_date)),'Ongoing') FROM programs;