New orders should get status'pending' automatically. Add that default to orders, then insert order 1026 for customer 5 dated 2025-01-02 with payment method UPI (let the status fill itself).
Tables
customers
customer_idinteger
namevarchar
cityvarchar
statevarchar
signup_datedate
emailvarchar
phonevarchar
referred_byinteger
order_items
order_idinteger
product_idinteger
quantityinteger
unit_priceinteger
orders
order_idinteger
customer_idinteger
order_datedate
statusvarchar
payment_methodvarchar
products
product_idinteger
product_namevarchar
categoryvarchar
priceinteger
stockinteger
Hints(0/2)
Solution
Unlocks after you solve it or after 3 submissions
SQL (DuckDB)
Ctrl + Enter to runLog in to save progress and earn XP