Created
July 2, 2019 09:40
-
-
Save alex-79/8627ae15f9f2f45755001ce31cf701ce to your computer and use it in GitHub Desktop.
Magento 2: пошук групованих товарів без зображень
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 * FROM `catalog_product_entity` AS a | |
LEFT JOIN `catalog_product_entity_media_gallery_value` AS b ON a.entity_id = b.entity_id | |
LEFT JOIN `catalog_product_entity_media_gallery` AS c ON b.value_id = c.value_id WHERE c.value IS NULL AND a.type_id = 'grouped' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment