¿Qué tal esto: select id, first, last from mytable where first != upper(first) or last != upper(last);