Exporting more than 65K records from Query

Hello

What is the best way to export query results from TDA which are more than 65k records?

Exporting to either Excel or .txt work.

Thank you!