Expected alias "<str>" (found "<str>") for table in reserving clause Explanation: The ON ... USING clause of SET and DECLARE TRANSACTION has already specified the ALIAS for the tables. User Action: Either use the alias specified by the ON clause, or omit the alias from the table specification.