1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>某网站包含两个表,<code>Customers</code> 表和 <code>Orders</code> 表。编写一个 SQL 查询,找出所有从不订购任何东西的客户。</p>\n\n<p><code>Customers</code> 表:</p>\n\n<pre>+----+-------+\n| Id | Name |\n+----+-------+\n| 1 | Joe |\n| 2 | Henry |\n| 3 | Sam |\n| 4 | Max |\n+----+-------+\n</pre>\n\n<p><code>Orders</code> 表:</p>\n\n<pre>+----+------------+\n| Id | CustomerId |\n+----+------------+\n| 1 | 3 |\n| 2 | 1 |\n+----+------------+\n</pre>\n\n<p>例如给定上述表格,你的查询应返回:</p>\n\n<pre>+-----------+\n| Customers |\n+-----------+\n| Henry |\n| Max |\n+-----------+\n</pre>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 278,
"likes": 299,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -47,7 +47,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"181.4K\", \"totalSubmission\": \"269.8K\", \"totalAcceptedRaw\": 181355, \"totalSubmissionRaw\": 269760, \"acRate\": \"67.2%\"}",
"stats": "{\"totalAccepted\": \"195.3K\", \"totalSubmission\": \"290.9K\", \"totalAcceptedRaw\": 195326, \"totalSubmissionRaw\": 290923, \"acRate\": \"67.1%\"}",
"hints": [],
"solution": {
"id": "94",
@@ -55,7 +55,7 @@
"__typename": "ArticleNode"
},
"status": null,
"sampleTestCase": "{\"headers\": {\"Customers\": [\"id\", \"name\"], \"Orders\": [\"id\", \"customerId\"]}, \"rows\": {\"Customers\": [[1, \"Joe\"], [2, \"Henry\"], [3, \"Sam\"], [4, \"Max\"]], \"Orders\": [[1, 3], [2, 1]]}}",
"sampleTestCase": "{\"headers\": {\"Customers\": [\"Id\", \"Name\"], \"Orders\": [\"Id\", \"CustomerId\"]}, \"rows\": {\"Customers\": [[1, \"Joe\"], [2, \"Henry\"], [3, \"Sam\"], [4, \"Max\"]], \"Orders\": [[1, 3], [2, 1]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Customers (id int, name varchar(255))\",\n \"Create table If Not Exists Orders (id int, customerId int)\"\n ],\n \"mssql\": [\n \"Create table Customers (id int, name varchar(255))\",\n \"Create table Orders (id int, customerId int)\"\n ],\n \"oraclesql\": [\n \"Create table Customers (id int, name varchar(255))\",\n \"Create table Orders (id int, customerId int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",