Is there a way to query the database to list all the different entries from a field in a table and ignore duplicates?

For example a table with the following entries

cat
dog
cat
cat
rabbit
dog
elephant
cat
cat
dog
dog


would output a list reading

cat
dog
rabbit
elephant