MulaiMulai sekarang secara gratis

Making queries DISTINCT

You've learned that the DISTINCT keyword can be used to return unique values in a field.

The books table contains 350 books, representing all of the books that our local library has available for checkout.

But how many different authors are represented in these 350 books?

Latihan ini adalah bagian dari kursus

Introduction to SQL

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

-- Select unique authors from the books table
SELECT ___
FROM ___;
Edit dan Jalankan Kode