select * from operator 
where lower(trim(loginname)) in (select lower(trim(telphonistname)) from telphone)