Uma alternativa usando a saída html do mysql e tendo resultados em blocos de dados separados
mysql --html -b information_schema -e 'select COLUMN_NAME, TABLE_NAME from columns LIMIT 5;' >> sql.xlsx
echo '<hr>' >> sql.xlsx
mysql --html -b information_schema -e 'select COLUMN_NAME, TABLE_NAME from columns LIMIT 100,3;' >> sql.xlsx
Quando aberto com o Excel, pode parecer
