[haiyang] Add generate table sql and drop table sql