Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Using the AND Operator | Section
Practice
Projects
Quizzes & Challenges
Вікторини
Challenges
/
SQL Fundamentals
Секція 1. Розділ 26
single

single

bookUsing the AND Operator

Свайпніть щоб показати меню

When you want to filter results using more than one column, you can chain conditions together with the AND operator in the WHERE clause.

123
SELECT name, population, region FROM country WHERE population >= 1000000 AND continent ='Europe';
copy

This query returns only the rows that meet both conditions: the country's population is at least 1000000, and it's located in Europe.

Завдання

Swipe to start coding

Write a SQL query to select the name column from the country table for countries that are located in Asia and have a population greater than 1,000,000. Use the WHERE clause to filter both by continent and by population. Combine these two conditions using the AND operator. Only return the name column in your result.

Рішення

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

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 26
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt