added create_rating.sql file