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

Зміст курсу

SQL Basics

SQL Basics

1. Selecting
2. Filtering
3. Aggregating
4. Sorting
5. Grouping
6. Practicing

Word filtering

Imagine that we want to extract all the hybrid cars from our database. As you understand, doing it manually is a worthless job and has to be automated.

Surely it has already been implemented! To filter observations based on columns with text use WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE fueltype = 'Hybrid'
copy

This query will return all the Hybrid cars.

Please note, that in that case, you have to use single quotes, not double!

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 1
toggle bottom row

Word filtering

Imagine that we want to extract all the hybrid cars from our database. As you understand, doing it manually is a worthless job and has to be automated.

Surely it has already been implemented! To filter observations based on columns with text use WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE fueltype = 'Hybrid'
copy

This query will return all the Hybrid cars.

Please note, that in that case, you have to use single quotes, not double!

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 2. Розділ 1
toggle bottom row

Word filtering

Imagine that we want to extract all the hybrid cars from our database. As you understand, doing it manually is a worthless job and has to be automated.

Surely it has already been implemented! To filter observations based on columns with text use WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE fueltype = 'Hybrid'
copy

This query will return all the Hybrid cars.

Please note, that in that case, you have to use single quotes, not double!

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Imagine that we want to extract all the hybrid cars from our database. As you understand, doing it manually is a worthless job and has to be automated.

Surely it has already been implemented! To filter observations based on columns with text use WHERE statement. For example,

123
SELECT * FROM audi_cars WHERE fueltype = 'Hybrid'
copy

This query will return all the Hybrid cars.

Please note, that in that case, you have to use single quotes, not double!

Завдання

From audi_cars table extract only cars with Automatic transmission. Extract all the columns.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 1
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt