I want to find unique combination of two fields in a table, I tried either this:
SELECT distinct(field1), distinct(field2)
FROM someTable
or this
SELECT distinct(field1, field2)
FROM someTable
but neither of them works. Can someone tell me the correct syntax?
Thanks.