Mulai sekarangMulai gratis

SELECT DISTINCT

Often query results will include many duplicate values. You can use the DISTINCT keyword to select the unique values from a field.

This might be useful if, for example, you're interested in knowing which languages are represented in the films table. See if you can find out what countries are represented in this table with the following exercises.

Latihan ini merupakan bagian dari kursus

Intermediate SQL

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

-- Return the unique countries from the films table
___
Edit dan Jalankan Kode