Skip to the query
SQL
First and last order amount of each customer
Medium
Question
Query
Sign up free to submit
SQLite
Sign up free to run your query
Opening the code editor…
Result
Run
shows what your query gives on the example rows.
Submit
checks it on the example rows and on a hidden set of rows.
Tab indents.
Ctrl+M
, then
Tab
, leaves the editor.
Ln 1, Col 1
SQL · ready