error: prepare failure select distinct type_category,type_value,machine_id,machine_number,machine_new from machine_data where (machine_id = or machine_id = 0) and (id between 408080000 and 408089999);