SQL in MS-Access: Using COUNT, JOIN and returning 0s -


Apologies for this post, but although there are some examples on the site, I can not just get to do my work . / P>

Then I have two tables:

A telephony table

  id | Name | Grade Id 1 Richard 1 2 Allen 1 3 Peter  

I also have a grade table:

  id | Name 1 1 2 2 3 3 4 4 5 5 Anyway, I am trying to use COUNT () and return any 0 using the telephony table, using the following query Return, in which the following query is used:  
  SELECT telephony. GridID, COUNT (*) Telephony with a telfoni LEFT joining grade. Graded = Grade. Telephony by ID Group Grid-order from Order 1;  

This query meets all but will not return all grades with 0 entries:

  grade | Total 1 2  

Please help me I am using Microsoft Access 2003.


Thank you for all your help

Any thoughts?

Thanks

>

I think that's what you want:

BTW: "name" is a bad name for a column because it's a reserved word.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -