Data base limit for values in `IN` clause

Hello guys, how to manage big sets of records (more than 1500), when querying table? My database (Firebird) has limit in 1500 values per query. Is there an efficient way to overcome this?
1.png
Was this page helpful?