SELECT@count_wrongAS"Number of tables which should not exist";
SELECT@count_wrongAS"Number of tables which should not exist";
SELECTWRONGAS"Tables which should not exist"FROM(SELECTl.table_nameASMATCHED,r.table_nameASWRONGFROMexpected_tablesASlRIGHTOUTERJOINinformation_schema.tablesASrON(r.table_nameCOLLATEutf8_unicode_ci=l.table_name)WHEREr.table_schema=database())AStempWHEREtemp.MATCHEDISNULL;