mySQL select_assoc (nolting-gmbh@localhost:gustav-nolting-gmbh):
SELECT p.*, k.id AS kategorieId, k.name FROM produkte p
				LEFT JOIN kategorien2produkte k2p
					ON k2p.produkt_id = p.id
				LEFT JOIN kategorien k
					ON k2p.kategorie_id = k.id
				WHERE p.aktiv = 'y' AND (k.parent_id =  OR k.id = ) ORDER BY k.position, k2p.position