Get the distinct values used in a multiple choice field

SELECT DISTINCT unnest(materials) AS choice FROM Buildings ORDER BY unnest(materials);