在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)
直接新建一個表到數據庫中
在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)
直接新建一個表到數據庫中
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。