database viewing