MySQL Forums
Forum List  »  French

je ne comprends pas ou ca bloque...
Posted by: fabien fab
Date: October 23, 2009 07:14AM

Bonjour,

Est- ce que ququ'un peut me dire ou est l'erreur je ne suis pas vraiment un expert...

delete from ndonnees a
where (a.dated is null or a.datef is null)
and exists
(
select 1 from ndonnees b
where a.njob= b.njob
and a.chaine = b.chaine
and b.dated is not null
and b.dated is not null
and b.id > a.id
)

Error: 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 'where (a.dated is null or a.datef is null)
and exists
(
select 1 from ndonne' at line 2 (State:37000, Native Code: 428)



merci

Options: ReplyQuote


Subject
Views
Written By
Posted
je ne comprends pas ou ca bloque...
4564
October 23, 2009 07:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.