http://qs321.pair.com?node_id=397050

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

Monks,

This query:

$sql = "SELECT COUNT(*) FROM theTable A INNER JOIN theTable B ON (A.co +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?

Thanks

janitored by ybiC: Balanced <code> tags around query