Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_ name LIKE 'dede_%';