More database notes