SQL Query to return filters applicable to products contained in category AND filters that apply from remaining products once 1+ filters active
问题 I'm displaying a list of product filters. Product filters are only displayed if they are applicable to the products contained within a chosen category. I want to expand that further so once a filter has been activated, the non-applicable filters are not outputted. So from the data sample below in products_filters_to_products: Once Orange has been selected as a Colour Only Small from Size should be made available Query so far returns applicable filter categories, filters belonging to those