Re: Unique records



Try
SELECT A, B, C, D, Min(E) as MinE, Min(F) as Min(G) as MinG
FROM [which looks like this]
GROUP BY A, B, C, D;


--
Duane Hookom
MS Access MVP

"Sean" <Sean@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:54D1EF7C-0E43-4C9C-AAE4-38E84ED6F9FD@xxxxxxxxxxxxxxxx
Hi,

I have a table which looks like this:
A B C D E F G
1 2 3 4 5 6 7
1 2 3 4 6 7 8
1 2 3 4 7 8 9
1 2 3 4 8 9 1
1 2 3 4 9 1 2
2 3 4 5 6 7 8
2 3 4 5 7 8 9
2 3 4 5 8 9 1
2 3 4 5 9 1 2

Columns A,B,C and D have duplicates but E,F and G have no duplucates. I
need
a query that gives me unique A,B,C and D and any of the E,F and G records
but
just one. It could be the first or second, doesn't matter but I need one
row
for A,B,C and D.
Is this possilble?

thanx


.



Relevant Pages

  • Re: Beginner query help please
    ... MS Access MVP ... I've noticed that if you select all the query output (in this case ... Duane Hookom wrote: ... Controls in most query solutions would not be ignored. ...
    (microsoft.public.access.queries)
  • Re: Adding a ck mark?
    ... Duane Hookom ... MS Access MVP ... "txt1" is the name of a control in the detail section, ... Let's start a new report. ...
    (microsoft.public.access.reports)
  • Re: Subreport vs queryquestion
    ... detail section is shortened to only accomodate the size of the controls. ... Duane Hookom ... MS Access MVP ... What section of the report are the controls in? ...
    (microsoft.public.access.reports)
  • Re: Unable to open forms or reports
    ... Is the drop-down bound to a field? ... MS Access MVP ... The exact expressions are as follows of the subforms. ... "Duane Hookom" wrote: ...
    (microsoft.public.access.forms)
  • Re: Crosstab Report
    ... MS Access MVP ... I try to write the report my headings/totals crash. ... "Duane Hookom" wrote: ... some of the information you posted to the query and found it very ...
    (microsoft.public.access.reports)