INSERT INTO Bauteile ( TXLCode, OL1, OL2, OW1, OW2, R11, R12, R13, R21, R22, R23, R31, R32, R33, R41, R42, R43, LW, CW, MessComm, RauComm ) SELECT `3030_messdaten`.`TXLCode` AS `TXLCode`, `3030_messdaten`.`ol1` AS `OL1`, `3030_messdaten`.`ol2` AS `OL2`, `3030_messdaten`.`ow1` AS `OW1`, `3030_messdaten`.`ow2` AS `OW2`, `3030_messdaten`.`r11` AS `R11`, `3030_messdaten`.`r12` AS `R12`, `3030_messdaten`.`r13` AS `R13`, `3030_messdaten`.`r21` AS `R21`, `3030_messdaten`.`r22` AS `R22`, `3030_messdaten`.`r23` AS `R23`, `3030_messdaten`.`r31` AS `R31`, `3030_messdaten`.`r32` AS `R32`, `3030_messdaten`.`r33` AS `R33`, `3030_messdaten`.`r41` AS `R41`, `3030_messdaten`.`r42` AS `R42`, `3030_messdaten`.`r43` AS `R43`, `3030_rauheiten`.`lw` AS `LW`, `3030_rauheiten`.`cw` AS `CW`, `3030_messdaten`.`comment` AS `MessComm`, `3030_rauheiten`.`comment` AS `RauComm` FROM 3030_messdaten, 3030_rauheiten WHERE `3030_messdaten`.`TXLCode` = `3030_rauheiten`.`TXLCode`;