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

bookChallenge: Books Borrowed in the Last Month

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Books Borrowed in the Last Month

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
single

single

some-alt