-

select pm.*, case when (pm.pret_promotie_pmag>0 and pm.promotie_pmag=1) then pm.pret_promotie_pmag else pm.pret_site_pmag end as pretul from (produse_magazin pm left join produse_categorii pcc on pcc.id_prod_prod_cat=pm.id_pmag) where pm.status_pmag=1 and pm.tip_pmag!=3 and pm.tre_documentat_pmag=0 and ( pm.id_pmag=12046 or pm.id_pmag=12051 or pm.id_pmag=12059 or pm.id_pmag=12060) and pm.categorie_id_pmag='405' and pm.promotie_pmag=1 and pm.pret_promotie_pmag>0 and (pret_site_pmag>0 or tip_pmag=5) and status_pmag=1 and tip_pmag!=3 and tre_documentat_pmag=0 order by pm.promotie_pmag desc, pm.pret_promotie_pmag asc limit -10,10

[EROARE:STOP]
Ne cerem scuze pentru aceasta problema!!! In cel mai scurt timp va fi rezolvata