punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:


This query:

$sql = "SELECT COUNT(*) FROM theTable A INNER JOIN theTable B ON ( +lumn_1 = $value_x and B.column_1 = $value_y AND A.column_2 = B.column +_2)";

hangs up until, it appears, the browser times out and reports a server error.

I wonder if it's the table aliases, or something else DBI doesn't like?


janitored by ybiC: Balanced <code> tags around query