Created
September 11, 2024 12:05
-
-
Save vasilii-b/2673a0c739bf99ff0700a1b91582202a to your computer and use it in GitHub Desktop.
Select all (multi)select values for specific product attribute(s)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select ea.attribute_code, eaov.value | |
from eav_attribute as ea | |
left join eav_attribute_option as eao on ea.attribute_id = eao.attribute_id | |
join eav_attribute_option_value eaov on eao.`option_id` = eaov.option_id | |
where ea.attribute_code like "%_range" | |
order by ea.attribute_code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment