azwaan
Programmer
- Jan 11, 2002
- 42
I have a table structure that represents a queue, like so..
ItemNo PrecededBy
1 NULL
3 1
4 3
5 6
6 4
can anyone suggest any efficient ways of processing such a structure? for example if i need to find the last item in the queue etc..
im using SQL 2005..