|
| 1 | +CREATE TABLE my_products ( |
| 2 | + product_id SERIAL PRIMARY KEY, |
| 3 | + product_name TEXT NOT NULL, |
| 4 | + description TEXT, |
| 5 | + product_category TEXT NOT NULL, |
| 6 | + price DECIMAL(10, 2) NOT NULL, |
| 7 | + updated_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP |
| 8 | +); |
| 9 | + |
| 10 | +INSERT INTO my_products(product_name, description, product_category, price, updated_at) VALUES |
| 11 | +('Pencil', 'Utensil used for writing and often works best on paper', 'stationery', 1.50, NOW()), |
| 12 | +('Laptop Stand', 'Elevated platform for laptops, enhancing ergonomics', 'electronics', 35.99, NOW()), |
| 13 | +('Desk Lamp', 'Illumination device for workspaces, often adjustable', 'furniture', 22.50, NOW()), |
| 14 | +('Bluetooth Speaker', 'Portable audio device with wireless connectivity', 'electronics', 99.99, NOW()), |
| 15 | +('Water Bottle', 'Reusable container for liquids, often insulated', 'kitchenware', 15.00, NOW()), |
| 16 | +('Backpack', 'Storage solution for carrying personal items on one’s back', 'accessories', 45.00, NOW()), |
| 17 | +('Wireless Mouse', 'Pointing device without the need for a physical connection', 'electronics', 25.00, NOW()), |
| 18 | +('Plant Pot', 'Container for holding plants, often with drainage', 'garden', 12.00, NOW()), |
| 19 | +('Sunglasses', 'Protective eyewear to shield eyes from UV rays', 'accessories', 50.00, NOW()), |
| 20 | +('Notebook', 'Bound sheets of paper for note-taking or sketching', 'stationery', 3.99, NOW()), |
| 21 | +('Stylus Pen', 'Tool for touchscreen devices, mimics finger touch', 'electronics', 18.50, NOW()), |
| 22 | +('Travel Mug', 'Insulated container for beverages on-the-go', 'kitchenware', 10.99, NOW()), |
| 23 | +('Phone Charger', 'Device to replenish the battery of mobile phones', 'electronics', 20.00, NOW()), |
| 24 | +('Yoga Mat', 'Cushioned surface for practicing yoga or exercise', 'sports', 30.00, NOW()), |
| 25 | +('Wall Clock', 'Time-telling device meant to hang on walls', 'furniture', 15.50, NOW()), |
| 26 | +('Keychain', 'Small device for holding keys together', 'accessories', 5.00, NOW()), |
| 27 | +('Desk Organizer', 'Tool for sorting and storing desk items', 'furniture', 12.50, NOW()), |
| 28 | +('Earbuds', 'Small headphones that fit directly inside the ear', 'electronics', 49.99, NOW()), |
| 29 | +('Calendar', 'Physical representation of days and months, often used for scheduling', 'stationery', 10.00, NOW()), |
| 30 | +('Umbrella', 'Protective gear against rain or intense sun', 'accessories', 8.99, NOW()), |
| 31 | +('Hand Sanitizer', 'Liquid or gel used to decrease infectious agents on hands', 'personal care', 2.50, NOW()), |
| 32 | +('Sketchbook', 'Paper-filled book used for drawing or painting', 'stationery', 6.99, NOW()), |
| 33 | +('Flash Drive', 'Portable storage device for digital files', 'electronics', 12.00, NOW()), |
| 34 | +('Tablet Holder', 'Stand or grip for holding tablets or e-readers', 'electronics', 22.99, NOW()), |
| 35 | +('Shampoo', 'Hair care product designed to cleanse the scalp and hair', 'personal care', 7.50, NOW()), |
| 36 | +('Wristwatch', 'Time-telling device worn around the wrist', 'accessories', 120.00, NOW()), |
| 37 | +('Basketball', 'Spherical sporting equipment used in basketball games', 'sports', 20.00, NOW()), |
| 38 | +('Guitar Picks', 'Small flat tool used to strum or pick a guitar', 'music', 5.00, NOW()), |
| 39 | +('Thermal Flask', 'Insulated bottle for keeping beverages hot or cold', 'kitchenware', 18.99, NOW()), |
| 40 | +('Slippers', 'Soft and light footwear intended for indoor use', 'footwear', 10.00, NOW()), |
| 41 | +('Easel', 'Upright support for artists to display or work on canvases', 'art supplies', 45.00, NOW()), |
| 42 | +('Bicycle Helmet', 'Protective headgear for cyclists', 'sports', 35.00, NOW()), |
| 43 | +('Candle Holder', 'Accessory to safely hold candles when they burn', 'home decor', 15.00, NOW()), |
| 44 | +('Cutting Board', 'Durable board on which to place materials for cutting', 'kitchenware', 10.50, NOW()), |
| 45 | +('Gardening Gloves', 'Handwear for protection during gardening tasks', 'garden', 8.00, NOW()), |
| 46 | +('Alarm Clock', 'Time-telling device with a feature to sound at a specified time', 'electronics', 25.00, NOW()), |
| 47 | +('Spatula', 'Flat tool used in cooking for flipping or spreading', 'kitchenware', 3.99, NOW()), |
| 48 | +('Jigsaw Puzzle', 'Picture printed on cardboard or wood and cut into pieces to be reassembled', 'toys', 12.99, NOW()), |
| 49 | +('Hammock', 'Sling made of fabric or netting, suspended between two points for relaxation', 'outdoor', 40.00, NOW()), |
| 50 | +('Luggage Tag', 'Accessory attached to luggage for identification purposes', 'travel', 7.50, NOW()) |
| 51 | +; |
0 commit comments