ppataki
04-29-2009, 02:56 AM
Dear All,
I have a query that should count unique values only but it does not work:
SELECT Count(*) AS Expr1
FROM [SELECT DISTINCT T1.[field1] FROM [table1] AS T1]. AS T1;
if I replace field1 and table1 with my table and field I get an
invalid bracketing error message
Could you please advise?
Many thanks ;)
I have a query that should count unique values only but it does not work:
SELECT Count(*) AS Expr1
FROM [SELECT DISTINCT T1.[field1] FROM [table1] AS T1]. AS T1;
if I replace field1 and table1 with my table and field I get an
invalid bracketing error message
Could you please advise?
Many thanks ;)