SQL Language (MOSC)

MOSC Banner

Need Help in heirarchial tree

edited Jul 26, 2018 5:39AM in SQL Language (MOSC) 2 commentsAnswered

Hello Team,

I have Project, Sub Project and Project Milestones tables as given above, every subproject is under a project and a milestone is under a sub project. I want a heirarchial tree structure. I have tried it in several ways. I have created a view from the above tables first as below.

and given this command for heirarchial tree, but I am not getting any levels, all levels are set to 1 and not incrementing. please find  output of my query below. milestones are not appearing.

Can you please let me know what am I doing wrong here, Any sql would help me for finding multi level tree structure.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center