1
+ {
2
+ "data" : {
3
+ "question" : {
4
+ "questionId" : " 2534" ,
5
+ "questionFrontendId" : " 2394" ,
6
+ "categoryTitle" : " Database" ,
7
+ "boundTopicId" : 1795924 ,
8
+ "title" : " Employees With Deductions" ,
9
+ "titleSlug" : " employees-with-deductions" ,
10
+ "content" : null ,
11
+ "translatedTitle" : null ,
12
+ "translatedContent" : null ,
13
+ "isPaidOnly" : true ,
14
+ "difficulty" : " Medium" ,
15
+ "likes" : 0 ,
16
+ "dislikes" : 0 ,
17
+ "isLiked" : null ,
18
+ "similarQuestions" : " []" ,
19
+ "contributors" : [],
20
+ "langToValidPlayground" : null ,
21
+ "topicTags" : [],
22
+ "companyTagStats" : null ,
23
+ "codeSnippets" : null ,
24
+ "stats" : " {\" totalAccepted\" : \" 12\" , \" totalSubmission\" : \" 15\" , \" totalAcceptedRaw\" : 12, \" totalSubmissionRaw\" : 15, \" acRate\" : \" 80.0%\" }" ,
25
+ "hints" : [],
26
+ "solution" : null ,
27
+ "status" : null ,
28
+ "sampleTestCase" : " {\" headers\" : {\" Employees\" : [\" employee_id\" , \" needed_hours\" ], \" Logs\" : [\" employee_id\" , \" in_time\" , \" out_time\" ]}, \" rows\" : {\" Employees\" : [[1, 20], [2, 12], [3, 2]], \" Logs\" : [[1, \" 2022-10-01 09:00:00\" , \" 2022-10-01 17:00:00\" ],[1, \" 2022-10-06 09:05:04\" , \" 2022-10-06 17:09:03\" ], [1, \" 2022-10-12 23:00:00\" , \" 2022-10-13 03:00:01\" ], [2, \" 2022-10-29 12:00:00\" , \" 2022-10-29 23:58:58\" ]]}}" ,
29
+ "metaData" : " {\n \" mysql\" : [\n \" Create table If Not Exists Employees (employee_id int, needed_hours int)\" ,\n \" Create table If Not Exists Logs (employee_id int, in_time datetime, out_time datetime)\"\n ],\n \" mssql\" : [\n \" Create table Employees (employee_id int, needed_hours int)\" ,\n \" Create table Logs (employee_id int, in_time datetime, out_time datetime)\"\n ],\n \" oraclesql\" : [\n \" Create table Employees (employee_id int, needed_hours int)\" ,\n \" Create table Logs (employee_id int, in_time date, out_time date)\" ,\n \" ALTER SESSION SET nls_date_format='YYYY-MM-DD HH24:MI:SS'\"\n ],\n \" database\" : true\n }" ,
30
+ "judgerAvailable" : true ,
31
+ "judgeType" : " large" ,
32
+ "mysqlSchemas" : [
33
+ " Create table If Not Exists Employees (employee_id int, needed_hours int)" ,
34
+ " Create table If Not Exists Logs (employee_id int, in_time datetime, out_time datetime)" ,
35
+ " Truncate table Employees" ,
36
+ " insert into Employees (employee_id, needed_hours) values ('1', '20')" ,
37
+ " insert into Employees (employee_id, needed_hours) values ('2', '12')" ,
38
+ " insert into Employees (employee_id, needed_hours) values ('3', '2')" ,
39
+ " Truncate table Logs" ,
40
+ " insert into Logs (employee_id, in_time, out_time) values ('1', '2022-10-01 09:00:00', '2022-10-01 17:00:00')" ,
41
+ " insert into Logs (employee_id, in_time, out_time) values ('1', '2022-10-06 09:05:04', '2022-10-06 17:09:03')" ,
42
+ " insert into Logs (employee_id, in_time, out_time) values ('1', '2022-10-12 23:00:00', '2022-10-13 03:00:01')" ,
43
+ " insert into Logs (employee_id, in_time, out_time) values ('2', '2022-10-29 12:00:00', '2022-10-29 23:58:58')"
44
+ ],
45
+ "enableRunCode" : true ,
46
+ "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>\" ]}" ,
47
+ "book" : null ,
48
+ "isSubscribed" : false ,
49
+ "isDailyQuestion" : false ,
50
+ "dailyRecordStatus" : null ,
51
+ "editorType" : " CKEDITOR" ,
52
+ "ugcQuestionId" : null ,
53
+ "style" : " LEETCODE" ,
54
+ "exampleTestcases" : " {\" headers\" : {\" Employees\" : [\" employee_id\" , \" needed_hours\" ], \" Logs\" : [\" employee_id\" , \" in_time\" , \" out_time\" ]}, \" rows\" : {\" Employees\" : [[1, 20], [2, 12], [3, 2]], \" Logs\" : [[1, \" 2022-10-01 09:00:00\" , \" 2022-10-01 17:00:00\" ],[1, \" 2022-10-06 09:05:04\" , \" 2022-10-06 17:09:03\" ], [1, \" 2022-10-12 23:00:00\" , \" 2022-10-13 03:00:01\" ], [2, \" 2022-10-29 12:00:00\" , \" 2022-10-29 23:58:58\" ]]}}" ,
55
+ "__typename" : " QuestionNode"
56
+ }
57
+ }
58
+ }
0 commit comments