"Now I want to sort the table so that it is ordered by city, last name, first name instead of just by city."
So, just modify your SQL query to do exactly that....
my $sql ='SELECT city, last_name, first_name FROM employees ORDER BY c +ity, last_name, first_name';
Simple ;)
In reply to Re: Sorting data returned from DBI ...
by McDarren
in thread Sorting data returned from DBI ...
by chinamox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |