Código SQL [-]select * from tutabla where codigo not in (123, 444, etc.)
select * from tutabla where codigo not in (123, 444, etc.)