Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

min / max 1

Status
Not open for further replies.

foxup

Programmer
Dec 14, 2010
328
CA
hi guys,

I have a country_rate.dbf with 2 fields (country, rate). Here is an example data:

country rate
1246 0.20
1246 0.23
1246 0.11
44 0.01
44 0.15
44 1.18
etc.

I would need the result to be:

country rate
1246 0.23
1246 0.11
44 0.01
44 1.18

Basically I need the MIN rate and the MAX rate for each dist "country". Please help.


Thanks,
FOXUP !
 
It's alright. It's all in a day's work for bicycle repair man.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top