A CSV file has a fixed column format. Your parent and child tables have different column configurations. So they cannot be in one CSV file.
If you know how you want your CSV format to be, then you may be able to create a temporary table to store your selected parents and their child records in that format and download it.