2022-03-27 20:45:09 +08:00
{
"data" : {
"question" : {
"questionId" : "2004" ,
"questionFrontendId" : "1853" ,
"categoryTitle" : "Database" ,
"boundTopicId" : 763907 ,
"title" : "Convert Date Format" ,
"titleSlug" : "convert-date-format" ,
"content" : null ,
"translatedTitle" : "转换日期格式" ,
"translatedContent" : null ,
"isPaidOnly" : true ,
"difficulty" : "Easy" ,
2023-12-09 18:42:21 +08:00
"likes" : 14 ,
2022-03-27 20:45:09 +08:00
"dislikes" : 0 ,
"isLiked" : null ,
"similarQuestions" : "[]" ,
"contributors" : [ ] ,
"langToValidPlayground" : null ,
"topicTags" : [
{
"name" : "Database" ,
"slug" : "database" ,
"translatedName" : "数据库" ,
"__typename" : "TopicTagNode"
}
] ,
"companyTagStats" : null ,
"codeSnippets" : null ,
2023-12-09 18:42:21 +08:00
"stats" : "{\"totalAccepted\": \"3.7K\", \"totalSubmission\": \"5.8K\", \"totalAcceptedRaw\": 3666, \"totalSubmissionRaw\": 5773, \"acRate\": \"63.5%\"}" ,
2022-03-27 20:45:09 +08:00
"hints" : [ ] ,
"solution" : null ,
"status" : null ,
"sampleTestCase" : "{\"headers\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}" ,
2023-12-09 18:42:21 +08:00
"metaData" : "{\"mysql\":[\"Create table If Not Exists Days (day date)\"],\"mssql\":[\"Create table Days (day date)\"],\"oraclesql\":[\"Create table Days (day date)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"convert_date_format\",\"pythondata\":[\"Days = pd.DataFrame([], columns=['day']).astype({'day':'datetime64[ns]'})\"],\"postgresql\":[\"Create table If Not Exists Days (day date)\"],\"database_schema\":{\"Days\":{\"day\":\"DATE\"}}}" ,
2022-03-27 20:45:09 +08:00
"judgerAvailable" : true ,
"judgeType" : "large" ,
"mysqlSchemas" : [
"Create table If Not Exists Days (day date)" ,
"Truncate table Days" ,
"insert into Days (day) values ('2022-04-12')" ,
"insert into Days (day) values ('2021-08-09')" ,
"insert into Days (day) values ('2020-06-26')"
] ,
"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-03-27 20:45:09 +08:00
"book" : null ,
"isSubscribed" : false ,
"isDailyQuestion" : false ,
"dailyRecordStatus" : null ,
"editorType" : "CKEDITOR" ,
"ugcQuestionId" : null ,
"style" : "LEETCODE" ,
"exampleTestcases" : "{\"headers\":{\"Days\":[\"day\"]},\"rows\":{\"Days\":[[\"2022-04-12\"],[\"2021-08-09\"],[\"2020-06-26\"]]}}" ,
"__typename" : "QuestionNode"
}
}
}