Zdravím, dá se v database\table zapsat tento select: SELECT *FROM table WHERE id = 1 FOR UPDATE
Ne, musis napsat primo query