1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-27 10:40:26 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]change-null-values-in-a-table-to-the-previous-value.json

62 lines
3.8 KiB
JSON
Raw Normal View History

2022-08-29 22:05:38 +08:00
{
"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,
2023-12-09 18:42:21 +08:00
"translatedTitle": "将表中的空值更改为前一个值",
2022-08-29 22:05:38 +08:00
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
2023-12-09 18:42:21 +08:00
"likes": 8,
2022-08-29 22:05:38 +08:00
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
2023-12-09 18:42:21 +08:00
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
2022-08-29 22:05:38 +08:00
"companyTagStats": null,
"codeSnippets": null,
2023-12-09 18:42:21 +08:00
"stats": "{\"totalAccepted\": \"892\", \"totalSubmission\": \"1.7K\", \"totalAcceptedRaw\": 892, \"totalSubmissionRaw\": 1682, \"acRate\": \"53.0%\"}",
2022-08-29 22:05:38 +08:00
"hints": [],
"solution": null,
"status": null,
2023-12-09 18:42:21 +08:00
"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)\"}}}",
2022-08-29 22:05:38 +08:00
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists CoffeeShop (id int, drink varchar(20))",
"Truncate table CoffeeShop",
2023-12-09 18:42:21 +08:00
"insert into CoffeeShop (id, drink) values ('9', 'Rum and Coke')",
2022-08-29 22:05:38 +08:00
"insert into CoffeeShop (id, drink) values ('6', 'None')",
"insert into CoffeeShop (id, drink) values ('7', 'None')",
2023-12-09 18:42:21 +08:00
"insert into CoffeeShop (id, drink) values ('3', 'St Germain Spritz')",
"insert into CoffeeShop (id, drink) values ('1', 'Orange Margarita')",
2022-08-29 22:05:38 +08:00
"insert into CoffeeShop (id, drink) values ('2', 'None')"
],
"enableRunCode": true,
2023-12-09 18:42:21 +08:00
"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>\"]}",
2022-08-29 22:05:38 +08:00
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
2023-12-09 18:42:21 +08:00
"exampleTestcases": "{\"headers\": {\"CoffeeShop\": [\"id\", \"drink\"]}, \"rows\": {\"CoffeeShop\": [[9, \"Rum and Coke\"], [6, null], [7, null], [3, \"St Germain Spritz\"], [1, \"Orange Margarita\"], [2, null]]}}",
2022-08-29 22:05:38 +08:00
"__typename": "QuestionNode"
}
}
}