Question: Table: Customer + - - - - - - - - - - - - - + - - - - - - - -
Table: Customer
Column Name Type
id int
name varchar
refereeid int
In SQL id is the primary key column for this table.
Each row of this table indicates the id of a customer, their name, and the id of the customer who referred them.
Find the names of the customer that are not referred by the customer with id
Return the result table in any order.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
