
Ich habe es hinbekommen, wie ich es mir vorgestellt habe, per strpos.
Code: Alles auswählen
INSERT INTO t_auswahl (id, name, gruppe, status, daten)
SELECT t_user.id, t_user.name, t_user.gruppe, t_user.status, t_user.daten
FROM t_user
INNER JOIN t_gruppe
ON ( t_auswahl.gruppe = t_gruppe.gruppe) WHERE t_gruppe.status < 0
;