- You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10,10' at line 4
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=12133 or pm.id_pmag=12141) and pm.categorie_id_pmag='406' 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