Search Postgresql Archives

Re: How to convert rows into HTML columns?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




And the next question coming up is: How should my query look like so
that I can sort the (HTML) table by a specific year in ascending or
descending order? So, that it doesn't display it by the country names
alphabetical order, but by, say 1998?

If you have only one row, how would you sort this result? ;-)

With the "old" design I had up to 240 rows - for each country/ territory one row. Now, I have 240*num_years rows.

The user should be able to sort then the resulting table by country name as well as by any year in ASC or DESC order.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux