Is it possible to select from show tables in MySQL?
show tables
SELECT * FROM (SHOW TABLES) AS `my_tables`
Something along these lines, th
SELECT * FROM INFORMATION_SCHEMA.TABLES
That should be a good start. For more, check INFORMATION_SCHEMA Tables.