Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Number filtering | Filtering
SQL Basics

Deslize para mostrar o menu

book
Number filtering

But what if we want to choose a car with small mileage, let it be less than 5000 miles. We need to set the condition to a numeric column.

This also can be done with WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE mileage < 5000
copy

Comparison operators you also can use for numeric columns:

  • < - less than

  • <= - less-equal

  • >= - greater-equal -> - greater

  • = - equal

  • <> - not equal.

Now let's try to find the cheapest car in this dataset.

Tarefa

Swipe to start coding

From the audi_cars dataset extract cars with price less than 10 000.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2

Pergunte à IA

expand
ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

book
Number filtering

But what if we want to choose a car with small mileage, let it be less than 5000 miles. We need to set the condition to a numeric column.

This also can be done with WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE mileage < 5000
copy

Comparison operators you also can use for numeric columns:

  • < - less than

  • <= - less-equal

  • >= - greater-equal -> - greater

  • = - equal

  • <> - not equal.

Now let's try to find the cheapest car in this dataset.

Tarefa

Swipe to start coding

From the audi_cars dataset extract cars with price less than 10 000.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 2
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt