mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-25 17:50:26 +08:00
59 lines
3.8 KiB
JSON
59 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "1338",
|
|
"questionFrontendId": "1211",
|
|
"boundTopicId": null,
|
|
"title": "Queries Quality and Percentage",
|
|
"titleSlug": "queries-quality-and-percentage",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 86,
|
|
"dislikes": 144,
|
|
"isLiked": null,
|
|
"similarQuestions": "[{\"title\": \"Percentage of Users Attended a Contest\", \"titleSlug\": \"percentage-of-users-attended-a-contest\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
|
"exampleTestcases": "{\"headers\":{\"Queries\":[\"query_name\",\"result\",\"position\",\"rating\"]},\"rows\":{\"Queries\":[[\"Dog\",\"Golden Retriever\",1,5],[\"Dog\",\"German Shepherd\",2,5],[\"Dog\",\"Mule\",200,1],[\"Cat\",\"Shirazi\",5,2],[\"Cat\",\"Siamese\",3,3],[\"Cat\",\"Sphynx\",7,4]]}}",
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": null,
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"23.3K\", \"totalSubmission\": \"32.9K\", \"totalAcceptedRaw\": 23286, \"totalSubmissionRaw\": 32909, \"acRate\": \"70.8%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\":{\"Queries\":[\"query_name\",\"result\",\"position\",\"rating\"]},\"rows\":{\"Queries\":[[\"Dog\",\"Golden Retriever\",1,5],[\"Dog\",\"German Shepherd\",2,5],[\"Dog\",\"Mule\",200,1],[\"Cat\",\"Shirazi\",5,2],[\"Cat\",\"Siamese\",3,3],[\"Cat\",\"Sphynx\",7,4]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Queries (query_name varchar(30), result varchar(50), position int, rating int)\"\n ],\n \"mssql\": [\n \"create table Queries (query_name varchar(30), result varchar(50), position int, rating int)\"\n ],\n \"oraclesql\": [\n \"create table Queries (query_name varchar(30), result varchar(50), position int, rating int)\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Queries (query_name varchar(30), result varchar(50), position int, rating int)",
|
|
"Truncate table Queries",
|
|
"insert into Queries (query_name, result, position, rating) values ('Dog', 'Golden Retriever', '1', '5')",
|
|
"insert into Queries (query_name, result, position, rating) values ('Dog', 'German Shepherd', '2', '5')",
|
|
"insert into Queries (query_name, result, position, rating) values ('Dog', 'Mule', '200', '1')",
|
|
"insert into Queries (query_name, result, position, rating) values ('Cat', 'Shirazi', '5', '2')",
|
|
"insert into Queries (query_name, result, position, rating) values ('Cat', 'Siamese', '3', '3')",
|
|
"insert into Queries (query_name, result, position, rating) values ('Cat', 'Sphynx', '7', '4')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |