Subject MS SQL to FireBird
Author polash26
What is the equivalent query in FireBird for the following MS SQL query

DELETE FROM T1
FROM T2 b
WHERE
( SELECT COUNT(*) FROM T1 a WHERE a.ID = b.ID ) > b.Recent

Thanks for any reply.