Export data from mySQL to CSV

OK. Are you already using the TG’s i.e. are you familiar with them? And how is your SQL?

If not familiar with TG’s check out a few IU videos on them while I write a few scripts for your example…