How can i import customerid into orders table when orders are made | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i import customerid into orders table when orders are made

Im building relation database

15th Jul 2020, 11:38 AM
Ssempijja John Bosco
Ssempijja John Bosco - avatar
1 Answer
0
Your question is not clear and you used your code snippet as keywords. Normally you should know the customerId within the context you're trying to do something for a customer (like inserting a new order record into the orders table). If not and you have another customer-specific property available, you might look the Id up. If you don't have anything, then there went something terribly wrong within your application's design.
15th Jul 2020, 11:09 PM
Sandra Meyer
Sandra Meyer - avatar