Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Books Borrowed in the Last Month | Subqueries in Library Management
Subqueries in SQL

bookChallenge: Books Borrowed in the Last Month

Uppgift

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_id values from the borrowings table where borrow_date is greater than or equal to DATE '2023-07-01'.

  • Select all columns from the books table for books whose book_id is in the set returned by the subquery.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 4
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

close

bookChallenge: Books Borrowed in the Last Month

Svep för att visa menyn

Uppgift

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_id values from the borrowings table where borrow_date is greater than or equal to DATE '2023-07-01'.

  • Select all columns from the books table for books whose book_id is in the set returned by the subquery.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 3. Kapitel 4
single

single

some-alt