{ "data": { "question": { "questionId": "2098", "questionFrontendId": "1951", "categoryTitle": "Database", "boundTopicId": 908792, "title": "All the Pairs With the Maximum Number of Common Followers", "titleSlug": "all-the-pairs-with-the-maximum-number-of-common-followers", "content": null, "translatedTitle": "查询具有最多共同关注者的所有两两结对组", "translatedContent": null, "isPaidOnly": true, "difficulty": "Medium", "likes": 4, "dislikes": 0, "isLiked": null, "similarQuestions": "[]", "contributors": [], "langToValidPlayground": null, "topicTags": [ { "name": "Database", "slug": "database", "translatedName": "数据库", "__typename": "TopicTagNode" } ], "companyTagStats": null, "codeSnippets": null, "stats": "{\"totalAccepted\": \"997\", \"totalSubmission\": \"1.4K\", \"totalAcceptedRaw\": 997, \"totalSubmissionRaw\": 1408, \"acRate\": \"70.8%\"}", "hints": [], "solution": null, "status": null, "sampleTestCase": "{\"headers\":{\"Relations\":[\"user_id\",\"follower_id\"]},\"rows\":{\"Relations\":[[1,3],[2,3],[7,3],[1,4],[2,4],[7,4],[1,5],[2,6],[7,5]]}}", "metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Relations (user_id int, follower_id int)\"\n ],\n \"mssql\": [\n \"Create table Relations (user_id int, follower_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Relations (user_id int, follower_id int)\"\n ],\n \"database\": true\n}", "judgerAvailable": true, "judgeType": "large", "mysqlSchemas": [ "Create table If Not Exists Relations (user_id int, follower_id int)", "Truncate table Relations", "insert into Relations (user_id, follower_id) values ('1', '3')", "insert into Relations (user_id, follower_id) values ('2', '3')", "insert into Relations (user_id, follower_id) values ('7', '3')", "insert into Relations (user_id, follower_id) values ('1', '4')", "insert into Relations (user_id, follower_id) values ('2', '4')", "insert into Relations (user_id, follower_id) values ('7', '4')", "insert into Relations (user_id, follower_id) values ('1', '5')", "insert into Relations (user_id, follower_id) values ('2', '6')", "insert into Relations (user_id, follower_id) values ('7', '5')" ], "enableRunCode": true, "envInfo": "{\"mysql\":[\"MySQL\",\"
\\u7248\\u672c\\uff1a 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\":{\"Relations\":[\"user_id\",\"follower_id\"]},\"rows\":{\"Relations\":[[1,3],[2,3],[7,3],[1,4],[2,4],[7,4],[1,5],[2,6],[7,5]]}}",
"__typename": "QuestionNode"
}
}
}MySQL 8.0<\\/code><\\/p>\"],\"mssql\":[\"MS SQL Server\",\"