Que diriez-vous de ceci : select id, first, last from mytable where first != upper(first) or last != upper(last);