To import with a SQL script, you can run this code:
SELECT * INTO OUTFILE 'teams-export.csv'
FIELDS TERMINATED BY ';' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY ' '
FROM yourschema.teams;
When your export is done, you will have a CSV file on disk that will look like the following screenshot when it's opened:
As long as your secure-file-priv option is not disabled, your script will appear in the folder configured in secure-file-priv.