If I do a query like
insert into sometable b + 10 from select b from (select b from sometable order by id desc limit 1)
Is this operation atomic? That is, would it be possible for an insert into sometable to change the value of b AFTER is has been queried, but before the insert completes, causing the insert to get the wrong value?