正解:A
In Oracle SQL, the WITH CHECK OPTION clause in a CREATE VIEW statement ensures that all data manipulation statements performed through the view must conform to the view's defining query.
Option A: DELETE FROM emp80 WHERE department_id = 90;
This will violate the CHECK constraint because the WHERE clause condition does not meet the view's restriction (department_id = 80). This statement attempts to delete rows that the view is not supposed to have access to (since it should only include rows where department_id is 80).
Options B, C, and D do not violate the CHECK constraint because:
Option B: A SELECT statement does not modify data, so it does not violate the CHECK OPTION.
Option C: Selecting rows with department_id = 80 is consistent with the view's definition.
Option D: There is a syntax error, but assuming it meant to set department_id to 80 where it is currently 90, it still would not violate the CHECK constraint because the CHECK OPTION on a view does not prevent updates that do not change the rows to fall outside the view's filter. However, since department_id is supposed to be 80 as per the view definition, this update operation doesn't make logical sense, as there should be no rows with department_id = 90 to update.