Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Negating a Range | Filtering Data
Introduction to SQL
course content

Kursinnehåll

Introduction to SQL

Introduction to SQL

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

book
Challenge: Negating a Range

In the previous task, you had received a request to make a list of all the books that were published either before 1990 or after 2015.

Uppgift

Swipe to start coding

You had to write a query to fetch the titles and publication dates of all the books that match the conditions.

The solution for the previous task involved the usage of the OR operator.

Now your task is to rewrite the same query, however this time without the OR operator.

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

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 2. Kapitel 16
toggle bottom row

book
Challenge: Negating a Range

In the previous task, you had received a request to make a list of all the books that were published either before 1990 or after 2015.

Uppgift

Swipe to start coding

You had to write a query to fetch the titles and publication dates of all the books that match the conditions.

The solution for the previous task involved the usage of the OR operator.

Now your task is to rewrite the same query, however this time without the OR operator.

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

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 2. Kapitel 16
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt