hi there ...
I'm using MySQL through the Perl DBI and I want to merge
two SQL statements that would simplify my code:
1. SELECT * FROM filters WHERE folder != '$folder'
2. SELECT * FROM mails WHERE folder_name = '$folder' AND x$filters->{type} LIKE
'%$filters->{pattern}%'
for each of the results of the first statement the second statement is called
and based on the new results further actions are taken.
How can I merge them?
--
with friendly regards....
jens luedicke <[EMAIL PROTECTED]>
http://www.irs-net.com/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php