def METHOD_NAME(stmt):
    global cross_joins, list_join_strings, join_string
    cross_joins=0
    join_string = ""
    list_join_strings = []
    ls=get_join_recurse(stmt.tokens)
    check_cross_join_with_comma(stmt.tokens)
    for x in range(cross_joins):
        ls.append("CROSS JOIN")
    get_join_strings(stmt.tokens)
    return ls,list_join_strings