QuestionQ88Verified/Manipulating DataCopy linkReport a problemAsk AstroTutorSave questionReview the following statement, which runs successfully: Which statement is true?AOnly if the salary is 20000 or less and the employee id is 125 or higher, insert EMPLOYEE_ID, MANAGER_ID, and SALARY into the MGR_HISTORY table.BRegardless of salary and employee id, insert EMPLOYEE_ID, MANAGER_ID, and SALARY into the MGR_HISTORY table.CRegardless of salary, only if the employee id is less than 125, insert EMPLOYEE_ID, MANAGER_ID, and SALARY into the MGR_HISTORY table.DOnly if the salary is 20000 or less and the employee id is less than 125, insert EMPLOYEE_ID, MANAGER_ID, and SALARY into the MGR_HISTORY table.Show AnswerAnswerExplanationA conditional multitable INSERT ALL evaluates the WHEN condition for every row returned by the subquery; its ELSE branch is executed when no WHEN condition is true. The source WHERE clause limits input rows to EMP_ID < 125, and MGR_HISTORY is in the ELSE branch, which applies when SAL > 20000 is false—therefore, for salaries of 20000 or less.Learn moreOracle Database SQL Language Reference: INSERTShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion