feat: refs #3199 Requested changes

This commit is contained in:
Guillermo Bonet 2024-08-20 12:59:28 +02:00
parent d0f1362f85
commit d2bd408e31
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ BEGIN
DECLARE CONTINUE HANDLER FOR NOT FOUND SET vDone = TRUE;
CREATE OR REPLACE TEMPORARY TABLE tItems
(PRIMARY KEY (id))
ENGINE = MEMORY
SELECT DISTINCT t.id
FROM ticket t
JOIN sale s ON s.ticketFk = t.id