I just received my book today.
It has about 300 pages.
Please post any comments here :
book, oracle
In page 111, “select min(sal),max(sal) from emp” returns 2 rows.
But without “group by” Query does not return 2 rows. I suppose this is a typo
do not tell me you have read 111 pages already
The maximum and minimum salary can be returned as a single row
SELECT MIN(SAL),MAX(SAL) FROM EMP; MIN(SAL) MAX(SAL) --------- -------- 800 5000 801
damned microsoft word autocorrection… I will use vi for my next book !
Question4 of page 64, Altough I cannot recommend,We can avoid InLineView.
select d.dname,e.ename,e.job from scott.dept d,scott.emp e where d.deptno = e.deptno(+) and 1 = decode(e.job(+),’MANAGER’,1,’PRESIDENT’,1);
actually,We no longer need above usage ,because we can use ANSI Left join since Oracle9i
This thread mentions same usage. http://forums.oracle.com/forums/thread.jspa?threadID=126080
Very creative OR join
Spam protection: Sum of One + Five ?
In page 111,
“select min(sal),max(sal) from emp” returns 2 rows.
But without “group by” Query does not return 2 rows.
I suppose this is a typo
do not tell me you have read 111 pages already
The maximum and minimum salary can be returned as a single row
damned microsoft word autocorrection… I will use vi for my next book !
Question4 of page 64,
Altough I cannot recommend,We can avoid InLineView.
select d.dname,e.ename,e.job
from scott.dept d,scott.emp e
where d.deptno = e.deptno(+)
and 1 = decode(e.job(+),’MANAGER’,1,’PRESIDENT’,1);
actually,We no longer need above usage ,because we can use ANSI Left join since Oracle9i
This thread mentions same usage.
http://forums.oracle.com/forums/thread.jspa?threadID=126080
Very creative OR join