Pull orders from Russian customers only
Pull orders from Russian customers only
Accounting is closing the quarter and asks for orders from Russian customers only — for the RU legal-entity report. Return order id, customer_id, total — only for customers in Russia (country 'RU'). Sort by order id.
Solution requirement
This is an exercise on testing presence: the solution must use
IN with a subquery or EXISTS. A join returns the same answer but solves a different problem and is not accepted.Row order matters
Expected output columns:
idcustomer_idtotalShowing the first 3 rows of the sample — the full sample comes with Premium
Similar tasks
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inFocus radio
Paused · SomaFM · Fluid