VonFranzken
MIS
I have to create a view that uses 3 tables
Orders:
OrderDetails:
Users:
The orders table has a one to many relationship with the ordersdetails tables as such:
orders 'OrderReferenceID'
&
orderdetails 'DetailOrderID'
And the users table has a one to many relationship with the orders table as such:
users 'UserID'
&
orders 'OrdersUserID'
I need to "SEE" all the orders placed by orderid and user.
Here are the fields I would require for the view.
Orders: OrderDetails:
OrderReferenceID(PK) DetailOrderID(FK)
OrderUserID DetailQuantity
OrderTotal
OrderDate
OrderStatus
Users:
UserID
FullName
Thanks
Orders:
OrderDetails:
Users:
The orders table has a one to many relationship with the ordersdetails tables as such:
orders 'OrderReferenceID'
&
orderdetails 'DetailOrderID'
And the users table has a one to many relationship with the orders table as such:
users 'UserID'
&
orders 'OrdersUserID'
I need to "SEE" all the orders placed by orderid and user.
Here are the fields I would require for the view.
Orders: OrderDetails:
OrderReferenceID(PK) DetailOrderID(FK)
OrderUserID DetailQuantity
OrderTotal
OrderDate
OrderStatus
Users:
UserID
FullName
Thanks