Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Multiple Conditions | Filtering Data
Introduction to SQL
course content

Contenuti del Corso

Introduction to SQL

Introduction to SQL

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

book
Challenge: Multiple Conditions

In the book sale, an academic researcher needs books on History that were published between 1990 and 2010, but only if they are priced at $30 or less. Compile a list that meets all these criteria.

Compito

Swipe to start coding

Write an SQL query to fetch the titles of all books where:

  • The genre is "Historical";
  • The publication_year is greater than or equal to 1990 and less than or equal to 2010;
  • The price is less than or equal to 30;

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

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 11
toggle bottom row

book
Challenge: Multiple Conditions

In the book sale, an academic researcher needs books on History that were published between 1990 and 2010, but only if they are priced at $30 or less. Compile a list that meets all these criteria.

Compito

Swipe to start coding

Write an SQL query to fetch the titles of all books where:

  • The genre is "Historical";
  • The publication_year is greater than or equal to 1990 and less than or equal to 2010;
  • The price is less than or equal to 30;

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

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 11
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt