Skip to main content
All Problems
medium0% acceptance

Customer Order History with Names

The support team needs a readable order log. List each order's id, order_date, total_amount, and the customer's first and last name. Sort by order_date descending.

Schema

🔑idINT
first_nameTEXT
last_nameTEXT
emailTEXT
phoneTEXTNULL
cityTEXT
stateTEXT
countryTEXT
created_atTIMESTAMP
postgresql

Run your query to see results

Press Ctrl + Enter to execute