Example table:
foo bar baz gif xyz
--- --- --- --- ---
me my at bb cc
me my at aa zz
qq 33 er tt oo
22 jj pp ww mm
I need a SQL that returns the unique records for fields "foo, bar, baz". In this example, three of the four records should be returned:
me, my, at, bb, cc
qq, 33, er, tt, oo
22, jj, pp, ww, mm