Magento 查询产品SKU和价格的SQL

来源:互联网 发布:mysql 显示当前时间 编辑:程序博客网 时间:2024/05/16 18:24
SELECT t2.sku,t1.`value` from catalog_product_entity_decimal AS t1  LEFT JOIN catalog_product_entity AS t2  ON t2.entity_id = t1.entity_id  WHERE t1.attribute_id=76  order by t2.sku
我这里 attribute_id=76是 Special Price
0 0
原创粉丝点击