It sounds like homework to me too. But either way here is a link that you might want to keep. I am sure with a little searching you can find your answer there.
For those that like a good Oracle FAQ There is no better than
Ari Kaplan's Oracle Tips.
Mark