The true ANSI way:
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE 'T%'
Does not imply the presence or behavior of a USE function. This should work in every DBMS supporting ANSI INFORMATION_SCHEMA views, which of course contain MySQL.
source share