T1 | Update salesinfo Set commission = commission * 1.02 Where commission < = 50000; |
T2 | Update salesinfo Set commission = commission * 1.04 Where commission > 50000 and commission is < = 100000; |
T3 | Update salesinfo Set commission = commission * 1.06 Where commission > 100000; |
Which of the following options of running these transactions will update the commission of all salespersons correctly
(A)
Execute T1 followed by T2 followed by T3
(B)
Execute T2, followed by T3; T1 running concurrently throughout
(C)
Execute T3 followed by T2; T1 running concurrently throughout
(D)
Execute T3 followed by T2 followed by T1
Answer
Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!