How do I export a multi table database with exceptions? I am working out of phpmyadmin to export data using an sql.

I have an 88 table database. I would like to export all data to a .csv from 85 of those tables where I am only keeping the rows in which my column Length(Status) > 0.

So far I've come up with being able to select all data from a single table. I would like to apply to my entire database except the 3 tables and export it a .csv.

SELECT * FROM table WHERE LENGTH(Status) > 0
Use SELECT INTO OUTFILE ... WHERE LENGTH(Status) > 0 for each table.

PHPMyAdmin isn't a tool for complex tasks.