Código SQL [-]select * from tabla where id in (1265, 1345, 1366, 1495, ...)
select * from tabla where id in (1265, 1345, 1366, 1495, ...)