SQL Isolation Levels Consider the following SQL query on anon-empty table emp with a salary field that is declared to benon-null.
select avg(salary), sum(salary)/count(*) from emp
What results will this query give when run at each of the fourSQL isolation levels? Be specific about any differences that couldoccur. Answer the same question for the following update.
update salary
set salary = salary*1.1 where name = ’Aoun’;
Expert Answer
Answer to SQL Isolation Levels Consider the following SQL query on a non-empty table emp with a salary field that is declared to b…