RienSQL
TASK #101 · Medium · VK

User's first order

Your brief
Display for each user the first item that he ordered (the first in transaction time).
Expected columnsuser_id itemVK
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Transactionstransaction_ts, user_id, transaction_id, item