Add database sample to help understand the codes.