Technical Blog

Pages

▼
Showing posts with label sys_connect_by_path. Show all posts
Showing posts with label sys_connect_by_path. Show all posts
Feb 21, 2009

Instead of Stragg /// Allow Duplicate

›
SELECT deptno, LTRIM(SYS_CONNECT_BY_PATH(ename, ','), ',') employees FROM ( SELECT deptno, ename, ...
Nov 14, 2008

Level queries

›
To get the higher manager of a particular employee select yy.empno,yy.mgr,yy.ename,rt.empno,rt.mgr,rt.ename from (select * from emp t conne...
Sep 22, 2008

Alphabets,Level, Analytic Query

›
Alphabets WITH AlphaBet AS ( SELECT CHR((ROWNUM + 64)) AS Character FROM DUAL CONNECT BY level SELECT * FROM AlphaBet; -------------...
›
Home
View web version
Powered by Blogger.