Is it possible to return all elements of all rows where you check the distinct only for one field?
SELECT DISTINCT DatasetName FROM XCA_DatasetDef WHERE ProjectID=5, will only return the DatasetName
SELECT DISTINCT * FROM XCA_DatasetDef WHERE ProjectID=5, will return all rows where there is some distinction in one field or another.
I need all rows with all fields where the ProjectID = 5 and the DatasetName is different...
Thanx anyway!
SELECT DISTINCT DatasetName FROM XCA_DatasetDef WHERE ProjectID=5, will only return the DatasetName
SELECT DISTINCT * FROM XCA_DatasetDef WHERE ProjectID=5, will return all rows where there is some distinction in one field or another.
I need all rows with all fields where the ProjectID = 5 and the DatasetName is different...
Thanx anyway!