Create create_circular_avg_fn.sql