Created
December 2, 2016 11:54
-
-
Save versedi/1dfb6f863f2b39334f764b67c950e714 to your computer and use it in GitHub Desktop.
GetPricesPerStores-MagentoSQL
This file contains hidden or 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 | |
CPE.sku, | |
CPED.value, | |
CPED.attribute_id, | |
CPED.store_id, | |
EAV.attribute_code | |
FROM | |
catalog_product_entity AS CPE | |
INNER JOIN catalog_product_entity_decimal AS CPED ON CPED.entity_id = CPE.entity_id AND CPED.attribute_id IN (75,76) AND CPED.store_id IN (1,2,3,4,5,14,15,0) | |
INNER JOIN eav_attribute AS EAV ON CPED.attribute_id = EAV.attribute_id | |
ORDER BY sku,store_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment