"content":"<p>Table: <code>MyNumbers</code></p>\n\n<pre>\n+-------------+------+\n| Column Name | Type |\n+-------------+------+\n| num | int |\n+-------------+------+\nThis table may contain duplicates (In other words, there is no primary key for this table in SQL).\nEach row of this table contains an integer.\n</pre>\n\n<p> </p>\n\n<p>A <strong>single number</strong> is a number that appeared only once in the <code>MyNumbers</code> table.</p>\n\n<p>Find the largest <strong>single number</strong>. If there is no <strong>single number</strong>, report <code>null</code>.</p>\n\n<p>The result format is in the following example.</p>\n<ptable> </ptable>\n<p> </p>\n<p><strong class=\"example\">Example 1:</strong></p>\n\n<pre>\n<strong>Input:</strong> \nMyNumbers table:\n+-----+\n| num |\n+-----+\n| 8 |\n| 8 |\n| 3 |\n| 3 |\n| 1 |\n| 4 |\n| 5 |\n| 6 |\n+-----+\n<strong>Output:</strong> \n+-----+\n| num |\n+-----+\n| 6 |\n+-----+\n<strong>Explanation:</strong> The single numbers are 1, 4, 5, and 6.\nSince 6 is the largest single number, we return it.\n</pre>\n\n<p><strong class=\"example\">Example 2:</strong></p>\n\n<pre>\n<strong>Input:</strong> \nMyNumbers table:\n+-----+\n| num |\n+-----+\n| 8 |\n| 8 |\n| 7 |\n| 7 |\n| 3 |\n| 3 |\n| 3 |\n+-----+\n<strong>Output:</strong> \n+------+\n| num |\n+------+\n| null |\n+------+\n<strong>Explanation:</strong> There are no single numbers in the input table so we return null.\n</pre>\n",
"translatedTitle":"只出现一次的最大数字",
"translatedContent":"<p><code>MyNumbers</code> 表:</p>\n\n<div class=\"original__bRMd\">\n<div>\n<pre>\n+-------------+------+\n| Column Name | Type |\n+-------------+------+\n| num | int |\n+-------------+------+\n该表可能包含重复项(换句话说,在SQL中,该表没有主键)。\n这张表的每一行都含有一个整数。\n</pre>\n\n<p> </p>\n\n<p><strong>单一数字</strong> 是在 <code>MyNumbers</code> 表中只出现一次的数字。</p>\n\n<p>找出最大的 <strong>单一数字</strong> 。如果不存在 <strong>单一数字</strong> ,则返回 <code>null</code> 。</p>\n\n<p>查询结果如下例所示。</p>\n<ptable> </ptable>\n\n<p> </p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong>\nMyNumbers 表:\n+-----+\n| num |\n+-----+\n| 8 |\n| 8 |\n| 3 |\n| 3 |\n| 1 |\n| 4 |\n| 5 |\n| 6 |\n+-----+\n<strong>输出:</strong>\n+-----+\n| num |\n+-----+\n| 6 |\n+-----+\n<strong>解释:</strong>单一数字有 1、4、5 和 6 。\n6 是最大的单一数字,返回 6 。\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre>\n<strong>输入:</strong>\nMyNumbers table:\n+-----+\n| num |\n+-----+\n| 8 |\n| 8 |\n| 7 |\n| 7 |\n| 3 |\n| 3 |\n| 3 |\n+-----+\n<strong>输出:</strong>\n+------+\n| num |\n+------+\n| null |\n+------+\n<strong>解释:</strong>输入的表中不存在单一数字,所以返回 null 。\n</pre>\n</div>\n</div>\n\n<p> </p>\n",