亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

insert into select和select into的使用和區(qū)別介紹

 更新時間:2013年09月21日 16:43:30   作者:  
insert into ... select 和 select ... into的使用上有哪些區(qū)別呢?在本文將為大家下詳細介紹下,不知道的朋友可以了解下
insert into ... select ...:可將表1中的全部數(shù)據(jù)或者部分數(shù)據(jù)復(fù)制到表2中。

eg:
復(fù)制代碼 代碼如下:

insert into t2(id,name,pwd)
select id,name,pwd from t1

注:t2必須存在。t1中查詢的列名可不與t1列名相同。無 values

select...into:查詢t1中的數(shù)據(jù),插入到t2中。

eg:
復(fù)制代碼 代碼如下:

select * into t2 from t1

注:t2被創(chuàng)建并填充數(shù)據(jù)。

相關(guān)文章

最新評論