 |
Watches |
 |
|
 |
FEATURING |
 |
|
 |
NEWSLETTER SIGNUP |
 |
|
|
|
|
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1223332205 (PRIMARY KEY (products_model)) ENGINE=memory ignore select distinct p' at line 1
create temporary table 1223332205 (PRIMARY KEY (products_model)) ENGINE=memory ignore select distinct p.products_model, p.products_image, pd.products_name,
p.products_id,
p.products_image , p.products_price,
p.products_tax_class_id,
if(s.status, least(s.specials_new_products_price, p.products_price), p.products_price) as final_price from (products p
left join specials s using(products_id) ),
products_description pd where p.products_status = '1' and p.manufacturers_id in (1,4)
and pd.products_id = p.products_id
and pd.language_id = '1'
and date_sub(curdate(),interval 30 day) <= p.products_date_added order by pd.products_name
[TEP STOP]
| | | | |