andres javier garcia garcia wrote:
> Hello;
> I've got the result of a query that appears as:
> cod_variable | cod_station | year | month | day | rain
> ---------------------+-------------------+--------+----------+
> ------+------
> 30201 | 7237 | 1953 | 1 | 1 | 2
> 30201 | 7237 | 1953 | 2 | 1 | 5
> 30201 | 7237 | 1953 | 3 | 1 | 0
> 30201 | 7237 | 1953 | 4 | 1 | -3 .....
>
> (Of course, thanks to Stephan Szabo for the method to obtain this
> from my strange source data. I didn't think this was possible.)
>
> After have done this query I've realized that I need the data to be
> ordered by date. Do you have any suggestion?
>
> Best regards
> ----------
> Javier
>
ORDER BY year,month,day should do it.
hth,
- Stuart
Re: [SQL] ORDER the result of a query by date
Henshall, Stuart - Design & Print Thu, 24 Oct 2002 21:36:37 -0700
Title: RE: [SQL] ORDER the result of a query by date
- [SQL] ORDER the result of a query by... andres javier garcia garcia
- Re: [SQL] ORDER the result of a... Achilleus Mantzios
- Henshall, Stuart - Design & Print