Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Quick SQL Question


Message #1 by "Michael Filip \(Yahoo\)" <mzcfilip@y...> on Tue, 13 Feb 2001 13:20:01 -0500
> if you want to count the distinct occurances from the table listings, you
> need to create a query that selects the distinct values then then second
> query which selects the count from the first query.
>
> COUNT(DISTINCT... is incorrect syntax.

The SQL is correct, Access doesn't seem to cope well with COUNT (DISTINCT
column) though.

Regards,

Morten Wittrock
Copenhagen, Denmark


  Return to Index