Study notes for DB class