 |
Product Categories |
 |
|
5 - Out of memory (Needed 2095132 bytes)
select distinct
p.products_id,
pd.products_name,
IF(pg.customers_group_price IS NOT NULL,pg.customers_group_price, p.products_price) as products_price,
p.products_tax_class_id,
p.products_image,
s.specials_new_products_price
from products p
left join products_groups pg on p.products_id = pg.products_id and pg.customers_group_id like '%G%',
products_description pd,
specials s
where
p.products_status = '1'
and p.products_id = s.products_id
and pd.products_id = s.products_id
and pd.language_id = '1'
and s.status = '1'
and p.products_group_access like '%G%'
order by rand(), s.specials_date_added desc limit 100
[TEP STOP]
|