Finding Who Referred Each Customer
Find the names of customers that are not referred by the customer with id = 2. Be careful with NULL values.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| name |
|---|
| Alice |
| Carol |
| Dave |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in