Home > brazil teclado for samsung RV411 RC410 RV415 RV420 black (frame WIN8)V122960BK2-BR BA59-02940T new

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 'order by products_quantity desc' at line 1

select count(distinct p.products_id) as total from ((products p) , products_description pd) left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and ((pd.products_name like '%brazil%' or p.products_model like '%brazil%' or pd.products_head_keywords_tag like '%brazil%' ) and (pd.products_name like '%teclado%' or p.products_model like '%teclado%' or pd.products_head_keywords_tag like '%teclado%' ) and (pd.products_name like '%for%' or p.products_model like '%for%' or pd.products_head_keywords_tag like '%for%' ) and (pd.products_name like '%samsung%' or p.products_model like '%samsung%' or pd.products_head_keywords_tag like '%samsung%' ) and (pd.products_name like '%rv411%' or p.products_model like '%rv411%' or pd.products_head_keywords_tag like '%rv411%' ) and (pd.products_name like '%rc410%' or p.products_model like '%rc410%' or pd.products_head_keywords_tag like '%rc410%' ) and (pd.products_name like '%rv415%' or p.products_model like '%rv415%' or pd.products_head_keywords_tag like '%rv415%' ) and (pd.products_name like '%rv420%' or p.products_model like '%rv420%' or pd.products_head_keywords_tag like '%rv420%' ) and (pd.products_name like '%black%' or p.products_model like '%black%' or pd.products_head_keywords_tag like '%black%' ) and ( (pd.products_name like '%frame%' or p.products_model like '%frame%' or pd.products_head_keywords_tag like '%frame%' ) and (pd.products_name like '%win8)v122960bk2-br%' or p.products_model like '%win8)v122960bk2-br%' or pd.products_head_keywords_tag like '%win8)v122960bk2-br%' ) and (pd.products_name like '%ba59-02940t%' or p.products_model like '%ba59-02940t%' or pd.products_head_keywords_tag like '%ba59-02940t%' ) and (pd.products_name like '%new%' or p.products_model like '%new%' or pd.products_head_keywords_tag like '%new%' ) )order by products_quantity desc

[TEP STOP]