Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Members with No Borrowings | Subqueries in Library Management
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Subqueries in SQL

bookChallenge: Members with No Borrowings

Tâche

Swipe to start coding

You need to write a query to find all members who have never borrowed a book. Use a subquery to identify members whose member_id does not appear in the borrowings table.

  • Select the name of each member.
  • Use a subquery to find all member_id values present in the borrowings table.
  • Return only those members whose member_id is not present in the subquery result.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 5
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: Members with No Borrowings

Glissez pour afficher le menu

Tâche

Swipe to start coding

You need to write a query to find all members who have never borrowed a book. Use a subquery to identify members whose member_id does not appear in the borrowings table.

  • Select the name of each member.
  • Use a subquery to find all member_id values present in the borrowings table.
  • Return only those members whose member_id is not present in the subquery result.

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 5
single

single

some-alt