tags:

views:

28

answers:

1

how to insert values selected from another table using nested query

+2  A: 

may be following will help you :

INSERT california_authors (au_id, au_lname, au_fname)
SELECT au_id, au_lname, au_fname
FROM authors
WHERE State = 'CA'

more : Using INSERT and SELECT

Pranay Rana