code: def make_sql_session():
      from mindsdb.api.executor.controllers.session_controller import (
          SessionController,
      )
  
      sql_session = SessionController()
      sql_session.database = "mindsdb"
      return sql_session
  
file_path: mindsdb/mindsdb/integrations/utilities/sql_utils.py
imports: import pandas
  from mindsdb.api.executor.utilities.sql import query_df
  from mindsdb_sql.parser import ast
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb_sql.planner.utils import query_traversal
label_desc: Use image node_id 1 for calling a global function with example usage: make_sql_session() and returns: sql_session