database notes