Link Details

Woulda, coulda, shoulda! Login and vote now.
Link 89359 thumbnail
User 290279 avatar

By jamesling
via digcode.com
Published: Jun 23 2008 / 04:57

If a table contains hierarchical data, such as in an employee table, every employee has a remporting manager and every manager is an employee too and has all information the employee has, then you can select rows in a hierarchical order using the hierarchical query, for instance, you can use hierarchical query to find out all employees that report to Cathy (employee id is 101) directly or indiectly easily.
  • 5
  • 0
  • 781
  • 239

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)