if(exist systables from dbname where table = 'tablename') drop table tablename
create table tablename