I trying the 'create view' to store data for later visualizations but it gives me an error:
Create View PercentPopulationVaccinated as
select dea.continent, dea.location, dea.date, dea.population, vac.new_vaccinations,
SUM(Cast(vac.new_vaccinations as bigint)) OVER (Partition by dea.location order by dea.location,
dea.date) as RollingPeopleVaccinated
--- , (RollingPeopleVaccinated/population)*100
From PortfolioProject..CovidVaccinations vac
Join PortfolioProject..CovidDeaths dea
On dea.location = vac.location
and dea.date = vac.date
Where dea.continent is not null`
The error says: There is already an object named 'PercentPopulationVaccinated' in the database.