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 'AND artikel.ID = shop_link_table.ID AND ' at line 8
select distinct artikel.* FROM artikel, shop_link_table WHERE shop_link_table.Father = AND artikel.ID = shop_link_table.ID AND shop_link_table.Verwendung ='a2a' AND artikel.Language = 'DE' AND ( (artikel.preis1 > 0) OR (artikel.preis1 < 0 AND artikel.preis1 > 0) ) ORDER BY Father, rang