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 t1.pos = t2.pos order by t2.pos' at line 1
SELECT concat(t1.cat_set_id,'_', t1.pos) as cat_id, t1.cat_name as cat_name, t1.cat_beschreibung as cat_beschreibung, t2.p2 as p2 FROM `riw_schiff_kategorieset_matrix` as t1, riw_preis_matrix as t2 where t1.cat_set_id = t2.setcat_id AND tours_id = AND t1.pos = t2.pos order by t2.pos
|
|