First, if you want to extract and compare two columns, your query needs to select two columns. Your query is only extracting column 1.It's worse than this. You define 2 SQL operations, an insert and a select. You are doing the fetchrow on the insert, which is unlikely to do much of anything.
Sure sounds like homework to me. If you want help:
In reply to Re^2: perl and mysql column
by Illuminatus
in thread perl and mysql column
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |