mysql declare list code example Example: mysql not in list #filter in MySQL: WHERE id_field not in ('817','803','495')