Build a result View in the DB