I wanted to understand the internals of how MVCC is implemented such that it avoids the phantom read problem.
Suppose we have sql query:
Select count(*