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

union這個連接是有什么用的和INNER JOIN有什么區(qū)別

 更新時間:2006年07月14日 00:00:00   作者:  
Inner join 是兩張表做交連后里面條件相同的部分記錄產(chǎn)生一個記錄集,
union是產(chǎn)生的兩個記錄集(字段要一樣的)并在一起,成為一個新的記錄集

Select A.Field1,B.field2 from Table1 A inner join Table2 B on a.Field2=b.Field2 where ..........
Select Field1 from Table1 union Select Field2 from table2
方案二、
select a.id,a.title,b.content from 表格1 as a,表格2 as b where a.id=b.id order by a.id

rs("id")
rs("title")
rs("content")
另:
新建一個表xxx

sql="insert into xxx select P.id,P.title,M.content from picture P inner join miaoshu M on P.id=M.id"
conn.execute sql

相關(guān)文章

最新評論