ConConsider a table Product(id, cost) where id is a key. The…
ConConsider a table Product(id, cost) where id is a key. The table initially contains two tuples: (1, 100) and (2, 150). Two transactions execute concurrently as follows: Transaction T1: BEGIN TRANSACTION; A1: INSERT INTO Product VALUES (3, 200);A2: UPDATE Product SET cost = cost + 50 WHERE id = 1; COMMIT; Transaction T2: BEGIN TRANSACTION; B1: SELECT SUM(cost) AS s1 FROM Product;B2: SELECT SUM(cost) AS s2 FROM Product; COMMIT; Assume all statements execute atomically. Transaction T1 always uses isolation level Serializable. If Transaction T2 also uses Serializable, what possible pairs of values (s1, s2) can it return?