VonFranzken
MIS
I have a e-commerce relational access database.
I have to create a query 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 orderreferenceid and user.
Here are the fields I would require for the query.
Orders: OrderDetails:
OrderReferenceID(PK) DetailOrderID(FK)
OrderUserID DetailQuantity
OrderTotal
OrderDate
OrderStatus
Users:
UserID
FullName
Thanks
I have to create a query 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 orderreferenceid and user.
Here are the fields I would require for the query.
Orders: OrderDetails:
OrderReferenceID(PK) DetailOrderID(FK)
OrderUserID DetailQuantity
OrderTotal
OrderDate
OrderStatus
Users:
UserID
FullName
Thanks