This commit is contained in:
parent
8803ae0534
commit
2e03fe8193
|
@ -73,14 +73,14 @@ BEGIN
|
||||||
SET s.ticketFk = stm.ticketFk
|
SET s.ticketFk = stm.ticketFk
|
||||||
WHERE stm.ticketFk;
|
WHERE stm.ticketFk;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE tSalesToMove;
|
CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT(
|
||||||
|
ticketFk INT,
|
||||||
CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT(
|
|
||||||
ticketFk INT,
|
|
||||||
itemPackingTypeFk VARCHAR(1)
|
itemPackingTypeFk VARCHAR(1)
|
||||||
) ENGINE=MEMORY;
|
) ENGINE=MEMORY
|
||||||
SELECT ticketFk, itemPackingTypeFk
|
SELECT ticketFk, itemPackingTypeFk
|
||||||
FROM tSalesToMove
|
FROM tSalesToMove
|
||||||
GROUP BY ticketFk;
|
GROUP BY ticketFk;
|
||||||
|
|
||||||
|
DROP TEMPORARY TABLE tSalesToMove;
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
Loading…
Reference in New Issue