database basic decision