return all dataset with null records

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Thank you in advance for your help.

My query returns:
Products Qty. Sold
Product A 5
Product C 7

What I want is to include all products sold even with zero quantity as
follows.
Product A 5
Product B 0
Product C 7

Thanks
Jay
 
Show us the SQL. Open the query in design view. Next go to View, SQL View
and copy and past it here.
 
Thank you in advance for your help.

My query returns:
Products Qty. Sold
Product A 5
Product C 7

What I want is to include all products sold even with zero quantity as
follows.
Product A 5
Product B 0
Product C 7

Thanks
Jay

Left join Products to SalesLineItems, then maybe use NZ to convert the
null to a zero, because you can't do math on a null.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top