橘子酱m
开发小白随记

在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) 

直接新建一个表到数据库中

posted on 2020-04-27 11:10  橘子酱m  阅读(1243)  评论(0)    收藏  举报