584_Find Customer Referee
+------+------+-----------+
| id | name | referee_id|
+------+------+-----------+
| 1 | Will | NULL |
| 2 | Jane | NULL |
| 3 | Alex | 2 |
| 4 | Bill | NULL |
| 5 | Zack | 1 |
| 6 | Mark | 2 |
+------+------+-----------++------+
| name |
+------+
| Will |
| Jane |
| Bill |
| Zack |
+------+Solution:
Previous579_Find Cumulative Salary of an EmployeeNext586_Customer Placing the Largest Number of Orders
Last updated