7953-devToTest_2438 #2942
|
@ -10,7 +10,7 @@ CREATE OR REPLACE TEMPORARY TABLE tmp.tTicketVolume
|
||||||
GROUP BY t.id;
|
GROUP BY t.id;
|
||||||
|
|
||||||
UPDATE vn.ticket t
|
UPDATE vn.ticket t
|
||||||
JOIN tTicketVolume tv ON tv.id = t.id
|
JOIN tmp.tTicketVolume tv ON tv.id = t.id
|
||||||
SET t.volume = tv.volume;
|
SET t.volume = tv.volume;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE tmp.tTicketVolume;
|
DROP TEMPORARY TABLE tmp.tTicketVolume;
|
||||||
|
|
Loading…
Reference in New Issue