---
source: crates/squawk_parser/tests/tests.rs
input_file: crates/squawk_parser/tests/data/ok/select_into.sql
---
SOURCE_FILE
  COMMENT "-- docs"
  WHITESPACE "\n"
  SELECT_INTO
    SELECT_CLAUSE
      SELECT_KW "SELECT"
      WHITESPACE " "
      TARGET_LIST
        TARGET
          STAR "*"
    WHITESPACE " "
    INTO_CLAUSE
      INTO_KW "INTO"
      WHITESPACE " "
      PATH
        PATH_SEGMENT
          NAME
            IDENT "films_recent"
    WHITESPACE " "
    FROM_CLAUSE
      FROM_KW "FROM"
      WHITESPACE " "
      FROM_ITEM
        NAME_REF
          IDENT "films"
    WHITESPACE " "
    WHERE_CLAUSE
      WHERE_KW "WHERE"
      WHITESPACE " "
      BIN_EXPR
        NAME_REF
          IDENT "date_prod"
        WHITESPACE " "
        GTEQ ">="
        WHITESPACE " "
        LITERAL
          STRING "'2002-01-01'"
  SEMICOLON ";"
  WHITESPACE "\n\n"
  COMMENT "-- more_schema"
  WHITESPACE "\n"
  SELECT_INTO
    SELECT_CLAUSE
      SELECT_KW "select"
      WHITESPACE " "
      TARGET_LIST
        TARGET
          NAME_REF
            IDENT "a"
        COMMA ","
        WHITESPACE " "
        TARGET
          NAME_REF
            IDENT "b"
        COMMA ","
        WHITESPACE " "
        TARGET
          NAME_REF
            IDENT "c"
    WHITESPACE " "
    INTO_CLAUSE
      INTO_KW "into"
      WHITESPACE " "
      PATH
        PATH_SEGMENT
          NAME
            IDENT "t"
    WHITESPACE " "
    FROM_CLAUSE
      FROM_KW "from"
      WHITESPACE " "
      FROM_ITEM
        NAME_REF
          IDENT "t2"
  SEMICOLON ";"
  WHITESPACE "\n\n"
