mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
update
This commit is contained in:
70
leetcode/originData/[no content]npv-queries.json
Normal file
70
leetcode/originData/[no content]npv-queries.json
Normal file
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"data": {
|
||||
"question": {
|
||||
"questionId": "1551",
|
||||
"questionFrontendId": "1421",
|
||||
"boundTopicId": null,
|
||||
"title": "NPV Queries",
|
||||
"titleSlug": "npv-queries",
|
||||
"content": null,
|
||||
"translatedTitle": null,
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Easy",
|
||||
"likes": 26,
|
||||
"dislikes": 237,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
"exampleTestcases": "{\"headers\":{\"NPV\":[\"id\",\"year\",\"npv\"],\"Queries\":[\"id\",\"year\"]},\"rows\":{\"NPV\":[[1,2018,100],[7,2020,30],[13,2019,40],[1,2019,113],[2,2008,121],[3,2009,21],[11,2020,99],[7,2019,0]],\"Queries\":[[1,2019],[2,2008],[3,2009],[7,2018],[7,2019],[7,2020],[13,2019]]}}",
|
||||
"categoryTitle": "Database",
|
||||
"contributors": [],
|
||||
"topicTags": [
|
||||
{
|
||||
"name": "Database",
|
||||
"slug": "database",
|
||||
"translatedName": null,
|
||||
"__typename": "TopicTagNode"
|
||||
}
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"16K\", \"totalSubmission\": \"19.1K\", \"totalAcceptedRaw\": 15966, \"totalSubmissionRaw\": 19125, \"acRate\": \"83.5%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
"sampleTestCase": "{\"headers\":{\"NPV\":[\"id\",\"year\",\"npv\"],\"Queries\":[\"id\",\"year\"]},\"rows\":{\"NPV\":[[1,2018,100],[7,2020,30],[13,2019,40],[1,2019,113],[2,2008,121],[3,2009,21],[11,2020,99],[7,2019,0]],\"Queries\":[[1,2019],[2,2008],[3,2009],[7,2018],[7,2019],[7,2020],[13,2019]]}}",
|
||||
"metaData": "{\n \"mysql\": [\n \"Create Table If Not Exists NPV (id int, year int, npv int)\",\n \"Create Table If Not Exists Queries (id int, year int)\"\n ],\n \"mssql\": [\n \"Create Table NPV (id int, year int, npv int)\",\n \"Create Table Queries (id int, year int)\"\n ],\n \"oraclesql\": [\n \"Create Table NPV (id int, year int, npv int)\",\n \"Create Table Queries (id int, year int)\"\n ],\n \"database\": true\n}",
|
||||
"judgerAvailable": true,
|
||||
"judgeType": "large",
|
||||
"mysqlSchemas": [
|
||||
"Create Table If Not Exists NPV (id int, year int, npv int)",
|
||||
"Create Table If Not Exists Queries (id int, year int)",
|
||||
"Truncate table NPV",
|
||||
"insert into NPV (id, year, npv) values ('1', '2018', '100')",
|
||||
"insert into NPV (id, year, npv) values ('7', '2020', '30')",
|
||||
"insert into NPV (id, year, npv) values ('13', '2019', '40')",
|
||||
"insert into NPV (id, year, npv) values ('1', '2019', '113')",
|
||||
"insert into NPV (id, year, npv) values ('2', '2008', '121')",
|
||||
"insert into NPV (id, year, npv) values ('3', '2009', '21')",
|
||||
"insert into NPV (id, year, npv) values ('11', '2020', '99')",
|
||||
"insert into NPV (id, year, npv) values ('7', '2019', '0')",
|
||||
"Truncate table Queries",
|
||||
"insert into Queries (id, year) values ('1', '2019')",
|
||||
"insert into Queries (id, year) values ('2', '2008')",
|
||||
"insert into Queries (id, year) values ('3', '2009')",
|
||||
"insert into Queries (id, year) values ('7', '2018')",
|
||||
"insert into Queries (id, year) values ('7', '2019')",
|
||||
"insert into Queries (id, year) values ('7', '2020')",
|
||||
"insert into Queries (id, year) values ('13', '2019')"
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user