1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-10 18:48:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode/originData/[no content]students-and-examinations.json
2022-05-02 23:44:12 +08:00

75 lines
5.5 KiB
JSON

{
"data": {
"question": {
"questionId": "1415",
"questionFrontendId": "1280",
"boundTopicId": null,
"title": "Students and Examinations",
"titleSlug": "students-and-examinations",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 240,
"dislikes": 33,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "{\"headers\":{\"Students\":[\"student_id\",\"student_name\"],\"Subjects\":[\"subject_name\"],\"Examinations\":[\"student_id\",\"subject_name\"]},\"rows\":{\"Students\":[[1,\"Alice\"],[2,\"Bob\"],[13,\"John\"],[6,\"Alex\"]],\"Subjects\":[[\"Math\"],[\"Physics\"],[\"Programming\"]],\"Examinations\":[[1,\"Math\"],[1,\"Physics\"],[1,\"Programming\"],[2,\"Programming\"],[1,\"Physics\"],[1,\"Math\"],[13,\"Math\"],[13,\"Programming\"],[13,\"Physics\"],[2,\"Math\"],[1,\"Math\"]]}}",
"categoryTitle": "Database",
"contributors": [],
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": null,
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"23.7K\", \"totalSubmission\": \"31.8K\", \"totalAcceptedRaw\": 23658, \"totalSubmissionRaw\": 31787, \"acRate\": \"74.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Students\":[\"student_id\",\"student_name\"],\"Subjects\":[\"subject_name\"],\"Examinations\":[\"student_id\",\"subject_name\"]},\"rows\":{\"Students\":[[1,\"Alice\"],[2,\"Bob\"],[13,\"John\"],[6,\"Alex\"]],\"Subjects\":[[\"Math\"],[\"Physics\"],[\"Programming\"]],\"Examinations\":[[1,\"Math\"],[1,\"Physics\"],[1,\"Programming\"],[2,\"Programming\"],[1,\"Physics\"],[1,\"Math\"],[13,\"Math\"],[13,\"Programming\"],[13,\"Physics\"],[2,\"Math\"],[1,\"Math\"]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Students (student_id int, student_name varchar(20))\",\n \"Create table If Not Exists Subjects (subject_name varchar(20))\",\n \"Create table If Not Exists Examinations (student_id int, subject_name varchar(20))\"\n ],\n \"mssql\": [\n \"Create table Students (student_id int, student_name varchar(20))\",\n \"Create table Subjects (subject_name varchar(20))\",\n \"Create table Examinations (student_id int, subject_name varchar(20))\"\n ],\n \"oraclesql\": [\n \"Create table Students (student_id int, student_name varchar(20))\\n\",\n \"Create table Subjects (subject_name varchar(20))\\n\",\n \"Create table Examinations (student_id int, subject_name varchar(20))\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Students (student_id int, student_name varchar(20))",
"Create table If Not Exists Subjects (subject_name varchar(20))",
"Create table If Not Exists Examinations (student_id int, subject_name varchar(20))",
"Truncate table Students",
"insert into Students (student_id, student_name) values ('1', 'Alice')",
"insert into Students (student_id, student_name) values ('2', 'Bob')",
"insert into Students (student_id, student_name) values ('13', 'John')",
"insert into Students (student_id, student_name) values ('6', 'Alex')",
"Truncate table Subjects",
"insert into Subjects (subject_name) values ('Math')",
"insert into Subjects (subject_name) values ('Physics')",
"insert into Subjects (subject_name) values ('Programming')",
"Truncate table Examinations",
"insert into Examinations (student_id, subject_name) values ('1', 'Math')",
"insert into Examinations (student_id, subject_name) values ('1', 'Physics')",
"insert into Examinations (student_id, subject_name) values ('1', 'Programming')",
"insert into Examinations (student_id, subject_name) values ('2', 'Programming')",
"insert into Examinations (student_id, subject_name) values ('1', 'Physics')",
"insert into Examinations (student_id, subject_name) values ('1', 'Math')",
"insert into Examinations (student_id, subject_name) values ('13', 'Math')",
"insert into Examinations (student_id, subject_name) values ('13', 'Programming')",
"insert into Examinations (student_id, subject_name) values ('13', 'Physics')",
"insert into Examinations (student_id, subject_name) values ('2', 'Math')",
"insert into Examinations (student_id, subject_name) values ('1', 'Math')"
],
"enableRunCode": true,
"enableTestMode": false,
"enableDebugger": false,
"envInfo": "{\"mysql\": [\"MySQL\", \"<p><code>MySQL 8.0</code>.</p>\"], \"mssql\": [\"MS SQL Server\", \"<p><code>mssql server 2019</code>.</p>\"], \"oraclesql\": [\"Oracle\", \"<p><code>Oracle Sql 11.2</code>.</p>\"]}",
"libraryUrl": null,
"adminUrl": null,
"challengeQuestion": null,
"__typename": "QuestionNode"
}
}
}