Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access SQL Query
Message
De
02/12/2005 14:29:08
 
 
À
02/12/2005 09:34:23
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
01074196
Message ID:
01074355
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>Getting frustrated with this... I usually can figure this stuff out but for some reason I am stumped on this one.
>
>I have a table (fax_data) that has a notes field in it. What I want to do is show the distinct values in the notes field, and show how many times that value appears. The distinct values are easy, but I was trying to use the count function to count how many times the value appears. If anybody can show me how to do the second part, that would be great.
>
>
>SELECT DISTINCT notes
>FROM dbo.fax_data
>
SELECT COUNT(*) AS NoteCnt,notes
FROM dbo.fax_data
GROUP BY notes
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform