- 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=12389 or pm.id_pmag=12390 or pm.id_pmag=12391 or pm.id_pmag=12392 or pm.id_pmag=12393 or pm.id_pmag=12394 or pm.id_pmag=12395 or pm.id_pmag=12396 or pm.id_pmag=12397 or pm.id_pmag=12398 or pm.id_pmag=12399 or pm.id_pmag=12400 or pm.id_pmag=12401 or pm.id_pmag=12402 or pm.id_pmag=12403 or pm.id_pmag=12404 or pm.id_pmag=12405 or pm.id_pmag=12406 or pm.id_pmag=12407 or pm.id_pmag=12408 or pm.id_pmag=12409 or pm.id_pmag=12410 or pm.id_pmag=12411 or pm.id_pmag=12412 or pm.id_pmag=12413 or pm.id_pmag=12414 or pm.id_pmag=12415 or pm.id_pmag=12416 or pm.id_pmag=12417 or pm.id_pmag=12418 or pm.id_pmag=12419 or pm.id_pmag=12420 or pm.id_pmag=12421 or pm.id_pmag=12422 or pm.id_pmag=12423 or pm.id_pmag=12424 or pm.id_pmag=12425 or pm.id_pmag=12426 or pm.id_pmag=12427 or pm.id_pmag=12428 or pm.id_pmag=12429 or pm.id_pmag=12430 or pm.id_pmag=12431 or pm.id_pmag=12432 or pm.id_pmag=12433 or pm.id_pmag=12434 or pm.id_pmag=12435 or pm.id_pmag=12436 or pm.id_pmag=12437 or pm.id_pmag=12438 or pm.id_pmag=12439 or pm.id_pmag=12440 or pm.id_pmag=12441 or pm.id_pmag=12442 or pm.id_pmag=12443 or pm.id_pmag=12444 or pm.id_pmag=12445 or pm.id_pmag=12446 or pm.id_pmag=12447 or pm.id_pmag=12448 or pm.id_pmag=14178) and pm.categorie_id_pmag='445' 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