There's more than one way to do things | |
PerlMonks |
Re^2: Use SQLby herveus (Prior) |
on Sep 08, 2009 at 11:07 UTC ( [id://794105]=note: print w/replies, xml ) | Need Help?? |
Howdy!
Actually, you can ensure the order of the output, but it requires that the base tables include a column with a sort key. Then you have something you can use in an order by clause. Fundamentally, generating the cartesian product of the input lists will generate the elements of the output list. Controlling the sequence is a minor additional task.
yours, Michael
In Section
Seekers of Perl Wisdom
|
|