G
Guest
I have a customer orders table (Orders) which contains orders with and
without cost (Orders.Order_Cost).
I need a query to achieve the following logic:
Select all orders for a customer between start date and end date(including
those with no value) only if the customer has a least one order in that
period with value.
Repeat this for all customers.
Do I need to use a subquery? if so any help on query format would be much
appreciated. Thanks
without cost (Orders.Order_Cost).
I need a query to achieve the following logic:
Select all orders for a customer between start date and end date(including
those with no value) only if the customer has a least one order in that
period with value.
Repeat this for all customers.
Do I need to use a subquery? if so any help on query format would be much
appreciated. Thanks