updated sql syntax in blog.sql