{ "data": { "question": { "questionId": "2172", "questionFrontendId": "2026", "categoryTitle": "Database", "boundTopicId": 1029403, "title": "Low-Quality Problems", "titleSlug": "low-quality-problems", "content": null, "translatedTitle": "低质量的问题", "translatedContent": null, "isPaidOnly": true, "difficulty": "Easy", "likes": 5, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"4K\", \"totalSubmission\": \"5K\", \"totalAcceptedRaw\": 4003, \"totalSubmissionRaw\": 5044, \"acRate\": \"79.4%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Problems\":[\"problem_id\",\"likes\",\"dislikes\"]},\"rows\":{\"Problems\":[[6,1290,425],[11,2677,8659],[1,4446,2760],[7,8569,6086],[13,2050,4164],[10,9002,7446]]}}", "metaData": "{\"mysql\":[\"Create table If Not Exists Problems (problem_id int, likes int, dislikes int)\"],\"mssql\":[\"Create table Problems (problem_id int, likes int, dislikes int)\"],\"oraclesql\":[\"Create table Problems (problem_id int, likes int, dislikes int)\"],\"database\":true,\"name\":\"low_quality_problems\",\"pythondata\":[\"Problems = pd.DataFrame([], columns=['problem_id', 'likes', 'dislikes']).astype({'problem_id':'Int64', 'likes':'Int64', 'dislikes':'Int64'})\"],\"postgresql\":[\"Create table If Not Exists Problems (problem_id int, likes int, dislikes int)\"],\"database_schema\":{\"Problems\":{\"problem_id\":\"INT\",\"likes\":\"INT\",\"dislikes\":\"INT\"}}}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Problems (problem_id int, likes int, dislikes int)", "Truncate table Problems", "insert into Problems (problem_id, likes, dislikes) values ('6', '1290', '425')", "insert into Problems (problem_id, likes, dislikes) values ('11', '2677', '8659')", "insert into Problems (problem_id, likes, dislikes) values ('1', '4446', '2760')", "insert into Problems (problem_id, likes, dislikes) values ('7', '8569', '6086')", "insert into Problems (problem_id, likes, dislikes) values ('13', '2050', '4164')", "insert into Problems (problem_id, likes, dislikes) values ('10', '9002', '7446')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"
\\u7248\\u672c\\uff1a mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\" Oracle Sql 11.2.<\\/p>\"],\"pythondata\":[\"Pandas\",\" Python 3.10 with Pandas 2.0.2 and NumPy 1.25.0<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\" PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Problems\":[\"problem_id\",\"likes\",\"dislikes\"]},\"rows\":{\"Problems\":[[6,1290,425],[11,2677,8659],[1,4446,2760],[7,8569,6086],[13,2050,4164],[10,9002,7446]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"