This DROP TABLE IF EXISTS works, too bad that RENAME TABLE IF EXISTS doesn\'t work.
DROP TABLE IF EXISTS
RENAME TABLE IF EXISTS
Can anyone suggest a solution for this query?
create table table2 like table1; insert into table2 select * from table1; drop table table1;