Simple examples for db interactions