Re: Additional database condition in -all- queries?

Christer Nilsson
2005-12-01T20:37:04Z

There is no need to do this for all queries.

Example: Every customer has some orders. Every order has some
orderlines. The orderlines do not need to have the customer_id repated.
By following the foreign keys orderline.order_id and order.customer_id,
the customer is found.