updated the blog with sql