Consider
create table pairs ( number a, number b )
If the data
1,1 1,1 1,1 2,4 2,4 3,2 3,2 5,1
Etc.
Which query gives me the different values ββthat the column of b has. So I can see
1,1 5,1 2,4 3,2
only
I tried
select distinct ( a ) , b from pairs group by b
but gives me "not a group by expression"
sql group-by distinct
OscarRyz Aug 25 '09 at 20:14 2009-08-25 20:14
source share