Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Avoid the Damaged Books | Filtering Data
Introduction to SQL
course content

Course Content

Introduction to SQL

Introduction to SQL

1. Getting Started
3. Sorting Data
4. Populating a Database
5. Updating & Deleting Data

book
Challenge: Avoid the Damaged Books

The library decided to mention the condition of the available books to better keep track of which books are suitable to be lent and which need to be preserved.

The condition of a book can be one of the following:

New | Used | Damaged

The books that are damaged cannot be borrowed by anyone. As a librarian, you are required to make a new list of all the available books that can be borrowed.

Task
test

Swipe to show code editor

Write a query to list the names, authors, and publication years of all the books that are borrowable.

The books table includes these columns: id, title, author, book_condition, genre, and publication_year.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 5
toggle bottom row

book
Challenge: Avoid the Damaged Books

The library decided to mention the condition of the available books to better keep track of which books are suitable to be lent and which need to be preserved.

The condition of a book can be one of the following:

New | Used | Damaged

The books that are damaged cannot be borrowed by anyone. As a librarian, you are required to make a new list of all the available books that can be borrowed.

Task
test

Swipe to show code editor

Write a query to list the names, authors, and publication years of all the books that are borrowable.

The books table includes these columns: id, title, author, book_condition, genre, and publication_year.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 5
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt