SELECT name FROM Customer WHERE referee_id <> 2 OR referee_id IS NULL ORDER BY id;
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up