"Soren O'Neill" <[EMAIL PROTECTED]> wrote: > I keep getting a syntax error, when trying to run this query (perl script): > > SELECT * FROM temp_hits WHERE url NOT IN SELECT * FROM hits > > Ive tried with brackets around the last SELECT statement ... no better ... >
Subselects are supported in version 4.1. If your version of MySQL doesn't support subselects, at the following link you can find how to rewrite your query: http://www.mysql.com/doc/en/ANSI_diff_Subqueries.html -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]