March 29, 2012 at 12:55 am
Hi there,
I have two table personal and academic, In personal id, Ename, Qualification and some other columns are there. In Academic also have the certain columns and other columns too. Is there any query to copy all the id, ename and qualification from Personal to Academic.
March 29, 2012 at 2:21 am
Assuming that you just want to Insert all of the rows and not update existing rows:
INSERT INTO
Academic
(ID,Ename,Qualification)
(
SELECT
ID
,Ename
,Qualification
FROM
Personal
)
Andy
==========================================================================================================================
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila. Mitch Ratcliffe
March 29, 2012 at 2:25 am
Why this question has to appear on high availability?
March 29, 2012 at 2:47 am
Thank you Andy, Am just a beginner for SQL. Now ly start learning. Your response is too much worth for me. The Query is working. Thank you.
March 29, 2012 at 2:49 am
Your Welcome
==========================================================================================================================
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila. Mitch Ratcliffe
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply