Database stuff

Dear Developer's
I want to do the database activity, ie. adding the information in to database and fetching back
can y0u people guide me how to start.... please do help.