select x, case when x='toto' then 'tata' else y end as y