mysql - SQl - How can i create multiple copies of single table -


i have table name 'realdata' , wanted exact copy of table did

create table realdata_long select * realdata 

which worked expected. need create multiple copies of same table realdata. how can create multiple copies of same table? possible modification above query achieve this?or have write new query?

if mean you're asking (no matter why , for) - dynamic sql may answer. generate query text, execute it.


Comments

Popular posts from this blog

python - Mongodb How to add addtional information when aggregating? -

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

ruby - Net::HTTP extremely slow responses for HTTPS requests -