mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
52 lines
3.3 KiB
JSON
52 lines
3.3 KiB
JSON
{
|
|
"data": {
|
|
"question": {
|
|
"questionId": "2643",
|
|
"questionFrontendId": "2504",
|
|
"boundTopicId": null,
|
|
"title": "Concatenate the Name and the Profession",
|
|
"titleSlug": "concatenate-the-name-and-the-profession",
|
|
"content": null,
|
|
"translatedTitle": null,
|
|
"translatedContent": null,
|
|
"isPaidOnly": true,
|
|
"difficulty": "Easy",
|
|
"likes": 6,
|
|
"dislikes": 1,
|
|
"isLiked": null,
|
|
"similarQuestions": "[]",
|
|
"exampleTestcases": null,
|
|
"categoryTitle": "Database",
|
|
"contributors": [],
|
|
"topicTags": [],
|
|
"companyTagStats": null,
|
|
"codeSnippets": null,
|
|
"stats": "{\"totalAccepted\": \"133\", \"totalSubmission\": \"252\", \"totalAcceptedRaw\": 133, \"totalSubmissionRaw\": 252, \"acRate\": \"52.8%\"}",
|
|
"hints": [],
|
|
"solution": null,
|
|
"status": null,
|
|
"sampleTestCase": "{\"headers\": {\"Person\": [\"person_id\", \"name\", \"profession\"]}, \"rows\": {\"Person\": [[1, \"Alex\", \"Singer\"], [3, \"Alice\", \"Actor\"], [2, \"Bob\", \"Player\"], [4, \"Messi\", \"Doctor\"], [6, \"Tyson\", \"Engineer\"], [5, \"Meir\", \"Lawyer\"]]}}",
|
|
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Person (person_id int, name varchar(30), profession ENUM('Doctor','Singer','Actor','Player','Engineer','Lawyer'))\"\n ],\n \"mssql\": [\n \"Create table Person (person_id int, name varchar(30), profession varchar(8) not null check(profession in ('Doctor','Singer','Actor','Player','Engineer','Lawyer')))\"\n ],\n \"oraclesql\": [\n \"Create table Person (person_id int, name varchar(30), profession varchar(8) not null check(profession in ('Doctor','Singer','Actor','Player','Engineer','Lawyer')))\"\n ],\n \"database\": true\n}",
|
|
"judgerAvailable": true,
|
|
"judgeType": "large",
|
|
"mysqlSchemas": [
|
|
"Create table If Not Exists Person (person_id int, name varchar(30), profession ENUM('Doctor','Singer','Actor','Player','Engineer','Lawyer'))",
|
|
"Truncate table Person",
|
|
"insert into Person (person_id, name, profession) values ('1', 'Alex', 'Singer')",
|
|
"insert into Person (person_id, name, profession) values ('3', 'Alice', 'Actor')",
|
|
"insert into Person (person_id, name, profession) values ('2', 'Bob', 'Player')",
|
|
"insert into Person (person_id, name, profession) values ('4', 'Messi', 'Doctor')",
|
|
"insert into Person (person_id, name, profession) values ('6', 'Tyson', 'Engineer')",
|
|
"insert into Person (person_id, name, profession) values ('5', 'Meir', 'Lawyer')"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
} |