SELECT `tx_gutachten_raume_basis`.`id`, `tx_gutachten_raume_basis`.`topNr`, `tx_gutachten_raume_basis`.`tt_orientierung_id`, `tx_gutachten_raume_all`.`geschoss`, `tx_gutachten_raume_all`.`raum`, `tx_gutachten_raume_all`.`qm`, `tx_gutachten_raume_all`.`tt_raumart_id` FROM `tx_gutachten_raume_basis` LEFT JOIN `tx_gutachten_raume_all` ON `tx_gutachten_raume_basis`.`id` = `tx_gutachten_raume_all`.`tt_raume_basis_id` WHERE (`tx_gutachten_raume_basis`.`pid` = '957') ORDER BY `tx_gutachten_raume_basis`.`topNr` ASC;