P14-多表查询当中的一些概念
SQL> --多表查询当中的一些概念
SQL> --笛卡尔积
SQL> select *
2 from emp e,dept d;
ID NAME SEX BIRTHDAY PHOTO SALARY DEPTNO DNAME LOC
------ ------------------------------------------------------------ --- ----------- -------------------------------------------------------------------------------- --------- ------ -------------- -------------
SQL> --等职连接
SQL> select *
2 from emp e,dept d
3 where e.deptno=d.deptno