Aan de slagGa gratis aan de slag

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?

Deze oefening maakt deel uit van de cursus

Introduction to SQL

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

-- Select unique authors from the books table
SELECT ___
FROM ___;
Code bewerken en uitvoeren