select case value when key then subkey else value end from plato.Input;