I Think one can use the query in case the database is oracle,
select COLUMN_NUM from TABLE_T order by COLUMN_NUM DESC
and we can the order of numbers in the top -> bottom order,
just with three loops we can get the desired solution in three =
variables.....
==========================================================================To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com