SELECT b.*, P.part_name, P.part_no FROM technology_bom b LEFT JOIN basic_part P ON b.part_id = P.ID