Input or View data from the database