Skip to main content
All Problems
easy0% acceptance

Orders with Customer Names

The customer service team needs an order list that includes customer names. Join orders with customers to show the order 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