Create monitor.sql