rlb3 has asked for the wisdom of the Perl Monks concerning the following question:
I not sure how to do this and maybe someone here can help. I the actual database there are five tables but only want to deal with two in this example. I have a table called IssuedKey that is a linking table. I looks something like:
IssuedKey: id person_id auth_id building_id issued_date
I want to create a report of the people, who authorized, what building, and when they got the key, but I want to order by lname in the person table.
Person: person_id fname lname status
And to add more confusion, I want to use Class::DBI::Plugin::Pager to divide the results by pages.
Can someone point me in the right direction.
Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Class::DBI - Sorting by key in related table.
by zby (Vicar) on Apr 24, 2005 at 20:34 UTC | |
by itub (Priest) on Apr 24, 2005 at 20:57 UTC | |
by cbrandtbuffalo (Deacon) on Apr 25, 2005 at 16:02 UTC |