-- create a table
CREATE TABLE producto (
id integer PRIMARY KEY,
nombre varchar(50) NOT NULL,
marca varchar(50) NOT NULL,
precio numeric(10,2) NOT NULL,
stock integer NOT NULL,
categoria varchar(50),
fechaIn date
);
-- insert some values
INSERT INTO producto VALUES
(1, 'Pan de caja blanco', 'Bimbo', 18.00, 40, 'Panadería', 2026/01/10),
(2, 'Queso cheddar', 'Lala', 50.00, 20, 'Lácteos', 2026/01/12),
(3, 'Leche entera', 'Conaprole', 35.00, 50, 'Lácteos', 2026/01/15),
(4, 'Yogur natural', 'Conaprole', 25.00, 30, 'Lácteos', 2026/01/10),
(5, 'Galletas de chocolate', 'Oreo', 45.00, 15, 'Galletas', 2026/01/10);
-- fetch some values
--SELECT * FROM students WHERE gender = 'F';
To embed this project on your website, copy the following code and paste it into your website's HTML: