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

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -