i would like to know the in and outs of a data base

I need to constructed one but have no idea how to go about it as well i can't rember code to sort out words from strings or words.