How can I export a data table which where I have a list of all unique variables contained in one or some attribute columns?

I'm using QGIS 3.4 and I have an attribute column which has about 20 unique characters repeated for 1973 polygons.

I would like to have a list of them and the same for other columns.

Browse other questions tagged or ask your own question.