code: def split_sql(sql):
      # split sql by ';' ignoring delimiter in quotes
      pattern = re.compile(r"""((?:[^;"']|"[^"]*"|'[^']*')+)""")
      return pattern.split(sql)[1::2]
  
imports: import re
  import datetime
  from dateutil.relativedelta import relativedelta
  import sqlalchemy
  from mindsdb_sql import parse_sql, ParsingException
  from mindsdb.utilities.context import context
  from mindsdb.utilities.exception import EntityNotExistsError, EntityExistsError
  from mindsdb.interfaces.storage import db
  from mindsdb.interfaces.database.projects import ProjectController
  from mindsdb.interfaces.query_context.context_controller import query_context_controller
  from mindsdb.utilities import log
label_desc: Use image node_id 1 for calling a global function with example usage: split_sql(sql) and returns: pattern