Having problem with simple "NOT IN" query
- From: mantas44@xxxxxxxxxxx
- Date: 20 Aug 2005 04:23:14 -0700
Hello all,
I have two tables
tab_a id(int)
tab_b id(int)
and I try the following select which returns an error:
SELECT id from tab_a
where id NOT IN
(select id from tab_b);
#1064 - You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'select id from tab_b) LIMIT 0, 30' at line 3
Please advise.
Cheers,
Manny
.
- Follow-Ups:
- Re: [Info-ingres] Having problem with simple "NOT IN" query
- From: Michael Leo
- Re: [Info-ingres] Having problem with simple "NOT IN" query
- Prev by Date: Re: [Info-ingres] Related to Ingres replication
- Next by Date: RE: [Info-ingres] Having problem with simple "NOT IN" query
- Previous by thread: RE: [Info-ingres] Re: Checkpoint Fail: tar: The file aaajpnid.t00 is to large
- Next by thread: Re: [Info-ingres] Having problem with simple "NOT IN" query
- Index(es):
Relevant Pages
|
|