在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
開發小白隨記 |