Subject | Re: MS SQL to FireBird |
---|---|
Author | polash26 |
Post date | 2005-11-23T22:41:59Z |
--- In firebird-support@yahoogroups.com, "Miroslav Penchev"
<miroslavp@m...> wrote:
(WHERE( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent ).
<miroslavp@m...> wrote:
>SQL query
> On Sun, 20 Nov 2005 12:13:27 +0200, polash26 <polash26@y...> wrote:
>
> > What is the equivalent query in FireBird for the following MS
> >Delete will delete data from T1, according to the where condition
> > DELETE FROM T1
> > FROM T2 b
> > WHERE
> > ( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent
> >
> > Thanks for any reply.
> >
> >
>
> What should do that DELETE?
(WHERE( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent ).
>
> Cheers,
> --
> Miroslav Penchev
>