select t.col1, t.col2 ,m.col1
from table_m AS m, table_t AS t
order by t.col1, t.col2
This is an SQL thing not a Perl thing, so it will depend on what database you are using and what version of SQL it's using. For most SQL though you do need to include the AS directive to associate an abbrieviation to a table. Barbie
Leader of Birmingham Perl Mongers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.