INSERT INTO Bauteile (
	TXLCode, 
	OL1, OW1,
	R11, R12,
	R21, R22,
	R31, R32,
	R41, R42,
	LW, CW,
	MessComm, RauComm
) SELECT
	`2121_messdaten`.`TXLCode` AS `TXLCode`,
	`2121_messdaten`.`ol` AS `OL1`,
	`2121_messdaten`.`ow` AS `OW1`,
	`2121_messdaten`.`r11` AS `R11`,
	`2121_messdaten`.`r12` AS `R12`,
	`2121_messdaten`.`r21` AS `R21`,
	`2121_messdaten`.`r22` AS `R22`,
	`2121_messdaten`.`r31` AS `R31`,
	`2121_messdaten`.`r32` AS `R32`,
	`2121_messdaten`.`r41` AS `R41`,
	`2121_messdaten`.`r42` AS `R42`,
	`2121_rauheiten`.`lw` AS `LW`,
	`2121_rauheiten`.`cw` AS `CW`,
	`2121_messdaten`.`comment` AS `MessComm`,
	`2121_rauheiten`.`comment` AS `RauComm` 
FROM 2121_messdaten, 2121_rauheiten
WHERE
	`2121_messdaten`.`TXLCode` = `2121_rauheiten`.`TXLCode`;

