Any idea what is going wrong?I'd say it's apparent that the SQL expression parser employed by DBD::CSV is unable to deal with such a complicated expression (either at all, or with the amount of type information at its disposal). Specifically, the parser expects a variable or a numeric literal as the argument to an aggregate function.
Assuming that's not the case, have you tried more parentheses ? some form of value coercion ?
-David
In reply to Re: DBI:CSV SQL parsing problem
by erroneousBollock
in thread DBI:CSV SQL parsing problem
by rlewisuk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |