Hi everybody,
I would like to select all "id" in a table ONLY where "raff" is distinct.
I think it should be such a thing:
SELECT id FROM mytable WHERE (SELECT DISTINCT raff) or
SELECT id FROM (SELECT DISTINCT raff FROM mytable)
So what is the correct syntax
Thnak U
BaRRon
I would like to select all "id" in a table ONLY where "raff" is distinct.
I think it should be such a thing:
SELECT id FROM mytable WHERE (SELECT DISTINCT raff) or
SELECT id FROM (SELECT DISTINCT raff FROM mytable)
So what is the correct syntax
Thnak U
BaRRon