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]number-of-unique-subjects-taught-by-each-teacher.json
2022-07-29 23:59:06 +08:00

53 lines
3.0 KiB
JSON

{
"data": {
"question": {
"questionId": "2495",
"questionFrontendId": "2356",
"boundTopicId": null,
"title": "Number of Unique Subjects Taught by Each Teacher",
"titleSlug": "number-of-unique-subjects-taught-by-each-teacher",
"content": null,
"translatedTitle": null,
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Easy",
"likes": 2,
"dislikes": 2,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": null,
"categoryTitle": "Database",
"contributors": [],
"topicTags": [],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"76\", \"totalSubmission\": \"86\", \"totalAcceptedRaw\": 76, \"totalSubmissionRaw\": 86, \"acRate\": \"88.4%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Teacher\":[\"teacher_id\",\"subject_id\",\"dept_id\"]},\"rows\":{\"Teacher\":[[1,2,3],[1,2,4],[1,3,3],[2,1,1],[2,2,1],[2,3,1],[2,4,1]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Teacher (teacher_id int, subject_id int, dept_id int)\"\n ],\n \"mssql\": [\n \"Create table Teacher (teacher_id int, subject_id int, dept_id int)\"\n ],\n \"oraclesql\": [\n \"Create table Teacher (teacher_id int, subject_id int, dept_id int)\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Teacher (teacher_id int, subject_id int, dept_id int)",
"Truncate table Teacher",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('1', '2', '3')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('1', '2', '4')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('1', '3', '3')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('2', '1', '1')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('2', '2', '1')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('2', '3', '1')",
"insert into Teacher (teacher_id, subject_id, dept_id) values ('2', '4', '1')"
],
"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"
}
}
}