Connecting Tech Pros Worldwide Forums | Help | Site Map

sql query groups and min value

Newbie
 
Join Date: Nov 2009
Posts: 2
#1: 3 Weeks Ago
Hi,

got a problem formulating sql query.

I got a table with datetime column and a double(float) column.

I set datetime interval, then the interval gets broken down to n equal timespans, then i select the minimum value row from interval.

end result is n rows with minimum double value, one each from each timespan..

any ideas??

with regards
Fr.

Delerna's Avatar
Expert
 
Join Date: Jan 2008
Location: Sydney
Posts: 790
#2: 3 Weeks Ago

re: sql query groups and min value


what have you tried so far?
Newbie
 
Join Date: Nov 2009
Posts: 2
#3: 3 Weeks Ago

re: sql query groups and min value


a.. jes... found a good link how to solve my problem.. at http://www.xaprb.com/blog/2006/12/07...-group-in-sql/

just couldn't type my question right in the google... am really not any good at sql... thanks anyway.. :)
Reply

Tags
group, min