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 to delete a database from mysql server.

512


What is the command line end user interface - mysql?

519


How do I select a table in mysql?

476


How to show all records starting with the letters 'sonia' and the phone number '9876543210'

509


Can you tell what are various ways to create an index?

456






How do I download mysql on my laptop?

475


What are the technical specifications of mysql?

667


Suppose you have to collect the first name, middle name and the last name of students from the below table. But, you observe that there few missing values either in the first name, middle name and the last name columns. How will you return the first non-null values?

460


How to returns the columns and column information pertaining to the designated table.

562


What is a delimiter in mysql?

474


How to change a password for an existing user via mysqladmin?

555


How do I add a column to a table in mysql?

465


How do I find the size of a mysql database?

473


How does limit work in mysql?

461


What is mysqlcheck do?

528