セクション 1. 章 4
single
Unique values from column
メニューを表示するにはスワイプしてください
In real life, you may work with big tables containing thousands of rows and lots of columns. For example, you may have a database with all the users who have visited your site, and you want to know all the countries that attended your site.
In SQL, to extract unique values from the column use the DISTINCT statement. For example, to extract unique countries from the table visitors use:
12SELECT DISTINCT(country) FROM visitors
タスク
スワイプしてコーディングを開始
From the audi_cars table extract all the unique models of cars.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 4
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください