fetch datas in database and display in a tableview.