This commit is contained in:
parent
1b84082e99
commit
e971070f2f
|
@ -2,7 +2,7 @@ DELETE FROM vn2008.gastos_resumen
|
||||||
WHERE Id_Gasto IN (
|
WHERE Id_Gasto IN (
|
||||||
SELECT DISTINCT g.Id_Gasto
|
SELECT DISTINCT g.Id_Gasto
|
||||||
FROM vn2008.gastos_resumen g
|
FROM vn2008.gastos_resumen g
|
||||||
LEFT JOIN expense e ON e.id = g.Id_Gasto COLLATE utf8mb3_general_ci
|
LEFT JOIN vn.expense e ON e.id = g.Id_Gasto COLLATE utf8mb3_general_ci
|
||||||
WHERE e.id IS NULL
|
WHERE e.id IS NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue