We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Tips for using MariaDB
We will use MediaWiki tables as example. Create a new file named concat-drop.sql with the following SQL:
SELECT CONCAT('DROP TABLE ', GROUP_CONCAT(TABLE_NAME), ';') AS STATEMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE 'mw_%';
Then, execute it as below:
$ mysql -u user -ppassword dbname < concat-drop.sql