Create incident query.sql