文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>sql语句拾遗

sql语句拾遗

时间:2010-12-14  来源:Brad Miller

update tx_ry ry1 set px=(select px from tx_ry where id in (pk1,pk2) and id<>ry1.id) where id in (pk1,pk2);

2.自关联查询
select * from xt_xtmk where 1=1 start with mc='附加信息管理' connect by prior id=fid   --向下查
union
select * from xt_xtmk where 1=1 start with mc='附加信息管理' connect by prior fid=id   --向上查

相关阅读 更多 +
排行榜 更多 +
夕鸟

夕鸟

生活实用 下载
partyplay

partyplay

聊天通讯 下载
婚礼纪

婚礼纪

生活实用 下载