{ "data": { "question": { "questionId": "1842", "questionFrontendId": "1699", "categoryTitle": "Database", "boundTopicId": 537266, "title": "Number of Calls Between Two Persons", "titleSlug": "number-of-calls-between-two-persons", "content": null, "translatedTitle": "两人之间的通话次数", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 20, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"3.6K\", \"totalSubmission\": \"4.6K\", \"totalAcceptedRaw\": 3623, \"totalSubmissionRaw\": 4599, \"acRate\": \"78.8%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Calls\":[\"from_id\",\"to_id\",\"duration\"]},\"rows\":{\"Calls\":[[1,2,59],[2,1,11],[1,3,20],[3,4,100],[3,4,200],[3,4,200],[4,3,499]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Calls (from_id int, to_id int, duration int)\"\n ],\n \"mssql\": [\n \"Create table Calls (from_id int, to_id int, duration int)\"\n ],\n \"oraclesql\": [\n \"Create table Calls (from_id int, to_id int, duration int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Calls (from_id int, to_id int, duration int)", "Truncate table Calls", "insert into Calls (from_id, to_id, duration) values ('1', '2', '59')", "insert into Calls (from_id, to_id, duration) values ('2', '1', '11')", "insert into Calls (from_id, to_id, duration) values ('1', '3', '20')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '100')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '200')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '200')", "insert into Calls (from_id, to_id, duration) values ('4', '3', '499')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"

\\u7248\\u672c\\uff1aMySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"

mssql server 2019.<\\/p>\"],\"oraclesql\":[\"Oracle\",\"

Oracle Sql 11.2.<\\/p>\"]}", "book": null, "isSubscribed": false, "isDailyQuestion": false, "dailyRecordStatus": null, "editorType": "CKEDITOR", "ugcQuestionId": null, "style": "LEETCODE", "exampleTestcases": "{\"headers\":{\"Calls\":[\"from_id\",\"to_id\",\"duration\"]},\"rows\":{\"Calls\":[[1,2,59],[2,1,11],[1,3,20],[3,4,100],[3,4,200],[3,4,200],[4,3,499]]}}", "__typename": "QuestionNode" } } }