select count (distinct X, Y)
From: Ronan (Ronan_at_discussions.microsoft.com)
Date: 02/08/05
- Next message: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Previous message: Phil: "RE: Where Statements"
- Next in thread: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Reply: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Feb 2005 02:29:03 -0800
Hi all,
I'm trying to make this query:
select count (distinct UC_CODE, SYNT, SUPER)
FROM PLAN_RB
WHERE HYPER IS NULL
AND SUPER IS NOT NULL
and I have this message:
Incorrect syntax near ','
What I want to find is the total number of lines...
Do you know a way to solve this problem. It seems I cannot have several
values with a "count(distinct )" but I can't find any way to do it...
Thanks for your help.
Ronan
- Next message: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Previous message: Phil: "RE: Where Statements"
- Next in thread: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Reply: Hugo Kornelis: "Re: select count (distinct X, Y)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|