TASK #126 · Medium · CianCopies not linked to any edition
Your brief
In the library system, the BookCopies table contains book copies
(physical copies of editions), and the BookEditions table contains work editions.
Check if there are book copies that are not linked to any edition (possibly due to data errors). Result: copy id.
Check if there are book copies that are not linked to any edition (possibly due to data errors). Result: copy id.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
Booksid, titleBookEditionsid, book_id, publish_year, pagesBookCopiesid, edition_id, inventory_numberOperationLogsid, user_id, copy_id, date_taken, date_returned