Skip to main content
All Problems
easy0% acceptance

Order Details with Customer Name

Customer service needs an order report that includes customer names. Write a query that returns the order id, order_date, total_amount, and the customer's full name (first_name || ' ' || last_name) for every order.

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