R
Raphael Crawford-Marks
I need to run a query that returns all the fields of a
table (let's call it TableA). But in many records, a
certain field (Field1, let's say) is duplicated. I need
the query to return only unique values for that field. I
can't use SELECT DISTINCT because I need all the fields in
the table. How do I do this?
TABLEA
Visually:
Field1|Field2|Field3
abc |123 |xyz
abc |234 |qrs
bcd |345 |lmnop
bcd |456 |inkd
vfr |987 |kdkf
I want my query to return:
Field1|Field2|Field3
abc |123 |xyz
bcd |345 |lmnop
vfr |987 |kdkf
table (let's call it TableA). But in many records, a
certain field (Field1, let's say) is duplicated. I need
the query to return only unique values for that field. I
can't use SELECT DISTINCT because I need all the fields in
the table. How do I do this?
TABLEA
Visually:
Field1|Field2|Field3
abc |123 |xyz
abc |234 |qrs
bcd |345 |lmnop
bcd |456 |inkd
vfr |987 |kdkf
I want my query to return:
Field1|Field2|Field3
abc |123 |xyz
bcd |345 |lmnop
vfr |987 |kdkf