UPDATE load_teacher_dell AS l1 INNER JOIN( SELECT load_id,concat_ws('|',lid,lsemestr,ltid,lgid,lsgid,lpredmet_id,ltype_id) AS uniq FROM load_teacher_dell ) AS l2 USING(load_id) SET l1.load_unique = l2.uniq
UPDATE load_teacher_dell AS l1INNER JOIN(SELECT load_id,concat_ws('|',lid,lsemestr,ltid,lgid,lsgid,lpredmet_id,ltype_id) AS uniqFROM load_teacher_dell) AS l2 USING(load_id)SET l1.load_unique = l2.uniq
Коментарі