I got error code 1292 from this code Can you let me know how to fix it?
I am just trying to make temp table
create table percentpopulationvaccinated (
continent varchar(255),
location varchar(255),
date datetime,
population numeric,
new_vaccinations numeric,
People_Vaccinated numeric
);
Insert into percentpopulationvaccinated
Select death.continent, death.location, death.date, death.population, vac.new_vaccinations,
sum(convert(vac.new_vaccinations, signed int)) over (partition by death.location order by death.location, death.date) as People_Vaccinated
from coviddeaths as death
join covidvaccinations as vac
on death.location = vac.location
and death.date = vac.date;
-- where death.continent is not null
-- order by death.location, death.date
select *, (People_Vaccinated/population)*100
from percentpopulationvaccinated;```