chinese直男口爆体育生外卖, 99久久er热在这里只有精品99, 又色又爽又黄18禁美女裸身无遮挡, gogogo高清免费观看日本电视,私密按摩师高清版在线,人妻视频毛茸茸,91论坛 兴趣闲谈,欧美 亚洲 精品 8区,国产精品久久久久精品免费

電子發(fā)燒友App

硬聲App

掃碼添加小助手

加入工程師交流群

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>模擬數(shù)字>5種數(shù)據(jù)庫的SQL語句大全詳細(xì)說明

5種數(shù)據(jù)庫的SQL語句大全詳細(xì)說明

2019-11-13 | rar | 0.02 MB | 次下載 | 免費(fèi)

資料介紹

  5種數(shù)據(jù)庫sql語句大全

  db2/mysql

  update emp e set(e.sal,e.comm)=(select ns.sal,ns.sal/2 from new_sal ns where ns.deptno=e.deptno) where exists(select nul from new_sa ns where ns.deptno=e.deptno)

  oracle

  update(select e.sal as emp_sal,e.comm as emp_comm,ns.sal as ns_sal,ns.sal/2 as ns_comm frm emp e,new_sal ns where e.deptno=ns.deptno) set emp_sal=ns_sal,emp_comm=ns_comm

  postgresql

  update emp set sal=ns.sal,comm=ns.sal/2 from new_sal ns where ns.deptno=emp.deptno

  sqlserver

  update e set e.sal=ns.sal,e.comm=ns.sal/2 from emp e,new_sal ns where ns.deptno=emp.deptno

?

  二十五、合并記錄

  oracle

  merge into emp_commission ec using(select * from emp) emp on(ec.empno=emp.empno) when matched then update set ec.comm=1000 delete where (sal《2000) when not matched then insert (ec.empno,ec.ename,ec.deptno,ec.comm) values (emp.empno,emp.ename,emp.deptno,emp.comm)

  二十六、刪除違反參照完整性的記錄

  delete from emp where not exists(select * from dept where dept.deptno=emp.deptno)

  delete from emp where deptno not in(select deptno from dept)

  二十七、刪除重復(fù)記錄

  delete from dupes where id not in (select min(id) from dupes group by name(需要判斷重復(fù)的字段))

  二十八、刪除從其他表引用的記錄

  delete from emp where deptno in (select deptno from dept_accidents group by deptno having count(*)》=3)

 ?。ㄒ韵履J矫鹲chema為smeagol)

  二十九、列出模式中的表

  db2

  select tabname from syscat.table where tabschema=‘smeagol’

  oracle

  select table_name from all_tables where owner=‘smeagol’

SQL 數(shù)據(jù)庫
加入交流群
微信小助手二維碼

掃碼添加小助手

加入工程師交流群

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評(píng)論

查看更多

下載排行

本周

  1. 1MDD品牌三極管BC807數(shù)據(jù)手冊(cè)
  2. 3.00 MB   |  次下載  |  免費(fèi)
  3. 2MDD品牌三極管BC817數(shù)據(jù)手冊(cè)
  4. 2.51 MB   |  次下載  |  免費(fèi)
  5. 3MDD品牌三極管D882數(shù)據(jù)手冊(cè)
  6. 3.49 MB  |  次下載  |  免費(fèi)
  7. 4MDD品牌三極管MMBT2222A數(shù)據(jù)手冊(cè)
  8. 3.26 MB  |  次下載  |  免費(fèi)
  9. 5MDD品牌三極管MMBTA56數(shù)據(jù)手冊(cè)
  10. 3.09 MB  |  次下載  |  免費(fèi)
  11. 6MDD品牌三極管MMBTA92數(shù)據(jù)手冊(cè)
  12. 2.32 MB  |  次下載  |  免費(fèi)
  13. 7STM32G474 HRTIME PWM 丟波問題分析與解決
  14. 1.00 MB   |  次下載  |  3 積分
  15. 8新能源電動(dòng)汽車高壓線束的銅鋁連接解決方案
  16. 2.71 MB   |  次下載  |  2 積分

本月

  1. 1愛華AIWA HS-J202維修手冊(cè)
  2. 3.34 MB   |  37次下載  |  免費(fèi)
  3. 2PC5502負(fù)載均流控制電路數(shù)據(jù)手冊(cè)
  4. 1.63 MB   |  23次下載  |  免費(fèi)
  5. 3NB-IoT芯片廠商的資料說明
  6. 0.31 MB   |  22次下載  |  1 積分
  7. 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
  8. 0.63 MB   |  6次下載  |  1 積分
  9. 5UWB653Pro USB口測(cè)距通信定位模塊規(guī)格書
  10. 838.47 KB  |  5次下載  |  免費(fèi)
  11. 6技嘉H110主板IT8628E_BX IO電路圖資料
  12. 2.61 MB   |  4次下載  |  1 積分
  13. 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
  14. 0.04 MB   |  4次下載  |  1 積分
  15. 8蘇泊爾DCL6909(即CHK-S009)單芯片電磁爐原理圖資料
  16. 0.08 MB   |  2次下載  |  1 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935137次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費(fèi)下載
  8. 340992  |  191439次下載  |  10 積分
  9. 5十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
  10. 158M  |  183353次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81602次下載  |  10 積分
  13. 7Keil工具M(jìn)DK-Arm免費(fèi)下載
  14. 0.02 MB  |  73822次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65991次下載  |  10 積分