EMP表是Oracle测试账户SCOTT中的一张雇员表,首先,我们来看看emp表的数据 SQL> select * from emp; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ----- ---------- --------- ---------- --------- ---------- ---------- ---------- SMITH CLERK ALLEN SALESMAN WARD SALESMAN JONES MANAGER M
The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id. +----+-------+--------+--------------+ | Id | Name | Salary | DepartmentId | +----+-------+--------+--------------+ | 1 | Jo
SQL 架构 Create table If Not Exists Employee (Id ), Salary int, DepartmentId int) Create table If Not Exists Department (Id )) Truncate table Employee insert into Employee (Id, Name, Salary, DepartmentId) values (') insert into Employee (Id, Name, Sala