Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_schema='socialnetwork' and table_name LIKE 'zeai_lovebhistory%';