No purchases from 4000: channel email, android
Level: Middle100 XP
Instructions
Find the users on the platform android, who came through the channel 'email' (users.referrer), who have no purchase with amount at least 4000. Users with no purchases at all qualify too. Select id and country. 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
events.→user_id users.id - N:1Many-to-one
purchases.→user_id users.id
Table data
PostgreSQL
Select a table in the diagram or list to view its rows.