SELECT sqrt(2) INTO square_root
SELECT round(sqrt::NUMERIC, 2) FROM square_root
An SQL console is a REPL environment that allows for interaction with previous results. So, apart from the natural language interface I think that's pretty much what you're describing (and if required that natural language interface could be added using something like Siri or wit.ai)