andreydy
2009-12-03 12:58:51 UTC
ORDER: (order_id, order_type, order_item, order_count)
and
TYPE: (type_id, type_title)
If all my order are stored in ORDER table, what is the best way to handle ORDER/TYPE relationship?
That is: Am I better off storing TYPE_ID value in ORDER_TYPE column, or TYPE_TITLE value in that same column?
If I store TYPE_ID then I have to use JOINs in queries to get TYPE_TITLE value. So, what are the best practices?
Thanks