All orders of one buyer

All orders of one buyer

orders.user_id holds the id of a buyer from the users table. Support is handling a request from the buyer with id = 7: return id, status and total_amount of all their orders, ordered by id ascending.

Row order matters

PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid