mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-10 18:48:13 +08:00
56 lines
3.3 KiB
JSON
56 lines
3.3 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2495",
|
|
"questionFrontendId": "2356",
|
|
"categoryTitle": "Database",
|
|
"boundTopicId": 1706030,
|
|
"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": 0,
|
|
"dislikes": 0,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"contributors": [],
|
|
"langToValidPlayground": null,
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"13\", \"totalSubmission\": \"13\", \"totalAcceptedRaw\": 13, \"totalSubmissionRaw\": 13, \"acRate\": \"100.0%\"}",
|
|
"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,
|
|
"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\":{\"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]]}}",
|
|
"__typename": "QuestionNode"
|
|
}
|
|
}
|
|
} |