セクション 1. 章 26
single
Using 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.
123SELECT name, population, region FROM country WHERE population >= 1000000 AND continent ='Europe';
This query returns only the rows that meet both conditions: the country's population is at least 1000000, and it's located in Europe.
タスク
スワイプしてコーディングを開始
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.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 26
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください