'health' transactions of clients ('Москва'): Sep 15–21, 2025
Level: Junior50 XP
Instructions
Select the transactions of the category 'health' (transactions.category) made on or after September 15, 2025 and strictly before September 22, 2025 on the accounts of clients from the city 'Москва' (clients.city): the transaction id, account_id, amount, tx_time. Row order does not matter.
Hints
Each next one is more detailed and costs more
Query
Result
Click Run to see the query result, or Check to submit your solution.
Dataset schema
Exactly oneZero or oneZero or more
Table relationships
- N:1Many-to-one
accounts.→client_id clients.id - N:1Many-to-one
transactions.→account_id accounts.id
Table data
PostgreSQL
Select a table in the diagram or list to view its rows.