i have created a website for ecommerce
in that on add cart product is added to temporder table
now on final order
i created a table orderdetails
how can i create a relatinship b/w this 2 table
tempordertable column
pid ,pname, pimage price, ipaddress, orderid
orerdetails
orderdetailsid ,orderid, quantity ,name, total price
how to crate aone to many relationship in this table