Al ejecutar el comando: CALL sp_venta("20210619", 20, 100); se presenta:
Error Code: 1452. Cannot add or update a child row: a foreign key constraint fails (empresa
.facturas
, CONSTRAINT facturas_ibfk_2
FOREIGN KEY (MATRICULA
) REFERENCES vendedores
(MATRICULA
))