Well that's a couple of possible solutions, sebi's only approximates a sine (and is a similar idea to that used in the 8038 function generator chip). Audioguru's suggestion requires the filter to be accurately tuned to the incoming frequency, effectively only working on one specific frequency (or being adjustable).
What exactly are you trying to do?.