database training - create and retreve