mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
62 lines
3.8 KiB
JSON
62 lines
3.8 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2523",
|
|
"questionFrontendId": "2388",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1776356,
|
|
"title": "Change Null Values in a Table to the Previous Value",
|
|
"titleSlug": "change-null-values-in-a-table-to-the-previous-value",
|
|
"content": null,
|
|
"translatedTitle": "将表中的空值更改为前一个值",
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Medium",
|
|
"likes": 8,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [
|
|
{
|
|
"name": "Database",
|
|
"slug": "database",
|
|
"translatedName": "数据库",
|
|
"__typename": "TopicTagNode"
|
|
}
|
|
],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"892\", \"totalSubmission\": \"1.7K\", \"totalAcceptedRaw\": 892, \"totalSubmissionRaw\": 1682, \"acRate\": \"53.0%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"CoffeeShop\": [\"id\", \"drink\"]}, \"rows\": {\"CoffeeShop\": [[9, \"Rum and Coke\"], [6, null], [7, null], [3, \"St Germain Spritz\"], [1, \"Orange Margarita\"], [2, null]]}}",
|
|
"metaData": "{\"mysql\":[\"Create table If Not Exists CoffeeShop (id int, drink varchar(20))\"],\"mssql\":[\"Create table CoffeeShop (id int, drink varchar(20))\"],\"oraclesql\":[\"Create table CoffeeShop (id int, drink varchar(20))\"],\"database\":true,\"name\":\"change_null_values\",\"pythondata\":[\"CoffeeShop = pd.DataFrame([], columns=['id', 'drink']).astype({'id':'Int64', 'drink':'object'})\"],\"postgresql\":[\"Create table If Not Exists CoffeeShop (id int, drink varchar(20))\"],\"database_schema\":{\"CoffeeShop\":{\"id\":\"INT\",\"drink\":\"VARCHAR(20)\"}}}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists CoffeeShop (id int, drink varchar(20))",
|
|
"Truncate table CoffeeShop",
|
|
"insert into CoffeeShop (id, drink) values ('9', 'Rum and Coke')",
|
|
"insert into CoffeeShop (id, drink) values ('6', 'None')",
|
|
"insert into CoffeeShop (id, drink) values ('7', 'None')",
|
|
"insert into CoffeeShop (id, drink) values ('3', 'St Germain Spritz')",
|
|
"insert into CoffeeShop (id, drink) values ('1', 'Orange Margarita')",
|
|
"insert into CoffeeShop (id, drink) values ('2', 'None')"
|
|
],
|
|
"enableRunCode": true,
|
|
"envInfo": "{\"mysql\":[\"MySQL\",\"<p>\\u7248\\u672c\\uff1a<code>MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"<p>mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"<p>Oracle Sql 11.2.<\\/p>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
|
|
"book": null,
|
|
"isSubscribed": false,
|
|
"isDailyQuestion": false,
|
|
"dailyRecordStatus": null,
|
|
"editorType": "CKEDITOR",
|
|
"ugcQuestionId": null,
|
|
"style": "LEETCODE",
|
|
"exampleTestcases": "{\"headers\": {\"CoffeeShop\": [\"id\", \"drink\"]}, \"rows\": {\"CoffeeShop\": [[9, \"Rum and Coke\"], [6, null], [7, null], [3, \"St Germain Spritz\"], [1, \"Orange Margarita\"], [2, null]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |