Failed

select target.title, target.ID_ART, target.publication from tbl_article as target inner join tbl_article_portal as rel on target.id_art = rel.id_art inner join tbl_article_aks as aks on target.id_art = aks.id_art inner join tbl_aks as echtaks on aks.id_aks = echtaks.id_aks where rel.ID_PRT=1 and echtaks.akskey in (006019005,%20006019003,%20006019007) and target.live=1 and (unix_timestamp(target.publication)=0 or target.publication<=now() or target.publication is null) and (unix_timestamp(target.expiration)=0 or target.expiration>=now() or target.expiration is null) order by publication desc
 
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 '%20006019003,%20006019007) and target.live=1 and (unix_timestamp(target.publicat' at line 6
Failed

select target.name, target.id_prd, target.publication from tbl_product as target inner join tbl_product_portal as rel on target.id_prd = rel.id_prd inner join tbl_product_aks as aks on target.id_prd = aks.id_prd inner join tbl_aks as echtaks on aks.id_aks = echtaks.id_aks where rel.ID_PRT=1 and echtaks.akskey in (006019005,%20006019003,%20006019007) and target.live=1 and (unix_timestamp(target.publication)=0 or target.publication<=now() or target.publication is null) and (unix_timestamp(target.expiration)=0 or target.expiration>=now() or target.expiration is null) order by publication desc
 
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 '%20006019003,%20006019007) and target.live=1 and (unix_timestamp(target.publicat' at line 6 Fachartikel und Produkte