I have some problems in understanding sql isolation level.
I have table R with attribute A and values 1 and 2
T1:
UPDATE R SET A=2*A
INSERT INTO R VALUES(6)
T2:
SELECT AVG(A) FROM R
SELECT AVG(A) FROM R
What will be the result if the second transaction is executed using REPEATABLE READ ISOLATION LEVEL?
I know that update is not allowed but insert is, so it will be 1.5 and 3?