Hi.
I have the following problem:
I have two tables:
- Customers (CustomerID, Name)
- Orders (OrderID, CustomerID, Product)
I need to create a query/report that will have the following fields:
- CustomerID, Name, OrderID
If I do it the normal way * I will end up having one line for each order and the customer name will be repeated.
Instead, I would like to have one line per customer, and then the OrderIDs separated by commas...
Is this possible using queries?
* SELECT Customers.CustomerID, Customers.Name, Orders.OrderID FROM Customers LEFT JOIN Orders ON Customers.CustomerID = Orders.CustomerID;
Any help would be greatly appreciated. Thanks!!