Link to home
Start Free TrialLog in
Avatar of rbm1tch3ll
rbm1tch3llFlag for Afghanistan

asked on

MS SQL 8 Query

I don't know if MSSQL 8 will do this, but here is the issue.  I am building a membership system that needs to track up to 3 levels on who recommended whom.  Here is a quick example:
Person1 signs up Person2
Person2 signs up Person3
Person3 signs up Person4
In a table I need to show that not only Person1 is resposible for Person2, but also Person3,Person4
It also needs to show that Person2 is responsible for Person3&Person4 as well as
Person3 is responsible for Person4.

I am not sure if a query will do this, any assistance would be appreciated.  By the way this is a webbased coldfusion site.



Avatar of Sharath S
Sharath S
Flag of United States of America image

Provide your data representation in the table with expected result?
ASKER CERTIFIED SOLUTION
Avatar of 8080_Diver
8080_Diver
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial