select *
from table_name
where upper(to_char(a,'rm')) = 'I'