To nit-pick, != is not standard SQL. <> is. And ANSI SQL has substring(string FROM idx FOR len), as opposed to substr(string, idx, len)
Anyway, good work on the rewrite. I tried it myself and ended up with a similar statement (albeit with a few extra tables).
In reply to Re^4: s/Perl/SQL/ ?
by Anonymous Monk
in thread s/Perl/SQL/ ?
by Freezer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |