sembra facile...help

  • Thread starter Thread starter gindolfi
  • Start date Start date
G

gindolfi

I have a table:

COUNT NAME

1 ROSSI
2 BIANCHI
3 BIANCHI
4 VERDI
5 ROSSI

I need a report with no name repetition (just the last one)

COUNT NAME

3 BIANCHI
4 VERDI
5 ROSSI

What is the way? Thanks.
 
A Totals query should do it, Grouped on Name, and probably Last on Count.
--
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions

"Find a job that you love, and you'll never work a day in your life."
 
In
Al Campagna said:
A Totals query should do it, Grouped on Name, and probably Last on
Count.

The Last() SQL aggregate function is a very tricky animal. Remember
that the order of records in tables is arbitrary. Gindolfi, do you
really want the "last" record for each NAME, or do you want the one with
the maximum value of COUNT?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top