Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Fetching Older 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: Fetching Older Books

As a librarian, a patron approaches you with an interest in older literature and requests book recommendations published in the year 1990.

Task
test

Swipe to show code editor

Write a query which fetches the titles and authors of all the books that were published in the year 1990

The books table includes the columns: id, title, author, genre, publication_year, and price.

Note

In SQL, the numbers are not enclosed in quotes, unlike strings which are always enclosed in single quotes (').

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 3
toggle bottom row

book
Challenge: Fetching Older Books

As a librarian, a patron approaches you with an interest in older literature and requests book recommendations published in the year 1990.

Task
test

Swipe to show code editor

Write a query which fetches the titles and authors of all the books that were published in the year 1990

The books table includes the columns: id, title, author, genre, publication_year, and price.

Note

In SQL, the numbers are not enclosed in quotes, unlike strings which are always enclosed in single quotes (').

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 3
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