MySQL Forums
Forum List  »  Italian

Media tra date
Posted by: marco parboni
Date: June 13, 2008 12:57AM

Ciao a tutti.

Avrei la necessita' di calcolare la media tra due colonne di tipo timestamp, per un periodo di un mese.
Mi potreste aiutare.

Attualmente riesco a calcolare la differenza tra due date per una riga...

SELECT timediff( `fine_esecuzione` , `inizio_esecuzione` ) FROM `Test`
WHERE `test_id` = '100'

Options: ReplyQuote


Subject
Views
Written By
Posted
Media tra date
4472
June 13, 2008 12:57AM


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.