2022-03-27 20:38:29 +08:00
{
"data" : {
"question" : {
"questionId" : "2223" ,
"questionFrontendId" : "2082" ,
"categoryTitle" : "Database" ,
"boundTopicId" : 1118829 ,
"title" : "The Number of Rich Customers" ,
"titleSlug" : "the-number-of-rich-customers" ,
"content" : null ,
"translatedTitle" : "富有客户的数量" ,
"translatedContent" : null ,
"isPaidOnly" : true ,
"difficulty" : "Easy" ,
2023-12-09 18:42:21 +08:00
"likes" : 6 ,
2022-03-27 20:38:29 +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 19:57:46 +08:00
"stats" : "{\"totalAccepted\": \"5.6K\", \"totalSubmission\": \"7.5K\", \"totalAcceptedRaw\": 5622, \"totalSubmissionRaw\": 7487, \"acRate\": \"75.1%\"}" ,
2022-03-27 20:38:29 +08:00
"hints" : [ ] ,
"solution" : null ,
"status" : null ,
"sampleTestCase" : "{\"headers\":{\"Store\":[\"bill_id\",\"customer_id\",\"amount\"]},\"rows\":{\"Store\":[[6,1,549],[8,1,834],[4,2,394],[11,3,657],[13,3,257]]}}" ,
2023-12-09 18:42:21 +08:00
"metaData" : "{\"mysql\":[\"Create table If Not Exists Store (bill_id int, customer_id int, amount int)\"],\"mssql\":[\"Create table Store (bill_id int, customer_id int, amount int)\"],\"oraclesql\":[\"Create table Store (bill_id int, customer_id int, amount int)\"],\"database\":true,\"name\":\"count_rich_customers\",\"pythondata\":[\"Store = pd.DataFrame([], columns=['bill_id', 'customer_id', 'amount']).astype({'bill_id':'int64', 'customer_id':'int64', 'amount':'int64'})\"],\"database_schema\":{\"Store\":{\"bill_id\":\"INT\",\"customer_id\":\"INT\",\"amount\":\"INT\"}}}" ,
2022-03-27 20:38:29 +08:00
"judgerAvailable" : true ,
"judgeType" : "large" ,
"mysqlSchemas" : [
"Create table If Not Exists Store (bill_id int, customer_id int, amount int)" ,
"Truncate table Store" ,
"insert into Store (bill_id, customer_id, amount) values ('6', '1', '549')" ,
"insert into Store (bill_id, customer_id, amount) values ('8', '1', '834')" ,
"insert into Store (bill_id, customer_id, amount) values ('4', '2', '394')" ,
"insert into Store (bill_id, customer_id, amount) values ('11', '3', '657')" ,
"insert into Store (bill_id, customer_id, amount) values ('13', '3', '257')"
] ,
"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>\"]}" ,
2022-03-27 20:38:29 +08:00
"book" : null ,
"isSubscribed" : false ,
"isDailyQuestion" : false ,
"dailyRecordStatus" : null ,
"editorType" : "CKEDITOR" ,
"ugcQuestionId" : null ,
"style" : "LEETCODE" ,
"exampleTestcases" : "{\"headers\":{\"Store\":[\"bill_id\",\"customer_id\",\"amount\"]},\"rows\":{\"Store\":[[6,1,549],[8,1,834],[4,2,394],[11,3,657],[13,3,257]]}}" ,
"__typename" : "QuestionNode"
}
}
}