1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/originData/[no content]product-price-at-a-given-date.json
2022-05-02 23:44:12 +08:00

62 lines
3.6 KiB
JSON

{
"data": {
"question": {
"questionId": "1278",
"questionFrontendId": "1164",
"categoryTitle": "Database",
"boundTopicId": 33161,
"title": "Product Price at a Given Date",
"titleSlug": "product-price-at-a-given-date",
"content": null,
"translatedTitle": "指定日期的产品价格",
"translatedContent": null,
"isPaidOnly": true,
"difficulty": "Medium",
"likes": 68,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": null,
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": null,
"stats": "{\"totalAccepted\": \"8K\", \"totalSubmission\": \"13.3K\", \"totalAcceptedRaw\": 7972, \"totalSubmissionRaw\": 13270, \"acRate\": \"60.1%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"Products\":[\"product_id\",\"new_price\",\"change_date\"]},\"rows\":{\"Products\":[[1,20,\"2019-08-14\"],[2,50,\"2019-08-14\"],[1,30,\"2019-08-15\"],[1,35,\"2019-08-16\"],[2,65,\"2019-08-17\"],[3,20,\"2019-08-18\"]]}}",
"metaData": "{\n \"mysql\": [\n \"Create table If Not Exists Products (product_id int, new_price int, change_date date)\"\n ],\n \"mssql\": [\n \"Create table Products (product_id int, new_price int, change_date date)\"\n ],\n \"oraclesql\": [\n \"Create table Products (product_id int, new_price int, change_date date)\",\n \"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"\n ],\n \"database\": true\n}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"Create table If Not Exists Products (product_id int, new_price int, change_date date)",
"Truncate table Products",
"insert into Products (product_id, new_price, change_date) values ('1', '20', '2019-08-14')",
"insert into Products (product_id, new_price, change_date) values ('2', '50', '2019-08-14')",
"insert into Products (product_id, new_price, change_date) values ('1', '30', '2019-08-15')",
"insert into Products (product_id, new_price, change_date) values ('1', '35', '2019-08-16')",
"insert into Products (product_id, new_price, change_date) values ('2', '65', '2019-08-17')",
"insert into Products (product_id, new_price, change_date) values ('3', '20', '2019-08-18')"
],
"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\":{\"Products\":[\"product_id\",\"new_price\",\"change_date\"]},\"rows\":{\"Products\":[[1,20,\"2019-08-14\"],[2,50,\"2019-08-14\"],[1,30,\"2019-08-15\"],[1,35,\"2019-08-16\"],[2,65,\"2019-08-17\"],[3,20,\"2019-08-18\"]]}}",
"__typename": "QuestionNode"
}
}
}