select coalesce(cast(value as int), 999) from plato.Input;