[FLUG] query mysql

Mailing List del Fortunae LUG
=============================

io ho una tabella con un campo date e con questa query

SELECT MONTH(data) FROM burogu ORDER BY MONTH(data) DESC

tiro fuori tutti i mesi che ci sono dentro, ora il mio problema e` che se il mese e` 07 lui mi tira fuori solo 7, e` possibile fargli tirare fuori direttamente 07?



--
«Just in terms of allocation of time resources, religion is not very efficient. 
There's a lot more I could be doing on a Sunday morning.» Bill Gates

Other related posts: