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

Does mysql use t sql?

737


Is mysql still relevant?

687


What is limit in mysql?

636


What is mysql vs sql?

698


What is myisamchk?

702


How do I select a database in mysql?

714


What is mysql architecture?

723


What do you mean by % and _ in the LIKE statement?

732


Is blocked because of many connection errors unblock with mysqladmin flush hosts?

683


Define REGEXP?

823


How to give user privilages for a db. Login as root. Switch to the mysql db. Grant privs. Update privs.

635


What are programming functions?

649


What is pragma exception?

704


Consider you have the following three tables which have to be linked together.

693


How to display top 10 rows in mysql?

746