mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
62 lines
3.4 KiB
JSON
62 lines
3.4 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1135",
|
|
"questionFrontendId": "1045",
|
|
"boundTopicId": null,
|
|
"title": "Customers Who Bought All Products",
|
|
"titleSlug": "customers-who-bought-all-products",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 171,
|
|
"dislikes": 35,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": "{\"headers\":{\"Customer\":[\"customer_id\",\"product_key\"],\"Product\":[\"product_key\"]},\"rows\":{\"Customer\":[[1,5],[2,6],[3,5],[3,6],[1,6]],\"Product\":[[5],[6]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"34.9K\", \"totalSubmission\": \"51.8K\", \"totalAcceptedRaw\": 34877, \"totalSubmissionRaw\": 51822, \"acRate\": \"67.3%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Customer\":[\"customer_id\",\"product_key\"],\"Product\":[\"product_key\"]},\"rows\":{\"Customer\":[[1,5],[2,6],[3,5],[3,6],[1,6]],\"Product\":[[5],[6]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Customer (customer_id int, product_key int)\",\n \"Create table Product (product_key int)\"\n ],\n \"mssql\": [\n \"Create table Customer (customer_id int, product_key int)\",\n \"Create table Product (product_key int)\"\n ],\n \"oraclesql\": [\n \"Create table Customer (customer_id int, product_key int)\",\n \"Create table Product (product_key int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Customer (customer_id int, product_key int)",
|
|
"Create table Product (product_key int)",
|
|
"Truncate table Customer",
|
|
"insert into Customer (customer_id, product_key) values ('1', '5')",
|
|
"insert into Customer (customer_id, product_key) values ('2', '6')",
|
|
"insert into Customer (customer_id, product_key) values ('3', '5')",
|
|
"insert into Customer (customer_id, product_key) values ('3', '6')",
|
|
"insert into Customer (customer_id, product_key) values ('1', '6')",
|
|
"Truncate table Product",
|
|
"insert into Product (product_key) values ('5')",
|
|
"insert into Product (product_key) values ('6')"
|
|
],
|
|
"enableRunCode": true,
|
|
"enableTestMode": false,
|
|
"enableDebugger": false,
|
|
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
|
|
"libraryUrl": null,
|
|
"adminUrl": null,
|
|
"challengeQuestion": null,
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |