Is it possible to remove any unused product attribute values? All the answer I find seem to be related to magento 1 and not 2.
I have a product attribute called size and it has around 100 different values connected to it. However I am not sure which ones are used and which ones are not. Therefore I would like to run a script or a sql statement to run to remove all of the ones which aren't connected to any products