在sql中:
select distinct t1.column1,.t2.column2 into table3 from table1.t1 join table2.t2 on(t1.column1=t2.column3);
在oracle中:
Create table ed as( select distinct e.deptno,d.loc from emp e join dept d on (d.deptno=e.deptno)
直接新建一个表到数据库中
|
橘子酱m
开发小白随记 |