开发者

using nested query to insert values into a table

how to insert values selected from another table using nested qu开发者_JS百科ery


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜