Subject | Re: [firebird-support] Verry slow querry on FB 2 |
---|---|
Author | Radu Sky |
Post date | 2006-02-20T11:23:21Z |
Hello,
AFAIR, IN queries are not well optimized.
Maybe something like this will help
select * from sys_products where
(select count(barcode) barcode from sys_barcode WHERE
sys_barcode.barcode=sys_products.barcode)>1
AFAIR, IN queries are not well optimized.
Maybe something like this will help
select * from sys_products where
(select count(barcode) barcode from sys_barcode WHERE
sys_barcode.barcode=sys_products.barcode)>1