|
-
A challenge SQL
for the transportation system .
A Master Table stores the Stop Name as PK (Stop Master)
Another Master Table stores the Line Name as PK ( Line Master)
The Third Master Table stores the The Relation of Stop and Line
(Line_Detail) . PK is Line Name , Stop Name , Sequence of the Stop in this line .
For Example , StopA , StopB , StopC forms Line1
The Data looks like
Line1 StopA 1 (first stop)
Line1 StopB 2 (second stop)
Line1 StopC 3 (third stop)
now after implementing all the data in the third tables .
how to write a query to fetch all the possible routine from
one Stop to another Stop ?
It is really headache .
1. www.dbasupport.com
2. www.dbforums.com
3. www.itpub.net
4. www.csdn.net
5. www.umlchina.com
6. www.tek-tips.com
7. www.cnforyou.com
8. fm365.federal.com.cn
9. www.programmersheaven.com
10.http://msdn.microsoft.com/library/default.asp
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|