Discussion: Delete query question
Afficher un message
Vieux 05/09/2007, 14h57   #4
Alex Arul Lurthu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Delete query question

reply inline

On 9/5/07, Olaf Stein <steino@ccri.net> wrote:
>
> delete from geno_260k where ident=(select ident from geno_260k where a1=0
> group by ident having count(a1)>250000);



When a sub query returns more than one row in a where clause, then "="
should be replaced by the "in" .

--
Thanks
Alex
http://alexlurthu.wordpress.com

  Réponse avec citation
 
Page generated in 0,05579 seconds with 9 queries