for a route-->there are segments and for each segment there is a flight.
Without a route table, flights and segments cant be correlated.
Originally posted by Rama Bhargav:
In Segment table, each segment can have a reference to all feasible child segments. This would eliminate the need for a separate Route table.
how can you store 1-m relationship without adding a new table. I've thought about it...now ..so are you assuming that each segment will have just 1 parent segment. There can be more.
How can this be represented with just one table. Relationships are required to show these layovers. But you can always state that as an assumption. My question is with 2 tables seems not possible unless you have a column which takes multiple values or something like that making it bit wierd
SCJP 1.4, SCBCD 1.3, SCBCD 5.0, SCEA J2EE, SCEA 5.0
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |