-- CREATE TABLE
CREATE TABLE Ventas(
id INTEGER primary key,
producto TEXT not null,
cantidad INTEGER not null,
precio REAL not null,
sucursal TEXT not null,
fecha TEXT not null
);
-- insert some values
INSERT INTO Ventas Values (1, 'Pintura blanca 20L', 10, 850, 'Toluca', '2026-11-01');
INSERT INTO Ventas Values (2, 'Pintura azul 4L', 25, 320, 'Metepec', '2026-11-02');
INSERT INTO Ventas Values (3, 'Pintura blanca 20L', 5, 850, 'Lerma', '2026-11-03');
INSERT INTO Ventas Values (4, 'Barniz transparente', 12, 450, 'Toluca', '2026-11-04');
INSERT INTO Ventas Values (5, 'Pintura azul 4L', 8, 320, 'Toluca', '2026-11-05');
INSERT INTO Ventas Values (6, 'Pintura blanca 20L', 15, 850, 'Metepec', '2026-11-06');
-- fetch some values
select producto, cantidad from Ventas

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: