I currently have an Access Database with a few tables, among them Order, OrderDetails and Client.
- Order (OrderID, TimeStamp, FKEmployeeID, FKClientID, OrderStatus, Comments)
- OrderDetails (OrderDetailsID, FKOrderID, FKProductID, Quantity, Cost, Total Cost)
- Client (ClientID, Name)
I'm trying to build a query where I can get the total orders that a client has made and the total Items.
Example:
Customer, Total Orders, Total Items
John, 5, 15
Alex, 2, 30
Ana, 1, 3
Whenever I try to make a query Total Orders and Total Items give me the same number.
Any help would be greatly appreciated!