Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: easy query (?)
Alice Erickson wrote:
> ...
> select city, max(temp), time from table
> group by city
Try
select distinct city, max(temp, time from table
group by city;
This should get you what you need.
HTH Regards
//Karl
-- ==================================================== Karl M. Nordquist karln_at_brightwood.com Application Development Bright Wood Corporation Madras, Oregon ====================================================Received on Tue Mar 11 1997 - 00:00:00 CST