Multiple choice technology programming languages

SELECT TO_CHAR( ADD_MONTHS(to_date('07-JUN-1994,'DD-MON-YYYY'),1), 'DD-MON-YYYY') FROM employees WHERE last_name = 'Baer';

  1. 06-JUN-1994

  2. 07-JUL-1994

  3. 06-JUL-1994

  4. 06-JUN-1995

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

ADD_MONTHS adds a specified number of months to a date. Starting from June 7, 1994 and adding 1 month gives July 7, 1994. The TO_CHAR then formats it as '07-JUL-1994'.