Skip to main content
Practice

10

sql

-- View the structure of the client_orders table
PRAGMA table_info(client_orders);

-- Insert a new client order
INSERT INTO client_orders (order_id, client_id, order_total, placed_at)
VALUES (6, 101, 49.99, '2024-03-10');

-- Insert another order
INSERT INTO client_orders (order_id, client_id, order_total, placed_at)
VALUES (7, 102, 79.50, '2024-04-22');

-- View all client orders
SELECT * FROM client_orders;

Want to learn more?

Join CodeFriends Plus membership or enroll in a course to start your journey.