This commit is contained in:
parent
ae999f780e
commit
16ba74dffc
|
@ -221,7 +221,7 @@ BEGIN
|
|||
FROM tInventory;
|
||||
|
||||
-- Eliminamos artículos que no estén en el inventario sin compra o venta
|
||||
DELETE i.id FROM item i
|
||||
DELETE i.* FROM item i
|
||||
LEFT JOIN tInventory ti ON ti.itemFk = i.id
|
||||
LEFT JOIN sale s ON s.itemFk = i.id
|
||||
LEFT JOIN buy b ON b.itemFk = i.id
|
||||
|
|
Loading…
Reference in New Issue