Created SQL file for snapshot table