begin work;
lock table a in access share mode;
lock table a in SHARE UPDATE EXCLUSIVE mode;
lock table a in access exclusive mode;
commit;
