We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4537b70 commit 2eea3f4Copy full SHA for 2eea3f4
data-platform/core-converged-db/database-23c/23c-basic-examples/update-joins.sql
@@ -0,0 +1,17 @@
1
+REM Script in 23c: update-joins.sql
2
+
3
+-- query column sal
4
+select e.ename, e.sal from dept d, emp e where e.deptno=d.deptno
5
+and d.dname='RESEARCH';
6
7
+-- update with join
8
+update emp e set e.sal=e.sal*2
9
+from dept d
10
+where e.deptno=d.deptno
11
12
13
14
15
16
17
+rollback;
0 commit comments