I have 2 tables, ORDERS and SHIPPING. ORDERS table store information about the customers order and the SHIPPING table stores the shipping information(contact person and address). The 2 tables have a one-to-one relationship, that is for every ORDER, there can be only one SHIPPING.
Is it better to keep the data in one table, with the order and shipping info together
OR is it OK to separate them as below?
Any comments appreciated.
ORDERS
order_id (Primary Key)
customer_id
date
total_amount
SHIPPING
order_id (Foreign Key)
first_name
last_name
address
city
state
country
phone