DROP TABLE ( SELECT table_name FROM information_schema.`TABLES` WHERE table_schema = \'myDatabase\' AND table_name LIKE BINARY \'del%\');
I know th
I found it useful to add an IFNULL to Devart's solutions to avoid generating an error if there are no tables matching the query.
SET @tables = IFNULL(CONCAT('DROP TABLE ', @tables),'SELECT NULL;');