Recipe 4.11. Merging Records
1 merge into emp_commission ec 2 using (select * from emp) emp 3 on (ec.empno=emp.empno) 4 when matched then 5 update set ec.comm = 1000 6 delete where (sal < 2000) 7 when not matched then 8 insert (ec.empno,ec.ename,ec.deptno,ec.comm) 9 values (emp.empno,emp.ename,emp.deptno,emp.comm)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23895263/viewspace-681081/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Debug-Records
- C#9.0:RecordsC#
- 5.編寫recipe
- 精讀《Records & Tuples for React》React
- 精讀《Records & Tuples 提案》
- Oracle 查詢轉換-02 View MergingOracleView
- Deployer recipe中Laravel配置檔案Laravel
- 使用 Recipe 安裝 SAP Commerce CloudCloud
- CF1998E2 Eliminating Balls With Merging (Hard Version)
- 【Java】Java新特性--Records記錄型別Java型別
- [20191129]ALTER TABLE MINIMIZE RECORDS_PER_BLOCK.txtBloC
- No suitable application records were found. Verify your bundle ideUIAPPIDE
- SAP PP C201使用ECR建立Recipe主資料
- iOS上傳App Store報錯:no suitable application records were foundiOSAPPUI
- SAP PP使用ECR去修改Recipe主資料,報錯:Generation not supported
- git-topic/V1.0拉取遠端分支程式碼,merging,iconfont addGit
- 使用 C# 9 的records作為強型別ID - 初次使用C#型別
- SAP Hybris使用recipe進行安裝時,是如何執行ant命令的?
- 2019年9月8日秋季PAT甲級題解-2-1161-Merging Linked Lists (25 分)
- Minecraft中BossBar、Recipe的底層實現與擴充套件應用(學習筆記)Raft套件筆記
- 使用 C# 9 的records作為強型別ID - 路由和查詢引數C#型別路由