0
Tengo una tabla de ventas mensual como la siguiente: create table ventas ( id int NOT NULL AUTO_INCREMENT, year int, month int, monto numeric(15,2), PRIMARY KEY (id) ); insert into ventas (year, month, monto) values (2018, 1, 100); insert into ventas (year, month, monto) v...