select col2, if(col2 = 'とうきょうと','OK','NG') from ifelse_tbl;

