Challenge: Books Borrowed in the Last Month
Swipe to start coding
List all books that have been borrowed on or after July 1, 2023.
-
Use a subquery to select all unique
book_idvalues from theborrowingstable whereborrow_dateis greater than or equal toDATE '2023-07-01'. -
Select all columns from the
bookstable for books whosebook_idis in the set returned by the subquery.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 5.56
Challenge: Books Borrowed in the Last Month
Swipe to show menu
Swipe to start coding
List all books that have been borrowed on or after July 1, 2023.
-
Use a subquery to select all unique
book_idvalues from theborrowingstable whereborrow_dateis greater than or equal toDATE '2023-07-01'. -
Select all columns from the
bookstable for books whosebook_idis in the set returned by the subquery.
Solution
Thanks for your feedback!
single