Deviopath › PostgreSQL

Add a Product

Easy · Insert

INSERT INTO table (columns) VALUES (values); adds a row. Leave out the id column: serial fills it in with the next number.

Add a product named 'Marker' in category 'office' with price 2.50 and stock 40. The checker then lists all products.

Next: Restock Sold-Out Products