Hierarchical Queries in Oracle PL SQL Interview Questions And Answers For Experience & Freshers | Interview Preparation

Hierarchical Queries in Oracle PL SQL Interview Questions And Answers For Experience & Freshers | Interview Preparation

In all relational databases we can also store hierarchical data. If you want to store hierarchical data then relational table must have minimum three columns and also in these three columns 2 columns must belong to same datatype and also having logical relation.

In oracle if we want to retrieve hierarchical data from a relational table then we are using following three clauses:

1) Level: level is a PSEUDO column which automatically assigns numbers to level in a tree structure. levels are also starting with level number 1.

2) Start with: using start with clause specifies starting condition within tree structure.

3) Connect by: using connect by clause we must specify relationship between hierarchical columns using prior operator.

Please do check our daily posts, videos for beneficial informations, in case of any additional queries please do contact us, we are happy to assist you.

Please Do SUBSCRIBE our Youtube Channel and Support us :-
https://www.youtube.com/a4uofficial

If any difficulties regarding our posts, videos or other problem you can direct contact us:- allforyoucreators@gmail.com

If you found this post was helpful then please don't forget to SUBSCRIBE our channel.
Subscribe us for more such posts, videos and updates.. It's Free!!

For Businesses Inquiries :- allforyoucreators@gmail.com
_____________________________________________________________________________

Join Us on Social Media -
Like our Facebook Page :- https://www.facebook.com/a4u0fficial/

PLEASE SUBSCRIBE US FOR MORE POSTS, VIDEOS AND STAY TUNED..
CREATIVE, INFORMATIVE & BENEFICIAL CONTENTS TO BE FOUND ON OUR CHANNEL!!
BECAUSE WE KEEP UPLOADING VIDEOS ON YOUTUBE FOR YOU..
ALL WE NEED IS YOUR SUPPORT ❤

=▶ Thanks for your Love and Support ◀=

Copyright ©All For You Official

Post a Comment

0 Comments