Wire up sql command, display in a view