Gebruik om de naam van alle tabellen te krijgen:
SELECT table_name FROM information_schema.tables;
Om de naam van de tabellen uit een specifieke database te halen, gebruik:
SELECT table_name FROM information_schema.tables where table_schema='<your_database_name>';
Zie voor meer details:http://dev.mysql. com/doc/refman/5.0/en/information-schema.html