Create rating.sql