MySQL Forums
Forum List  »  Newbie

using select to sum date in intervall
Posted by: prometheus__0
Date: April 15, 2005 05:46AM

hiho@ll

i have a table which has a column, where i insert unix timestamps and other columns with numbers
now i need to select all elements of the table grouped by an time intervall and some columns sum

for example i have my date column and a column with access counts
i want to select all access counts per day
which means in my result i have sumed entrys with the access counts and every row equals a day

the sum interval could also be a hour or month

is this possible? and if yes how?
don't really know how to do this

thx@ll

Options: ReplyQuote


Subject
Written By
Posted
using select to sum date in intervall
April 15, 2005 05:46AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.