See the structure of the PROGRAMS table:Which two SQL statements would execute successfully? (Choose two.)
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;
See the structure of the PROGRAMS table:Which two SQL statements would execute successfully? (Choose two.)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
See the structure of the PROGRAMS table:Which two SQL statements would execute successfully? (Choose two.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!