"content":"<p>Table: <code>Customer</code></p>\n\n<pre>\n+-------------+---------+\n| Column Name | Type |\n+-------------+---------+\n| id | int |\n| name | varchar |\n| referee_id | int |\n+-------------+---------+\nid is the primary key column for this table.\nEach row of this table indicates the id of a customer, their name, and the id of the customer who referred them.\n</pre>\n\n<p> </p>\n\n<p>Write an SQL query to report the IDs of the customer that are <strong>not referred by</strong> the customer with <code>id = 2</code>.</p>\n\n<p>Return the result table in <strong>any order</strong>.</p>\n\n<p>The query result format is in the following example.</p>\n\n<p> </p>\n<p><strong>Example 1:</strong></p>\n\n<pre>\n<strong>Input:</strong> \nCustomer table:\n+----+------+------------+\n| id | name | referee_id |\n+----+------+------------+\n| 1 | Will | null |\n| 2 | Jane | null |\n| 3 | Alex | 2 |\n| 4 | Bill | null |\n| 5 | Zack | 1 |\n| 6 | Mark | 2 |\n+----+------+------------+\n<strong>Output:</strong> \n+------+\n| name |\n+------+\n| Will |\n| Jane |\n| Bill |\n| Zack |\n+------+\n</pre>\n",
"translatedTitle":"寻找用户推荐人",
"translatedContent":"<p>给定表 <code>customer</code> ,里面保存了所有客户信息和他们的推荐人。</p>\n\n<pre>\n+------+------+-----------+\n| id | name | referee_id|\n+------+------+-----------+\n| 1 | Will | NULL |\n| 2 | Jane | NULL |\n| 3 | Alex | 2 |\n| 4 | Bill | NULL |\n| 5 | Zack | 1 |\n| 6 | Mark | 2 |\n+------+------+-----------+\n</pre>\n\n<p>写一个查询语句,返回一个客户列表,列表中客户的推荐人的编号都 <strong>不是 </strong>2。</p>\n\n<p>对于上面的示例数据,结果为:</p>\n\n<pre>\n+------+\n| name |\n+------+\n| Will |\n| Jane |\n| Bill |\n| Zack |\n+------+\n</pre>\n",