SELECT CONCAT( ‘DROP TABLE ‘, GROUP_CONCAT(table_name) , ‘;‘ ) AS statement FROM information_schema.tables WHERE table_schema = ‘video‘ AND table_name LIKE ‘t_c%‘;
时间: 2024-10-15 23:17:00
SELECT CONCAT( ‘DROP TABLE ‘, GROUP_CONCAT(table_name) , ‘;‘ ) AS statement FROM information_schema.tables WHERE table_schema = ‘video‘ AND table_name LIKE ‘t_c%‘;