| How to select recusrsively in an sql statement [message #23350] | 
			Tue, 03 December 2002 22:45   | 
		 
		
			
				
				
				
					
						
						rao
						 Messages: 25 Registered: July 1999 
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
I have a requirement like this. 
In an organization, I have a supervisor to whom 10 people are reporting, these 10 are supervisors for another 100 people and it goes like this. a simple hierarchial structure. 
In my query if I give the top supervisor, i want all the people under him and sub level till the last level, where no more supervisors 
 
Thanks and Best regards, 
Rao
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |