How we can copy one table data into another table whose name
same as table but in differ database

Answer Posted / jayanthi reddy

create table tablename select * from databasename.tablename

i'm expecting this will work. if anything wrong correct it

Is This Answer Correct ?    8 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I see all mysql databases?

507


How to create trigger in mysql phpmyadmin?

582


How you will show all data from a table.

607


How do I rename a table in mysql workbench?

582


What is root password?

552






What is current version of mysql?

541


How to get current MySQL version?

680


Transactions are used to treat sets of SQL statements atomically. State Whether True or False?

1087


Can we store pdf files in mysql?

541


How we can see all indexes defined for a table in mysql?

556


What is the difference between heap table and temporary table?

712


What is unsigned in mysql?

588


Is mongodb faster than mysql?

573


What is flush privileges in mysql?

619


How do I rename a procedure?

542