mysql drop table cascade code example
Example 1: drop table in mysql
DROP TABLE table_name;
Example 2: mysql drop table cascade
SET FOREIGN_KEY_CHECKS = 0;
drop table if exists <your_1st_table>;
drop table if exists <your_2nd_table>;
SET FOREIGN_KEY_CHECKS = 1;