code: def _create_query(node, context):
      
      visited_nodes = [node]
      output_columns = _get_output_columns(visited_nodes, context)
      filters = _get_filters(visited_nodes, context)
      selectable = sql_context_helpers.get_node_selectable(node, context)
      query = select(output_columns).select_from(selectable).where(and_(*filters))
      return query
docs: Create a query from a SqlNode.
  
      Args:
          node: SqlNode, the current node.
          context: CompilationContext, global compilation state and metadata.
  
      Returns:
          Selectable, selectable of the generated query.