1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]highest-grade-for-each-student.json
2022-05-02 23:44:12 +08:00

63 lines
3.5 KiB
JSON

{
"data": {
"question": {
"questionId": "1214",
"questionFrontendId": "1112",
"categoryTitle": "Database",
"boundTopicId": 33180,
"title": "Highest Grade For Each Student",
"titleSlug": "highest-grade-for-each-student",
"content": null,
"translatedTitle": "每位学生的最高成绩",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 42,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"10.4K\", \"totalSubmission\": \"15.9K\", \"totalAcceptedRaw\": 10382, \"totalSubmissionRaw\": 15935, \"acRate\": \"65.2%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Enrollments\":[\"student_id\",\"course_id\",\"grade\"]},\"rows\":{\"Enrollments\":[[2,2,95],[2,3,95],[1,1,90],[1,2,99],[3,1,80],[3,2,75],[3,3,82]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"mssql\": [\n \"Create table Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"oraclesql\": [\n \"Create table Enrollments (student_id int, course_id int, grade int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Enrollments (student_id int, course_id int, grade int)",
"Truncate table Enrollments",
"insert into Enrollments (student_id, course_id, grade) values ('2', '2', '95')",
"insert into Enrollments (student_id, course_id, grade) values ('2', '3', '95')",
"insert into Enrollments (student_id, course_id, grade) values ('1', '1', '90')",
"insert into Enrollments (student_id, course_id, grade) values ('1', '2', '99')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '1', '80')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '2', '75')",
"insert into Enrollments (student_id, course_id, grade) values ('3', '3', '82')"
],
"enableRunCode": true,
"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>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"Enrollments\":[\"student_id\",\"course_id\",\"grade\"]},\"rows\":{\"Enrollments\":[[2,2,95],[2,3,95],[1,1,90],[1,2,99],[3,1,80],[3,2,75],[3,3,82]]}}",
"__typename": "QuestionNode"
}
}
}