1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
Files
leetcode-problemset/leetcode-cn/originData/find-books-with-no-available-copies.json
2025-06-18 01:10:28 +08:00

105 lines
23 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"data": {
"question": {
"questionId": "3910",
"questionFrontendId": "3570",
"categoryTitle": "Database",
"boundTopicId": 3691093,
"title": "Find Books with No Available Copies",
"titleSlug": "find-books-with-no-available-copies",
"content": "<p>Table: <code>library_books</code></p>\n\n<pre>\n+------------------+---------+\n| Column Name | Type |\n+------------------+---------+\n| book_id | int |\n| title | varchar |\n| author | varchar |\n| genre | varchar |\n| publication_year | int |\n| total_copies | int |\n+------------------+---------+\nbook_id is the unique identifier for this table.\nEach row contains information about a book in the library, including the total number of copies owned by the library.\n</pre>\n\n<p>Table: <code>borrowing_records</code></p>\n\n<pre>\n+---------------+---------+\n| Column Name | Type |\n+---------------+---------+\n| record_id | int |\n| book_id | int |\n| borrower_name | varchar |\n| borrow_date | date |\n| return_date | date |\n+---------------+---------+\nrecord_id is the unique identifier for this table.\nEach row represents a borrowing transaction and return_date is NULL if the book is currently borrowed and hasn&#39;t been returned yet.\n</pre>\n\n<p>Write a solution to find <strong>all books</strong> that are <strong>currently borrowed (not returned)</strong> and have <strong>zero copies available</strong> in the library.</p>\n\n<ul>\n\t<li>A book is considered <strong>currently borrowed</strong> if there exists a<strong> </strong>borrowing record with a <strong>NULL</strong> <code>return_date</code></li>\n</ul>\n\n<p>Return <em>the result table ordered by current borrowers in <strong>descending</strong> order, then by book title in <strong>ascending</strong> order.</em></p>\n\n<p>The result format is in the following example.</p>\n\n<p>&nbsp;</p>\n<p><strong class=\"example\">Example:</strong></p>\n\n<div class=\"example-block\">\n<p><strong>Input:</strong></p>\n\n<p>library_books table:</p>\n\n<pre class=\"example-io\">\n+---------+------------------------+------------------+----------+------------------+--------------+\n| book_id | title | author | genre | publication_year | total_copies |\n+---------+------------------------+------------------+----------+------------------+--------------+\n| 1 | The Great Gatsby | F. Scott | Fiction | 1925 | 3 |\n| 2 | To Kill a Mockingbird | Harper Lee | Fiction | 1960 | 3 |\n| 3 | 1984 | George Orwell | Dystopian| 1949 | 1 |\n| 4 | Pride and Prejudice | Jane Austen | Romance | 1813 | 2 |\n| 5 | The Catcher in the Rye | J.D. Salinger | Fiction | 1951 | 1 |\n| 6 | Brave New World | Aldous Huxley | Dystopian| 1932 | 4 |\n+---------+------------------------+------------------+----------+------------------+--------------+\n</pre>\n\n<p>borrowing_records table:</p>\n\n<pre class=\"example-io\">\n+-----------+---------+---------------+-------------+-------------+\n| record_id | book_id | borrower_name | borrow_date | return_date |\n+-----------+---------+---------------+-------------+-------------+\n| 1 | 1 | Alice Smith | 2024-01-15 | NULL |\n| 2 | 1 | Bob Johnson | 2024-01-20 | NULL |\n| 3 | 2 | Carol White | 2024-01-10 | 2024-01-25 |\n| 4 | 3 | David Brown | 2024-02-01 | NULL |\n| 5 | 4 | Emma Wilson | 2024-01-05 | NULL |\n| 6 | 5 | Frank Davis | 2024-01-18 | 2024-02-10 |\n| 7 | 1 | Grace Miller | 2024-02-05 | NULL |\n| 8 | 6 | Henry Taylor | 2024-01-12 | NULL |\n| 9 | 2 | Ivan Clark | 2024-02-12 | NULL |\n| 10 | 2 | Jane Adams | 2024-02-15 | NULL |\n+-----------+---------+---------------+-------------+-------------+\n</pre>\n\n<p><strong>Output:</strong></p>\n\n<pre class=\"example-io\">\n+---------+------------------+---------------+-----------+------------------+-------------------+\n| book_id | title | author | genre | publication_year | current_borrowers |\n+---------+------------------+---------------+-----------+------------------+-------------------+\n| 1 | The Great Gatsby | F. Scott | Fiction | 1925 | 3 | \n| 3 | 1984 | George Orwell | Dystopian | 1949 | 1 |\n+---------+------------------+---------------+-----------+------------------+-------------------+\n</pre>\n\n<p><strong>Explanation:</strong></p>\n\n<ul>\n\t<li><strong>The Great Gatsby (book_id = 1):</strong>\n\n\t<ul>\n\t\t<li>Total copies: 3</li>\n\t\t<li>Currently borrowed by Alice Smith, Bob Johnson, and Grace Miller (3 borrowers)</li>\n\t\t<li>Available copies: 3 - 3 = 0</li>\n\t\t<li>Included because available_copies = 0</li>\n\t</ul>\n\t</li>\n\t<li><strong>1984 (book_id = 3):</strong>\n\t<ul>\n\t\t<li>Total copies: 1</li>\n\t\t<li>Currently borrowed by David Brown (1 borrower)</li>\n\t\t<li>Available copies: 1 - 1 = 0</li>\n\t\t<li>Included because available_copies = 0</li>\n\t</ul>\n\t</li>\n\t<li><strong>Books not included:</strong>\n\t<ul>\n\t\t<li>To Kill a Mockingbird (book_id = 2): Total copies = 3, current borrowers = 2, available = 1</li>\n\t\t<li>Pride and Prejudice (book_id = 4): Total copies = 2, current borrowers = 1, available = 1</li>\n\t\t<li>The Catcher in the Rye (book_id = 5): Total copies = 1, current borrowers = 0, available = 1</li>\n\t\t<li>Brave New World (book_id = 6): Total copies = 4, current borrowers = 1, available = 3</li>\n\t</ul>\n\t</li>\n\t<li><strong>Result ordering:</strong>\n\t<ul>\n\t\t<li>The Great Gatsby appears first with 3 current borrowers</li>\n\t\t<li>1984 appears second with 1 current borrower</li>\n\t</ul>\n\t</li>\n</ul>\n\n<p>Output table is ordered by current_borrowers in descending order, then by book_title in ascending order.</p>\n</div>\n",
"translatedTitle": "查找无可用副本的书籍",
"translatedContent": "<p>表:<code>library_books</code></p>\n\n<pre>\n+------------------+---------+\n| Column Name | Type |\n+------------------+---------+\n| book_id | int |\n| title | varchar |\n| author | varchar |\n| genre | varchar |\n| publication_year | int |\n| total_copies | int |\n+------------------+---------+\nbook_id 是这张表的唯一主键。\n每一行包含图书馆中一本书的信息包括图书馆拥有的副本总数。\n</pre>\n\n<p>表:<code>borrowing_records</code></p>\n\n<pre>\n+---------------+---------+\n| Column Name | Type |\n+---------------+---------+\n| record_id | int |\n| book_id | int |\n| borrower_name | varchar |\n| borrow_date | date |\n| return_date | date |\n+---------------+---------+\nrecord_id 是这张表的唯一主键。\n每一行代表一笔借阅交易并且如果这本书目前被借出并且还没有被归还return_date 为 NULL。\n</pre>\n\n<p>编写一个解决方案以找到 <strong>所有</strong> <strong>当前被借出(未归还)&nbsp;</strong>且图书馆中 <strong>无可用副本</strong> 的书籍。</p>\n\n<ul>\n\t<li>如果存在一条借阅记录,其&nbsp;<code>return_date</code>&nbsp;为 <strong>NULL</strong>,那么这本书被认为 <strong>当前是借出的</strong>。</li>\n</ul>\n\n<p>返回结果表按当前借阅者数量 <strong>降序</strong> 排列,然后按书名 <strong>升序</strong> 排列。</p>\n\n<p>结果格式如下所示。</p>\n\n<p>&nbsp;</p>\n\n<p><strong class=\"example\">示例:</strong></p>\n\n<div class=\"example-block\">\n<p><strong>输入:</strong></p>\n\n<p>library_books 表:</p>\n\n<pre class=\"example-io\">\n+---------+------------------------+------------------+----------+------------------+--------------+\n| book_id | title | author | genre | publication_year | total_copies |\n+---------+------------------------+------------------+----------+------------------+--------------+\n| 1 | The Great Gatsby | F. Scott | Fiction | 1925 | 3 |\n| 2 | To Kill a Mockingbird | Harper Lee | Fiction | 1960 | 3 |\n| 3 | 1984 | George Orwell | Dystopian| 1949 | 1 |\n| 4 | Pride and Prejudice | Jane Austen | Romance | 1813 | 2 |\n| 5 | The Catcher in the Rye | J.D. Salinger | Fiction | 1951 | 1 |\n| 6 | Brave New World | Aldous Huxley | Dystopian| 1932 | 4 |\n+---------+------------------------+------------------+----------+------------------+--------------+\n</pre>\n\n<p>borrowing_records 表:</p>\n\n<pre class=\"example-io\">\n+-----------+---------+---------------+-------------+-------------+\n| record_id | book_id | borrower_name | borrow_date | return_date |\n+-----------+---------+---------------+-------------+-------------+\n| 1 | 1 | Alice Smith | 2024-01-15 | NULL |\n| 2 | 1 | Bob Johnson | 2024-01-20 | NULL |\n| 3 | 2 | Carol White | 2024-01-10 | 2024-01-25 |\n| 4 | 3 | David Brown | 2024-02-01 | NULL |\n| 5 | 4 | Emma Wilson | 2024-01-05 | NULL |\n| 6 | 5 | Frank Davis | 2024-01-18 | 2024-02-10 |\n| 7 | 1 | Grace Miller | 2024-02-05 | NULL |\n| 8 | 6 | Henry Taylor | 2024-01-12 | NULL |\n| 9 | 2 | Ivan Clark | 2024-02-12 | NULL |\n| 10 | 2 | Jane Adams | 2024-02-15 | NULL |\n+-----------+---------+---------------+-------------+-------------+\n</pre>\n\n<p><strong>输出:</strong></p>\n\n<pre class=\"example-io\">\n+---------+------------------+---------------+-----------+------------------+-------------------+\n| book_id | title | author | genre | publication_year | current_borrowers |\n+---------+------------------+---------------+-----------+------------------+-------------------+\n| 1 | The Great Gatsby | F. Scott | Fiction | 1925 | 3 | \n| 3 | 1984 | George Orwell | Dystopian | 1949 | 1 |\n+---------+------------------+---------------+-----------+------------------+-------------------+\n</pre>\n\n<p><strong>解释:</strong></p>\n\n<ul>\n\t<li><strong>The Great Gatsby (book_id = 1)</strong>\n\n\t<ul>\n\t\t<li>总副本数3</li>\n\t\t<li>当前被 Alice SmithBob Johnson 和 Grace Miller 借阅3 名借阅者)</li>\n\t\t<li>可用副本数3 - 3 = 0</li>\n\t\t<li>因为 available_copies = 0所以被包含</li>\n\t</ul>\n\t</li>\n\t<li><strong>1984 (book_id = 3):</strong>\n\t<ul>\n\t\t<li>总副本数1</li>\n\t\t<li>当前被 David Brown 借阅1 名借阅者)</li>\n\t\t<li>可用副本数1 - 1 = 0</li>\n\t\t<li>因为 available_copies = 0所以被包含</li>\n\t</ul>\n\t</li>\n\t<li><strong>未被包含的书:</strong>\n\t<ul>\n\t\t<li>To Kill a Mockingbird (book_id = 2):总副本数 = 3当前借阅者&nbsp;= 2可用副本 = 1</li>\n\t\t<li>Pride and Prejudice (book_id = 4):总副本数 = 2当前借阅者 = 1可用副本 = 1</li>\n\t\t<li>The Catcher in the Rye (book_id = 5):总副本数 = 1当前借阅者 = 0可用副本 = 1</li>\n\t\t<li>Brave New World (book_id = 6):总副本数 = 4当前借阅者 = 1可用副本 = 3</li>\n\t</ul>\n\t</li>\n\t<li><strong>结果顺序:</strong>\n\t<ul>\n\t\t<li>The Great Gatsby 有 3 名当前借阅者,排序第一</li>\n\t\t<li>1984 有 1 名当前借阅者,排序第二</li>\n\t</ul>\n\t</li>\n</ul>\n\n<p>输出表以 current_borrowers 降序排序,然后以 book_title 升序排序。</p>\n</div>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 0,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
"contributors": [],
"langToValidPlayground": "{\"cpp\": false, \"java\": false, \"python\": false, \"python3\": false, \"mysql\": false, \"mssql\": false, \"oraclesql\": false, \"c\": false, \"csharp\": false, \"javascript\": false, \"typescript\": false, \"bash\": false, \"php\": false, \"swift\": false, \"kotlin\": false, \"dart\": false, \"golang\": false, \"ruby\": false, \"scala\": false, \"html\": false, \"pythonml\": false, \"rust\": false, \"racket\": false, \"erlang\": false, \"elixir\": false, \"pythondata\": false, \"react\": false, \"vanillajs\": false, \"postgresql\": false, \"cangjie\": false}",
"topicTags": [
{
"name": "Database",
"slug": "database",
"translatedName": "数据库",
"__typename": "TopicTagNode"
}
],
"companyTagStats": null,
"codeSnippets": [
{
"lang": "MySQL",
"langSlug": "mysql",
"code": "# Write your MySQL query statement below",
"__typename": "CodeSnippetNode"
},
{
"lang": "MS SQL Server",
"langSlug": "mssql",
"code": "/* Write your T-SQL query statement below */",
"__typename": "CodeSnippetNode"
},
{
"lang": "Oracle",
"langSlug": "oraclesql",
"code": "/* Write your PL/SQL query statement below */",
"__typename": "CodeSnippetNode"
},
{
"lang": "Pandas",
"langSlug": "pythondata",
"code": "import pandas as pd\n\ndef find_books_with_no_available_copies(library_books: pd.DataFrame, borrowing_records: pd.DataFrame) -> pd.DataFrame:\n ",
"__typename": "CodeSnippetNode"
},
{
"lang": "PostgreSQL",
"langSlug": "postgresql",
"code": "-- Write your PostgreSQL query statement below",
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"383\", \"totalSubmission\": \"666\", \"totalAcceptedRaw\": 383, \"totalSubmissionRaw\": 666, \"acRate\": \"57.5%\"}",
"hints": [],
"solution": null,
"status": null,
"sampleTestCase": "{\"headers\":{\"library_books\":[\"book_id\",\"title\",\"author\",\"genre\",\"publication_year\",\"total_copies\"],\"borrowing_records\":[\"record_id\",\"book_id\",\"borrower_name\",\"borrow_date\",\"return_date\"]},\"rows\":{\"library_books\":[[1,\"The Great Gatsby\",\"F. Scott\",\"Fiction\",1925,3],[2,\"To Kill a Mockingbird\",\"Harper Lee\",\"Fiction\",1960,3],[3,\"1984\",\"George Orwell\",\"Dystopian\",1949,1],[4,\"Pride and Prejudice\",\"Jane Austen\",\"Romance\",1813,2],[5,\"The Catcher in the Rye\",\"J.D. Salinger\",\"Fiction\",1951,1],[6,\"Brave New World\",\"Aldous Huxley\",\"Dystopian\",1932,4]],\"borrowing_records\":[[1,1,\"Alice Smith\",\"2024-01-15\",null],[2,1,\"Bob Johnson\",\"2024-01-20\",null],[3,2,\"Carol White\",\"2024-01-10\",\"2024-01-25\"],[4,3,\"David Brown\",\"2024-02-01\",null],[5,4,\"Emma Wilson\",\"2024-01-05\",null],[6,5,\"Frank Davis\",\"2024-01-18\",\"2024-02-10\"],[7,1,\"Grace Miller\",\"2024-02-05\",null],[8,6,\"Henry Taylor\",\"2024-01-12\",null],[9,2,\"Ivan Clark\",\"2024-02-12\",null],[10,2,\"Jane Adams\",\"2024-02-15\",null]]}}",
"metaData": "{\"mysql\":[\"CREATE TABLE library_books (\\n book_id INT,\\n title VARCHAR(255),\\n author VARCHAR(255),\\n genre VARCHAR(100),\\n publication_year INT,\\n total_copies INT\\n)\",\"CREATE TABLE borrowing_records (\\n record_id INT,\\n book_id INT,\\n borrower_name VARCHAR(255),\\n borrow_date DATE,\\n return_date DATE\\n)\"],\"mssql\":[\"CREATE TABLE library_books (\\n book_id INT,\\n title VARCHAR(255),\\n author VARCHAR(255),\\n genre VARCHAR(100),\\n publication_year INT,\\n total_copies INT\\n)\",\"CREATE TABLE borrowing_records (\\n record_id INT,\\n book_id INT,\\n borrower_name VARCHAR(255),\\n borrow_date DATE,\\n return_date DATE\\n)\"],\"oraclesql\":[\"CREATE TABLE library_books (\\n book_id NUMBER,\\n title VARCHAR2(255),\\n author VARCHAR2(255),\\n genre VARCHAR2(100),\\n publication_year NUMBER,\\n total_copies NUMBER\\n)\",\"CREATE TABLE borrowing_records (\\n record_id NUMBER,\\n book_id NUMBER,\\n borrower_name VARCHAR2(255),\\n borrow_date DATE,\\n return_date DATE\\n)\",\"ALTER SESSION SET nls_date_format='YYYY-MM-DD'\"],\"database\":true,\"name\":\"find_books_with_no_available_copies\",\"postgresql\":[\"CREATE TABLE library_books (\\n book_id INTEGER,\\n title VARCHAR(255),\\n author VARCHAR(255),\\n genre VARCHAR(100),\\n publication_year INTEGER,\\n total_copies INTEGER\\n);\\n\",\"CREATE TABLE borrowing_records (\\n record_id INTEGER,\\n book_id INTEGER,\\n borrower_name VARCHAR(255),\\n borrow_date DATE,\\n return_date DATE\\n);\\n\"],\"pythondata\":[\"library_books = pd.DataFrame({\\n 'book_id': pd.Series(dtype='int'),\\n 'title': pd.Series(dtype='str'),\\n 'author': pd.Series(dtype='str'),\\n 'genre': pd.Series(dtype='str'),\\n 'publication_year': pd.Series(dtype='int'),\\n 'total_copies': pd.Series(dtype='int')\\n})\",\"borrowing_records = pd.DataFrame({\\n 'record_id': pd.Series(dtype='int'),\\n 'book_id': pd.Series(dtype='int'),\\n 'borrower_name': pd.Series(dtype='str'),\\n 'borrow_date': pd.Series(dtype='datetime64[ns]'),\\n 'return_date': pd.Series(dtype='datetime64[ns]')\\n})\"],\"database_schema\":{\"library_books\":{\"book_id\":\"INT\",\"title\":\"VARCHAR(255)\",\"author\":\"VARCHAR(255)\",\"genre\":\"VARCHAR(100)\",\"publication_year\":\"INT\",\"total_copies\":\"INT\"},\"borrowing_records\":{\"record_id\":\"INT\",\"book_id\":\"INT\",\"borrower_name\":\"VARCHAR(255)\",\"borrow_date\":\"DATE\",\"return_date\":\"DATE\"}}}",
"judgerAvailable": true,
"judgeType": "large",
"mysqlSchemas": [
"CREATE TABLE library_books (\n book_id INT,\n title VARCHAR(255),\n author VARCHAR(255),\n genre VARCHAR(100),\n publication_year INT,\n total_copies INT\n)",
"CREATE TABLE borrowing_records (\n record_id INT,\n book_id INT,\n borrower_name VARCHAR(255),\n borrow_date DATE,\n return_date DATE\n)",
"Truncate table library_books",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('1', 'The Great Gatsby', 'F. Scott', 'Fiction', '1925', '3')",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('2', 'To Kill a Mockingbird', 'Harper Lee', 'Fiction', '1960', '3')",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('3', '1984', 'George Orwell', 'Dystopian', '1949', '1')",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('4', 'Pride and Prejudice', 'Jane Austen', 'Romance', '1813', '2')",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('5', 'The Catcher in the Rye', 'J.D. Salinger', 'Fiction', '1951', '1')",
"insert into library_books (book_id, title, author, genre, publication_year, total_copies) values ('6', 'Brave New World', 'Aldous Huxley', 'Dystopian', '1932', '4')",
"Truncate table borrowing_records",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('1', '1', 'Alice Smith', '2024-01-15', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('2', '1', 'Bob Johnson', '2024-01-20', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('3', '2', 'Carol White', '2024-01-10', '2024-01-25')",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('4', '3', 'David Brown', '2024-02-01', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('5', '4', 'Emma Wilson', '2024-01-05', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('6', '5', 'Frank Davis', '2024-01-18', '2024-02-10')",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('7', '1', 'Grace Miller', '2024-02-05', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('8', '6', 'Henry Taylor', '2024-01-12', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('9', '2', 'Ivan Clark', '2024-02-12', NULL)",
"insert into borrowing_records (record_id, book_id, borrower_name, borrow_date, return_date) values ('10', '2', 'Jane Adams', '2024-02-15', NULL)"
],
"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>\"],\"pythondata\":[\"Pandas\",\"<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4<\\/p>\"],\"postgresql\":[\"PostgreSQL\",\"<p>PostgreSQL 16<\\/p>\"]}",
"book": null,
"isSubscribed": false,
"isDailyQuestion": false,
"dailyRecordStatus": null,
"editorType": "CKEDITOR",
"ugcQuestionId": null,
"style": "LEETCODE",
"exampleTestcases": "{\"headers\":{\"library_books\":[\"book_id\",\"title\",\"author\",\"genre\",\"publication_year\",\"total_copies\"],\"borrowing_records\":[\"record_id\",\"book_id\",\"borrower_name\",\"borrow_date\",\"return_date\"]},\"rows\":{\"library_books\":[[1,\"The Great Gatsby\",\"F. Scott\",\"Fiction\",1925,3],[2,\"To Kill a Mockingbird\",\"Harper Lee\",\"Fiction\",1960,3],[3,\"1984\",\"George Orwell\",\"Dystopian\",1949,1],[4,\"Pride and Prejudice\",\"Jane Austen\",\"Romance\",1813,2],[5,\"The Catcher in the Rye\",\"J.D. Salinger\",\"Fiction\",1951,1],[6,\"Brave New World\",\"Aldous Huxley\",\"Dystopian\",1932,4]],\"borrowing_records\":[[1,1,\"Alice Smith\",\"2024-01-15\",null],[2,1,\"Bob Johnson\",\"2024-01-20\",null],[3,2,\"Carol White\",\"2024-01-10\",\"2024-01-25\"],[4,3,\"David Brown\",\"2024-02-01\",null],[5,4,\"Emma Wilson\",\"2024-01-05\",null],[6,5,\"Frank Davis\",\"2024-01-18\",\"2024-02-10\"],[7,1,\"Grace Miller\",\"2024-02-05\",null],[8,6,\"Henry Taylor\",\"2024-01-12\",null],[9,2,\"Ivan Clark\",\"2024-02-12\",null],[10,2,\"Jane Adams\",\"2024-02-15\",null]]}}",
"__typename": "QuestionNode"
}
}
}