/* Automatically @generated by tree-sitter */

#include "tree_sitter/parser.h"

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif

#ifdef _MSC_VER
#pragma optimize("", off)
#elif defined(__clang__)
#pragma clang optimize off
#elif defined(__GNUC__)
#pragma GCC optimize ("O0")
#endif

#define LANGUAGE_VERSION 15
#define STATE_COUNT 755
#define LARGE_STATE_COUNT 230
#define SYMBOL_COUNT 319
#define ALIAS_COUNT 1
#define TOKEN_COUNT 206
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 6
#define MAX_ALIAS_SEQUENCE_LENGTH 9
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 12
#define SUPERTYPE_COUNT 0

enum ts_symbol_identifiers {
  sym_bare_identifier = 1,
  anon_sym_SEMI = 2,
  anon_sym_COMMA = 3,
  anon_sym_STAR = 4,
  anon_sym_DOT = 5,
  anon_sym_EQ = 6,
  anon_sym_LT = 7,
  anon_sym_GT = 8,
  anon_sym_BANG = 9,
  anon_sym_PLUS = 10,
  anon_sym_DASH = 11,
  anon_sym_SLASH = 12,
  anon_sym_PERCENT = 13,
  anon_sym_PIPE = 14,
  anon_sym_AMP = 15,
  anon_sym_CARET = 16,
  anon_sym_TILDE = 17,
  anon_sym_COLON_COLON = 18,
  aux_sym_select_statement_token1 = 19,
  aux_sym_with_statement_token1 = 20,
  aux_sym_with_statement_token2 = 21,
  anon_sym_LPAREN = 22,
  anon_sym_RPAREN = 23,
  aux_sym_cte_definition_token1 = 24,
  aux_sym_create_statement_token1 = 25,
  aux_sym_create_statement_token2 = 26,
  aux_sym_insert_statement_token1 = 27,
  aux_sym_update_statement_token1 = 28,
  aux_sym_delete_statement_token1 = 29,
  aux_sym_subquery_body_token1 = 30,
  aux_sym_cast_expression_token1 = 31,
  aux_sym_cast_expression_token2 = 32,
  aux_sym_sql_keyword_token1 = 33,
  aux_sym_non_from_sql_keyword_token1 = 34,
  aux_sym_non_from_sql_keyword_token2 = 35,
  aux_sym_non_from_sql_keyword_token3 = 36,
  aux_sym_non_from_sql_keyword_token4 = 37,
  aux_sym_non_from_sql_keyword_token5 = 38,
  aux_sym_non_from_sql_keyword_token6 = 39,
  aux_sym_non_from_sql_keyword_token7 = 40,
  aux_sym_non_from_sql_keyword_token8 = 41,
  aux_sym_non_from_sql_keyword_token9 = 42,
  aux_sym_non_from_sql_keyword_token10 = 43,
  aux_sym_non_from_sql_keyword_token11 = 44,
  aux_sym_non_from_sql_keyword_token12 = 45,
  aux_sym_non_from_sql_keyword_token13 = 46,
  aux_sym_non_from_sql_keyword_token14 = 47,
  aux_sym_non_from_sql_keyword_token15 = 48,
  aux_sym_non_from_sql_keyword_token16 = 49,
  aux_sym_non_from_sql_keyword_token17 = 50,
  aux_sym_non_from_sql_keyword_token18 = 51,
  aux_sym_non_from_sql_keyword_token19 = 52,
  aux_sym_non_from_sql_keyword_token20 = 53,
  aux_sym_non_from_sql_keyword_token21 = 54,
  aux_sym_non_from_sql_keyword_token22 = 55,
  aux_sym_non_from_sql_keyword_token23 = 56,
  aux_sym_non_from_sql_keyword_token24 = 57,
  aux_sym_non_from_sql_keyword_token25 = 58,
  aux_sym_non_from_sql_keyword_token26 = 59,
  aux_sym_non_from_sql_keyword_token27 = 60,
  aux_sym_non_from_sql_keyword_token28 = 61,
  aux_sym_non_from_sql_keyword_token29 = 62,
  aux_sym_non_from_sql_keyword_token30 = 63,
  aux_sym_non_from_sql_keyword_token31 = 64,
  aux_sym_non_from_sql_keyword_token32 = 65,
  aux_sym_non_from_sql_keyword_token33 = 66,
  aux_sym_non_from_sql_keyword_token34 = 67,
  aux_sym_non_from_sql_keyword_token35 = 68,
  aux_sym_non_from_sql_keyword_token36 = 69,
  aux_sym_non_from_sql_keyword_token37 = 70,
  aux_sym_non_from_sql_keyword_token38 = 71,
  aux_sym_non_from_sql_keyword_token39 = 72,
  aux_sym_non_from_sql_keyword_token40 = 73,
  aux_sym_non_from_sql_keyword_token41 = 74,
  aux_sym_non_from_sql_keyword_token42 = 75,
  aux_sym_non_from_sql_keyword_token43 = 76,
  aux_sym_non_from_sql_keyword_token44 = 77,
  aux_sym_non_from_sql_keyword_token45 = 78,
  aux_sym_non_from_sql_keyword_token46 = 79,
  aux_sym_non_from_sql_keyword_token47 = 80,
  aux_sym_non_from_sql_keyword_token48 = 81,
  aux_sym_non_from_sql_keyword_token49 = 82,
  aux_sym_non_from_sql_keyword_token50 = 83,
  aux_sym_non_from_sql_keyword_token51 = 84,
  aux_sym_non_from_sql_keyword_token52 = 85,
  aux_sym_non_from_sql_keyword_token53 = 86,
  anon_sym_COLON_EQ = 87,
  anon_sym_EQ_GT = 88,
  anon_sym_PIPE_PIPE = 89,
  anon_sym_LT_EQ = 90,
  anon_sym_GT_EQ = 91,
  anon_sym_BANG_EQ = 92,
  anon_sym_LT_GT = 93,
  sym_namespaced_identifier = 94,
  aux_sym_window_partition_clause_token1 = 95,
  aux_sym_from_clause_token1 = 96,
  sym_visualise_keyword = 97,
  aux_sym_draw_clause_token1 = 98,
  aux_sym_place_clause_token1 = 99,
  aux_sym_remapping_clause_token1 = 100,
  anon_sym_point = 101,
  anon_sym_line = 102,
  anon_sym_path = 103,
  anon_sym_bar = 104,
  anon_sym_area = 105,
  anon_sym_tile = 106,
  anon_sym_polygon = 107,
  anon_sym_ribbon = 108,
  anon_sym_histogram = 109,
  anon_sym_density = 110,
  anon_sym_smooth = 111,
  anon_sym_boxplot = 112,
  anon_sym_violin = 113,
  anon_sym_text = 114,
  anon_sym_label = 115,
  anon_sym_segment = 116,
  anon_sym_arrow = 117,
  anon_sym_rule = 118,
  anon_sym_range = 119,
  aux_sym_mapping_clause_token1 = 120,
  aux_sym_setting_clause_token1 = 121,
  aux_sym_filter_clause_token1 = 122,
  aux_sym_filter_token_token1 = 123,
  aux_sym_filter_token_token2 = 124,
  aux_sym_filter_token_token3 = 125,
  aux_sym_filter_token_token4 = 126,
  aux_sym_filter_token_token5 = 127,
  aux_sym_filter_token_token6 = 128,
  aux_sym_filter_token_token7 = 129,
  aux_sym_filter_token_token8 = 130,
  aux_sym_filter_token_token9 = 131,
  aux_sym_filter_token_token10 = 132,
  aux_sym_filter_token_token11 = 133,
  anon_sym_TILDE_STAR = 134,
  anon_sym_BANG_TILDE_STAR = 135,
  anon_sym_BANG_TILDE = 136,
  anon_sym_x = 137,
  anon_sym_y = 138,
  anon_sym_xmin = 139,
  anon_sym_xmax = 140,
  anon_sym_ymin = 141,
  anon_sym_ymax = 142,
  anon_sym_xend = 143,
  anon_sym_yend = 144,
  anon_sym_angle = 145,
  anon_sym_radius = 146,
  anon_sym_anglemin = 147,
  anon_sym_anglemax = 148,
  anon_sym_radiusmin = 149,
  anon_sym_radiusmax = 150,
  anon_sym_angleend = 151,
  anon_sym_radiusend = 152,
  anon_sym_weight = 153,
  anon_sym_color = 154,
  anon_sym_colour = 155,
  anon_sym_fill = 156,
  anon_sym_stroke = 157,
  anon_sym_opacity = 158,
  anon_sym_size = 159,
  anon_sym_shape = 160,
  anon_sym_linetype = 161,
  anon_sym_linewidth = 162,
  anon_sym_width = 163,
  anon_sym_height = 164,
  anon_sym_typeface = 165,
  anon_sym_fontweight = 166,
  anon_sym_italic = 167,
  anon_sym_fontsize = 168,
  anon_sym_hjust = 169,
  anon_sym_vjust = 170,
  anon_sym_rotation = 171,
  anon_sym_slope = 172,
  anon_sym_panel = 173,
  anon_sym_row = 174,
  anon_sym_column = 175,
  anon_sym_offset = 176,
  anon_sym_count = 177,
  anon_sym_intensity = 178,
  aux_sym_scale_clause_token1 = 179,
  aux_sym_scale_renaming_clause_token1 = 180,
  aux_sym_scale_type_identifier_token1 = 181,
  aux_sym_scale_type_identifier_token2 = 182,
  aux_sym_scale_type_identifier_token3 = 183,
  aux_sym_scale_type_identifier_token4 = 184,
  aux_sym_scale_type_identifier_token5 = 185,
  aux_sym_scale_to_clause_token1 = 186,
  aux_sym_scale_via_clause_token1 = 187,
  aux_sym_facet_clause_token1 = 188,
  aux_sym_project_clause_token1 = 189,
  aux_sym_label_clause_token1 = 190,
  sym_quoted_identifier = 191,
  sym_filter_identifier = 192,
  sym_number = 193,
  anon_sym_SQUOTE = 194,
  aux_sym_string_token1 = 195,
  aux_sym_string_token2 = 196,
  anon_sym_true = 197,
  anon_sym_false = 198,
  anon_sym_LBRACK = 199,
  anon_sym_RBRACK = 200,
  anon_sym_SLASH_SLASH = 201,
  aux_sym_comment_token1 = 202,
  anon_sym_SLASH_STAR = 203,
  aux_sym_comment_token2 = 204,
  anon_sym_DASH_DASH = 205,
  sym_query = 206,
  sym_sql_portion = 207,
  sym_sql_statement = 208,
  sym_from_statement = 209,
  sym_select_statement = 210,
  sym_select_body = 211,
  sym_with_statement = 212,
  sym_cte_definition = 213,
  sym_create_statement = 214,
  sym_insert_statement = 215,
  sym_update_statement = 216,
  sym_delete_statement = 217,
  sym_other_sql_statement = 218,
  sym_subquery = 219,
  sym_scalar_subquery = 220,
  sym_subquery_body = 221,
  sym_cast_expression = 222,
  sym_type_name = 223,
  sym_function_call = 224,
  sym_sql_keyword = 225,
  sym_non_from_sql_keyword = 226,
  sym_window_function = 227,
  sym_set_quantifier = 228,
  sym_function_args = 229,
  sym_function_arg = 230,
  sym_named_arg = 231,
  sym_position_arg = 232,
  sym_window_specification = 233,
  sym_window_partition_clause = 234,
  sym_window_order_clause = 235,
  sym_order_item = 236,
  sym_frame_clause = 237,
  sym_frame_bound = 238,
  sym_qualified_name = 239,
  sym_table_ref = 240,
  sym_from_clause = 241,
  sym_visualise_statement = 242,
  sym_mapping_list = 243,
  sym_mapping_element = 244,
  sym_wildcard_mapping = 245,
  sym_explicit_mapping = 246,
  sym_implicit_mapping = 247,
  sym_global_mapping = 248,
  sym_viz_clause = 249,
  sym_draw_clause = 250,
  sym_place_clause = 251,
  sym_remapping_clause = 252,
  sym_geom_type = 253,
  sym_mapping_clause = 254,
  sym_mapping_value = 255,
  sym_setting_clause = 256,
  sym_parameter_assignment = 257,
  sym_parameter_name = 258,
  sym_parameter_value = 259,
  sym_partition_clause = 260,
  sym_partition_columns = 261,
  sym_filter_clause = 262,
  sym_filter_expression = 263,
  sym_filter_token = 264,
  sym_order_clause = 265,
  sym_order_expression = 266,
  sym_order_token = 267,
  sym_aesthetic_name = 268,
  sym_column_reference = 269,
  sym_literal_value = 270,
  sym_scale_clause = 271,
  sym_scale_renaming_clause = 272,
  sym_renaming_assignment = 273,
  sym_scale_type_identifier = 274,
  sym_scale_from_clause = 275,
  sym_scale_to_clause = 276,
  sym_scale_via_clause = 277,
  sym_facet_clause = 278,
  sym_facet_vars = 279,
  sym_project_clause = 280,
  sym_project_aesthetics = 281,
  sym_project_type = 282,
  sym_project_properties = 283,
  sym_project_property = 284,
  sym_project_property_name = 285,
  sym_label_clause = 286,
  sym_label_assignment = 287,
  sym_label_type = 288,
  sym_identifier = 289,
  sym_string = 290,
  sym_boolean = 291,
  sym_array = 292,
  sym_array_element = 293,
  sym_null_literal = 294,
  sym_comment = 295,
  aux_sym_query_repeat1 = 296,
  aux_sym_sql_portion_repeat1 = 297,
  aux_sym_from_statement_repeat1 = 298,
  aux_sym_select_body_repeat1 = 299,
  aux_sym_with_statement_repeat1 = 300,
  aux_sym_cte_definition_repeat1 = 301,
  aux_sym_create_statement_repeat1 = 302,
  aux_sym_other_sql_statement_repeat1 = 303,
  aux_sym_subquery_body_repeat1 = 304,
  aux_sym_function_args_repeat1 = 305,
  aux_sym_window_order_clause_repeat1 = 306,
  aux_sym_qualified_name_repeat1 = 307,
  aux_sym_from_clause_repeat1 = 308,
  aux_sym_visualise_statement_repeat1 = 309,
  aux_sym_mapping_list_repeat1 = 310,
  aux_sym_setting_clause_repeat1 = 311,
  aux_sym_filter_expression_repeat1 = 312,
  aux_sym_order_expression_repeat1 = 313,
  aux_sym_scale_renaming_clause_repeat1 = 314,
  aux_sym_project_properties_repeat1 = 315,
  aux_sym_label_clause_repeat1 = 316,
  aux_sym_string_repeat1 = 317,
  aux_sym_array_repeat1 = 318,
  alias_sym_facet_by = 319,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [sym_bare_identifier] = "bare_identifier",
  [anon_sym_SEMI] = ";",
  [anon_sym_COMMA] = ",",
  [anon_sym_STAR] = "*",
  [anon_sym_DOT] = ".",
  [anon_sym_EQ] = "=",
  [anon_sym_LT] = "<",
  [anon_sym_GT] = ">",
  [anon_sym_BANG] = "!",
  [anon_sym_PLUS] = "+",
  [anon_sym_DASH] = "-",
  [anon_sym_SLASH] = "/",
  [anon_sym_PERCENT] = "%",
  [anon_sym_PIPE] = "|",
  [anon_sym_AMP] = "&",
  [anon_sym_CARET] = "^",
  [anon_sym_TILDE] = "~",
  [anon_sym_COLON_COLON] = "::",
  [aux_sym_select_statement_token1] = "select_statement_token1",
  [aux_sym_with_statement_token1] = "with_statement_token1",
  [aux_sym_with_statement_token2] = "with_statement_token2",
  [anon_sym_LPAREN] = "(",
  [anon_sym_RPAREN] = ")",
  [aux_sym_cte_definition_token1] = "cte_definition_token1",
  [aux_sym_create_statement_token1] = "create_statement_token1",
  [aux_sym_create_statement_token2] = "create_statement_token2",
  [aux_sym_insert_statement_token1] = "insert_statement_token1",
  [aux_sym_update_statement_token1] = "update_statement_token1",
  [aux_sym_delete_statement_token1] = "delete_statement_token1",
  [aux_sym_subquery_body_token1] = "subquery_body_token1",
  [aux_sym_cast_expression_token1] = "cast_expression_token1",
  [aux_sym_cast_expression_token2] = "cast_expression_token2",
  [aux_sym_sql_keyword_token1] = "sql_keyword_token1",
  [aux_sym_non_from_sql_keyword_token1] = "non_from_sql_keyword_token1",
  [aux_sym_non_from_sql_keyword_token2] = "non_from_sql_keyword_token2",
  [aux_sym_non_from_sql_keyword_token3] = "non_from_sql_keyword_token3",
  [aux_sym_non_from_sql_keyword_token4] = "non_from_sql_keyword_token4",
  [aux_sym_non_from_sql_keyword_token5] = "non_from_sql_keyword_token5",
  [aux_sym_non_from_sql_keyword_token6] = "non_from_sql_keyword_token6",
  [aux_sym_non_from_sql_keyword_token7] = "non_from_sql_keyword_token7",
  [aux_sym_non_from_sql_keyword_token8] = "non_from_sql_keyword_token8",
  [aux_sym_non_from_sql_keyword_token9] = "non_from_sql_keyword_token9",
  [aux_sym_non_from_sql_keyword_token10] = "non_from_sql_keyword_token10",
  [aux_sym_non_from_sql_keyword_token11] = "non_from_sql_keyword_token11",
  [aux_sym_non_from_sql_keyword_token12] = "non_from_sql_keyword_token12",
  [aux_sym_non_from_sql_keyword_token13] = "non_from_sql_keyword_token13",
  [aux_sym_non_from_sql_keyword_token14] = "non_from_sql_keyword_token14",
  [aux_sym_non_from_sql_keyword_token15] = "non_from_sql_keyword_token15",
  [aux_sym_non_from_sql_keyword_token16] = "non_from_sql_keyword_token16",
  [aux_sym_non_from_sql_keyword_token17] = "non_from_sql_keyword_token17",
  [aux_sym_non_from_sql_keyword_token18] = "non_from_sql_keyword_token18",
  [aux_sym_non_from_sql_keyword_token19] = "non_from_sql_keyword_token19",
  [aux_sym_non_from_sql_keyword_token20] = "non_from_sql_keyword_token20",
  [aux_sym_non_from_sql_keyword_token21] = "non_from_sql_keyword_token21",
  [aux_sym_non_from_sql_keyword_token22] = "non_from_sql_keyword_token22",
  [aux_sym_non_from_sql_keyword_token23] = "non_from_sql_keyword_token23",
  [aux_sym_non_from_sql_keyword_token24] = "non_from_sql_keyword_token24",
  [aux_sym_non_from_sql_keyword_token25] = "non_from_sql_keyword_token25",
  [aux_sym_non_from_sql_keyword_token26] = "non_from_sql_keyword_token26",
  [aux_sym_non_from_sql_keyword_token27] = "non_from_sql_keyword_token27",
  [aux_sym_non_from_sql_keyword_token28] = "non_from_sql_keyword_token28",
  [aux_sym_non_from_sql_keyword_token29] = "non_from_sql_keyword_token29",
  [aux_sym_non_from_sql_keyword_token30] = "non_from_sql_keyword_token30",
  [aux_sym_non_from_sql_keyword_token31] = "non_from_sql_keyword_token31",
  [aux_sym_non_from_sql_keyword_token32] = "non_from_sql_keyword_token32",
  [aux_sym_non_from_sql_keyword_token33] = "non_from_sql_keyword_token33",
  [aux_sym_non_from_sql_keyword_token34] = "non_from_sql_keyword_token34",
  [aux_sym_non_from_sql_keyword_token35] = "non_from_sql_keyword_token35",
  [aux_sym_non_from_sql_keyword_token36] = "non_from_sql_keyword_token36",
  [aux_sym_non_from_sql_keyword_token37] = "non_from_sql_keyword_token37",
  [aux_sym_non_from_sql_keyword_token38] = "non_from_sql_keyword_token38",
  [aux_sym_non_from_sql_keyword_token39] = "non_from_sql_keyword_token39",
  [aux_sym_non_from_sql_keyword_token40] = "non_from_sql_keyword_token40",
  [aux_sym_non_from_sql_keyword_token41] = "non_from_sql_keyword_token41",
  [aux_sym_non_from_sql_keyword_token42] = "non_from_sql_keyword_token42",
  [aux_sym_non_from_sql_keyword_token43] = "non_from_sql_keyword_token43",
  [aux_sym_non_from_sql_keyword_token44] = "non_from_sql_keyword_token44",
  [aux_sym_non_from_sql_keyword_token45] = "non_from_sql_keyword_token45",
  [aux_sym_non_from_sql_keyword_token46] = "non_from_sql_keyword_token46",
  [aux_sym_non_from_sql_keyword_token47] = "non_from_sql_keyword_token47",
  [aux_sym_non_from_sql_keyword_token48] = "non_from_sql_keyword_token48",
  [aux_sym_non_from_sql_keyword_token49] = "non_from_sql_keyword_token49",
  [aux_sym_non_from_sql_keyword_token50] = "non_from_sql_keyword_token50",
  [aux_sym_non_from_sql_keyword_token51] = "non_from_sql_keyword_token51",
  [aux_sym_non_from_sql_keyword_token52] = "non_from_sql_keyword_token52",
  [aux_sym_non_from_sql_keyword_token53] = "non_from_sql_keyword_token53",
  [anon_sym_COLON_EQ] = ":=",
  [anon_sym_EQ_GT] = "=>",
  [anon_sym_PIPE_PIPE] = "||",
  [anon_sym_LT_EQ] = "<=",
  [anon_sym_GT_EQ] = ">=",
  [anon_sym_BANG_EQ] = "!=",
  [anon_sym_LT_GT] = "<>",
  [sym_namespaced_identifier] = "namespaced_identifier",
  [aux_sym_window_partition_clause_token1] = "window_partition_clause_token1",
  [aux_sym_from_clause_token1] = "from_clause_token1",
  [sym_visualise_keyword] = "visualise_keyword",
  [aux_sym_draw_clause_token1] = "draw_clause_token1",
  [aux_sym_place_clause_token1] = "place_clause_token1",
  [aux_sym_remapping_clause_token1] = "remapping_clause_token1",
  [anon_sym_point] = "point",
  [anon_sym_line] = "line",
  [anon_sym_path] = "path",
  [anon_sym_bar] = "bar",
  [anon_sym_area] = "area",
  [anon_sym_tile] = "tile",
  [anon_sym_polygon] = "polygon",
  [anon_sym_ribbon] = "ribbon",
  [anon_sym_histogram] = "histogram",
  [anon_sym_density] = "density",
  [anon_sym_smooth] = "smooth",
  [anon_sym_boxplot] = "boxplot",
  [anon_sym_violin] = "violin",
  [anon_sym_text] = "text",
  [anon_sym_label] = "label",
  [anon_sym_segment] = "segment",
  [anon_sym_arrow] = "arrow",
  [anon_sym_rule] = "rule",
  [anon_sym_range] = "range",
  [aux_sym_mapping_clause_token1] = "mapping_clause_token1",
  [aux_sym_setting_clause_token1] = "setting_clause_token1",
  [aux_sym_filter_clause_token1] = "filter_clause_token1",
  [aux_sym_filter_token_token1] = "filter_token_token1",
  [aux_sym_filter_token_token2] = "filter_token_token2",
  [aux_sym_filter_token_token3] = "filter_token_token3",
  [aux_sym_filter_token_token4] = "filter_token_token4",
  [aux_sym_filter_token_token5] = "filter_token_token5",
  [aux_sym_filter_token_token6] = "filter_token_token6",
  [aux_sym_filter_token_token7] = "filter_token_token7",
  [aux_sym_filter_token_token8] = "filter_token_token8",
  [aux_sym_filter_token_token9] = "filter_token_token9",
  [aux_sym_filter_token_token10] = "filter_token_token10",
  [aux_sym_filter_token_token11] = "filter_token_token11",
  [anon_sym_TILDE_STAR] = "~*",
  [anon_sym_BANG_TILDE_STAR] = "!~*",
  [anon_sym_BANG_TILDE] = "!~",
  [anon_sym_x] = "x",
  [anon_sym_y] = "y",
  [anon_sym_xmin] = "xmin",
  [anon_sym_xmax] = "xmax",
  [anon_sym_ymin] = "ymin",
  [anon_sym_ymax] = "ymax",
  [anon_sym_xend] = "xend",
  [anon_sym_yend] = "yend",
  [anon_sym_angle] = "angle",
  [anon_sym_radius] = "radius",
  [anon_sym_anglemin] = "anglemin",
  [anon_sym_anglemax] = "anglemax",
  [anon_sym_radiusmin] = "radiusmin",
  [anon_sym_radiusmax] = "radiusmax",
  [anon_sym_angleend] = "angleend",
  [anon_sym_radiusend] = "radiusend",
  [anon_sym_weight] = "weight",
  [anon_sym_color] = "color",
  [anon_sym_colour] = "colour",
  [anon_sym_fill] = "fill",
  [anon_sym_stroke] = "stroke",
  [anon_sym_opacity] = "opacity",
  [anon_sym_size] = "size",
  [anon_sym_shape] = "shape",
  [anon_sym_linetype] = "linetype",
  [anon_sym_linewidth] = "linewidth",
  [anon_sym_width] = "width",
  [anon_sym_height] = "height",
  [anon_sym_typeface] = "typeface",
  [anon_sym_fontweight] = "fontweight",
  [anon_sym_italic] = "italic",
  [anon_sym_fontsize] = "fontsize",
  [anon_sym_hjust] = "hjust",
  [anon_sym_vjust] = "vjust",
  [anon_sym_rotation] = "rotation",
  [anon_sym_slope] = "slope",
  [anon_sym_panel] = "panel",
  [anon_sym_row] = "row",
  [anon_sym_column] = "column",
  [anon_sym_offset] = "offset",
  [anon_sym_count] = "count",
  [anon_sym_intensity] = "intensity",
  [aux_sym_scale_clause_token1] = "scale_clause_token1",
  [aux_sym_scale_renaming_clause_token1] = "scale_renaming_clause_token1",
  [aux_sym_scale_type_identifier_token1] = "scale_type_identifier_token1",
  [aux_sym_scale_type_identifier_token2] = "scale_type_identifier_token2",
  [aux_sym_scale_type_identifier_token3] = "scale_type_identifier_token3",
  [aux_sym_scale_type_identifier_token4] = "scale_type_identifier_token4",
  [aux_sym_scale_type_identifier_token5] = "scale_type_identifier_token5",
  [aux_sym_scale_to_clause_token1] = "scale_to_clause_token1",
  [aux_sym_scale_via_clause_token1] = "scale_via_clause_token1",
  [aux_sym_facet_clause_token1] = "facet_clause_token1",
  [aux_sym_project_clause_token1] = "project_clause_token1",
  [aux_sym_label_clause_token1] = "label_clause_token1",
  [sym_quoted_identifier] = "quoted_identifier",
  [sym_filter_identifier] = "filter_identifier",
  [sym_number] = "number",
  [anon_sym_SQUOTE] = "'",
  [aux_sym_string_token1] = "string_token1",
  [aux_sym_string_token2] = "string_token2",
  [anon_sym_true] = "true",
  [anon_sym_false] = "false",
  [anon_sym_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [anon_sym_SLASH_SLASH] = "//",
  [aux_sym_comment_token1] = "comment_token1",
  [anon_sym_SLASH_STAR] = "/*",
  [aux_sym_comment_token2] = "comment_token2",
  [anon_sym_DASH_DASH] = "--",
  [sym_query] = "query",
  [sym_sql_portion] = "sql_portion",
  [sym_sql_statement] = "sql_statement",
  [sym_from_statement] = "from_statement",
  [sym_select_statement] = "select_statement",
  [sym_select_body] = "select_body",
  [sym_with_statement] = "with_statement",
  [sym_cte_definition] = "cte_definition",
  [sym_create_statement] = "create_statement",
  [sym_insert_statement] = "insert_statement",
  [sym_update_statement] = "update_statement",
  [sym_delete_statement] = "delete_statement",
  [sym_other_sql_statement] = "other_sql_statement",
  [sym_subquery] = "subquery",
  [sym_scalar_subquery] = "scalar_subquery",
  [sym_subquery_body] = "subquery_body",
  [sym_cast_expression] = "cast_expression",
  [sym_type_name] = "type_name",
  [sym_function_call] = "function_call",
  [sym_sql_keyword] = "sql_keyword",
  [sym_non_from_sql_keyword] = "non_from_sql_keyword",
  [sym_window_function] = "window_function",
  [sym_set_quantifier] = "set_quantifier",
  [sym_function_args] = "function_args",
  [sym_function_arg] = "function_arg",
  [sym_named_arg] = "named_arg",
  [sym_position_arg] = "position_arg",
  [sym_window_specification] = "window_specification",
  [sym_window_partition_clause] = "window_partition_clause",
  [sym_window_order_clause] = "window_order_clause",
  [sym_order_item] = "order_item",
  [sym_frame_clause] = "frame_clause",
  [sym_frame_bound] = "frame_bound",
  [sym_qualified_name] = "qualified_name",
  [sym_table_ref] = "table_ref",
  [sym_from_clause] = "from_clause",
  [sym_visualise_statement] = "visualise_statement",
  [sym_mapping_list] = "mapping_list",
  [sym_mapping_element] = "mapping_element",
  [sym_wildcard_mapping] = "wildcard_mapping",
  [sym_explicit_mapping] = "explicit_mapping",
  [sym_implicit_mapping] = "implicit_mapping",
  [sym_global_mapping] = "global_mapping",
  [sym_viz_clause] = "viz_clause",
  [sym_draw_clause] = "draw_clause",
  [sym_place_clause] = "place_clause",
  [sym_remapping_clause] = "remapping_clause",
  [sym_geom_type] = "geom_type",
  [sym_mapping_clause] = "mapping_clause",
  [sym_mapping_value] = "mapping_value",
  [sym_setting_clause] = "setting_clause",
  [sym_parameter_assignment] = "parameter_assignment",
  [sym_parameter_name] = "parameter_name",
  [sym_parameter_value] = "parameter_value",
  [sym_partition_clause] = "partition_clause",
  [sym_partition_columns] = "partition_columns",
  [sym_filter_clause] = "filter_clause",
  [sym_filter_expression] = "filter_expression",
  [sym_filter_token] = "filter_token",
  [sym_order_clause] = "order_clause",
  [sym_order_expression] = "order_expression",
  [sym_order_token] = "order_token",
  [sym_aesthetic_name] = "aesthetic_name",
  [sym_column_reference] = "column_reference",
  [sym_literal_value] = "literal_value",
  [sym_scale_clause] = "scale_clause",
  [sym_scale_renaming_clause] = "scale_renaming_clause",
  [sym_renaming_assignment] = "renaming_assignment",
  [sym_scale_type_identifier] = "scale_type_identifier",
  [sym_scale_from_clause] = "scale_from_clause",
  [sym_scale_to_clause] = "scale_to_clause",
  [sym_scale_via_clause] = "scale_via_clause",
  [sym_facet_clause] = "facet_clause",
  [sym_facet_vars] = "facet_vars",
  [sym_project_clause] = "project_clause",
  [sym_project_aesthetics] = "project_aesthetics",
  [sym_project_type] = "project_type",
  [sym_project_properties] = "project_properties",
  [sym_project_property] = "project_property",
  [sym_project_property_name] = "project_property_name",
  [sym_label_clause] = "label_clause",
  [sym_label_assignment] = "label_assignment",
  [sym_label_type] = "label_type",
  [sym_identifier] = "identifier",
  [sym_string] = "string",
  [sym_boolean] = "boolean",
  [sym_array] = "array",
  [sym_array_element] = "array_element",
  [sym_null_literal] = "null_literal",
  [sym_comment] = "comment",
  [aux_sym_query_repeat1] = "query_repeat1",
  [aux_sym_sql_portion_repeat1] = "sql_portion_repeat1",
  [aux_sym_from_statement_repeat1] = "from_statement_repeat1",
  [aux_sym_select_body_repeat1] = "select_body_repeat1",
  [aux_sym_with_statement_repeat1] = "with_statement_repeat1",
  [aux_sym_cte_definition_repeat1] = "cte_definition_repeat1",
  [aux_sym_create_statement_repeat1] = "create_statement_repeat1",
  [aux_sym_other_sql_statement_repeat1] = "other_sql_statement_repeat1",
  [aux_sym_subquery_body_repeat1] = "subquery_body_repeat1",
  [aux_sym_function_args_repeat1] = "function_args_repeat1",
  [aux_sym_window_order_clause_repeat1] = "window_order_clause_repeat1",
  [aux_sym_qualified_name_repeat1] = "qualified_name_repeat1",
  [aux_sym_from_clause_repeat1] = "from_clause_repeat1",
  [aux_sym_visualise_statement_repeat1] = "visualise_statement_repeat1",
  [aux_sym_mapping_list_repeat1] = "mapping_list_repeat1",
  [aux_sym_setting_clause_repeat1] = "setting_clause_repeat1",
  [aux_sym_filter_expression_repeat1] = "filter_expression_repeat1",
  [aux_sym_order_expression_repeat1] = "order_expression_repeat1",
  [aux_sym_scale_renaming_clause_repeat1] = "scale_renaming_clause_repeat1",
  [aux_sym_project_properties_repeat1] = "project_properties_repeat1",
  [aux_sym_label_clause_repeat1] = "label_clause_repeat1",
  [aux_sym_string_repeat1] = "string_repeat1",
  [aux_sym_array_repeat1] = "array_repeat1",
  [alias_sym_facet_by] = "facet_by",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [sym_bare_identifier] = sym_bare_identifier,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [anon_sym_COMMA] = anon_sym_COMMA,
  [anon_sym_STAR] = anon_sym_STAR,
  [anon_sym_DOT] = anon_sym_DOT,
  [anon_sym_EQ] = anon_sym_EQ,
  [anon_sym_LT] = anon_sym_LT,
  [anon_sym_GT] = anon_sym_GT,
  [anon_sym_BANG] = anon_sym_BANG,
  [anon_sym_PLUS] = anon_sym_PLUS,
  [anon_sym_DASH] = anon_sym_DASH,
  [anon_sym_SLASH] = anon_sym_SLASH,
  [anon_sym_PERCENT] = anon_sym_PERCENT,
  [anon_sym_PIPE] = anon_sym_PIPE,
  [anon_sym_AMP] = anon_sym_AMP,
  [anon_sym_CARET] = anon_sym_CARET,
  [anon_sym_TILDE] = anon_sym_TILDE,
  [anon_sym_COLON_COLON] = anon_sym_COLON_COLON,
  [aux_sym_select_statement_token1] = aux_sym_select_statement_token1,
  [aux_sym_with_statement_token1] = aux_sym_with_statement_token1,
  [aux_sym_with_statement_token2] = aux_sym_with_statement_token2,
  [anon_sym_LPAREN] = anon_sym_LPAREN,
  [anon_sym_RPAREN] = anon_sym_RPAREN,
  [aux_sym_cte_definition_token1] = aux_sym_cte_definition_token1,
  [aux_sym_create_statement_token1] = aux_sym_create_statement_token1,
  [aux_sym_create_statement_token2] = aux_sym_create_statement_token2,
  [aux_sym_insert_statement_token1] = aux_sym_insert_statement_token1,
  [aux_sym_update_statement_token1] = aux_sym_update_statement_token1,
  [aux_sym_delete_statement_token1] = aux_sym_delete_statement_token1,
  [aux_sym_subquery_body_token1] = aux_sym_subquery_body_token1,
  [aux_sym_cast_expression_token1] = aux_sym_cast_expression_token1,
  [aux_sym_cast_expression_token2] = aux_sym_cast_expression_token2,
  [aux_sym_sql_keyword_token1] = aux_sym_sql_keyword_token1,
  [aux_sym_non_from_sql_keyword_token1] = aux_sym_non_from_sql_keyword_token1,
  [aux_sym_non_from_sql_keyword_token2] = aux_sym_non_from_sql_keyword_token2,
  [aux_sym_non_from_sql_keyword_token3] = aux_sym_non_from_sql_keyword_token3,
  [aux_sym_non_from_sql_keyword_token4] = aux_sym_non_from_sql_keyword_token4,
  [aux_sym_non_from_sql_keyword_token5] = aux_sym_non_from_sql_keyword_token5,
  [aux_sym_non_from_sql_keyword_token6] = aux_sym_non_from_sql_keyword_token6,
  [aux_sym_non_from_sql_keyword_token7] = aux_sym_non_from_sql_keyword_token7,
  [aux_sym_non_from_sql_keyword_token8] = aux_sym_non_from_sql_keyword_token8,
  [aux_sym_non_from_sql_keyword_token9] = aux_sym_non_from_sql_keyword_token9,
  [aux_sym_non_from_sql_keyword_token10] = aux_sym_non_from_sql_keyword_token10,
  [aux_sym_non_from_sql_keyword_token11] = aux_sym_non_from_sql_keyword_token11,
  [aux_sym_non_from_sql_keyword_token12] = aux_sym_non_from_sql_keyword_token12,
  [aux_sym_non_from_sql_keyword_token13] = aux_sym_non_from_sql_keyword_token13,
  [aux_sym_non_from_sql_keyword_token14] = aux_sym_non_from_sql_keyword_token14,
  [aux_sym_non_from_sql_keyword_token15] = aux_sym_non_from_sql_keyword_token15,
  [aux_sym_non_from_sql_keyword_token16] = aux_sym_non_from_sql_keyword_token16,
  [aux_sym_non_from_sql_keyword_token17] = aux_sym_non_from_sql_keyword_token17,
  [aux_sym_non_from_sql_keyword_token18] = aux_sym_non_from_sql_keyword_token18,
  [aux_sym_non_from_sql_keyword_token19] = aux_sym_non_from_sql_keyword_token19,
  [aux_sym_non_from_sql_keyword_token20] = aux_sym_non_from_sql_keyword_token20,
  [aux_sym_non_from_sql_keyword_token21] = aux_sym_non_from_sql_keyword_token21,
  [aux_sym_non_from_sql_keyword_token22] = aux_sym_non_from_sql_keyword_token22,
  [aux_sym_non_from_sql_keyword_token23] = aux_sym_non_from_sql_keyword_token23,
  [aux_sym_non_from_sql_keyword_token24] = aux_sym_non_from_sql_keyword_token24,
  [aux_sym_non_from_sql_keyword_token25] = aux_sym_non_from_sql_keyword_token25,
  [aux_sym_non_from_sql_keyword_token26] = aux_sym_non_from_sql_keyword_token26,
  [aux_sym_non_from_sql_keyword_token27] = aux_sym_non_from_sql_keyword_token27,
  [aux_sym_non_from_sql_keyword_token28] = aux_sym_non_from_sql_keyword_token28,
  [aux_sym_non_from_sql_keyword_token29] = aux_sym_non_from_sql_keyword_token29,
  [aux_sym_non_from_sql_keyword_token30] = aux_sym_non_from_sql_keyword_token30,
  [aux_sym_non_from_sql_keyword_token31] = aux_sym_non_from_sql_keyword_token31,
  [aux_sym_non_from_sql_keyword_token32] = aux_sym_non_from_sql_keyword_token32,
  [aux_sym_non_from_sql_keyword_token33] = aux_sym_non_from_sql_keyword_token33,
  [aux_sym_non_from_sql_keyword_token34] = aux_sym_non_from_sql_keyword_token34,
  [aux_sym_non_from_sql_keyword_token35] = aux_sym_non_from_sql_keyword_token35,
  [aux_sym_non_from_sql_keyword_token36] = aux_sym_non_from_sql_keyword_token36,
  [aux_sym_non_from_sql_keyword_token37] = aux_sym_non_from_sql_keyword_token37,
  [aux_sym_non_from_sql_keyword_token38] = aux_sym_non_from_sql_keyword_token38,
  [aux_sym_non_from_sql_keyword_token39] = aux_sym_non_from_sql_keyword_token39,
  [aux_sym_non_from_sql_keyword_token40] = aux_sym_non_from_sql_keyword_token40,
  [aux_sym_non_from_sql_keyword_token41] = aux_sym_non_from_sql_keyword_token41,
  [aux_sym_non_from_sql_keyword_token42] = aux_sym_non_from_sql_keyword_token42,
  [aux_sym_non_from_sql_keyword_token43] = aux_sym_non_from_sql_keyword_token43,
  [aux_sym_non_from_sql_keyword_token44] = aux_sym_non_from_sql_keyword_token44,
  [aux_sym_non_from_sql_keyword_token45] = aux_sym_non_from_sql_keyword_token45,
  [aux_sym_non_from_sql_keyword_token46] = aux_sym_non_from_sql_keyword_token46,
  [aux_sym_non_from_sql_keyword_token47] = aux_sym_non_from_sql_keyword_token47,
  [aux_sym_non_from_sql_keyword_token48] = aux_sym_non_from_sql_keyword_token48,
  [aux_sym_non_from_sql_keyword_token49] = aux_sym_non_from_sql_keyword_token49,
  [aux_sym_non_from_sql_keyword_token50] = aux_sym_non_from_sql_keyword_token50,
  [aux_sym_non_from_sql_keyword_token51] = aux_sym_non_from_sql_keyword_token51,
  [aux_sym_non_from_sql_keyword_token52] = aux_sym_non_from_sql_keyword_token52,
  [aux_sym_non_from_sql_keyword_token53] = aux_sym_non_from_sql_keyword_token53,
  [anon_sym_COLON_EQ] = anon_sym_COLON_EQ,
  [anon_sym_EQ_GT] = anon_sym_EQ_GT,
  [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE,
  [anon_sym_LT_EQ] = anon_sym_LT_EQ,
  [anon_sym_GT_EQ] = anon_sym_GT_EQ,
  [anon_sym_BANG_EQ] = anon_sym_BANG_EQ,
  [anon_sym_LT_GT] = anon_sym_LT_GT,
  [sym_namespaced_identifier] = sym_namespaced_identifier,
  [aux_sym_window_partition_clause_token1] = aux_sym_window_partition_clause_token1,
  [aux_sym_from_clause_token1] = aux_sym_from_clause_token1,
  [sym_visualise_keyword] = sym_visualise_keyword,
  [aux_sym_draw_clause_token1] = aux_sym_draw_clause_token1,
  [aux_sym_place_clause_token1] = aux_sym_place_clause_token1,
  [aux_sym_remapping_clause_token1] = aux_sym_remapping_clause_token1,
  [anon_sym_point] = anon_sym_point,
  [anon_sym_line] = anon_sym_line,
  [anon_sym_path] = anon_sym_path,
  [anon_sym_bar] = anon_sym_bar,
  [anon_sym_area] = anon_sym_area,
  [anon_sym_tile] = anon_sym_tile,
  [anon_sym_polygon] = anon_sym_polygon,
  [anon_sym_ribbon] = anon_sym_ribbon,
  [anon_sym_histogram] = anon_sym_histogram,
  [anon_sym_density] = anon_sym_density,
  [anon_sym_smooth] = anon_sym_smooth,
  [anon_sym_boxplot] = anon_sym_boxplot,
  [anon_sym_violin] = anon_sym_violin,
  [anon_sym_text] = anon_sym_text,
  [anon_sym_label] = anon_sym_label,
  [anon_sym_segment] = anon_sym_segment,
  [anon_sym_arrow] = anon_sym_arrow,
  [anon_sym_rule] = anon_sym_rule,
  [anon_sym_range] = anon_sym_range,
  [aux_sym_mapping_clause_token1] = aux_sym_mapping_clause_token1,
  [aux_sym_setting_clause_token1] = aux_sym_setting_clause_token1,
  [aux_sym_filter_clause_token1] = aux_sym_filter_clause_token1,
  [aux_sym_filter_token_token1] = aux_sym_filter_token_token1,
  [aux_sym_filter_token_token2] = aux_sym_filter_token_token2,
  [aux_sym_filter_token_token3] = aux_sym_filter_token_token3,
  [aux_sym_filter_token_token4] = aux_sym_filter_token_token4,
  [aux_sym_filter_token_token5] = aux_sym_filter_token_token5,
  [aux_sym_filter_token_token6] = aux_sym_filter_token_token6,
  [aux_sym_filter_token_token7] = aux_sym_filter_token_token7,
  [aux_sym_filter_token_token8] = aux_sym_filter_token_token8,
  [aux_sym_filter_token_token9] = aux_sym_filter_token_token9,
  [aux_sym_filter_token_token10] = aux_sym_filter_token_token10,
  [aux_sym_filter_token_token11] = aux_sym_filter_token_token11,
  [anon_sym_TILDE_STAR] = anon_sym_TILDE_STAR,
  [anon_sym_BANG_TILDE_STAR] = anon_sym_BANG_TILDE_STAR,
  [anon_sym_BANG_TILDE] = anon_sym_BANG_TILDE,
  [anon_sym_x] = anon_sym_x,
  [anon_sym_y] = anon_sym_y,
  [anon_sym_xmin] = anon_sym_xmin,
  [anon_sym_xmax] = anon_sym_xmax,
  [anon_sym_ymin] = anon_sym_ymin,
  [anon_sym_ymax] = anon_sym_ymax,
  [anon_sym_xend] = anon_sym_xend,
  [anon_sym_yend] = anon_sym_yend,
  [anon_sym_angle] = anon_sym_angle,
  [anon_sym_radius] = anon_sym_radius,
  [anon_sym_anglemin] = anon_sym_anglemin,
  [anon_sym_anglemax] = anon_sym_anglemax,
  [anon_sym_radiusmin] = anon_sym_radiusmin,
  [anon_sym_radiusmax] = anon_sym_radiusmax,
  [anon_sym_angleend] = anon_sym_angleend,
  [anon_sym_radiusend] = anon_sym_radiusend,
  [anon_sym_weight] = anon_sym_weight,
  [anon_sym_color] = anon_sym_color,
  [anon_sym_colour] = anon_sym_colour,
  [anon_sym_fill] = anon_sym_fill,
  [anon_sym_stroke] = anon_sym_stroke,
  [anon_sym_opacity] = anon_sym_opacity,
  [anon_sym_size] = anon_sym_size,
  [anon_sym_shape] = anon_sym_shape,
  [anon_sym_linetype] = anon_sym_linetype,
  [anon_sym_linewidth] = anon_sym_linewidth,
  [anon_sym_width] = anon_sym_width,
  [anon_sym_height] = anon_sym_height,
  [anon_sym_typeface] = anon_sym_typeface,
  [anon_sym_fontweight] = anon_sym_fontweight,
  [anon_sym_italic] = anon_sym_italic,
  [anon_sym_fontsize] = anon_sym_fontsize,
  [anon_sym_hjust] = anon_sym_hjust,
  [anon_sym_vjust] = anon_sym_vjust,
  [anon_sym_rotation] = anon_sym_rotation,
  [anon_sym_slope] = anon_sym_slope,
  [anon_sym_panel] = anon_sym_panel,
  [anon_sym_row] = anon_sym_row,
  [anon_sym_column] = anon_sym_column,
  [anon_sym_offset] = anon_sym_offset,
  [anon_sym_count] = anon_sym_count,
  [anon_sym_intensity] = anon_sym_intensity,
  [aux_sym_scale_clause_token1] = aux_sym_scale_clause_token1,
  [aux_sym_scale_renaming_clause_token1] = aux_sym_scale_renaming_clause_token1,
  [aux_sym_scale_type_identifier_token1] = aux_sym_scale_type_identifier_token1,
  [aux_sym_scale_type_identifier_token2] = aux_sym_scale_type_identifier_token2,
  [aux_sym_scale_type_identifier_token3] = aux_sym_scale_type_identifier_token3,
  [aux_sym_scale_type_identifier_token4] = aux_sym_scale_type_identifier_token4,
  [aux_sym_scale_type_identifier_token5] = aux_sym_scale_type_identifier_token5,
  [aux_sym_scale_to_clause_token1] = aux_sym_scale_to_clause_token1,
  [aux_sym_scale_via_clause_token1] = aux_sym_scale_via_clause_token1,
  [aux_sym_facet_clause_token1] = aux_sym_facet_clause_token1,
  [aux_sym_project_clause_token1] = aux_sym_project_clause_token1,
  [aux_sym_label_clause_token1] = aux_sym_label_clause_token1,
  [sym_quoted_identifier] = sym_quoted_identifier,
  [sym_filter_identifier] = sym_filter_identifier,
  [sym_number] = sym_number,
  [anon_sym_SQUOTE] = anon_sym_SQUOTE,
  [aux_sym_string_token1] = aux_sym_string_token1,
  [aux_sym_string_token2] = aux_sym_string_token2,
  [anon_sym_true] = anon_sym_true,
  [anon_sym_false] = anon_sym_false,
  [anon_sym_LBRACK] = anon_sym_LBRACK,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH,
  [aux_sym_comment_token1] = aux_sym_comment_token1,
  [anon_sym_SLASH_STAR] = anon_sym_SLASH_STAR,
  [aux_sym_comment_token2] = aux_sym_comment_token2,
  [anon_sym_DASH_DASH] = anon_sym_DASH_DASH,
  [sym_query] = sym_query,
  [sym_sql_portion] = sym_sql_portion,
  [sym_sql_statement] = sym_sql_statement,
  [sym_from_statement] = sym_from_statement,
  [sym_select_statement] = sym_select_statement,
  [sym_select_body] = sym_select_body,
  [sym_with_statement] = sym_with_statement,
  [sym_cte_definition] = sym_cte_definition,
  [sym_create_statement] = sym_create_statement,
  [sym_insert_statement] = sym_insert_statement,
  [sym_update_statement] = sym_update_statement,
  [sym_delete_statement] = sym_delete_statement,
  [sym_other_sql_statement] = sym_other_sql_statement,
  [sym_subquery] = sym_subquery,
  [sym_scalar_subquery] = sym_scalar_subquery,
  [sym_subquery_body] = sym_subquery_body,
  [sym_cast_expression] = sym_cast_expression,
  [sym_type_name] = sym_type_name,
  [sym_function_call] = sym_function_call,
  [sym_sql_keyword] = sym_sql_keyword,
  [sym_non_from_sql_keyword] = sym_non_from_sql_keyword,
  [sym_window_function] = sym_window_function,
  [sym_set_quantifier] = sym_set_quantifier,
  [sym_function_args] = sym_function_args,
  [sym_function_arg] = sym_function_arg,
  [sym_named_arg] = sym_named_arg,
  [sym_position_arg] = sym_position_arg,
  [sym_window_specification] = sym_window_specification,
  [sym_window_partition_clause] = sym_window_partition_clause,
  [sym_window_order_clause] = sym_window_order_clause,
  [sym_order_item] = sym_order_item,
  [sym_frame_clause] = sym_frame_clause,
  [sym_frame_bound] = sym_frame_bound,
  [sym_qualified_name] = sym_qualified_name,
  [sym_table_ref] = sym_table_ref,
  [sym_from_clause] = sym_from_clause,
  [sym_visualise_statement] = sym_visualise_statement,
  [sym_mapping_list] = sym_mapping_list,
  [sym_mapping_element] = sym_mapping_element,
  [sym_wildcard_mapping] = sym_wildcard_mapping,
  [sym_explicit_mapping] = sym_explicit_mapping,
  [sym_implicit_mapping] = sym_implicit_mapping,
  [sym_global_mapping] = sym_global_mapping,
  [sym_viz_clause] = sym_viz_clause,
  [sym_draw_clause] = sym_draw_clause,
  [sym_place_clause] = sym_place_clause,
  [sym_remapping_clause] = sym_remapping_clause,
  [sym_geom_type] = sym_geom_type,
  [sym_mapping_clause] = sym_mapping_clause,
  [sym_mapping_value] = sym_mapping_value,
  [sym_setting_clause] = sym_setting_clause,
  [sym_parameter_assignment] = sym_parameter_assignment,
  [sym_parameter_name] = sym_parameter_name,
  [sym_parameter_value] = sym_parameter_value,
  [sym_partition_clause] = sym_partition_clause,
  [sym_partition_columns] = sym_partition_columns,
  [sym_filter_clause] = sym_filter_clause,
  [sym_filter_expression] = sym_filter_expression,
  [sym_filter_token] = sym_filter_token,
  [sym_order_clause] = sym_order_clause,
  [sym_order_expression] = sym_order_expression,
  [sym_order_token] = sym_order_token,
  [sym_aesthetic_name] = sym_aesthetic_name,
  [sym_column_reference] = sym_column_reference,
  [sym_literal_value] = sym_literal_value,
  [sym_scale_clause] = sym_scale_clause,
  [sym_scale_renaming_clause] = sym_scale_renaming_clause,
  [sym_renaming_assignment] = sym_renaming_assignment,
  [sym_scale_type_identifier] = sym_scale_type_identifier,
  [sym_scale_from_clause] = sym_scale_from_clause,
  [sym_scale_to_clause] = sym_scale_to_clause,
  [sym_scale_via_clause] = sym_scale_via_clause,
  [sym_facet_clause] = sym_facet_clause,
  [sym_facet_vars] = sym_facet_vars,
  [sym_project_clause] = sym_project_clause,
  [sym_project_aesthetics] = sym_project_aesthetics,
  [sym_project_type] = sym_project_type,
  [sym_project_properties] = sym_project_properties,
  [sym_project_property] = sym_project_property,
  [sym_project_property_name] = sym_project_property_name,
  [sym_label_clause] = sym_label_clause,
  [sym_label_assignment] = sym_label_assignment,
  [sym_label_type] = sym_label_type,
  [sym_identifier] = sym_identifier,
  [sym_string] = sym_string,
  [sym_boolean] = sym_boolean,
  [sym_array] = sym_array,
  [sym_array_element] = sym_array_element,
  [sym_null_literal] = sym_null_literal,
  [sym_comment] = sym_comment,
  [aux_sym_query_repeat1] = aux_sym_query_repeat1,
  [aux_sym_sql_portion_repeat1] = aux_sym_sql_portion_repeat1,
  [aux_sym_from_statement_repeat1] = aux_sym_from_statement_repeat1,
  [aux_sym_select_body_repeat1] = aux_sym_select_body_repeat1,
  [aux_sym_with_statement_repeat1] = aux_sym_with_statement_repeat1,
  [aux_sym_cte_definition_repeat1] = aux_sym_cte_definition_repeat1,
  [aux_sym_create_statement_repeat1] = aux_sym_create_statement_repeat1,
  [aux_sym_other_sql_statement_repeat1] = aux_sym_other_sql_statement_repeat1,
  [aux_sym_subquery_body_repeat1] = aux_sym_subquery_body_repeat1,
  [aux_sym_function_args_repeat1] = aux_sym_function_args_repeat1,
  [aux_sym_window_order_clause_repeat1] = aux_sym_window_order_clause_repeat1,
  [aux_sym_qualified_name_repeat1] = aux_sym_qualified_name_repeat1,
  [aux_sym_from_clause_repeat1] = aux_sym_from_clause_repeat1,
  [aux_sym_visualise_statement_repeat1] = aux_sym_visualise_statement_repeat1,
  [aux_sym_mapping_list_repeat1] = aux_sym_mapping_list_repeat1,
  [aux_sym_setting_clause_repeat1] = aux_sym_setting_clause_repeat1,
  [aux_sym_filter_expression_repeat1] = aux_sym_filter_expression_repeat1,
  [aux_sym_order_expression_repeat1] = aux_sym_order_expression_repeat1,
  [aux_sym_scale_renaming_clause_repeat1] = aux_sym_scale_renaming_clause_repeat1,
  [aux_sym_project_properties_repeat1] = aux_sym_project_properties_repeat1,
  [aux_sym_label_clause_repeat1] = aux_sym_label_clause_repeat1,
  [aux_sym_string_repeat1] = aux_sym_string_repeat1,
  [aux_sym_array_repeat1] = aux_sym_array_repeat1,
  [alias_sym_facet_by] = alias_sym_facet_by,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [sym_bare_identifier] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COMMA] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PLUS] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PERCENT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_CARET] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_TILDE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_COLON] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_select_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_with_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_with_statement_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_cte_definition_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_create_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_create_statement_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_insert_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_update_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_delete_statement_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_subquery_body_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_cast_expression_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_cast_expression_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token6] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token7] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token8] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token9] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token10] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token11] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token12] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token13] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token14] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token15] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token16] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token17] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token18] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token19] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token20] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token21] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token22] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token23] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token24] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token25] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token26] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token27] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token28] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token29] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token30] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token31] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token32] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token33] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token34] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token35] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token36] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token37] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token38] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token39] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token40] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token41] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token42] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token43] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token44] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token45] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token46] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token47] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token48] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token49] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token50] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token51] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token52] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_non_from_sql_keyword_token53] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_COLON_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_GT] = {
    .visible = true,
    .named = false,
  },
  [sym_namespaced_identifier] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_window_partition_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_from_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_visualise_keyword] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_draw_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_place_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_remapping_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_point] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_line] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_path] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_bar] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_area] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_tile] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_polygon] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ribbon] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_histogram] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_density] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_smooth] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_boxplot] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_violin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_text] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_label] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_segment] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_arrow] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_rule] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_range] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_mapping_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_setting_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token6] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token7] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token8] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token9] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token10] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token11] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_TILDE_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_TILDE_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_TILDE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_x] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_y] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xmin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xmax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ymin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ymax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_yend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_angle] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radius] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_anglemin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_anglemax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_angleend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_weight] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_color] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_colour] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fill] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_stroke] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_opacity] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_size] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_shape] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_linetype] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_linewidth] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_width] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_height] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_typeface] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fontweight] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_italic] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fontsize] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_hjust] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_vjust] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_rotation] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_slope] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_panel] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_row] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_column] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_offset] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_count] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_intensity] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_scale_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_renaming_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_to_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_via_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_facet_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_project_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_label_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_quoted_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_number] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_SQUOTE] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_string_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_true] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_false] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH_SLASH] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_comment_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_SLASH_STAR] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_comment_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_DASH_DASH] = {
    .visible = true,
    .named = false,
  },
  [sym_query] = {
    .visible = true,
    .named = true,
  },
  [sym_sql_portion] = {
    .visible = true,
    .named = true,
  },
  [sym_sql_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_from_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_select_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_select_body] = {
    .visible = true,
    .named = true,
  },
  [sym_with_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_cte_definition] = {
    .visible = true,
    .named = true,
  },
  [sym_create_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_insert_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_update_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_delete_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_other_sql_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_subquery] = {
    .visible = true,
    .named = true,
  },
  [sym_scalar_subquery] = {
    .visible = true,
    .named = true,
  },
  [sym_subquery_body] = {
    .visible = true,
    .named = true,
  },
  [sym_cast_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_type_name] = {
    .visible = true,
    .named = true,
  },
  [sym_function_call] = {
    .visible = true,
    .named = true,
  },
  [sym_sql_keyword] = {
    .visible = true,
    .named = true,
  },
  [sym_non_from_sql_keyword] = {
    .visible = true,
    .named = true,
  },
  [sym_window_function] = {
    .visible = true,
    .named = true,
  },
  [sym_set_quantifier] = {
    .visible = true,
    .named = true,
  },
  [sym_function_args] = {
    .visible = true,
    .named = true,
  },
  [sym_function_arg] = {
    .visible = true,
    .named = true,
  },
  [sym_named_arg] = {
    .visible = true,
    .named = true,
  },
  [sym_position_arg] = {
    .visible = true,
    .named = true,
  },
  [sym_window_specification] = {
    .visible = true,
    .named = true,
  },
  [sym_window_partition_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_window_order_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_order_item] = {
    .visible = true,
    .named = true,
  },
  [sym_frame_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_frame_bound] = {
    .visible = true,
    .named = true,
  },
  [sym_qualified_name] = {
    .visible = true,
    .named = true,
  },
  [sym_table_ref] = {
    .visible = true,
    .named = true,
  },
  [sym_from_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_visualise_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_list] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_element] = {
    .visible = true,
    .named = true,
  },
  [sym_wildcard_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_explicit_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_implicit_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_global_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_viz_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_draw_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_place_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_remapping_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_geom_type] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_value] = {
    .visible = true,
    .named = true,
  },
  [sym_setting_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_name] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_value] = {
    .visible = true,
    .named = true,
  },
  [sym_partition_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_partition_columns] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_token] = {
    .visible = true,
    .named = true,
  },
  [sym_order_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_order_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_order_token] = {
    .visible = true,
    .named = true,
  },
  [sym_aesthetic_name] = {
    .visible = true,
    .named = true,
  },
  [sym_column_reference] = {
    .visible = true,
    .named = true,
  },
  [sym_literal_value] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_renaming_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_renaming_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_type_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_from_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_to_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_via_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_facet_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_facet_vars] = {
    .visible = true,
    .named = true,
  },
  [sym_project_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_project_aesthetics] = {
    .visible = true,
    .named = true,
  },
  [sym_project_type] = {
    .visible = true,
    .named = true,
  },
  [sym_project_properties] = {
    .visible = true,
    .named = true,
  },
  [sym_project_property] = {
    .visible = true,
    .named = true,
  },
  [sym_project_property_name] = {
    .visible = true,
    .named = true,
  },
  [sym_label_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_label_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_label_type] = {
    .visible = true,
    .named = true,
  },
  [sym_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_string] = {
    .visible = true,
    .named = true,
  },
  [sym_boolean] = {
    .visible = true,
    .named = true,
  },
  [sym_array] = {
    .visible = true,
    .named = true,
  },
  [sym_array_element] = {
    .visible = true,
    .named = true,
  },
  [sym_null_literal] = {
    .visible = true,
    .named = true,
  },
  [sym_comment] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_query_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_portion_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_from_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_select_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_with_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_cte_definition_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_create_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_other_sql_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_subquery_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_function_args_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_window_order_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_qualified_name_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_from_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_visualise_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_mapping_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_setting_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_order_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_renaming_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_project_properties_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_label_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_array_repeat1] = {
    .visible = false,
    .named = false,
  },
  [alias_sym_facet_by] = {
    .visible = true,
    .named = true,
  },
};

enum ts_field_identifiers {
  field_alias = 1,
  field_function = 2,
  field_layer_source = 3,
  field_name = 4,
  field_table = 5,
  field_value = 6,
};

static const char * const ts_field_names[] = {
  [0] = NULL,
  [field_alias] = "alias",
  [field_function] = "function",
  [field_layer_source] = "layer_source",
  [field_name] = "name",
  [field_table] = "table",
  [field_value] = "value",
};

static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
  [1] = {.index = 0, .length = 1},
  [2] = {.index = 1, .length = 2},
  [3] = {.index = 3, .length = 1},
  [4] = {.index = 4, .length = 2},
  [5] = {.index = 6, .length = 1},
  [6] = {.index = 7, .length = 2},
  [8] = {.index = 9, .length = 2},
  [9] = {.index = 11, .length = 1},
  [10] = {.index = 12, .length = 1},
  [11] = {.index = 13, .length = 1},
};

static const TSFieldMapEntry ts_field_map_entries[] = {
  [0] =
    {field_table, 0},
  [1] =
    {field_alias, 1},
    {field_table, 0},
  [3] =
    {field_alias, 1},
  [4] =
    {field_alias, 2},
    {field_table, 0},
  [6] =
    {field_alias, 2},
  [7] =
    {field_name, 2},
    {field_value, 0},
  [9] =
    {field_name, 0},
    {field_value, 2},
  [11] =
    {field_function, 0},
  [12] =
    {field_layer_source, 2},
  [13] =
    {field_layer_source, 3},
};

static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [0] = {0},
  [7] = {
    [2] = alias_sym_facet_by,
  },
};

static const uint16_t ts_non_terminal_alias_map[] = {
  0,
};

static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
  [0] = 0,
  [1] = 1,
  [2] = 2,
  [3] = 3,
  [4] = 4,
  [5] = 5,
  [6] = 6,
  [7] = 2,
  [8] = 3,
  [9] = 6,
  [10] = 4,
  [11] = 11,
  [12] = 12,
  [13] = 13,
  [14] = 14,
  [15] = 15,
  [16] = 12,
  [17] = 13,
  [18] = 11,
  [19] = 19,
  [20] = 19,
  [21] = 21,
  [22] = 22,
  [23] = 23,
  [24] = 19,
  [25] = 19,
  [26] = 19,
  [27] = 19,
  [28] = 19,
  [29] = 19,
  [30] = 19,
  [31] = 19,
  [32] = 32,
  [33] = 33,
  [34] = 34,
  [35] = 35,
  [36] = 36,
  [37] = 37,
  [38] = 38,
  [39] = 39,
  [40] = 37,
  [41] = 41,
  [42] = 42,
  [43] = 43,
  [44] = 44,
  [45] = 32,
  [46] = 46,
  [47] = 38,
  [48] = 48,
  [49] = 49,
  [50] = 50,
  [51] = 36,
  [52] = 52,
  [53] = 53,
  [54] = 54,
  [55] = 55,
  [56] = 56,
  [57] = 34,
  [58] = 35,
  [59] = 33,
  [60] = 34,
  [61] = 35,
  [62] = 33,
  [63] = 36,
  [64] = 39,
  [65] = 46,
  [66] = 66,
  [67] = 67,
  [68] = 68,
  [69] = 39,
  [70] = 70,
  [71] = 71,
  [72] = 72,
  [73] = 73,
  [74] = 74,
  [75] = 75,
  [76] = 76,
  [77] = 77,
  [78] = 78,
  [79] = 79,
  [80] = 37,
  [81] = 42,
  [82] = 41,
  [83] = 83,
  [84] = 44,
  [85] = 41,
  [86] = 44,
  [87] = 42,
  [88] = 43,
  [89] = 32,
  [90] = 38,
  [91] = 46,
  [92] = 37,
  [93] = 32,
  [94] = 46,
  [95] = 38,
  [96] = 43,
  [97] = 49,
  [98] = 71,
  [99] = 72,
  [100] = 73,
  [101] = 74,
  [102] = 75,
  [103] = 77,
  [104] = 78,
  [105] = 49,
  [106] = 56,
  [107] = 53,
  [108] = 66,
  [109] = 67,
  [110] = 50,
  [111] = 52,
  [112] = 48,
  [113] = 54,
  [114] = 55,
  [115] = 115,
  [116] = 70,
  [117] = 71,
  [118] = 72,
  [119] = 73,
  [120] = 74,
  [121] = 75,
  [122] = 77,
  [123] = 78,
  [124] = 52,
  [125] = 70,
  [126] = 76,
  [127] = 34,
  [128] = 35,
  [129] = 33,
  [130] = 130,
  [131] = 68,
  [132] = 36,
  [133] = 39,
  [134] = 68,
  [135] = 32,
  [136] = 46,
  [137] = 38,
  [138] = 37,
  [139] = 32,
  [140] = 46,
  [141] = 38,
  [142] = 37,
  [143] = 66,
  [144] = 67,
  [145] = 48,
  [146] = 54,
  [147] = 55,
  [148] = 56,
  [149] = 32,
  [150] = 43,
  [151] = 46,
  [152] = 38,
  [153] = 37,
  [154] = 41,
  [155] = 44,
  [156] = 42,
  [157] = 37,
  [158] = 55,
  [159] = 73,
  [160] = 67,
  [161] = 66,
  [162] = 70,
  [163] = 68,
  [164] = 71,
  [165] = 72,
  [166] = 74,
  [167] = 75,
  [168] = 77,
  [169] = 78,
  [170] = 49,
  [171] = 56,
  [172] = 52,
  [173] = 115,
  [174] = 46,
  [175] = 32,
  [176] = 130,
  [177] = 48,
  [178] = 38,
  [179] = 54,
  [180] = 180,
  [181] = 181,
  [182] = 182,
  [183] = 183,
  [184] = 181,
  [185] = 185,
  [186] = 186,
  [187] = 187,
  [188] = 188,
  [189] = 189,
  [190] = 52,
  [191] = 191,
  [192] = 70,
  [193] = 71,
  [194] = 72,
  [195] = 73,
  [196] = 74,
  [197] = 75,
  [198] = 77,
  [199] = 78,
  [200] = 49,
  [201] = 56,
  [202] = 68,
  [203] = 32,
  [204] = 38,
  [205] = 46,
  [206] = 37,
  [207] = 76,
  [208] = 208,
  [209] = 76,
  [210] = 210,
  [211] = 38,
  [212] = 212,
  [213] = 68,
  [214] = 32,
  [215] = 215,
  [216] = 46,
  [217] = 37,
  [218] = 32,
  [219] = 46,
  [220] = 68,
  [221] = 37,
  [222] = 76,
  [223] = 215,
  [224] = 38,
  [225] = 68,
  [226] = 46,
  [227] = 37,
  [228] = 228,
  [229] = 38,
  [230] = 230,
  [231] = 231,
  [232] = 232,
  [233] = 38,
  [234] = 37,
  [235] = 235,
  [236] = 236,
  [237] = 237,
  [238] = 238,
  [239] = 239,
  [240] = 238,
  [241] = 238,
  [242] = 242,
  [243] = 32,
  [244] = 244,
  [245] = 32,
  [246] = 38,
  [247] = 37,
  [248] = 43,
  [249] = 36,
  [250] = 39,
  [251] = 32,
  [252] = 43,
  [253] = 32,
  [254] = 254,
  [255] = 255,
  [256] = 256,
  [257] = 257,
  [258] = 256,
  [259] = 256,
  [260] = 256,
  [261] = 256,
  [262] = 262,
  [263] = 263,
  [264] = 32,
  [265] = 265,
  [266] = 266,
  [267] = 267,
  [268] = 268,
  [269] = 269,
  [270] = 270,
  [271] = 271,
  [272] = 272,
  [273] = 271,
  [274] = 274,
  [275] = 271,
  [276] = 276,
  [277] = 271,
  [278] = 272,
  [279] = 271,
  [280] = 272,
  [281] = 281,
  [282] = 281,
  [283] = 283,
  [284] = 284,
  [285] = 285,
  [286] = 286,
  [287] = 287,
  [288] = 288,
  [289] = 289,
  [290] = 290,
  [291] = 36,
  [292] = 73,
  [293] = 293,
  [294] = 39,
  [295] = 295,
  [296] = 296,
  [297] = 297,
  [298] = 298,
  [299] = 299,
  [300] = 300,
  [301] = 301,
  [302] = 302,
  [303] = 303,
  [304] = 304,
  [305] = 305,
  [306] = 306,
  [307] = 307,
  [308] = 308,
  [309] = 309,
  [310] = 310,
  [311] = 311,
  [312] = 312,
  [313] = 313,
  [314] = 314,
  [315] = 315,
  [316] = 316,
  [317] = 317,
  [318] = 318,
  [319] = 319,
  [320] = 320,
  [321] = 321,
  [322] = 322,
  [323] = 323,
  [324] = 324,
  [325] = 325,
  [326] = 326,
  [327] = 36,
  [328] = 39,
  [329] = 302,
  [330] = 330,
  [331] = 331,
  [332] = 33,
  [333] = 333,
  [334] = 334,
  [335] = 326,
  [336] = 336,
  [337] = 325,
  [338] = 325,
  [339] = 325,
  [340] = 325,
  [341] = 325,
  [342] = 324,
  [343] = 324,
  [344] = 324,
  [345] = 324,
  [346] = 324,
  [347] = 33,
  [348] = 348,
  [349] = 349,
  [350] = 350,
  [351] = 351,
  [352] = 323,
  [353] = 336,
  [354] = 330,
  [355] = 355,
  [356] = 356,
  [357] = 357,
  [358] = 358,
  [359] = 359,
  [360] = 360,
  [361] = 361,
  [362] = 313,
  [363] = 334,
  [364] = 300,
  [365] = 317,
  [366] = 34,
  [367] = 35,
  [368] = 368,
  [369] = 369,
  [370] = 38,
  [371] = 37,
  [372] = 372,
  [373] = 373,
  [374] = 374,
  [375] = 375,
  [376] = 376,
  [377] = 377,
  [378] = 378,
  [379] = 379,
  [380] = 380,
  [381] = 46,
  [382] = 382,
  [383] = 383,
  [384] = 384,
  [385] = 385,
  [386] = 386,
  [387] = 387,
  [388] = 388,
  [389] = 389,
  [390] = 390,
  [391] = 391,
  [392] = 317,
  [393] = 313,
  [394] = 394,
  [395] = 300,
  [396] = 396,
  [397] = 397,
  [398] = 398,
  [399] = 399,
  [400] = 400,
  [401] = 401,
  [402] = 402,
  [403] = 403,
  [404] = 404,
  [405] = 405,
  [406] = 406,
  [407] = 406,
  [408] = 41,
  [409] = 286,
  [410] = 410,
  [411] = 411,
  [412] = 406,
  [413] = 413,
  [414] = 44,
  [415] = 415,
  [416] = 416,
  [417] = 417,
  [418] = 42,
  [419] = 419,
  [420] = 420,
  [421] = 421,
  [422] = 422,
  [423] = 423,
  [424] = 406,
  [425] = 403,
  [426] = 406,
  [427] = 427,
  [428] = 428,
  [429] = 429,
  [430] = 403,
  [431] = 431,
  [432] = 432,
  [433] = 403,
  [434] = 403,
  [435] = 435,
  [436] = 436,
  [437] = 437,
  [438] = 438,
  [439] = 439,
  [440] = 440,
  [441] = 441,
  [442] = 55,
  [443] = 443,
  [444] = 444,
  [445] = 67,
  [446] = 446,
  [447] = 447,
  [448] = 448,
  [449] = 449,
  [450] = 450,
  [451] = 451,
  [452] = 452,
  [453] = 453,
  [454] = 454,
  [455] = 48,
  [456] = 54,
  [457] = 66,
  [458] = 458,
  [459] = 459,
  [460] = 460,
  [461] = 461,
  [462] = 462,
  [463] = 427,
  [464] = 464,
  [465] = 411,
  [466] = 422,
  [467] = 467,
  [468] = 468,
  [469] = 469,
  [470] = 435,
  [471] = 471,
  [472] = 472,
  [473] = 459,
  [474] = 474,
  [475] = 475,
  [476] = 476,
  [477] = 477,
  [478] = 478,
  [479] = 459,
  [480] = 480,
  [481] = 459,
  [482] = 482,
  [483] = 483,
  [484] = 484,
  [485] = 459,
  [486] = 486,
  [487] = 487,
  [488] = 488,
  [489] = 489,
  [490] = 490,
  [491] = 491,
  [492] = 492,
  [493] = 493,
  [494] = 494,
  [495] = 495,
  [496] = 496,
  [497] = 497,
  [498] = 498,
  [499] = 499,
  [500] = 498,
  [501] = 501,
  [502] = 498,
  [503] = 503,
  [504] = 498,
  [505] = 498,
  [506] = 506,
  [507] = 507,
  [508] = 508,
  [509] = 509,
  [510] = 510,
  [511] = 511,
  [512] = 512,
  [513] = 513,
  [514] = 514,
  [515] = 512,
  [516] = 516,
  [517] = 517,
  [518] = 518,
  [519] = 519,
  [520] = 520,
  [521] = 521,
  [522] = 522,
  [523] = 523,
  [524] = 524,
  [525] = 525,
  [526] = 526,
  [527] = 527,
  [528] = 528,
  [529] = 529,
  [530] = 530,
  [531] = 531,
  [532] = 532,
  [533] = 533,
  [534] = 534,
  [535] = 535,
  [536] = 536,
  [537] = 537,
  [538] = 538,
  [539] = 539,
  [540] = 521,
  [541] = 520,
  [542] = 539,
  [543] = 543,
  [544] = 544,
  [545] = 537,
  [546] = 546,
  [547] = 547,
  [548] = 539,
  [549] = 521,
  [550] = 550,
  [551] = 537,
  [552] = 546,
  [553] = 539,
  [554] = 521,
  [555] = 555,
  [556] = 537,
  [557] = 546,
  [558] = 539,
  [559] = 521,
  [560] = 546,
  [561] = 546,
  [562] = 539,
  [563] = 521,
  [564] = 539,
  [565] = 521,
  [566] = 539,
  [567] = 521,
  [568] = 539,
  [569] = 521,
  [570] = 539,
  [571] = 521,
  [572] = 539,
  [573] = 521,
  [574] = 539,
  [575] = 521,
  [576] = 539,
  [577] = 521,
  [578] = 539,
  [579] = 521,
  [580] = 539,
  [581] = 521,
  [582] = 582,
  [583] = 583,
  [584] = 533,
  [585] = 585,
  [586] = 309,
  [587] = 587,
  [588] = 533,
  [589] = 533,
  [590] = 590,
  [591] = 533,
  [592] = 533,
  [593] = 593,
  [594] = 594,
  [595] = 595,
  [596] = 537,
  [597] = 597,
  [598] = 598,
  [599] = 599,
  [600] = 598,
  [601] = 601,
  [602] = 602,
  [603] = 603,
  [604] = 601,
  [605] = 599,
  [606] = 598,
  [607] = 601,
  [608] = 608,
  [609] = 609,
  [610] = 599,
  [611] = 598,
  [612] = 601,
  [613] = 613,
  [614] = 614,
  [615] = 615,
  [616] = 616,
  [617] = 617,
  [618] = 618,
  [619] = 619,
  [620] = 601,
  [621] = 601,
  [622] = 622,
  [623] = 599,
  [624] = 624,
  [625] = 625,
  [626] = 626,
  [627] = 598,
  [628] = 628,
  [629] = 629,
  [630] = 630,
  [631] = 631,
  [632] = 599,
  [633] = 619,
  [634] = 634,
  [635] = 635,
  [636] = 601,
  [637] = 637,
  [638] = 638,
  [639] = 639,
  [640] = 640,
  [641] = 641,
  [642] = 641,
  [643] = 638,
  [644] = 644,
  [645] = 645,
  [646] = 640,
  [647] = 638,
  [648] = 638,
  [649] = 641,
  [650] = 638,
  [651] = 640,
  [652] = 640,
  [653] = 641,
  [654] = 654,
  [655] = 655,
  [656] = 640,
  [657] = 657,
  [658] = 658,
  [659] = 659,
  [660] = 660,
  [661] = 641,
  [662] = 662,
  [663] = 663,
  [664] = 664,
  [665] = 665,
  [666] = 662,
  [667] = 667,
  [668] = 668,
  [669] = 669,
  [670] = 670,
  [671] = 671,
  [672] = 670,
  [673] = 673,
  [674] = 674,
  [675] = 675,
  [676] = 676,
  [677] = 677,
  [678] = 673,
  [679] = 663,
  [680] = 680,
  [681] = 681,
  [682] = 682,
  [683] = 663,
  [684] = 663,
  [685] = 685,
  [686] = 662,
  [687] = 667,
  [688] = 688,
  [689] = 670,
  [690] = 690,
  [691] = 673,
  [692] = 692,
  [693] = 670,
  [694] = 694,
  [695] = 673,
  [696] = 696,
  [697] = 670,
  [698] = 698,
  [699] = 667,
  [700] = 670,
  [701] = 677,
  [702] = 702,
  [703] = 670,
  [704] = 677,
  [705] = 705,
  [706] = 670,
  [707] = 707,
  [708] = 708,
  [709] = 667,
  [710] = 710,
  [711] = 670,
  [712] = 670,
  [713] = 713,
  [714] = 714,
  [715] = 715,
  [716] = 716,
  [717] = 675,
  [718] = 663,
  [719] = 675,
  [720] = 720,
  [721] = 721,
  [722] = 722,
  [723] = 723,
  [724] = 670,
  [725] = 725,
  [726] = 726,
  [727] = 727,
  [728] = 728,
  [729] = 667,
  [730] = 730,
  [731] = 677,
  [732] = 675,
  [733] = 675,
  [734] = 734,
  [735] = 673,
  [736] = 670,
  [737] = 721,
  [738] = 673,
  [739] = 739,
  [740] = 740,
  [741] = 741,
  [742] = 662,
  [743] = 677,
  [744] = 744,
  [745] = 662,
  [746] = 721,
  [747] = 692,
  [748] = 692,
  [749] = 692,
  [750] = 692,
  [751] = 692,
  [752] = 670,
  [753] = 753,
  [754] = 754,
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 34,
        ';', 118,
        '<', 132,
        '=', 128,
        '>', 136,
        '[', 593,
        '\\', 88,
        ']', 594,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 151,
        'A', 433,
        'a', 433,
        'B', 392,
        'b', 392,
        'C', 363,
        'c', 363,
        'D', 461,
        'd', 461,
        'E', 441,
        'e', 441,
        'F', 364,
        'f', 364,
        'I', 440,
        'i', 440,
        'L', 365,
        'l', 365,
        'N', 457,
        'n', 457,
        'O', 416,
        'o', 416,
        'P', 370,
        'p', 370,
        'R', 367,
        'r', 367,
        'S', 381,
        's', 381,
        'T', 420,
        't', 420,
        'V', 425,
        'v', 425,
        'W', 421,
        'w', 421,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('G' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 435,
        'a', 435,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'F', 462,
        'f', 462,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 2:
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 435,
        'a', 435,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 434,
        'a', 434,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'F', 462,
        'f', 462,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 4:
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 434,
        'a', 434,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 5:
      ADVANCE_MAP(
        '!', 37,
        '%', 146,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 132,
        '=', 127,
        '>', 136,
        '|', 42,
        '~', 151,
        'A', 544,
        'a', 544,
        'B', 515,
        'b', 515,
        'C', 498,
        'c', 498,
        'E', 549,
        'e', 549,
        'F', 506,
        'f', 506,
        'I', 548,
        'i', 548,
        'L', 534,
        'l', 534,
        'N', 559,
        'n', 559,
        'O', 563,
        'o', 563,
        'T', 532,
        't', 532,
        'W', 533,
        'w', 533,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('d' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 6:
      ADVANCE_MAP(
        '!', 36,
        '"', 89,
        '%', 146,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 34,
        '<', 132,
        '=', 128,
        '>', 136,
        '[', 593,
        '`', 90,
        '|', 42,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(6);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 7:
      ADVANCE_MAP(
        '!', 141,
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 122,
        ',', 119,
        '-', 236,
        '.', 126,
        '/', 235,
        ':', 238,
        '<', 134,
        '=', 130,
        '>', 138,
        '`', 239,
        'A', 262,
        'a', 262,
        'B', 247,
        'b', 247,
        'C', 240,
        'c', 240,
        'E', 282,
        'e', 282,
        'F', 270,
        'f', 270,
        'I', 265,
        'i', 265,
        'L', 257,
        'l', 257,
        'N', 268,
        'n', 268,
        'O', 253,
        'o', 253,
        'R', 241,
        'r', 241,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(7);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(285);
      END_STATE();
    case 8:
      ADVANCE_MAP(
        '!', 141,
        '"', 89,
        '\'', 587,
        '(', 162,
        '*', 122,
        ',', 119,
        '-', 236,
        '.', 126,
        '/', 235,
        ':', 238,
        '<', 134,
        '=', 130,
        '>', 138,
        '`', 239,
        'A', 262,
        'a', 262,
        'B', 247,
        'b', 247,
        'C', 240,
        'c', 240,
        'E', 282,
        'e', 282,
        'F', 270,
        'f', 270,
        'I', 265,
        'i', 265,
        'L', 257,
        'l', 257,
        'N', 268,
        'n', 268,
        'O', 253,
        'o', 253,
        'R', 241,
        'r', 241,
        'S', 250,
        's', 250,
        'W', 258,
        'w', 258,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(8);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\'' || '*' < lookahead) &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(285);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '[', 593,
        ']', 594,
        '`', 90,
        'N', 489,
        'n', 489,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(9);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 10:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '`', 90,
        'A', 436,
        'a', 436,
        'C', 379,
        'c', 379,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(10);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 11:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '`', 90,
        'C', 379,
        'c', 379,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(11);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 12:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        '=', 129,
        '`', 172,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'E', 231,
        'e', 231,
        'F', 215,
        'f', 215,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 13:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        ',', 119,
        '-', 31,
        '.', 124,
        '/', 25,
        '[', 593,
        '`', 90,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(13);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 14:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '`', 90,
        'C', 379,
        'c', 379,
        'S', 407,
        's', 407,
        'W', 424,
        'w', 424,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(14);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 15:
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '`', 90,
        'F', 466,
        'f', 466,
        'N', 489,
        'n', 489,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(15);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 16:
      if (lookahead == '"') ADVANCE(497);
      if (lookahead == ':') ADVANCE(17);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(16);
      if (lookahead != 0) ADVANCE(18);
      END_STATE();
    case 17:
      if (lookahead == '"') ADVANCE(497);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(20);
      if (lookahead != 0) ADVANCE(18);
      END_STATE();
    case 18:
      if (lookahead == '"') ADVANCE(497);
      if (lookahead != 0) ADVANCE(18);
      END_STATE();
    case 19:
      if (lookahead == '"') ADVANCE(85);
      if (lookahead == '\'') ADVANCE(587);
      if (lookahead == '(') ADVANCE(162);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '`') ADVANCE(86);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(19);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(362);
      END_STATE();
    case 20:
      if (lookahead == '"') ADVANCE(319);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(20);
      if (lookahead != 0) ADVANCE(18);
      END_STATE();
    case 21:
      if (lookahead == '\'') ADVANCE(587);
      if (lookahead == '-') ADVANCE(590);
      if (lookahead == '/') ADVANCE(589);
      if (lookahead == '\\') ADVANCE(88);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(591);
      if (lookahead != 0) ADVANCE(588);
      END_STATE();
    case 22:
      ADVANCE_MAP(
        ')', 163,
        ',', 119,
        '-', 30,
        '/', 25,
        'O', 464,
        'o', 464,
        'R', 368,
        'r', 368,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(22);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 23:
      if (lookahead == ')') ADVANCE(163);
      if (lookahead == ',') ADVANCE(119);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(368);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(23);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        ')', 163,
        '-', 30,
        '/', 25,
        'O', 464,
        'o', 464,
        'P', 371,
        'p', 371,
        'R', 368,
        'r', 368,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(24);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 25:
      if (lookahead == '*') ADVANCE(604);
      if (lookahead == '/') ADVANCE(595);
      END_STATE();
    case 26:
      if (lookahead == '*') ADVANCE(609);
      if (lookahead == '-') ADVANCE(27);
      if (lookahead == '/') ADVANCE(29);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(26);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 27:
      if (lookahead == '*') ADVANCE(609);
      if (lookahead == '-') ADVANCE(611);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 28:
      if (lookahead == '*') ADVANCE(609);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 29:
      if (lookahead == '*') ADVANCE(605);
      if (lookahead == '/') ADVANCE(596);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 30:
      if (lookahead == '-') ADVANCE(610);
      END_STATE();
    case 31:
      if (lookahead == '-') ADVANCE(610);
      if (lookahead == '.') ADVANCE(84);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      END_STATE();
    case 32:
      if (lookahead == '-') ADVANCE(31);
      if (lookahead == '.') ADVANCE(84);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(392);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(32);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 33:
      if (lookahead == ':') ADVANCE(152);
      END_STATE();
    case 34:
      if (lookahead == ':') ADVANCE(152);
      if (lookahead == '=') ADVANCE(312);
      END_STATE();
    case 35:
      if (lookahead == ':') ADVANCE(39);
      if (lookahead == '`') ADVANCE(497);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(35);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 36:
      if (lookahead == '=') ADVANCE(317);
      END_STATE();
    case 37:
      if (lookahead == '=') ADVANCE(317);
      if (lookahead == '~') ADVANCE(353);
      END_STATE();
    case 38:
      if (lookahead == '>') ADVANCE(313);
      END_STATE();
    case 39:
      if (lookahead == '`') ADVANCE(497);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 40:
      if (lookahead == '`') ADVANCE(497);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 41:
      if (lookahead == '`') ADVANCE(319);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 42:
      if (lookahead == '|') ADVANCE(314);
      END_STATE();
    case 43:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(50);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(72);
      END_STATE();
    case 44:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(49);
      END_STATE();
    case 45:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(82);
      END_STATE();
    case 46:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(66);
      END_STATE();
    case 47:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(54);
      END_STATE();
    case 48:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(69);
      END_STATE();
    case 49:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(60);
      END_STATE();
    case 50:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(58);
      END_STATE();
    case 51:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(80);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(79);
      END_STATE();
    case 53:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(48);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(68);
      END_STATE();
    case 54:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(56);
      END_STATE();
    case 55:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(324);
      END_STATE();
    case 56:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(327);
      END_STATE();
    case 57:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(354);
      END_STATE();
    case 58:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(78);
      END_STATE();
    case 59:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(51);
      END_STATE();
    case 60:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(65);
      END_STATE();
    case 61:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(52);
      END_STATE();
    case 62:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(77);
      END_STATE();
    case 63:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(76);
      END_STATE();
    case 64:
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(61);
      END_STATE();
    case 65:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(360);
      END_STATE();
    case 66:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(62);
      END_STATE();
    case 67:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(47);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(73);
      END_STATE();
    case 68:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(59);
      END_STATE();
    case 69:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(57);
      END_STATE();
    case 70:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(323);
      END_STATE();
    case 71:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(83);
      END_STATE();
    case 72:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(70);
      END_STATE();
    case 73:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(64);
      END_STATE();
    case 74:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(45);
      END_STATE();
    case 75:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(164);
      END_STATE();
    case 76:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(81);
      END_STATE();
    case 77:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(55);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(55);
      END_STATE();
    case 78:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(356);
      END_STATE();
    case 79:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(358);
      END_STATE();
    case 80:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(155);
      END_STATE();
    case 81:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 82:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(325);
      END_STATE();
    case 83:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(310);
      END_STATE();
    case 84:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(586);
      END_STATE();
    case 85:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(16);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(18);
      END_STATE();
    case 86:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(35);
      if (lookahead != 0 &&
          (lookahead < '_' || 'z' < lookahead)) ADVANCE(40);
      END_STATE();
    case 87:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(320);
      END_STATE();
    case 88:
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(592);
      END_STATE();
    case 89:
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(18);
      END_STATE();
    case 90:
      if (lookahead != 0 &&
          lookahead != '`') ADVANCE(40);
      END_STATE();
    case 91:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        ';', 118,
        '<', 131,
        '=', 127,
        '>', 135,
        ']', 594,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 435,
        'a', 435,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'F', 462,
        'f', 462,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(91);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 92:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        ';', 118,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 435,
        'a', 435,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(92);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 93:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        ';', 118,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 434,
        'a', 434,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'F', 462,
        'f', 462,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(93);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 94:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 139,
        '"', 89,
        '%', 146,
        '&', 148,
        '\'', 587,
        '(', 162,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        ';', 118,
        '<', 131,
        '=', 127,
        '>', 135,
        '^', 149,
        '`', 90,
        '|', 147,
        '~', 150,
        'A', 434,
        'a', 434,
        'B', 392,
        'b', 392,
        'C', 379,
        'c', 379,
        'E', 495,
        'e', 495,
        'I', 449,
        'i', 449,
        'L', 422,
        'l', 422,
        'N', 458,
        'n', 458,
        'O', 416,
        'o', 416,
        'R', 367,
        'r', 367,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(94);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 95:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 140,
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        ':', 171,
        ';', 118,
        '<', 133,
        '=', 129,
        '>', 137,
        '`', 172,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'C', 176,
        'c', 176,
        'E', 231,
        'e', 231,
        'F', 215,
        'f', 215,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
        'S', 187,
        's', 187,
        'V', 196,
        'v', 196,
        'W', 199,
        'w', 199,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(95);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0) ADVANCE(234);
      END_STATE();
    case 96:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 37,
        '%', 146,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 144,
        '.', 124,
        '/', 145,
        ':', 33,
        '<', 132,
        '=', 127,
        '>', 136,
        '|', 42,
        '~', 151,
        'A', 544,
        'a', 544,
        'B', 515,
        'b', 515,
        'C', 498,
        'c', 498,
        'D', 564,
        'd', 564,
        'E', 549,
        'e', 549,
        'F', 499,
        'f', 499,
        'I', 548,
        'i', 548,
        'L', 500,
        'l', 500,
        'N', 559,
        'n', 559,
        'O', 561,
        'o', 561,
        'P', 503,
        'p', 503,
        'S', 508,
        's', 508,
        'T', 532,
        't', 532,
        'V', 537,
        'v', 537,
        'W', 533,
        'w', 533,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(96);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 97:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 36,
        '"', 89,
        '%', 146,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 33,
        '<', 132,
        '=', 127,
        '>', 136,
        '`', 90,
        '|', 42,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'P', 442,
        'p', 442,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(97);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 98:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 36,
        '%', 146,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 34,
        '<', 132,
        '=', 128,
        '>', 136,
        '|', 42,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 373,
        'f', 373,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'R', 368,
        'r', 368,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(98);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 99:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 36,
        '%', 146,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 33,
        ';', 118,
        '<', 132,
        '=', 127,
        '>', 136,
        '|', 42,
        'A', 75,
        'a', 75,
        'D', 74,
        'd', 74,
        'F', 43,
        'f', 43,
        'L', 44,
        'l', 44,
        'P', 67,
        'p', 67,
        'R', 71,
        'r', 71,
        'S', 53,
        's', 53,
        'V', 63,
        'v', 63,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(99);
      END_STATE();
    case 100:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 36,
        '%', 146,
        '(', 162,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 33,
        '<', 132,
        '=', 127,
        '>', 136,
        '|', 42,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 374,
        'f', 374,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(100);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 101:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '!', 36,
        '%', 146,
        ')', 163,
        '*', 120,
        '+', 142,
        ',', 119,
        '-', 143,
        '.', 123,
        '/', 145,
        ':', 33,
        '<', 132,
        '=', 127,
        '>', 136,
        ']', 594,
        '|', 42,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(101);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 102:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        ';', 118,
        '=', 129,
        '`', 172,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'E', 231,
        'e', 231,
        'F', 215,
        'f', 215,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
        'S', 187,
        's', 187,
        'V', 196,
        'v', 196,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(102);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0) ADVANCE(234);
      END_STATE();
    case 103:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        ';', 118,
        '=', 129,
        '`', 172,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'E', 231,
        'e', 231,
        'F', 215,
        'f', 215,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
        'V', 196,
        'v', 196,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(103);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0) ADVANCE(234);
      END_STATE();
    case 104:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '"', 89,
        '\'', 587,
        '*', 120,
        '-', 31,
        '.', 84,
        '/', 25,
        '`', 90,
        'D', 461,
        'd', 461,
        'F', 373,
        'f', 373,
        'L', 366,
        'l', 366,
        'N', 489,
        'n', 489,
        'P', 442,
        'p', 442,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(104);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 105:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '"', 89,
        '(', 162,
        ')', 163,
        ',', 119,
        '-', 31,
        '.', 124,
        '/', 25,
        '`', 90,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'P', 442,
        'p', 442,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(105);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 106:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '"', 89,
        ',', 119,
        '-', 30,
        '/', 25,
        '=', 38,
        '`', 90,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'P', 442,
        'p', 442,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(106);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 107:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        ';', 118,
        '=', 129,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'C', 214,
        'c', 214,
        'E', 231,
        'e', 231,
        'F', 213,
        'f', 213,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
        'S', 187,
        's', 187,
        'V', 196,
        'v', 196,
        'W', 199,
        'w', 199,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(107);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('d' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(234);
      END_STATE();
    case 108:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '\'', 587,
        '(', 162,
        ')', 163,
        '*', 121,
        ',', 119,
        '-', 169,
        '.', 125,
        '/', 168,
        ';', 118,
        '=', 129,
        'A', 202,
        'a', 202,
        'B', 183,
        'b', 183,
        'E', 231,
        'e', 231,
        'I', 207,
        'i', 207,
        'L', 195,
        'l', 195,
        'N', 210,
        'n', 210,
        'O', 191,
        'o', 191,
        'R', 173,
        'r', 173,
        'V', 196,
        'v', 196,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(108);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('c' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(234);
      END_STATE();
    case 109:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ')', 163,
        ',', 119,
        '-', 30,
        '/', 25,
        '=', 38,
        ']', 594,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(109);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 110:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ')', 163,
        ',', 119,
        '-', 30,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 442,
        'p', 442,
        'R', 368,
        'r', 368,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(110);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 111:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ')', 163,
        ',', 119,
        '-', 30,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 374,
        'f', 374,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'R', 368,
        'r', 368,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(111);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 112:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ',', 119,
        '-', 30,
        '.', 123,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 375,
        'f', 375,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(112);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 113:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ',', 119,
        '-', 30,
        '/', 25,
        'A', 467,
        'a', 467,
        'D', 461,
        'd', 461,
        'F', 373,
        'f', 373,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(113);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 114:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ',', 119,
        '-', 30,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 373,
        'f', 373,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(114);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 115:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        ',', 119,
        '-', 30,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 374,
        'f', 374,
        'L', 366,
        'l', 366,
        'O', 464,
        'o', 464,
        'P', 370,
        'p', 370,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(115);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 116:
      if (eof) ADVANCE(117);
      ADVANCE_MAP(
        '-', 30,
        '/', 25,
        'D', 461,
        'd', 461,
        'F', 374,
        'f', 374,
        'L', 366,
        'l', 366,
        'P', 442,
        'p', 442,
        'S', 382,
        's', 382,
        'V', 425,
        'v', 425,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(116);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 117:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 118:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 119:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 120:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 121:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 122:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 123:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 124:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(586);
      END_STATE();
    case 125:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(232);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 126:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(283);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 127:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 128:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '>') ADVANCE(313);
      END_STATE();
    case 129:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 130:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 131:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 132:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(315);
      if (lookahead == '>') ADVANCE(318);
      END_STATE();
    case 133:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 134:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 135:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 136:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(316);
      END_STATE();
    case 137:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 138:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 139:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 140:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 141:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 142:
      ACCEPT_TOKEN(anon_sym_PLUS);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(610);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(610);
      if (lookahead == '.') ADVANCE(84);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      END_STATE();
    case 145:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '*') ADVANCE(604);
      if (lookahead == '/') ADVANCE(595);
      END_STATE();
    case 146:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_CARET);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_TILDE);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_TILDE);
      if (lookahead == '*') ADVANCE(351);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 160:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 162:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 163:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 166:
      ACCEPT_TOKEN(aux_sym_create_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(aux_sym_create_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '*') ADVANCE(606);
      if (lookahead == '/') ADVANCE(597);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '-') ADVANCE(612);
      if (lookahead == '.') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '.') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(170);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == ':') ADVANCE(153);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 172:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '`') ADVANCE(234);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(172);
      END_STATE();
    case 173:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(208);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(203);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(227);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 176:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(218);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(224);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(189);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(324);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(207);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(225);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(175);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(177);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(167);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(204);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(212);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(181);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(192);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(179);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(221);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(182);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(160);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(200);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(220);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(219);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(223);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(182);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(201);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(178);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(197);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(185);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(323);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(193);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(205);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(206);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 213:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(209);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(184);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(211);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(226);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(180);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(180);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(188);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(194);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(157);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(230);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(216);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(186);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(174);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 229:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(190);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(198);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(232);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(233);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '*') ADVANCE(607);
      if (lookahead == '/') ADVANCE(598);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '-') ADVANCE(613);
      if (lookahead == '.') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '.') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == ':') ADVANCE(154);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '`') ADVANCE(285);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(239);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(272);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(266);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(280);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(277);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(249);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(265);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(278);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 248:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(242);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(269);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(263);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(275);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(245);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(254);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(244);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(274);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(246);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 256:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(161);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(260);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(276);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(273);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(246);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(261);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(243);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(248);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 264:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(255);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 267:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(275);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 270:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(267);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 272:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(275);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(279);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(251);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(256);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(158);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(281);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(271);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(252);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 282:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(259);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(283);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 284:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(284);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token12);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token12);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token13);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token13);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(528);
      END_STATE();
    case 293:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token13);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(406);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 294:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token14);
      END_STATE();
    case 295:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token14);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token15);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token16);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token16);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token17);
      END_STATE();
    case 301:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token17);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token18);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token18);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token19);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token19);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token24);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 307:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token26);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token26);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token41);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 310:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token46);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token46);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(anon_sym_COLON_EQ);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(anon_sym_EQ_GT);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(anon_sym_LT_GT);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      END_STATE();
    case 320:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(320);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      END_STATE();
    case 322:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(aux_sym_from_clause_token1);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(sym_visualise_keyword);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 331:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      END_STATE();
    case 334:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 337:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 349:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(anon_sym_TILDE_STAR);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE_STAR);
      END_STATE();
    case 353:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE);
      if (lookahead == '*') ADVANCE(352);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      END_STATE();
    case 357:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(87);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(362);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(468);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(409);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 364:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(386);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 365:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(380);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(431);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(380);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 367:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(450);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(492);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(450);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(385);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(465);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(369);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(456);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(465);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(493);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(387);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 374:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(387);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(459);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 375:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(387);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(488);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(446);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 379:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(474);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(411);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(378);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(445);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(378);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 383:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(482);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 384:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(483);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(399);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(412);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(473);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 387:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(412);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(290);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(336);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(290);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(346);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 391:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(406);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(484);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 393:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(338);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(287);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 394:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(344);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(303);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 396:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(348);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(350);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 398:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(334);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(328);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 400:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(309);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(355);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(166);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(324);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(451);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(383);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 406:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(463);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(445);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 408:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(452);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(376);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 410:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(453);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 412:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(480);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 413:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(481);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 414:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(410);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 415:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(384);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(417);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(293);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(476);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(400);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(159);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(404);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(491);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(408);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(478);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(431);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 423:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(475);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 424:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(478);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 425:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(470);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(460);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(472);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 428:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(486);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 429:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(432);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(415);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 431:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(395);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 432:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(398);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 433:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(437);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(388);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(165);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 434:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(437);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(389);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(165);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 435:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(437);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(389);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 436:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(437);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 437:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(308);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 438:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(332);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 439:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(361);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 440:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(429);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(297);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(330);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 441:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(471);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(390);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(427);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(369);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(456);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 443:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(438);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 444:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(423);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(405);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 446:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(401);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 447:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(323);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 448:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(288);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 449:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(297);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 450:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(418);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 451:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(342);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 452:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(340);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 453:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 454:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(322);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 455:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(447);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 456:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(430);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 457:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(477);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(443);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 458:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(477);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 459:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(448);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 460:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(454);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 461:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(372);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 462:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 463:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(305);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 464:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(391);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 465:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(485);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 466:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(459);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 467:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(165);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 468:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(393);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 469:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(299);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 470:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(490);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 471:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(394);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 472:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(487);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 473:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(397);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 474:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(479);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 475:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(403);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(403);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(496);
      END_STATE();
    case 476:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(413);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 477:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(295);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 478:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(419);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 479:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(287);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 480:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(357);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 481:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(306);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 482:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(156);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 483:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(359);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 484:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(494);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 485:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(428);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 486:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(426);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 487:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(469);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 488:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(402);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 489:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(443);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 490:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(377);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 491:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(396);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 492:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(311);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 493:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(326);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 494:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(414);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 495:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(427);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 496:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(496);
      END_STATE();
    case 497:
      ACCEPT_TOKEN(sym_quoted_identifier);
      END_STATE();
    case 498:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(566);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 499:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(511);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 500:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(507);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(542);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 501:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(510);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 502:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(582);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 503:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(565);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(501);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(558);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 504:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(552);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 505:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(551);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 506:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(553);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 507:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 508:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(504);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 509:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(576);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 510:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(523);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 511:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(530);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(571);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 512:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(289);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(335);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 513:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(345);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 514:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(324);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 515:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(573);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 516:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(554);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 517:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(337);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(286);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 518:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(343);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 519:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(302);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 520:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(347);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 521:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(349);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 522:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(333);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 523:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(327);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 524:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(354);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 525:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(555);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 526:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 527:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(556);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 528:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(562);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 529:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(547);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 530:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(575);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 531:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(527);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 532:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(516);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(581);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 533:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(525);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 534:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(542);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 535:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(572);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 536:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(560);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 537:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(568);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 538:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(570);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 539:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(578);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 540:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(543);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 541:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 542:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(519);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 543:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(522);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 544:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(545);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(512);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(164);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 545:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(307);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 546:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(331);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 547:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(360);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 548:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(540);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(296);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(329);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 549:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(569);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(513);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(538);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 550:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(546);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 551:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(535);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 552:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(524);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 553:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(571);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 554:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(341);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 555:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(339);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 556:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(300);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 557:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(321);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 558:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(541);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 559:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(574);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(550);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 560:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(557);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 561:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(292);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 562:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(304);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 563:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 564:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(502);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 565:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(577);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 566:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(517);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 567:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 568:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(580);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 569:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(518);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 570:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(579);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 571:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(521);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 572:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(514);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(514);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(584);
      END_STATE();
    case 573:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(583);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 574:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(294);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 575:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(356);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 576:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(358);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 577:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(539);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 578:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(536);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 579:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(567);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 580:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(505);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 581:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(520);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 582:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(325);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 583:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(531);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 584:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(584);
      END_STATE();
    case 585:
      ACCEPT_TOKEN(sym_number);
      if (lookahead == '.') ADVANCE(586);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(585);
      END_STATE();
    case 586:
      ACCEPT_TOKEN(sym_number);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(586);
      END_STATE();
    case 587:
      ACCEPT_TOKEN(anon_sym_SQUOTE);
      END_STATE();
    case 588:
      ACCEPT_TOKEN(aux_sym_string_token1);
      END_STATE();
    case 589:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '*') ADVANCE(604);
      if (lookahead == '/') ADVANCE(595);
      END_STATE();
    case 590:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(610);
      END_STATE();
    case 591:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(590);
      if (lookahead == '/') ADVANCE(589);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(591);
      if (lookahead != 0 &&
          lookahead != '\'' &&
          lookahead != '\\') ADVANCE(588);
      END_STATE();
    case 592:
      ACCEPT_TOKEN(aux_sym_string_token2);
      END_STATE();
    case 593:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 594:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 595:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      END_STATE();
    case 596:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead == '*') ADVANCE(609);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 597:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 598:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 599:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    case 600:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '*') ADVANCE(608);
      if (lookahead == '/') ADVANCE(599);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    case 601:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(602);
      if (lookahead == '/') ADVANCE(600);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(601);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(603);
      END_STATE();
    case 602:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(614);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    case 603:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    case 604:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      END_STATE();
    case 605:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead == '*') ADVANCE(609);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 606:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 607:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 608:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    case 609:
      ACCEPT_TOKEN(aux_sym_comment_token2);
      if (lookahead == '*') ADVANCE(609);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 610:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      END_STATE();
    case 611:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead == '*') ADVANCE(609);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 612:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(234);
      END_STATE();
    case 613:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(285);
      END_STATE();
    case 614:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(603);
      END_STATE();
    default:
      return false;
  }
}

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      ADVANCE_MAP(
        'A', 1,
        'B', 2,
        'C', 3,
        'D', 4,
        'F', 5,
        'H', 6,
        'I', 7,
        'L', 8,
        'O', 9,
        'P', 10,
        'R', 11,
        'S', 12,
        'T', 13,
        'V', 14,
        'W', 15,
        'a', 16,
        'b', 17,
        'c', 18,
        'd', 19,
        'f', 20,
        'h', 21,
        'i', 22,
        'l', 23,
        'o', 24,
        'p', 25,
        'r', 26,
        's', 27,
        't', 28,
        'v', 29,
        'w', 30,
        'x', 31,
        'y', 32,
        'E', 33,
        'e', 33,
        'G', 34,
        'g', 34,
        'J', 35,
        'j', 35,
        'M', 36,
        'm', 36,
        'N', 37,
        'n', 37,
        'Q', 38,
        'q', 38,
        'U', 39,
        'u', 39,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      END_STATE();
    case 1:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(40);
      END_STATE();
    case 2:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(41);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(42);
      END_STATE();
    case 3:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(43);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(44);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(45);
      END_STATE();
    case 4:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(46);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(47);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(48);
      END_STATE();
    case 5:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(49);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(50);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(51);
      END_STATE();
    case 6:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(52);
      END_STATE();
    case 7:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(53);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(54);
      END_STATE();
    case 8:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(55);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(56);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(57);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        'N', 58,
        'n', 58,
        'R', 59,
        'r', 59,
        'U', 60,
        'u', 60,
        'V', 61,
        'v', 61,
      );
      END_STATE();
    case 10:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(62);
      END_STATE();
    case 11:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(63);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(64);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(65);
      END_STATE();
    case 12:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(66);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(67);
      END_STATE();
    case 13:
      ADVANCE_MAP(
        'A', 68,
        'a', 68,
        'E', 69,
        'e', 69,
        'O', 70,
        'o', 70,
        'R', 71,
        'r', 71,
      );
      END_STATE();
    case 14:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(72);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(73);
      END_STATE();
    case 15:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(74);
      END_STATE();
    case 16:
      if (lookahead == 'n') ADVANCE(75);
      if (lookahead == 'r') ADVANCE(76);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(40);
      END_STATE();
    case 17:
      if (lookahead == 'a') ADVANCE(77);
      if (lookahead == 'o') ADVANCE(78);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(41);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(42);
      END_STATE();
    case 18:
      if (lookahead == 'O') ADVANCE(43);
      if (lookahead == 'o') ADVANCE(79);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(44);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(45);
      END_STATE();
    case 19:
      if (lookahead == 'E') ADVANCE(47);
      if (lookahead == 'e') ADVANCE(80);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(46);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(48);
      END_STATE();
    case 20:
      if (lookahead == 'I') ADVANCE(49);
      if (lookahead == 'O') ADVANCE(50);
      if (lookahead == 'a') ADVANCE(81);
      if (lookahead == 'i') ADVANCE(82);
      if (lookahead == 'o') ADVANCE(83);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(51);
      END_STATE();
    case 21:
      if (lookahead == 'e') ADVANCE(84);
      if (lookahead == 'i') ADVANCE(85);
      if (lookahead == 'j') ADVANCE(86);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(52);
      END_STATE();
    case 22:
      if (lookahead == 'N') ADVANCE(54);
      if (lookahead == 'n') ADVANCE(87);
      if (lookahead == 't') ADVANCE(88);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(53);
      END_STATE();
    case 23:
      if (lookahead == 'A') ADVANCE(55);
      if (lookahead == 'I') ADVANCE(57);
      if (lookahead == 'a') ADVANCE(89);
      if (lookahead == 'i') ADVANCE(90);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(56);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        'f', 91,
        'p', 92,
        'N', 58,
        'n', 58,
        'R', 59,
        'r', 59,
        'U', 60,
        'u', 60,
        'V', 61,
        'v', 61,
      );
      END_STATE();
    case 25:
      if (lookahead == 'a') ADVANCE(93);
      if (lookahead == 'o') ADVANCE(94);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(62);
      END_STATE();
    case 26:
      ADVANCE_MAP(
        'I', 64,
        'O', 65,
        'a', 95,
        'i', 96,
        'o', 97,
        'u', 98,
        'E', 63,
        'e', 63,
      );
      END_STATE();
    case 27:
      ADVANCE_MAP(
        'E', 67,
        'e', 99,
        'h', 100,
        'i', 101,
        'l', 102,
        'm', 103,
        't', 104,
        'C', 66,
        'c', 66,
      );
      END_STATE();
    case 28:
      ADVANCE_MAP(
        'E', 69,
        'R', 71,
        'e', 105,
        'i', 106,
        'r', 107,
        'y', 108,
        'A', 68,
        'a', 68,
        'O', 70,
        'o', 70,
      );
      END_STATE();
    case 29:
      if (lookahead == 'I') ADVANCE(73);
      if (lookahead == 'i') ADVANCE(109);
      if (lookahead == 'j') ADVANCE(110);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(72);
      END_STATE();
    case 30:
      if (lookahead == 'e') ADVANCE(111);
      if (lookahead == 'i') ADVANCE(112);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(74);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_x);
      if (lookahead == 'e') ADVANCE(113);
      if (lookahead == 'm') ADVANCE(114);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_y);
      if (lookahead == 'e') ADVANCE(115);
      if (lookahead == 'm') ADVANCE(116);
      END_STATE();
    case 33:
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(117);
      END_STATE();
    case 34:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(118);
      END_STATE();
    case 35:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(119);
      END_STATE();
    case 36:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(120);
      END_STATE();
    case 37:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(121);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(122);
      END_STATE();
    case 38:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(123);
      END_STATE();
    case 39:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(124);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(125);
      END_STATE();
    case 40:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(126);
      END_STATE();
    case 41:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(127);
      END_STATE();
    case 42:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token21);
      END_STATE();
    case 43:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(128);
      END_STATE();
    case 44:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(129);
      END_STATE();
    case 45:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(130);
      END_STATE();
    case 46:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(131);
      END_STATE();
    case 47:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(132);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(133);
      END_STATE();
    case 48:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(134);
      END_STATE();
    case 49:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(135);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(136);
      END_STATE();
    case 50:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(137);
      END_STATE();
    case 51:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(138);
      END_STATE();
    case 52:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(139);
      END_STATE();
    case 53:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(140);
      END_STATE();
    case 54:
      ADVANCE_MAP(
        'D', 141,
        'd', 141,
        'N', 142,
        'n', 142,
        'S', 143,
        's', 143,
        'T', 144,
        't', 144,
      );
      END_STATE();
    case 55:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(145);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(146);
      END_STATE();
    case 56:
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(147);
      END_STATE();
    case 57:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(148);
      END_STATE();
    case 58:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token11);
      END_STATE();
    case 59:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(149);
      END_STATE();
    case 60:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(150);
      END_STATE();
    case 61:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(151);
      END_STATE();
    case 62:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(152);
      END_STATE();
    case 63:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(153);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(154);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(155);
      END_STATE();
    case 64:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(156);
      END_STATE();
    case 65:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(157);
      END_STATE();
    case 66:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(158);
      END_STATE();
    case 67:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(159);
      END_STATE();
    case 68:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(160);
      END_STATE();
    case 69:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(161);
      END_STATE();
    case 70:
      ACCEPT_TOKEN(aux_sym_scale_to_clause_token1);
      END_STATE();
    case 71:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(162);
      END_STATE();
    case 72:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(163);
      END_STATE();
    case 73:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(164);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(165);
      END_STATE();
    case 74:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(166);
      END_STATE();
    case 75:
      if (lookahead == 'g') ADVANCE(167);
      END_STATE();
    case 76:
      if (lookahead == 'e') ADVANCE(168);
      if (lookahead == 'r') ADVANCE(169);
      END_STATE();
    case 77:
      if (lookahead == 'r') ADVANCE(170);
      END_STATE();
    case 78:
      if (lookahead == 'x') ADVANCE(171);
      END_STATE();
    case 79:
      if (lookahead == 'l') ADVANCE(172);
      if (lookahead == 'u') ADVANCE(173);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(128);
      END_STATE();
    case 80:
      if (lookahead == 'n') ADVANCE(174);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(132);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(133);
      END_STATE();
    case 81:
      if (lookahead == 'l') ADVANCE(175);
      END_STATE();
    case 82:
      if (lookahead == 'L') ADVANCE(135);
      if (lookahead == 'l') ADVANCE(176);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(136);
      END_STATE();
    case 83:
      if (lookahead == 'n') ADVANCE(177);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(137);
      END_STATE();
    case 84:
      if (lookahead == 'i') ADVANCE(178);
      END_STATE();
    case 85:
      if (lookahead == 's') ADVANCE(179);
      END_STATE();
    case 86:
      if (lookahead == 'u') ADVANCE(180);
      END_STATE();
    case 87:
      ADVANCE_MAP(
        'T', 144,
        't', 181,
        'D', 141,
        'd', 141,
        'N', 142,
        'n', 142,
        'S', 143,
        's', 143,
      );
      END_STATE();
    case 88:
      if (lookahead == 'a') ADVANCE(182);
      END_STATE();
    case 89:
      if (lookahead == 'b') ADVANCE(183);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(145);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(146);
      END_STATE();
    case 90:
      if (lookahead == 'n') ADVANCE(184);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(148);
      END_STATE();
    case 91:
      if (lookahead == 'f') ADVANCE(185);
      END_STATE();
    case 92:
      if (lookahead == 'a') ADVANCE(186);
      END_STATE();
    case 93:
      if (lookahead == 'n') ADVANCE(187);
      if (lookahead == 't') ADVANCE(188);
      END_STATE();
    case 94:
      if (lookahead == 'i') ADVANCE(189);
      if (lookahead == 'l') ADVANCE(190);
      END_STATE();
    case 95:
      if (lookahead == 'd') ADVANCE(191);
      if (lookahead == 'n') ADVANCE(192);
      END_STATE();
    case 96:
      if (lookahead == 'b') ADVANCE(193);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(156);
      END_STATE();
    case 97:
      if (lookahead == 'W') ADVANCE(157);
      if (lookahead == 't') ADVANCE(194);
      if (lookahead == 'w') ADVANCE(195);
      END_STATE();
    case 98:
      if (lookahead == 'l') ADVANCE(196);
      END_STATE();
    case 99:
      if (lookahead == 'g') ADVANCE(197);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(159);
      END_STATE();
    case 100:
      if (lookahead == 'a') ADVANCE(198);
      END_STATE();
    case 101:
      if (lookahead == 'z') ADVANCE(199);
      END_STATE();
    case 102:
      if (lookahead == 'o') ADVANCE(200);
      END_STATE();
    case 103:
      if (lookahead == 'o') ADVANCE(201);
      END_STATE();
    case 104:
      if (lookahead == 'r') ADVANCE(202);
      END_STATE();
    case 105:
      if (lookahead == 'x') ADVANCE(203);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(161);
      END_STATE();
    case 106:
      if (lookahead == 'l') ADVANCE(204);
      END_STATE();
    case 107:
      if (lookahead == 'u') ADVANCE(205);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(162);
      END_STATE();
    case 108:
      if (lookahead == 'p') ADVANCE(206);
      END_STATE();
    case 109:
      if (lookahead == 'o') ADVANCE(207);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(164);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(165);
      END_STATE();
    case 110:
      if (lookahead == 'u') ADVANCE(208);
      END_STATE();
    case 111:
      if (lookahead == 'i') ADVANCE(209);
      END_STATE();
    case 112:
      if (lookahead == 'd') ADVANCE(210);
      END_STATE();
    case 113:
      if (lookahead == 'n') ADVANCE(211);
      END_STATE();
    case 114:
      if (lookahead == 'a') ADVANCE(212);
      if (lookahead == 'i') ADVANCE(213);
      END_STATE();
    case 115:
      if (lookahead == 'n') ADVANCE(214);
      END_STATE();
    case 116:
      if (lookahead == 'a') ADVANCE(215);
      if (lookahead == 'i') ADVANCE(216);
      END_STATE();
    case 117:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(217);
      END_STATE();
    case 118:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(218);
      END_STATE();
    case 119:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(219);
      END_STATE();
    case 120:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(220);
      END_STATE();
    case 121:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(221);
      END_STATE();
    case 122:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(222);
      END_STATE();
    case 123:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(223);
      END_STATE();
    case 124:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(224);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(225);
      END_STATE();
    case 125:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(226);
      END_STATE();
    case 126:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token27);
      END_STATE();
    case 127:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(227);
      END_STATE();
    case 128:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(228);
      END_STATE();
    case 129:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(229);
      END_STATE();
    case 130:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(230);
      END_STATE();
    case 131:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(231);
      END_STATE();
    case 132:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(232);
      END_STATE();
    case 133:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(233);
      END_STATE();
    case 134:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(234);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(235);
      END_STATE();
    case 135:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(236);
      END_STATE();
    case 136:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(237);
      END_STATE();
    case 137:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(238);
      END_STATE();
    case 138:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(239);
      END_STATE();
    case 139:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(240);
      END_STATE();
    case 140:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(241);
      END_STATE();
    case 141:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(242);
      END_STATE();
    case 142:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(243);
      END_STATE();
    case 143:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(244);
      END_STATE();
    case 144:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(245);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(246);
      END_STATE();
    case 145:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(247);
      END_STATE();
    case 146:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(248);
      END_STATE();
    case 147:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(249);
      END_STATE();
    case 148:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(250);
      END_STATE();
    case 149:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(251);
      END_STATE();
    case 150:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(252);
      END_STATE();
    case 151:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(253);
      END_STATE();
    case 152:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(254);
      END_STATE();
    case 153:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(255);
      END_STATE();
    case 154:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(256);
      END_STATE();
    case 155:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(257);
      END_STATE();
    case 156:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(258);
      END_STATE();
    case 157:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(259);
      END_STATE();
    case 158:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(260);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token31);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(261);
      END_STATE();
    case 160:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(262);
      END_STATE();
    case 161:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(263);
      END_STATE();
    case 162:
      if (lookahead == '_') ADVANCE(264);
      END_STATE();
    case 163:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(265);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(aux_sym_scale_via_clause_token1);
      END_STATE();
    case 165:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(266);
      END_STATE();
    case 166:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(267);
      END_STATE();
    case 167:
      if (lookahead == 'l') ADVANCE(268);
      END_STATE();
    case 168:
      if (lookahead == 'a') ADVANCE(269);
      END_STATE();
    case 169:
      if (lookahead == 'o') ADVANCE(270);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(anon_sym_bar);
      END_STATE();
    case 171:
      if (lookahead == 'p') ADVANCE(271);
      END_STATE();
    case 172:
      if (lookahead == 'o') ADVANCE(272);
      if (lookahead == 'u') ADVANCE(273);
      END_STATE();
    case 173:
      if (lookahead == 'n') ADVANCE(274);
      END_STATE();
    case 174:
      if (lookahead == 's') ADVANCE(275);
      END_STATE();
    case 175:
      if (lookahead == 's') ADVANCE(276);
      END_STATE();
    case 176:
      if (lookahead == 'l') ADVANCE(277);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(236);
      END_STATE();
    case 177:
      if (lookahead == 't') ADVANCE(278);
      END_STATE();
    case 178:
      if (lookahead == 'g') ADVANCE(279);
      END_STATE();
    case 179:
      if (lookahead == 't') ADVANCE(280);
      END_STATE();
    case 180:
      if (lookahead == 's') ADVANCE(281);
      END_STATE();
    case 181:
      if (lookahead == 'E') ADVANCE(245);
      if (lookahead == 'e') ADVANCE(282);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(246);
      END_STATE();
    case 182:
      if (lookahead == 'l') ADVANCE(283);
      END_STATE();
    case 183:
      if (lookahead == 'e') ADVANCE(284);
      END_STATE();
    case 184:
      if (lookahead == 'e') ADVANCE(285);
      END_STATE();
    case 185:
      if (lookahead == 's') ADVANCE(286);
      END_STATE();
    case 186:
      if (lookahead == 'c') ADVANCE(287);
      END_STATE();
    case 187:
      if (lookahead == 'e') ADVANCE(288);
      END_STATE();
    case 188:
      if (lookahead == 'h') ADVANCE(289);
      END_STATE();
    case 189:
      if (lookahead == 'n') ADVANCE(290);
      END_STATE();
    case 190:
      if (lookahead == 'y') ADVANCE(291);
      END_STATE();
    case 191:
      if (lookahead == 'i') ADVANCE(292);
      END_STATE();
    case 192:
      if (lookahead == 'g') ADVANCE(293);
      END_STATE();
    case 193:
      if (lookahead == 'b') ADVANCE(294);
      END_STATE();
    case 194:
      if (lookahead == 'a') ADVANCE(295);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(anon_sym_row);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(259);
      END_STATE();
    case 196:
      if (lookahead == 'e') ADVANCE(296);
      END_STATE();
    case 197:
      if (lookahead == 'm') ADVANCE(297);
      END_STATE();
    case 198:
      if (lookahead == 'p') ADVANCE(298);
      END_STATE();
    case 199:
      if (lookahead == 'e') ADVANCE(299);
      END_STATE();
    case 200:
      if (lookahead == 'p') ADVANCE(300);
      END_STATE();
    case 201:
      if (lookahead == 'o') ADVANCE(301);
      END_STATE();
    case 202:
      if (lookahead == 'o') ADVANCE(302);
      END_STATE();
    case 203:
      if (lookahead == 't') ADVANCE(303);
      END_STATE();
    case 204:
      if (lookahead == 'e') ADVANCE(304);
      END_STATE();
    case 205:
      if (lookahead == 'e') ADVANCE(305);
      END_STATE();
    case 206:
      if (lookahead == 'e') ADVANCE(306);
      END_STATE();
    case 207:
      if (lookahead == 'l') ADVANCE(307);
      END_STATE();
    case 208:
      if (lookahead == 's') ADVANCE(308);
      END_STATE();
    case 209:
      if (lookahead == 'g') ADVANCE(309);
      END_STATE();
    case 210:
      if (lookahead == 't') ADVANCE(310);
      END_STATE();
    case 211:
      if (lookahead == 'd') ADVANCE(311);
      END_STATE();
    case 212:
      if (lookahead == 'x') ADVANCE(312);
      END_STATE();
    case 213:
      if (lookahead == 'n') ADVANCE(313);
      END_STATE();
    case 214:
      if (lookahead == 'd') ADVANCE(314);
      END_STATE();
    case 215:
      if (lookahead == 'x') ADVANCE(315);
      END_STATE();
    case 216:
      if (lookahead == 'n') ADVANCE(316);
      END_STATE();
    case 217:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(317);
      END_STATE();
    case 218:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(318);
      END_STATE();
    case 219:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(319);
      END_STATE();
    case 220:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(320);
      END_STATE();
    case 221:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(321);
      END_STATE();
    case 222:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(322);
      END_STATE();
    case 223:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(323);
      END_STATE();
    case 224:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(324);
      END_STATE();
    case 225:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(325);
      END_STATE();
    case 226:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(326);
      END_STATE();
    case 227:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(327);
      END_STATE();
    case 228:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(328);
      END_STATE();
    case 229:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(329);
      END_STATE();
    case 230:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(330);
      END_STATE();
    case 231:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(331);
      END_STATE();
    case 232:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(332);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token28);
      END_STATE();
    case 234:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(333);
      END_STATE();
    case 235:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(334);
      END_STATE();
    case 236:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(335);
      END_STATE();
    case 237:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(336);
      END_STATE();
    case 238:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(337);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token10);
      END_STATE();
    case 240:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(338);
      END_STATE();
    case 241:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(339);
      END_STATE();
    case 242:
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(340);
      END_STATE();
    case 243:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(341);
      END_STATE();
    case 244:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(342);
      END_STATE();
    case 245:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(343);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token29);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token49);
      END_STATE();
    case 248:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(344);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token3);
      END_STATE();
    case 250:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(345);
      END_STATE();
    case 251:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(346);
      END_STATE();
    case 252:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(347);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token39);
      END_STATE();
    case 254:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(348);
      END_STATE();
    case 255:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(349);
      END_STATE();
    case 256:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(350);
      END_STATE();
    case 257:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(351);
      END_STATE();
    case 258:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(352);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token40);
      END_STATE();
    case 260:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(353);
      END_STATE();
    case 261:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(354);
      END_STATE();
    case 262:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(355);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token33);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(356);
      END_STATE();
    case 264:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(357);
      END_STATE();
    case 265:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(358);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token35);
      END_STATE();
    case 267:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(359);
      END_STATE();
    case 268:
      if (lookahead == 'e') ADVANCE(360);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(anon_sym_area);
      END_STATE();
    case 270:
      if (lookahead == 'w') ADVANCE(361);
      END_STATE();
    case 271:
      if (lookahead == 'l') ADVANCE(362);
      END_STATE();
    case 272:
      if (lookahead == 'r') ADVANCE(363);
      if (lookahead == 'u') ADVANCE(364);
      END_STATE();
    case 273:
      if (lookahead == 'm') ADVANCE(365);
      END_STATE();
    case 274:
      if (lookahead == 't') ADVANCE(366);
      END_STATE();
    case 275:
      if (lookahead == 'i') ADVANCE(367);
      END_STATE();
    case 276:
      if (lookahead == 'e') ADVANCE(368);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(anon_sym_fill);
      END_STATE();
    case 278:
      if (lookahead == 's') ADVANCE(369);
      if (lookahead == 'w') ADVANCE(370);
      END_STATE();
    case 279:
      if (lookahead == 'h') ADVANCE(371);
      END_STATE();
    case 280:
      if (lookahead == 'o') ADVANCE(372);
      END_STATE();
    case 281:
      if (lookahead == 't') ADVANCE(373);
      END_STATE();
    case 282:
      if (lookahead == 'n') ADVANCE(374);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(343);
      END_STATE();
    case 283:
      if (lookahead == 'i') ADVANCE(375);
      END_STATE();
    case 284:
      if (lookahead == 'l') ADVANCE(376);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(anon_sym_line);
      if (lookahead == 't') ADVANCE(377);
      if (lookahead == 'w') ADVANCE(378);
      END_STATE();
    case 286:
      if (lookahead == 'e') ADVANCE(379);
      END_STATE();
    case 287:
      if (lookahead == 'i') ADVANCE(380);
      END_STATE();
    case 288:
      if (lookahead == 'l') ADVANCE(381);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(anon_sym_path);
      END_STATE();
    case 290:
      if (lookahead == 't') ADVANCE(382);
      END_STATE();
    case 291:
      if (lookahead == 'g') ADVANCE(383);
      END_STATE();
    case 292:
      if (lookahead == 'u') ADVANCE(384);
      END_STATE();
    case 293:
      if (lookahead == 'e') ADVANCE(385);
      END_STATE();
    case 294:
      if (lookahead == 'o') ADVANCE(386);
      END_STATE();
    case 295:
      if (lookahead == 't') ADVANCE(387);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(anon_sym_rule);
      END_STATE();
    case 297:
      if (lookahead == 'e') ADVANCE(388);
      END_STATE();
    case 298:
      if (lookahead == 'e') ADVANCE(389);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(anon_sym_size);
      END_STATE();
    case 300:
      if (lookahead == 'e') ADVANCE(390);
      END_STATE();
    case 301:
      if (lookahead == 't') ADVANCE(391);
      END_STATE();
    case 302:
      if (lookahead == 'k') ADVANCE(392);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(anon_sym_text);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(anon_sym_tile);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 306:
      if (lookahead == 'f') ADVANCE(393);
      END_STATE();
    case 307:
      if (lookahead == 'i') ADVANCE(394);
      END_STATE();
    case 308:
      if (lookahead == 't') ADVANCE(395);
      END_STATE();
    case 309:
      if (lookahead == 'h') ADVANCE(396);
      END_STATE();
    case 310:
      if (lookahead == 'h') ADVANCE(397);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(anon_sym_xend);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(anon_sym_xmax);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(anon_sym_xmin);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(anon_sym_yend);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(anon_sym_ymax);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(anon_sym_ymin);
      END_STATE();
    case 317:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(398);
      END_STATE();
    case 318:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(399);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token2);
      END_STATE();
    case 320:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(400);
      END_STATE();
    case 321:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(401);
      END_STATE();
    case 322:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(402);
      END_STATE();
    case 323:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(403);
      END_STATE();
    case 324:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(404);
      END_STATE();
    case 325:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(405);
      END_STATE();
    case 326:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(406);
      END_STATE();
    case 327:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(407);
      END_STATE();
    case 328:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(408);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token8);
      END_STATE();
    case 330:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(409);
      END_STATE();
    case 331:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(410);
      END_STATE();
    case 332:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(411);
      END_STATE();
    case 333:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(412);
      END_STATE();
    case 334:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(413);
      END_STATE();
    case 335:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(414);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token48);
      END_STATE();
    case 337:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(415);
      END_STATE();
    case 338:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(416);
      END_STATE();
    case 339:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(417);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token36);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token5);
      END_STATE();
    case 342:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(418);
      END_STATE();
    case 343:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(419);
      END_STATE();
    case 344:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(420);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token23);
      END_STATE();
    case 346:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(421);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token6);
      END_STATE();
    case 348:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(422);
      END_STATE();
    case 349:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(423);
      END_STATE();
    case 350:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(424);
      END_STATE();
    case 351:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(425);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token4);
      END_STATE();
    case 353:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(426);
      END_STATE();
    case 354:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(427);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token32);
      END_STATE();
    case 356:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(428);
      END_STATE();
    case 357:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(429);
      END_STATE();
    case 358:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(430);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token1);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(anon_sym_angle);
      if (lookahead == 'e') ADVANCE(431);
      if (lookahead == 'm') ADVANCE(432);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(anon_sym_arrow);
      END_STATE();
    case 362:
      if (lookahead == 'o') ADVANCE(433);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(anon_sym_color);
      END_STATE();
    case 364:
      if (lookahead == 'r') ADVANCE(434);
      END_STATE();
    case 365:
      if (lookahead == 'n') ADVANCE(435);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(anon_sym_count);
      END_STATE();
    case 367:
      if (lookahead == 't') ADVANCE(436);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 369:
      if (lookahead == 'i') ADVANCE(437);
      END_STATE();
    case 370:
      if (lookahead == 'e') ADVANCE(438);
      END_STATE();
    case 371:
      if (lookahead == 't') ADVANCE(439);
      END_STATE();
    case 372:
      if (lookahead == 'g') ADVANCE(440);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(anon_sym_hjust);
      END_STATE();
    case 374:
      if (lookahead == 's') ADVANCE(441);
      END_STATE();
    case 375:
      if (lookahead == 'c') ADVANCE(442);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(anon_sym_label);
      END_STATE();
    case 377:
      if (lookahead == 'y') ADVANCE(443);
      END_STATE();
    case 378:
      if (lookahead == 'i') ADVANCE(444);
      END_STATE();
    case 379:
      if (lookahead == 't') ADVANCE(445);
      END_STATE();
    case 380:
      if (lookahead == 't') ADVANCE(446);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(anon_sym_panel);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(anon_sym_point);
      END_STATE();
    case 383:
      if (lookahead == 'o') ADVANCE(447);
      END_STATE();
    case 384:
      if (lookahead == 's') ADVANCE(448);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(anon_sym_range);
      END_STATE();
    case 386:
      if (lookahead == 'n') ADVANCE(449);
      END_STATE();
    case 387:
      if (lookahead == 'i') ADVANCE(450);
      END_STATE();
    case 388:
      if (lookahead == 'n') ADVANCE(451);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(anon_sym_shape);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(anon_sym_slope);
      END_STATE();
    case 391:
      if (lookahead == 'h') ADVANCE(452);
      END_STATE();
    case 392:
      if (lookahead == 'e') ADVANCE(453);
      END_STATE();
    case 393:
      if (lookahead == 'a') ADVANCE(454);
      END_STATE();
    case 394:
      if (lookahead == 'n') ADVANCE(455);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(anon_sym_vjust);
      END_STATE();
    case 396:
      if (lookahead == 't') ADVANCE(456);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(anon_sym_width);
      END_STATE();
    case 398:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(457);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token20);
      END_STATE();
    case 400:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(458);
      END_STATE();
    case 401:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(459);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token47);
      END_STATE();
    case 403:
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(460);
      END_STATE();
    case 404:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(461);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token51);
      END_STATE();
    case 406:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(462);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token3);
      END_STATE();
    case 408:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(463);
      END_STATE();
    case 409:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(464);
      END_STATE();
    case 410:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(465);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_delete_statement_token1);
      END_STATE();
    case 412:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(466);
      END_STATE();
    case 413:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(467);
      END_STATE();
    case 414:
      ACCEPT_TOKEN(aux_sym_filter_clause_token1);
      END_STATE();
    case 415:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(468);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token22);
      END_STATE();
    case 417:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(469);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(aux_sym_insert_statement_token1);
      END_STATE();
    case 419:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(470);
      END_STATE();
    case 420:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(471);
      END_STATE();
    case 421:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(472);
      END_STATE();
    case 422:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(473);
      END_STATE();
    case 423:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(474);
      END_STATE();
    case 424:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(475);
      END_STATE();
    case 425:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(476);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token38);
      END_STATE();
    case 427:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(477);
      END_STATE();
    case 428:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(478);
      END_STATE();
    case 429:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(479);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token30);
      END_STATE();
    case 431:
      if (lookahead == 'n') ADVANCE(480);
      END_STATE();
    case 432:
      if (lookahead == 'a') ADVANCE(481);
      if (lookahead == 'i') ADVANCE(482);
      END_STATE();
    case 433:
      if (lookahead == 't') ADVANCE(483);
      END_STATE();
    case 434:
      ACCEPT_TOKEN(anon_sym_colour);
      END_STATE();
    case 435:
      ACCEPT_TOKEN(anon_sym_column);
      END_STATE();
    case 436:
      if (lookahead == 'y') ADVANCE(484);
      END_STATE();
    case 437:
      if (lookahead == 'z') ADVANCE(485);
      END_STATE();
    case 438:
      if (lookahead == 'i') ADVANCE(486);
      END_STATE();
    case 439:
      ACCEPT_TOKEN(anon_sym_height);
      END_STATE();
    case 440:
      if (lookahead == 'r') ADVANCE(487);
      END_STATE();
    case 441:
      if (lookahead == 'i') ADVANCE(488);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(anon_sym_italic);
      END_STATE();
    case 443:
      if (lookahead == 'p') ADVANCE(489);
      END_STATE();
    case 444:
      if (lookahead == 'd') ADVANCE(490);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(anon_sym_offset);
      END_STATE();
    case 446:
      if (lookahead == 'y') ADVANCE(491);
      END_STATE();
    case 447:
      if (lookahead == 'n') ADVANCE(492);
      END_STATE();
    case 448:
      ACCEPT_TOKEN(anon_sym_radius);
      if (lookahead == 'e') ADVANCE(493);
      if (lookahead == 'm') ADVANCE(494);
      END_STATE();
    case 449:
      ACCEPT_TOKEN(anon_sym_ribbon);
      END_STATE();
    case 450:
      if (lookahead == 'o') ADVANCE(495);
      END_STATE();
    case 451:
      if (lookahead == 't') ADVANCE(496);
      END_STATE();
    case 452:
      ACCEPT_TOKEN(anon_sym_smooth);
      END_STATE();
    case 453:
      ACCEPT_TOKEN(anon_sym_stroke);
      END_STATE();
    case 454:
      if (lookahead == 'c') ADVANCE(497);
      END_STATE();
    case 455:
      ACCEPT_TOKEN(anon_sym_violin);
      END_STATE();
    case 456:
      ACCEPT_TOKEN(anon_sym_weight);
      END_STATE();
    case 457:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token53);
      END_STATE();
    case 458:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(498);
      END_STATE();
    case 459:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(499);
      END_STATE();
    case 460:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(500);
      END_STATE();
    case 461:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(501);
      END_STATE();
    case 462:
      ACCEPT_TOKEN(aux_sym_update_statement_token1);
      END_STATE();
    case 463:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(502);
      END_STATE();
    case 464:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token45);
      END_STATE();
    case 465:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(503);
      END_STATE();
    case 466:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(504);
      END_STATE();
    case 467:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(505);
      END_STATE();
    case 468:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(506);
      END_STATE();
    case 469:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(507);
      END_STATE();
    case 470:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(508);
      END_STATE();
    case 471:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token7);
      END_STATE();
    case 472:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token4);
      END_STATE();
    case 473:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(509);
      END_STATE();
    case 474:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(510);
      END_STATE();
    case 475:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(511);
      END_STATE();
    case 476:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(512);
      END_STATE();
    case 477:
      ACCEPT_TOKEN(aux_sym_setting_clause_token1);
      END_STATE();
    case 478:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(513);
      END_STATE();
    case 479:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(514);
      END_STATE();
    case 480:
      if (lookahead == 'd') ADVANCE(515);
      END_STATE();
    case 481:
      if (lookahead == 'x') ADVANCE(516);
      END_STATE();
    case 482:
      if (lookahead == 'n') ADVANCE(517);
      END_STATE();
    case 483:
      ACCEPT_TOKEN(anon_sym_boxplot);
      END_STATE();
    case 484:
      ACCEPT_TOKEN(anon_sym_density);
      END_STATE();
    case 485:
      if (lookahead == 'e') ADVANCE(518);
      END_STATE();
    case 486:
      if (lookahead == 'g') ADVANCE(519);
      END_STATE();
    case 487:
      if (lookahead == 'a') ADVANCE(520);
      END_STATE();
    case 488:
      if (lookahead == 't') ADVANCE(521);
      END_STATE();
    case 489:
      if (lookahead == 'e') ADVANCE(522);
      END_STATE();
    case 490:
      if (lookahead == 't') ADVANCE(523);
      END_STATE();
    case 491:
      ACCEPT_TOKEN(anon_sym_opacity);
      END_STATE();
    case 492:
      ACCEPT_TOKEN(anon_sym_polygon);
      END_STATE();
    case 493:
      if (lookahead == 'n') ADVANCE(524);
      END_STATE();
    case 494:
      if (lookahead == 'a') ADVANCE(525);
      if (lookahead == 'i') ADVANCE(526);
      END_STATE();
    case 495:
      if (lookahead == 'n') ADVANCE(527);
      END_STATE();
    case 496:
      ACCEPT_TOKEN(anon_sym_segment);
      END_STATE();
    case 497:
      if (lookahead == 'e') ADVANCE(528);
      END_STATE();
    case 498:
      ACCEPT_TOKEN(aux_sym_mapping_clause_token1);
      END_STATE();
    case 499:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token9);
      END_STATE();
    case 500:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token50);
      END_STATE();
    case 501:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(529);
      END_STATE();
    case 502:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(530);
      END_STATE();
    case 503:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token37);
      END_STATE();
    case 504:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token2);
      END_STATE();
    case 505:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token25);
      END_STATE();
    case 506:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(531);
      END_STATE();
    case 507:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token5);
      END_STATE();
    case 508:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(532);
      END_STATE();
    case 509:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(533);
      END_STATE();
    case 510:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(534);
      END_STATE();
    case 511:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(535);
      END_STATE();
    case 512:
      ACCEPT_TOKEN(aux_sym_scale_renaming_clause_token1);
      END_STATE();
    case 513:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(536);
      END_STATE();
    case 514:
      ACCEPT_TOKEN(aux_sym_cast_expression_token2);
      END_STATE();
    case 515:
      ACCEPT_TOKEN(anon_sym_angleend);
      END_STATE();
    case 516:
      ACCEPT_TOKEN(anon_sym_anglemax);
      END_STATE();
    case 517:
      ACCEPT_TOKEN(anon_sym_anglemin);
      END_STATE();
    case 518:
      ACCEPT_TOKEN(anon_sym_fontsize);
      END_STATE();
    case 519:
      if (lookahead == 'h') ADVANCE(537);
      END_STATE();
    case 520:
      if (lookahead == 'm') ADVANCE(538);
      END_STATE();
    case 521:
      if (lookahead == 'y') ADVANCE(539);
      END_STATE();
    case 522:
      ACCEPT_TOKEN(anon_sym_linetype);
      END_STATE();
    case 523:
      if (lookahead == 'h') ADVANCE(540);
      END_STATE();
    case 524:
      if (lookahead == 'd') ADVANCE(541);
      END_STATE();
    case 525:
      if (lookahead == 'x') ADVANCE(542);
      END_STATE();
    case 526:
      if (lookahead == 'n') ADVANCE(543);
      END_STATE();
    case 527:
      ACCEPT_TOKEN(anon_sym_rotation);
      END_STATE();
    case 528:
      ACCEPT_TOKEN(anon_sym_typeface);
      END_STATE();
    case 529:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(544);
      END_STATE();
    case 530:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(545);
      END_STATE();
    case 531:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token44);
      END_STATE();
    case 532:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token52);
      END_STATE();
    case 533:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token43);
      END_STATE();
    case 534:
      ACCEPT_TOKEN(aux_sym_with_statement_token2);
      END_STATE();
    case 535:
      ACCEPT_TOKEN(aux_sym_remapping_clause_token1);
      END_STATE();
    case 536:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token34);
      END_STATE();
    case 537:
      if (lookahead == 't') ADVANCE(546);
      END_STATE();
    case 538:
      ACCEPT_TOKEN(anon_sym_histogram);
      END_STATE();
    case 539:
      ACCEPT_TOKEN(anon_sym_intensity);
      END_STATE();
    case 540:
      ACCEPT_TOKEN(anon_sym_linewidth);
      END_STATE();
    case 541:
      ACCEPT_TOKEN(anon_sym_radiusend);
      END_STATE();
    case 542:
      ACCEPT_TOKEN(anon_sym_radiusmax);
      END_STATE();
    case 543:
      ACCEPT_TOKEN(anon_sym_radiusmin);
      END_STATE();
    case 544:
      ACCEPT_TOKEN(aux_sym_non_from_sql_keyword_token42);
      END_STATE();
    case 545:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token1);
      END_STATE();
    case 546:
      ACCEPT_TOKEN(anon_sym_fontweight);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0},
  [1] = {.lex_state = 107},
  [2] = {.lex_state = 91},
  [3] = {.lex_state = 91},
  [4] = {.lex_state = 95},
  [5] = {.lex_state = 95},
  [6] = {.lex_state = 1},
  [7] = {.lex_state = 1},
  [8] = {.lex_state = 1},
  [9] = {.lex_state = 1},
  [10] = {.lex_state = 95},
  [11] = {.lex_state = 92},
  [12] = {.lex_state = 92},
  [13] = {.lex_state = 92},
  [14] = {.lex_state = 107},
  [15] = {.lex_state = 107},
  [16] = {.lex_state = 2},
  [17] = {.lex_state = 2},
  [18] = {.lex_state = 2},
  [19] = {.lex_state = 8},
  [20] = {.lex_state = 8},
  [21] = {.lex_state = 8},
  [22] = {.lex_state = 8},
  [23] = {.lex_state = 8},
  [24] = {.lex_state = 8},
  [25] = {.lex_state = 8},
  [26] = {.lex_state = 8},
  [27] = {.lex_state = 8},
  [28] = {.lex_state = 8},
  [29] = {.lex_state = 8},
  [30] = {.lex_state = 8},
  [31] = {.lex_state = 8},
  [32] = {.lex_state = 91},
  [33] = {.lex_state = 93},
  [34] = {.lex_state = 93},
  [35] = {.lex_state = 93},
  [36] = {.lex_state = 93},
  [37] = {.lex_state = 91},
  [38] = {.lex_state = 91},
  [39] = {.lex_state = 93},
  [40] = {.lex_state = 93},
  [41] = {.lex_state = 91},
  [42] = {.lex_state = 91},
  [43] = {.lex_state = 93},
  [44] = {.lex_state = 91},
  [45] = {.lex_state = 93},
  [46] = {.lex_state = 93},
  [47] = {.lex_state = 93},
  [48] = {.lex_state = 91},
  [49] = {.lex_state = 91},
  [50] = {.lex_state = 91},
  [51] = {.lex_state = 94},
  [52] = {.lex_state = 91},
  [53] = {.lex_state = 91},
  [54] = {.lex_state = 91},
  [55] = {.lex_state = 91},
  [56] = {.lex_state = 91},
  [57] = {.lex_state = 94},
  [58] = {.lex_state = 94},
  [59] = {.lex_state = 94},
  [60] = {.lex_state = 3},
  [61] = {.lex_state = 3},
  [62] = {.lex_state = 3},
  [63] = {.lex_state = 3},
  [64] = {.lex_state = 3},
  [65] = {.lex_state = 91},
  [66] = {.lex_state = 91},
  [67] = {.lex_state = 91},
  [68] = {.lex_state = 91},
  [69] = {.lex_state = 94},
  [70] = {.lex_state = 91},
  [71] = {.lex_state = 91},
  [72] = {.lex_state = 91},
  [73] = {.lex_state = 91},
  [74] = {.lex_state = 91},
  [75] = {.lex_state = 91},
  [76] = {.lex_state = 91},
  [77] = {.lex_state = 91},
  [78] = {.lex_state = 91},
  [79] = {.lex_state = 7},
  [80] = {.lex_state = 3},
  [81] = {.lex_state = 92},
  [82] = {.lex_state = 92},
  [83] = {.lex_state = 7},
  [84] = {.lex_state = 92},
  [85] = {.lex_state = 1},
  [86] = {.lex_state = 1},
  [87] = {.lex_state = 1},
  [88] = {.lex_state = 3},
  [89] = {.lex_state = 94},
  [90] = {.lex_state = 94},
  [91] = {.lex_state = 94},
  [92] = {.lex_state = 94},
  [93] = {.lex_state = 3},
  [94] = {.lex_state = 3},
  [95] = {.lex_state = 3},
  [96] = {.lex_state = 94},
  [97] = {.lex_state = 1},
  [98] = {.lex_state = 92},
  [99] = {.lex_state = 92},
  [100] = {.lex_state = 92},
  [101] = {.lex_state = 92},
  [102] = {.lex_state = 92},
  [103] = {.lex_state = 92},
  [104] = {.lex_state = 92},
  [105] = {.lex_state = 92},
  [106] = {.lex_state = 92},
  [107] = {.lex_state = 1},
  [108] = {.lex_state = 1},
  [109] = {.lex_state = 1},
  [110] = {.lex_state = 1},
  [111] = {.lex_state = 1},
  [112] = {.lex_state = 1},
  [113] = {.lex_state = 1},
  [114] = {.lex_state = 1},
  [115] = {.lex_state = 92},
  [116] = {.lex_state = 1},
  [117] = {.lex_state = 1},
  [118] = {.lex_state = 1},
  [119] = {.lex_state = 1},
  [120] = {.lex_state = 1},
  [121] = {.lex_state = 1},
  [122] = {.lex_state = 1},
  [123] = {.lex_state = 1},
  [124] = {.lex_state = 92},
  [125] = {.lex_state = 92},
  [126] = {.lex_state = 1},
  [127] = {.lex_state = 4},
  [128] = {.lex_state = 4},
  [129] = {.lex_state = 4},
  [130] = {.lex_state = 92},
  [131] = {.lex_state = 92},
  [132] = {.lex_state = 4},
  [133] = {.lex_state = 4},
  [134] = {.lex_state = 1},
  [135] = {.lex_state = 92},
  [136] = {.lex_state = 92},
  [137] = {.lex_state = 92},
  [138] = {.lex_state = 92},
  [139] = {.lex_state = 1},
  [140] = {.lex_state = 1},
  [141] = {.lex_state = 1},
  [142] = {.lex_state = 1},
  [143] = {.lex_state = 92},
  [144] = {.lex_state = 92},
  [145] = {.lex_state = 92},
  [146] = {.lex_state = 92},
  [147] = {.lex_state = 92},
  [148] = {.lex_state = 1},
  [149] = {.lex_state = 4},
  [150] = {.lex_state = 4},
  [151] = {.lex_state = 4},
  [152] = {.lex_state = 4},
  [153] = {.lex_state = 4},
  [154] = {.lex_state = 2},
  [155] = {.lex_state = 2},
  [156] = {.lex_state = 2},
  [157] = {.lex_state = 2},
  [158] = {.lex_state = 2},
  [159] = {.lex_state = 2},
  [160] = {.lex_state = 2},
  [161] = {.lex_state = 2},
  [162] = {.lex_state = 2},
  [163] = {.lex_state = 2},
  [164] = {.lex_state = 2},
  [165] = {.lex_state = 2},
  [166] = {.lex_state = 2},
  [167] = {.lex_state = 2},
  [168] = {.lex_state = 2},
  [169] = {.lex_state = 2},
  [170] = {.lex_state = 2},
  [171] = {.lex_state = 2},
  [172] = {.lex_state = 2},
  [173] = {.lex_state = 2},
  [174] = {.lex_state = 2},
  [175] = {.lex_state = 2},
  [176] = {.lex_state = 2},
  [177] = {.lex_state = 2},
  [178] = {.lex_state = 2},
  [179] = {.lex_state = 2},
  [180] = {.lex_state = 102},
  [181] = {.lex_state = 102},
  [182] = {.lex_state = 103},
  [183] = {.lex_state = 103},
  [184] = {.lex_state = 103},
  [185] = {.lex_state = 103},
  [186] = {.lex_state = 12},
  [187] = {.lex_state = 12},
  [188] = {.lex_state = 7},
  [189] = {.lex_state = 12},
  [190] = {.lex_state = 7},
  [191] = {.lex_state = 7},
  [192] = {.lex_state = 7},
  [193] = {.lex_state = 7},
  [194] = {.lex_state = 7},
  [195] = {.lex_state = 7},
  [196] = {.lex_state = 7},
  [197] = {.lex_state = 7},
  [198] = {.lex_state = 7},
  [199] = {.lex_state = 7},
  [200] = {.lex_state = 7},
  [201] = {.lex_state = 7},
  [202] = {.lex_state = 7},
  [203] = {.lex_state = 7},
  [204] = {.lex_state = 7},
  [205] = {.lex_state = 7},
  [206] = {.lex_state = 7},
  [207] = {.lex_state = 7},
  [208] = {.lex_state = 12},
  [209] = {.lex_state = 102},
  [210] = {.lex_state = 108},
  [211] = {.lex_state = 102},
  [212] = {.lex_state = 108},
  [213] = {.lex_state = 102},
  [214] = {.lex_state = 102},
  [215] = {.lex_state = 102},
  [216] = {.lex_state = 102},
  [217] = {.lex_state = 102},
  [218] = {.lex_state = 103},
  [219] = {.lex_state = 103},
  [220] = {.lex_state = 103},
  [221] = {.lex_state = 103},
  [222] = {.lex_state = 103},
  [223] = {.lex_state = 103},
  [224] = {.lex_state = 103},
  [225] = {.lex_state = 108},
  [226] = {.lex_state = 108},
  [227] = {.lex_state = 108},
  [228] = {.lex_state = 108},
  [229] = {.lex_state = 108},
  [230] = {.lex_state = 96},
  [231] = {.lex_state = 96},
  [232] = {.lex_state = 96},
  [233] = {.lex_state = 96},
  [234] = {.lex_state = 96},
  [235] = {.lex_state = 96},
  [236] = {.lex_state = 6},
  [237] = {.lex_state = 5},
  [238] = {.lex_state = 6},
  [239] = {.lex_state = 6},
  [240] = {.lex_state = 6},
  [241] = {.lex_state = 6},
  [242] = {.lex_state = 6},
  [243] = {.lex_state = 98},
  [244] = {.lex_state = 104},
  [245] = {.lex_state = 100},
  [246] = {.lex_state = 101},
  [247] = {.lex_state = 101},
  [248] = {.lex_state = 101},
  [249] = {.lex_state = 97},
  [250] = {.lex_state = 97},
  [251] = {.lex_state = 97},
  [252] = {.lex_state = 97},
  [253] = {.lex_state = 111},
  [254] = {.lex_state = 105},
  [255] = {.lex_state = 105},
  [256] = {.lex_state = 10},
  [257] = {.lex_state = 10},
  [258] = {.lex_state = 10},
  [259] = {.lex_state = 10},
  [260] = {.lex_state = 10},
  [261] = {.lex_state = 10},
  [262] = {.lex_state = 15},
  [263] = {.lex_state = 6},
  [264] = {.lex_state = 105},
  [265] = {.lex_state = 6},
  [266] = {.lex_state = 105},
  [267] = {.lex_state = 112},
  [268] = {.lex_state = 105},
  [269] = {.lex_state = 6},
  [270] = {.lex_state = 9},
  [271] = {.lex_state = 11},
  [272] = {.lex_state = 9},
  [273] = {.lex_state = 11},
  [274] = {.lex_state = 11},
  [275] = {.lex_state = 11},
  [276] = {.lex_state = 14},
  [277] = {.lex_state = 11},
  [278] = {.lex_state = 9},
  [279] = {.lex_state = 11},
  [280] = {.lex_state = 9},
  [281] = {.lex_state = 100},
  [282] = {.lex_state = 99},
  [283] = {.lex_state = 116},
  [284] = {.lex_state = 99},
  [285] = {.lex_state = 112},
  [286] = {.lex_state = 115},
  [287] = {.lex_state = 116},
  [288] = {.lex_state = 99},
  [289] = {.lex_state = 11},
  [290] = {.lex_state = 99},
  [291] = {.lex_state = 99},
  [292] = {.lex_state = 99},
  [293] = {.lex_state = 99},
  [294] = {.lex_state = 99},
  [295] = {.lex_state = 99},
  [296] = {.lex_state = 99},
  [297] = {.lex_state = 99},
  [298] = {.lex_state = 109},
  [299] = {.lex_state = 99},
  [300] = {.lex_state = 115},
  [301] = {.lex_state = 96},
  [302] = {.lex_state = 100},
  [303] = {.lex_state = 13},
  [304] = {.lex_state = 112},
  [305] = {.lex_state = 96},
  [306] = {.lex_state = 105},
  [307] = {.lex_state = 110},
  [308] = {.lex_state = 96},
  [309] = {.lex_state = 110},
  [310] = {.lex_state = 112},
  [311] = {.lex_state = 112},
  [312] = {.lex_state = 105},
  [313] = {.lex_state = 115},
  [314] = {.lex_state = 112},
  [315] = {.lex_state = 101},
  [316] = {.lex_state = 96},
  [317] = {.lex_state = 115},
  [318] = {.lex_state = 112},
  [319] = {.lex_state = 100},
  [320] = {.lex_state = 96},
  [321] = {.lex_state = 100},
  [322] = {.lex_state = 96},
  [323] = {.lex_state = 115},
  [324] = {.lex_state = 11},
  [325] = {.lex_state = 99},
  [326] = {.lex_state = 11},
  [327] = {.lex_state = 112},
  [328] = {.lex_state = 112},
  [329] = {.lex_state = 113},
  [330] = {.lex_state = 115},
  [331] = {.lex_state = 100},
  [332] = {.lex_state = 112},
  [333] = {.lex_state = 11},
  [334] = {.lex_state = 115},
  [335] = {.lex_state = 11},
  [336] = {.lex_state = 115},
  [337] = {.lex_state = 99},
  [338] = {.lex_state = 99},
  [339] = {.lex_state = 99},
  [340] = {.lex_state = 99},
  [341] = {.lex_state = 99},
  [342] = {.lex_state = 11},
  [343] = {.lex_state = 11},
  [344] = {.lex_state = 11},
  [345] = {.lex_state = 11},
  [346] = {.lex_state = 11},
  [347] = {.lex_state = 97},
  [348] = {.lex_state = 112},
  [349] = {.lex_state = 105},
  [350] = {.lex_state = 112},
  [351] = {.lex_state = 115},
  [352] = {.lex_state = 114},
  [353] = {.lex_state = 114},
  [354] = {.lex_state = 114},
  [355] = {.lex_state = 112},
  [356] = {.lex_state = 112},
  [357] = {.lex_state = 105},
  [358] = {.lex_state = 112},
  [359] = {.lex_state = 112},
  [360] = {.lex_state = 105},
  [361] = {.lex_state = 112},
  [362] = {.lex_state = 112},
  [363] = {.lex_state = 114},
  [364] = {.lex_state = 112},
  [365] = {.lex_state = 112},
  [366] = {.lex_state = 97},
  [367] = {.lex_state = 97},
  [368] = {.lex_state = 105},
  [369] = {.lex_state = 112},
  [370] = {.lex_state = 106},
  [371] = {.lex_state = 106},
  [372] = {.lex_state = 112},
  [373] = {.lex_state = 112},
  [374] = {.lex_state = 112},
  [375] = {.lex_state = 112},
  [376] = {.lex_state = 105},
  [377] = {.lex_state = 96},
  [378] = {.lex_state = 96},
  [379] = {.lex_state = 105},
  [380] = {.lex_state = 105},
  [381] = {.lex_state = 97},
  [382] = {.lex_state = 105},
  [383] = {.lex_state = 105},
  [384] = {.lex_state = 96},
  [385] = {.lex_state = 112},
  [386] = {.lex_state = 105},
  [387] = {.lex_state = 96},
  [388] = {.lex_state = 13},
  [389] = {.lex_state = 9},
  [390] = {.lex_state = 105},
  [391] = {.lex_state = 105},
  [392] = {.lex_state = 99},
  [393] = {.lex_state = 99},
  [394] = {.lex_state = 96},
  [395] = {.lex_state = 99},
  [396] = {.lex_state = 96},
  [397] = {.lex_state = 105},
  [398] = {.lex_state = 105},
  [399] = {.lex_state = 96},
  [400] = {.lex_state = 105},
  [401] = {.lex_state = 96},
  [402] = {.lex_state = 105},
  [403] = {.lex_state = 19},
  [404] = {.lex_state = 96},
  [405] = {.lex_state = 105},
  [406] = {.lex_state = 19},
  [407] = {.lex_state = 19},
  [408] = {.lex_state = 96},
  [409] = {.lex_state = 99},
  [410] = {.lex_state = 96},
  [411] = {.lex_state = 99},
  [412] = {.lex_state = 19},
  [413] = {.lex_state = 96},
  [414] = {.lex_state = 96},
  [415] = {.lex_state = 96},
  [416] = {.lex_state = 105},
  [417] = {.lex_state = 96},
  [418] = {.lex_state = 96},
  [419] = {.lex_state = 96},
  [420] = {.lex_state = 96},
  [421] = {.lex_state = 105},
  [422] = {.lex_state = 99},
  [423] = {.lex_state = 96},
  [424] = {.lex_state = 19},
  [425] = {.lex_state = 19},
  [426] = {.lex_state = 19},
  [427] = {.lex_state = 99},
  [428] = {.lex_state = 96},
  [429] = {.lex_state = 9},
  [430] = {.lex_state = 19},
  [431] = {.lex_state = 96},
  [432] = {.lex_state = 9},
  [433] = {.lex_state = 19},
  [434] = {.lex_state = 19},
  [435] = {.lex_state = 99},
  [436] = {.lex_state = 96},
  [437] = {.lex_state = 105},
  [438] = {.lex_state = 96},
  [439] = {.lex_state = 96},
  [440] = {.lex_state = 105},
  [441] = {.lex_state = 96},
  [442] = {.lex_state = 96},
  [443] = {.lex_state = 11},
  [444] = {.lex_state = 99},
  [445] = {.lex_state = 96},
  [446] = {.lex_state = 96},
  [447] = {.lex_state = 105},
  [448] = {.lex_state = 96},
  [449] = {.lex_state = 9},
  [450] = {.lex_state = 96},
  [451] = {.lex_state = 96},
  [452] = {.lex_state = 96},
  [453] = {.lex_state = 96},
  [454] = {.lex_state = 105},
  [455] = {.lex_state = 96},
  [456] = {.lex_state = 96},
  [457] = {.lex_state = 96},
  [458] = {.lex_state = 105},
  [459] = {.lex_state = 24},
  [460] = {.lex_state = 96},
  [461] = {.lex_state = 96},
  [462] = {.lex_state = 96},
  [463] = {.lex_state = 99},
  [464] = {.lex_state = 96},
  [465] = {.lex_state = 99},
  [466] = {.lex_state = 99},
  [467] = {.lex_state = 96},
  [468] = {.lex_state = 96},
  [469] = {.lex_state = 96},
  [470] = {.lex_state = 99},
  [471] = {.lex_state = 96},
  [472] = {.lex_state = 99},
  [473] = {.lex_state = 24},
  [474] = {.lex_state = 96},
  [475] = {.lex_state = 96},
  [476] = {.lex_state = 96},
  [477] = {.lex_state = 96},
  [478] = {.lex_state = 96},
  [479] = {.lex_state = 24},
  [480] = {.lex_state = 96},
  [481] = {.lex_state = 24},
  [482] = {.lex_state = 96},
  [483] = {.lex_state = 96},
  [484] = {.lex_state = 96},
  [485] = {.lex_state = 24},
  [486] = {.lex_state = 96},
  [487] = {.lex_state = 96},
  [488] = {.lex_state = 96},
  [489] = {.lex_state = 99},
  [490] = {.lex_state = 99},
  [491] = {.lex_state = 96},
  [492] = {.lex_state = 23},
  [493] = {.lex_state = 99},
  [494] = {.lex_state = 96},
  [495] = {.lex_state = 19},
  [496] = {.lex_state = 99},
  [497] = {.lex_state = 19},
  [498] = {.lex_state = 22},
  [499] = {.lex_state = 22},
  [500] = {.lex_state = 22},
  [501] = {.lex_state = 6},
  [502] = {.lex_state = 22},
  [503] = {.lex_state = 6},
  [504] = {.lex_state = 22},
  [505] = {.lex_state = 22},
  [506] = {.lex_state = 6},
  [507] = {.lex_state = 22},
  [508] = {.lex_state = 6},
  [509] = {.lex_state = 23},
  [510] = {.lex_state = 6},
  [511] = {.lex_state = 6},
  [512] = {.lex_state = 6},
  [513] = {.lex_state = 32},
  [514] = {.lex_state = 23},
  [515] = {.lex_state = 6},
  [516] = {.lex_state = 23},
  [517] = {.lex_state = 23},
  [518] = {.lex_state = 6},
  [519] = {.lex_state = 6},
  [520] = {.lex_state = 6},
  [521] = {.lex_state = 21},
  [522] = {.lex_state = 0},
  [523] = {.lex_state = 6},
  [524] = {.lex_state = 0},
  [525] = {.lex_state = 6},
  [526] = {.lex_state = 0},
  [527] = {.lex_state = 96},
  [528] = {.lex_state = 0},
  [529] = {.lex_state = 0},
  [530] = {.lex_state = 96},
  [531] = {.lex_state = 0},
  [532] = {.lex_state = 0},
  [533] = {.lex_state = 6},
  [534] = {.lex_state = 0},
  [535] = {.lex_state = 0},
  [536] = {.lex_state = 0},
  [537] = {.lex_state = 23},
  [538] = {.lex_state = 6},
  [539] = {.lex_state = 21},
  [540] = {.lex_state = 21},
  [541] = {.lex_state = 6},
  [542] = {.lex_state = 21},
  [543] = {.lex_state = 6},
  [544] = {.lex_state = 6},
  [545] = {.lex_state = 23},
  [546] = {.lex_state = 23},
  [547] = {.lex_state = 0},
  [548] = {.lex_state = 21},
  [549] = {.lex_state = 21},
  [550] = {.lex_state = 13},
  [551] = {.lex_state = 23},
  [552] = {.lex_state = 23},
  [553] = {.lex_state = 21},
  [554] = {.lex_state = 21},
  [555] = {.lex_state = 23},
  [556] = {.lex_state = 23},
  [557] = {.lex_state = 23},
  [558] = {.lex_state = 21},
  [559] = {.lex_state = 21},
  [560] = {.lex_state = 23},
  [561] = {.lex_state = 23},
  [562] = {.lex_state = 21},
  [563] = {.lex_state = 21},
  [564] = {.lex_state = 21},
  [565] = {.lex_state = 21},
  [566] = {.lex_state = 21},
  [567] = {.lex_state = 21},
  [568] = {.lex_state = 21},
  [569] = {.lex_state = 21},
  [570] = {.lex_state = 21},
  [571] = {.lex_state = 21},
  [572] = {.lex_state = 21},
  [573] = {.lex_state = 21},
  [574] = {.lex_state = 21},
  [575] = {.lex_state = 21},
  [576] = {.lex_state = 21},
  [577] = {.lex_state = 21},
  [578] = {.lex_state = 21},
  [579] = {.lex_state = 21},
  [580] = {.lex_state = 21},
  [581] = {.lex_state = 21},
  [582] = {.lex_state = 6},
  [583] = {.lex_state = 23},
  [584] = {.lex_state = 6},
  [585] = {.lex_state = 23},
  [586] = {.lex_state = 6},
  [587] = {.lex_state = 0},
  [588] = {.lex_state = 6},
  [589] = {.lex_state = 6},
  [590] = {.lex_state = 6},
  [591] = {.lex_state = 6},
  [592] = {.lex_state = 6},
  [593] = {.lex_state = 21},
  [594] = {.lex_state = 6},
  [595] = {.lex_state = 13},
  [596] = {.lex_state = 23},
  [597] = {.lex_state = 0},
  [598] = {.lex_state = 6},
  [599] = {.lex_state = 6},
  [600] = {.lex_state = 6},
  [601] = {.lex_state = 6},
  [602] = {.lex_state = 0},
  [603] = {.lex_state = 0},
  [604] = {.lex_state = 6},
  [605] = {.lex_state = 6},
  [606] = {.lex_state = 6},
  [607] = {.lex_state = 6},
  [608] = {.lex_state = 0},
  [609] = {.lex_state = 0},
  [610] = {.lex_state = 6},
  [611] = {.lex_state = 6},
  [612] = {.lex_state = 6},
  [613] = {.lex_state = 0},
  [614] = {.lex_state = 0},
  [615] = {.lex_state = 0},
  [616] = {.lex_state = 0},
  [617] = {.lex_state = 0},
  [618] = {.lex_state = 6},
  [619] = {.lex_state = 6},
  [620] = {.lex_state = 6},
  [621] = {.lex_state = 6},
  [622] = {.lex_state = 0},
  [623] = {.lex_state = 6},
  [624] = {.lex_state = 0},
  [625] = {.lex_state = 6},
  [626] = {.lex_state = 0},
  [627] = {.lex_state = 6},
  [628] = {.lex_state = 6},
  [629] = {.lex_state = 6},
  [630] = {.lex_state = 0},
  [631] = {.lex_state = 21},
  [632] = {.lex_state = 6},
  [633] = {.lex_state = 6},
  [634] = {.lex_state = 6},
  [635] = {.lex_state = 0},
  [636] = {.lex_state = 6},
  [637] = {.lex_state = 96},
  [638] = {.lex_state = 0},
  [639] = {.lex_state = 0},
  [640] = {.lex_state = 0},
  [641] = {.lex_state = 0},
  [642] = {.lex_state = 0},
  [643] = {.lex_state = 0},
  [644] = {.lex_state = 6},
  [645] = {.lex_state = 0},
  [646] = {.lex_state = 0},
  [647] = {.lex_state = 0},
  [648] = {.lex_state = 0},
  [649] = {.lex_state = 0},
  [650] = {.lex_state = 0},
  [651] = {.lex_state = 0},
  [652] = {.lex_state = 0},
  [653] = {.lex_state = 0},
  [654] = {.lex_state = 96},
  [655] = {.lex_state = 6},
  [656] = {.lex_state = 0},
  [657] = {.lex_state = 0},
  [658] = {.lex_state = 0},
  [659] = {.lex_state = 0},
  [660] = {.lex_state = 6},
  [661] = {.lex_state = 0},
  [662] = {.lex_state = 0},
  [663] = {.lex_state = 0},
  [664] = {.lex_state = 0},
  [665] = {.lex_state = 0},
  [666] = {.lex_state = 0},
  [667] = {.lex_state = 0},
  [668] = {.lex_state = 26},
  [669] = {.lex_state = 0},
  [670] = {.lex_state = 0},
  [671] = {.lex_state = 0},
  [672] = {.lex_state = 0},
  [673] = {.lex_state = 0},
  [674] = {.lex_state = 0},
  [675] = {.lex_state = 0},
  [676] = {.lex_state = 0},
  [677] = {.lex_state = 0},
  [678] = {.lex_state = 0},
  [679] = {.lex_state = 0},
  [680] = {.lex_state = 96},
  [681] = {.lex_state = 96},
  [682] = {.lex_state = 0},
  [683] = {.lex_state = 0},
  [684] = {.lex_state = 0},
  [685] = {.lex_state = 0},
  [686] = {.lex_state = 0},
  [687] = {.lex_state = 0},
  [688] = {.lex_state = 601},
  [689] = {.lex_state = 0},
  [690] = {.lex_state = 0},
  [691] = {.lex_state = 0},
  [692] = {.lex_state = 0},
  [693] = {.lex_state = 0},
  [694] = {.lex_state = 0},
  [695] = {.lex_state = 0},
  [696] = {.lex_state = 0},
  [697] = {.lex_state = 0},
  [698] = {.lex_state = 0},
  [699] = {.lex_state = 0},
  [700] = {.lex_state = 0},
  [701] = {.lex_state = 0},
  [702] = {.lex_state = 96},
  [703] = {.lex_state = 0},
  [704] = {.lex_state = 0},
  [705] = {.lex_state = 0},
  [706] = {.lex_state = 0},
  [707] = {.lex_state = 0},
  [708] = {.lex_state = 0},
  [709] = {.lex_state = 0},
  [710] = {.lex_state = 0},
  [711] = {.lex_state = 0},
  [712] = {.lex_state = 0},
  [713] = {.lex_state = 6},
  [714] = {.lex_state = 6},
  [715] = {.lex_state = 6},
  [716] = {.lex_state = 96},
  [717] = {.lex_state = 0},
  [718] = {.lex_state = 0},
  [719] = {.lex_state = 0},
  [720] = {.lex_state = 0},
  [721] = {.lex_state = 96},
  [722] = {.lex_state = 0},
  [723] = {.lex_state = 0},
  [724] = {.lex_state = 0},
  [725] = {.lex_state = 0},
  [726] = {.lex_state = 0},
  [727] = {.lex_state = 0},
  [728] = {.lex_state = 0},
  [729] = {.lex_state = 0},
  [730] = {.lex_state = 6},
  [731] = {.lex_state = 0},
  [732] = {.lex_state = 0},
  [733] = {.lex_state = 0},
  [734] = {.lex_state = 96},
  [735] = {.lex_state = 0},
  [736] = {.lex_state = 0},
  [737] = {.lex_state = 96},
  [738] = {.lex_state = 0},
  [739] = {.lex_state = 0},
  [740] = {.lex_state = 99},
  [741] = {.lex_state = 0},
  [742] = {.lex_state = 0},
  [743] = {.lex_state = 0},
  [744] = {.lex_state = 6},
  [745] = {.lex_state = 0},
  [746] = {.lex_state = 96},
  [747] = {.lex_state = 0},
  [748] = {.lex_state = 0},
  [749] = {.lex_state = 0},
  [750] = {.lex_state = 0},
  [751] = {.lex_state = 0},
  [752] = {.lex_state = 0},
  [753] = {(TSStateId)(-1),},
  [754] = {(TSStateId)(-1),},
};

static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
  [STATE(0)] = {
    [sym_comment] = STATE(0),
    [ts_builtin_sym_end] = ACTIONS(1),
    [sym_bare_identifier] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(1),
    [anon_sym_COMMA] = ACTIONS(1),
    [anon_sym_STAR] = ACTIONS(1),
    [anon_sym_DOT] = ACTIONS(1),
    [anon_sym_EQ] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(1),
    [anon_sym_GT] = ACTIONS(1),
    [anon_sym_BANG] = ACTIONS(1),
    [anon_sym_PLUS] = ACTIONS(1),
    [anon_sym_DASH] = ACTIONS(1),
    [anon_sym_SLASH] = ACTIONS(1),
    [anon_sym_PERCENT] = ACTIONS(1),
    [anon_sym_PIPE] = ACTIONS(1),
    [anon_sym_AMP] = ACTIONS(1),
    [anon_sym_CARET] = ACTIONS(1),
    [anon_sym_TILDE] = ACTIONS(1),
    [anon_sym_COLON_COLON] = ACTIONS(1),
    [aux_sym_select_statement_token1] = ACTIONS(1),
    [aux_sym_with_statement_token1] = ACTIONS(1),
    [aux_sym_with_statement_token2] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_RPAREN] = ACTIONS(1),
    [aux_sym_cte_definition_token1] = ACTIONS(1),
    [aux_sym_create_statement_token1] = ACTIONS(1),
    [aux_sym_insert_statement_token1] = ACTIONS(1),
    [aux_sym_update_statement_token1] = ACTIONS(1),
    [aux_sym_delete_statement_token1] = ACTIONS(1),
    [aux_sym_cast_expression_token1] = ACTIONS(1),
    [aux_sym_cast_expression_token2] = ACTIONS(1),
    [aux_sym_sql_keyword_token1] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(1),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(1),
    [anon_sym_COLON_EQ] = ACTIONS(1),
    [anon_sym_EQ_GT] = ACTIONS(1),
    [anon_sym_LT_EQ] = ACTIONS(1),
    [anon_sym_GT_EQ] = ACTIONS(1),
    [anon_sym_LT_GT] = ACTIONS(1),
    [aux_sym_window_partition_clause_token1] = ACTIONS(1),
    [aux_sym_from_clause_token1] = ACTIONS(1),
    [sym_visualise_keyword] = ACTIONS(1),
    [aux_sym_draw_clause_token1] = ACTIONS(1),
    [aux_sym_place_clause_token1] = ACTIONS(1),
    [aux_sym_remapping_clause_token1] = ACTIONS(1),
    [anon_sym_point] = ACTIONS(1),
    [anon_sym_line] = ACTIONS(1),
    [anon_sym_path] = ACTIONS(1),
    [anon_sym_bar] = ACTIONS(1),
    [anon_sym_area] = ACTIONS(1),
    [anon_sym_tile] = ACTIONS(1),
    [anon_sym_polygon] = ACTIONS(1),
    [anon_sym_ribbon] = ACTIONS(1),
    [anon_sym_histogram] = ACTIONS(1),
    [anon_sym_density] = ACTIONS(1),
    [anon_sym_smooth] = ACTIONS(1),
    [anon_sym_boxplot] = ACTIONS(1),
    [anon_sym_violin] = ACTIONS(1),
    [anon_sym_text] = ACTIONS(1),
    [anon_sym_label] = ACTIONS(1),
    [anon_sym_segment] = ACTIONS(1),
    [anon_sym_arrow] = ACTIONS(1),
    [anon_sym_rule] = ACTIONS(1),
    [anon_sym_range] = ACTIONS(1),
    [aux_sym_mapping_clause_token1] = ACTIONS(1),
    [aux_sym_setting_clause_token1] = ACTIONS(1),
    [aux_sym_filter_clause_token1] = ACTIONS(1),
    [aux_sym_filter_token_token1] = ACTIONS(1),
    [aux_sym_filter_token_token2] = ACTIONS(1),
    [aux_sym_filter_token_token3] = ACTIONS(1),
    [aux_sym_filter_token_token4] = ACTIONS(1),
    [aux_sym_filter_token_token5] = ACTIONS(1),
    [aux_sym_filter_token_token6] = ACTIONS(1),
    [aux_sym_filter_token_token7] = ACTIONS(1),
    [aux_sym_filter_token_token8] = ACTIONS(1),
    [aux_sym_filter_token_token9] = ACTIONS(1),
    [aux_sym_filter_token_token10] = ACTIONS(1),
    [aux_sym_filter_token_token11] = ACTIONS(1),
    [anon_sym_TILDE_STAR] = ACTIONS(1),
    [anon_sym_x] = ACTIONS(1),
    [anon_sym_y] = ACTIONS(1),
    [anon_sym_xmin] = ACTIONS(1),
    [anon_sym_xmax] = ACTIONS(1),
    [anon_sym_ymin] = ACTIONS(1),
    [anon_sym_ymax] = ACTIONS(1),
    [anon_sym_xend] = ACTIONS(1),
    [anon_sym_yend] = ACTIONS(1),
    [anon_sym_angle] = ACTIONS(1),
    [anon_sym_radius] = ACTIONS(1),
    [anon_sym_anglemin] = ACTIONS(1),
    [anon_sym_anglemax] = ACTIONS(1),
    [anon_sym_radiusmin] = ACTIONS(1),
    [anon_sym_radiusmax] = ACTIONS(1),
    [anon_sym_angleend] = ACTIONS(1),
    [anon_sym_radiusend] = ACTIONS(1),
    [anon_sym_weight] = ACTIONS(1),
    [anon_sym_color] = ACTIONS(1),
    [anon_sym_colour] = ACTIONS(1),
    [anon_sym_fill] = ACTIONS(1),
    [anon_sym_stroke] = ACTIONS(1),
    [anon_sym_opacity] = ACTIONS(1),
    [anon_sym_size] = ACTIONS(1),
    [anon_sym_shape] = ACTIONS(1),
    [anon_sym_linetype] = ACTIONS(1),
    [anon_sym_linewidth] = ACTIONS(1),
    [anon_sym_width] = ACTIONS(1),
    [anon_sym_height] = ACTIONS(1),
    [anon_sym_typeface] = ACTIONS(1),
    [anon_sym_fontweight] = ACTIONS(1),
    [anon_sym_italic] = ACTIONS(1),
    [anon_sym_fontsize] = ACTIONS(1),
    [anon_sym_hjust] = ACTIONS(1),
    [anon_sym_vjust] = ACTIONS(1),
    [anon_sym_rotation] = ACTIONS(1),
    [anon_sym_slope] = ACTIONS(1),
    [anon_sym_panel] = ACTIONS(1),
    [anon_sym_row] = ACTIONS(1),
    [anon_sym_column] = ACTIONS(1),
    [anon_sym_offset] = ACTIONS(1),
    [anon_sym_count] = ACTIONS(1),
    [anon_sym_intensity] = ACTIONS(1),
    [aux_sym_scale_clause_token1] = ACTIONS(1),
    [aux_sym_scale_renaming_clause_token1] = ACTIONS(1),
    [aux_sym_scale_type_identifier_token1] = ACTIONS(1),
    [aux_sym_scale_type_identifier_token2] = ACTIONS(1),
    [aux_sym_scale_type_identifier_token3] = ACTIONS(1),
    [aux_sym_scale_type_identifier_token4] = ACTIONS(1),
    [aux_sym_scale_type_identifier_token5] = ACTIONS(1),
    [aux_sym_scale_to_clause_token1] = ACTIONS(1),
    [aux_sym_scale_via_clause_token1] = ACTIONS(1),
    [aux_sym_facet_clause_token1] = ACTIONS(1),
    [aux_sym_project_clause_token1] = ACTIONS(1),
    [aux_sym_label_clause_token1] = ACTIONS(1),
    [sym_quoted_identifier] = ACTIONS(1),
    [sym_filter_identifier] = ACTIONS(1),
    [sym_number] = ACTIONS(1),
    [anon_sym_SQUOTE] = ACTIONS(1),
    [aux_sym_string_token2] = ACTIONS(1),
    [anon_sym_true] = ACTIONS(1),
    [anon_sym_false] = ACTIONS(1),
    [anon_sym_LBRACK] = ACTIONS(1),
    [anon_sym_RBRACK] = ACTIONS(1),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(1)] = {
    [sym_query] = STATE(671),
    [sym_sql_portion] = STATE(534),
    [sym_sql_statement] = STATE(535),
    [sym_from_statement] = STATE(615),
    [sym_select_statement] = STATE(615),
    [sym_with_statement] = STATE(615),
    [sym_create_statement] = STATE(615),
    [sym_insert_statement] = STATE(615),
    [sym_update_statement] = STATE(615),
    [sym_delete_statement] = STATE(615),
    [sym_other_sql_statement] = STATE(615),
    [sym_subquery] = STATE(228),
    [sym_non_from_sql_keyword] = STATE(228),
    [sym_from_clause] = STATE(12),
    [sym_visualise_statement] = STATE(639),
    [sym_string] = STATE(228),
    [sym_comment] = STATE(1),
    [aux_sym_query_repeat1] = STATE(587),
    [aux_sym_other_sql_statement_repeat1] = STATE(210),
    [ts_builtin_sym_end] = ACTIONS(7),
    [anon_sym_COMMA] = ACTIONS(9),
    [anon_sym_STAR] = ACTIONS(11),
    [anon_sym_DOT] = ACTIONS(11),
    [anon_sym_EQ] = ACTIONS(11),
    [aux_sym_select_statement_token1] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(9),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_create_statement_token2] = ACTIONS(11),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(27),
    [aux_sym_from_clause_token1] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(31),
    [sym_number] = ACTIONS(11),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(2)] = {
    [sym_subquery] = STATE(53),
    [sym_cast_expression] = STATE(53),
    [sym_function_call] = STATE(53),
    [sym_sql_keyword] = STATE(53),
    [sym_non_from_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(53),
    [sym_from_clause] = STATE(53),
    [sym_identifier] = STATE(50),
    [sym_string] = STATE(53),
    [sym_comment] = STATE(2),
    [aux_sym_select_body_repeat1] = STATE(3),
    [ts_builtin_sym_end] = ACTIONS(39),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(39),
    [anon_sym_COMMA] = ACTIONS(43),
    [anon_sym_STAR] = ACTIONS(43),
    [anon_sym_DOT] = ACTIONS(45),
    [anon_sym_EQ] = ACTIONS(43),
    [anon_sym_LT] = ACTIONS(43),
    [anon_sym_GT] = ACTIONS(43),
    [anon_sym_BANG] = ACTIONS(43),
    [anon_sym_PLUS] = ACTIONS(43),
    [anon_sym_DASH] = ACTIONS(45),
    [anon_sym_SLASH] = ACTIONS(45),
    [anon_sym_PERCENT] = ACTIONS(43),
    [anon_sym_PIPE] = ACTIONS(43),
    [anon_sym_AMP] = ACTIONS(43),
    [anon_sym_CARET] = ACTIONS(43),
    [anon_sym_TILDE] = ACTIONS(43),
    [anon_sym_COLON_COLON] = ACTIONS(43),
    [anon_sym_LPAREN] = ACTIONS(47),
    [aux_sym_cast_expression_token1] = ACTIONS(49),
    [aux_sym_cast_expression_token2] = ACTIONS(49),
    [aux_sym_sql_keyword_token1] = ACTIONS(51),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(53),
    [aux_sym_from_clause_token1] = ACTIONS(55),
    [sym_visualise_keyword] = ACTIONS(39),
    [sym_quoted_identifier] = ACTIONS(57),
    [sym_number] = ACTIONS(43),
    [anon_sym_SQUOTE] = ACTIONS(59),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(3)] = {
    [sym_subquery] = STATE(53),
    [sym_cast_expression] = STATE(53),
    [sym_function_call] = STATE(53),
    [sym_sql_keyword] = STATE(53),
    [sym_non_from_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(53),
    [sym_from_clause] = STATE(53),
    [sym_identifier] = STATE(50),
    [sym_string] = STATE(53),
    [sym_comment] = STATE(3),
    [aux_sym_select_body_repeat1] = STATE(3),
    [ts_builtin_sym_end] = ACTIONS(61),
    [sym_bare_identifier] = ACTIONS(63),
    [anon_sym_SEMI] = ACTIONS(61),
    [anon_sym_COMMA] = ACTIONS(66),
    [anon_sym_STAR] = ACTIONS(66),
    [anon_sym_DOT] = ACTIONS(69),
    [anon_sym_EQ] = ACTIONS(66),
    [anon_sym_LT] = ACTIONS(66),
    [anon_sym_GT] = ACTIONS(66),
    [anon_sym_BANG] = ACTIONS(66),
    [anon_sym_PLUS] = ACTIONS(66),
    [anon_sym_DASH] = ACTIONS(69),
    [anon_sym_SLASH] = ACTIONS(69),
    [anon_sym_PERCENT] = ACTIONS(66),
    [anon_sym_PIPE] = ACTIONS(66),
    [anon_sym_AMP] = ACTIONS(66),
    [anon_sym_CARET] = ACTIONS(66),
    [anon_sym_TILDE] = ACTIONS(66),
    [anon_sym_COLON_COLON] = ACTIONS(66),
    [anon_sym_LPAREN] = ACTIONS(72),
    [aux_sym_cast_expression_token1] = ACTIONS(75),
    [aux_sym_cast_expression_token2] = ACTIONS(75),
    [aux_sym_sql_keyword_token1] = ACTIONS(78),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(81),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(81),
    [aux_sym_from_clause_token1] = ACTIONS(84),
    [sym_visualise_keyword] = ACTIONS(61),
    [sym_quoted_identifier] = ACTIONS(87),
    [sym_number] = ACTIONS(66),
    [anon_sym_SQUOTE] = ACTIONS(90),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(4)] = {
    [sym_select_statement] = STATE(672),
    [sym_with_statement] = STATE(672),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(672),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(4),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [ts_builtin_sym_end] = ACTIONS(93),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_SEMI] = ACTIONS(93),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [anon_sym_RPAREN] = ACTIONS(93),
    [aux_sym_create_statement_token2] = ACTIONS(107),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_visualise_keyword] = ACTIONS(93),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(5)] = {
    [sym_select_statement] = STATE(724),
    [sym_with_statement] = STATE(724),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(724),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(5),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [ts_builtin_sym_end] = ACTIONS(117),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_SEMI] = ACTIONS(117),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [anon_sym_RPAREN] = ACTIONS(117),
    [aux_sym_create_statement_token2] = ACTIONS(119),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_visualise_keyword] = ACTIONS(117),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(6)] = {
    [sym_select_body] = STATE(531),
    [sym_subquery] = STATE(53),
    [sym_cast_expression] = STATE(53),
    [sym_function_call] = STATE(53),
    [sym_sql_keyword] = STATE(53),
    [sym_non_from_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(53),
    [sym_from_clause] = STATE(53),
    [sym_identifier] = STATE(50),
    [sym_string] = STATE(53),
    [sym_comment] = STATE(6),
    [aux_sym_select_body_repeat1] = STATE(2),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_COMMA] = ACTIONS(43),
    [anon_sym_STAR] = ACTIONS(43),
    [anon_sym_DOT] = ACTIONS(45),
    [anon_sym_EQ] = ACTIONS(43),
    [anon_sym_LT] = ACTIONS(43),
    [anon_sym_GT] = ACTIONS(43),
    [anon_sym_BANG] = ACTIONS(43),
    [anon_sym_PLUS] = ACTIONS(43),
    [anon_sym_DASH] = ACTIONS(45),
    [anon_sym_SLASH] = ACTIONS(45),
    [anon_sym_PERCENT] = ACTIONS(43),
    [anon_sym_PIPE] = ACTIONS(43),
    [anon_sym_AMP] = ACTIONS(43),
    [anon_sym_CARET] = ACTIONS(43),
    [anon_sym_TILDE] = ACTIONS(43),
    [anon_sym_COLON_COLON] = ACTIONS(43),
    [anon_sym_LPAREN] = ACTIONS(47),
    [aux_sym_cast_expression_token1] = ACTIONS(49),
    [aux_sym_cast_expression_token2] = ACTIONS(49),
    [aux_sym_sql_keyword_token1] = ACTIONS(51),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(53),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(53),
    [aux_sym_from_clause_token1] = ACTIONS(55),
    [sym_quoted_identifier] = ACTIONS(57),
    [sym_number] = ACTIONS(43),
    [anon_sym_SQUOTE] = ACTIONS(59),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(7)] = {
    [sym_subquery] = STATE(107),
    [sym_cast_expression] = STATE(107),
    [sym_function_call] = STATE(107),
    [sym_sql_keyword] = STATE(107),
    [sym_non_from_sql_keyword] = STATE(126),
    [sym_window_function] = STATE(107),
    [sym_from_clause] = STATE(107),
    [sym_identifier] = STATE(110),
    [sym_string] = STATE(107),
    [sym_comment] = STATE(7),
    [aux_sym_select_body_repeat1] = STATE(8),
    [sym_bare_identifier] = ACTIONS(121),
    [anon_sym_COMMA] = ACTIONS(123),
    [anon_sym_STAR] = ACTIONS(123),
    [anon_sym_DOT] = ACTIONS(125),
    [anon_sym_EQ] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(123),
    [anon_sym_GT] = ACTIONS(123),
    [anon_sym_BANG] = ACTIONS(123),
    [anon_sym_PLUS] = ACTIONS(123),
    [anon_sym_DASH] = ACTIONS(125),
    [anon_sym_SLASH] = ACTIONS(125),
    [anon_sym_PERCENT] = ACTIONS(123),
    [anon_sym_PIPE] = ACTIONS(123),
    [anon_sym_AMP] = ACTIONS(123),
    [anon_sym_CARET] = ACTIONS(123),
    [anon_sym_TILDE] = ACTIONS(123),
    [anon_sym_COLON_COLON] = ACTIONS(123),
    [anon_sym_LPAREN] = ACTIONS(127),
    [anon_sym_RPAREN] = ACTIONS(39),
    [aux_sym_cast_expression_token1] = ACTIONS(129),
    [aux_sym_cast_expression_token2] = ACTIONS(129),
    [aux_sym_sql_keyword_token1] = ACTIONS(131),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(133),
    [aux_sym_from_clause_token1] = ACTIONS(135),
    [sym_quoted_identifier] = ACTIONS(137),
    [sym_number] = ACTIONS(123),
    [anon_sym_SQUOTE] = ACTIONS(139),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(8)] = {
    [sym_subquery] = STATE(107),
    [sym_cast_expression] = STATE(107),
    [sym_function_call] = STATE(107),
    [sym_sql_keyword] = STATE(107),
    [sym_non_from_sql_keyword] = STATE(126),
    [sym_window_function] = STATE(107),
    [sym_from_clause] = STATE(107),
    [sym_identifier] = STATE(110),
    [sym_string] = STATE(107),
    [sym_comment] = STATE(8),
    [aux_sym_select_body_repeat1] = STATE(8),
    [sym_bare_identifier] = ACTIONS(141),
    [anon_sym_COMMA] = ACTIONS(144),
    [anon_sym_STAR] = ACTIONS(144),
    [anon_sym_DOT] = ACTIONS(147),
    [anon_sym_EQ] = ACTIONS(144),
    [anon_sym_LT] = ACTIONS(144),
    [anon_sym_GT] = ACTIONS(144),
    [anon_sym_BANG] = ACTIONS(144),
    [anon_sym_PLUS] = ACTIONS(144),
    [anon_sym_DASH] = ACTIONS(147),
    [anon_sym_SLASH] = ACTIONS(147),
    [anon_sym_PERCENT] = ACTIONS(144),
    [anon_sym_PIPE] = ACTIONS(144),
    [anon_sym_AMP] = ACTIONS(144),
    [anon_sym_CARET] = ACTIONS(144),
    [anon_sym_TILDE] = ACTIONS(144),
    [anon_sym_COLON_COLON] = ACTIONS(144),
    [anon_sym_LPAREN] = ACTIONS(150),
    [anon_sym_RPAREN] = ACTIONS(61),
    [aux_sym_cast_expression_token1] = ACTIONS(153),
    [aux_sym_cast_expression_token2] = ACTIONS(153),
    [aux_sym_sql_keyword_token1] = ACTIONS(156),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(159),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(159),
    [aux_sym_from_clause_token1] = ACTIONS(162),
    [sym_quoted_identifier] = ACTIONS(165),
    [sym_number] = ACTIONS(144),
    [anon_sym_SQUOTE] = ACTIONS(168),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(9)] = {
    [sym_select_body] = STATE(531),
    [sym_subquery] = STATE(107),
    [sym_cast_expression] = STATE(107),
    [sym_function_call] = STATE(107),
    [sym_sql_keyword] = STATE(107),
    [sym_non_from_sql_keyword] = STATE(126),
    [sym_window_function] = STATE(107),
    [sym_from_clause] = STATE(107),
    [sym_identifier] = STATE(110),
    [sym_string] = STATE(107),
    [sym_comment] = STATE(9),
    [aux_sym_select_body_repeat1] = STATE(7),
    [sym_bare_identifier] = ACTIONS(121),
    [anon_sym_COMMA] = ACTIONS(123),
    [anon_sym_STAR] = ACTIONS(123),
    [anon_sym_DOT] = ACTIONS(125),
    [anon_sym_EQ] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(123),
    [anon_sym_GT] = ACTIONS(123),
    [anon_sym_BANG] = ACTIONS(123),
    [anon_sym_PLUS] = ACTIONS(123),
    [anon_sym_DASH] = ACTIONS(125),
    [anon_sym_SLASH] = ACTIONS(125),
    [anon_sym_PERCENT] = ACTIONS(123),
    [anon_sym_PIPE] = ACTIONS(123),
    [anon_sym_AMP] = ACTIONS(123),
    [anon_sym_CARET] = ACTIONS(123),
    [anon_sym_TILDE] = ACTIONS(123),
    [anon_sym_COLON_COLON] = ACTIONS(123),
    [anon_sym_LPAREN] = ACTIONS(127),
    [aux_sym_cast_expression_token1] = ACTIONS(129),
    [aux_sym_cast_expression_token2] = ACTIONS(129),
    [aux_sym_sql_keyword_token1] = ACTIONS(131),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(133),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(133),
    [aux_sym_from_clause_token1] = ACTIONS(135),
    [sym_quoted_identifier] = ACTIONS(137),
    [sym_number] = ACTIONS(123),
    [anon_sym_SQUOTE] = ACTIONS(139),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(10)] = {
    [sym_select_statement] = STATE(670),
    [sym_with_statement] = STATE(670),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(670),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(10),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [ts_builtin_sym_end] = ACTIONS(93),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_SEMI] = ACTIONS(93),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [anon_sym_RPAREN] = ACTIONS(93),
    [aux_sym_create_statement_token2] = ACTIONS(107),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_visualise_keyword] = ACTIONS(93),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(11)] = {
    [sym_subquery] = STATE(115),
    [sym_cast_expression] = STATE(115),
    [sym_function_call] = STATE(115),
    [sym_non_from_sql_keyword] = STATE(115),
    [sym_window_function] = STATE(115),
    [sym_identifier] = STATE(130),
    [sym_string] = STATE(115),
    [sym_comment] = STATE(11),
    [aux_sym_from_statement_repeat1] = STATE(11),
    [ts_builtin_sym_end] = ACTIONS(171),
    [sym_bare_identifier] = ACTIONS(173),
    [anon_sym_SEMI] = ACTIONS(171),
    [anon_sym_COMMA] = ACTIONS(176),
    [anon_sym_STAR] = ACTIONS(176),
    [anon_sym_DOT] = ACTIONS(179),
    [anon_sym_EQ] = ACTIONS(176),
    [anon_sym_LT] = ACTIONS(176),
    [anon_sym_GT] = ACTIONS(176),
    [anon_sym_BANG] = ACTIONS(176),
    [anon_sym_PLUS] = ACTIONS(176),
    [anon_sym_DASH] = ACTIONS(179),
    [anon_sym_SLASH] = ACTIONS(179),
    [anon_sym_PERCENT] = ACTIONS(176),
    [anon_sym_PIPE] = ACTIONS(176),
    [anon_sym_AMP] = ACTIONS(176),
    [anon_sym_CARET] = ACTIONS(176),
    [anon_sym_TILDE] = ACTIONS(176),
    [anon_sym_COLON_COLON] = ACTIONS(176),
    [anon_sym_LPAREN] = ACTIONS(182),
    [aux_sym_cast_expression_token1] = ACTIONS(185),
    [aux_sym_cast_expression_token2] = ACTIONS(185),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(188),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(188),
    [sym_visualise_keyword] = ACTIONS(171),
    [sym_quoted_identifier] = ACTIONS(191),
    [sym_number] = ACTIONS(176),
    [anon_sym_SQUOTE] = ACTIONS(194),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(12)] = {
    [sym_subquery] = STATE(115),
    [sym_cast_expression] = STATE(115),
    [sym_function_call] = STATE(115),
    [sym_non_from_sql_keyword] = STATE(115),
    [sym_window_function] = STATE(115),
    [sym_identifier] = STATE(130),
    [sym_string] = STATE(115),
    [sym_comment] = STATE(12),
    [aux_sym_from_statement_repeat1] = STATE(13),
    [ts_builtin_sym_end] = ACTIONS(197),
    [sym_bare_identifier] = ACTIONS(199),
    [anon_sym_SEMI] = ACTIONS(197),
    [anon_sym_COMMA] = ACTIONS(201),
    [anon_sym_STAR] = ACTIONS(201),
    [anon_sym_DOT] = ACTIONS(203),
    [anon_sym_EQ] = ACTIONS(201),
    [anon_sym_LT] = ACTIONS(201),
    [anon_sym_GT] = ACTIONS(201),
    [anon_sym_BANG] = ACTIONS(201),
    [anon_sym_PLUS] = ACTIONS(201),
    [anon_sym_DASH] = ACTIONS(203),
    [anon_sym_SLASH] = ACTIONS(203),
    [anon_sym_PERCENT] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_AMP] = ACTIONS(201),
    [anon_sym_CARET] = ACTIONS(201),
    [anon_sym_TILDE] = ACTIONS(201),
    [anon_sym_COLON_COLON] = ACTIONS(201),
    [anon_sym_LPAREN] = ACTIONS(205),
    [aux_sym_cast_expression_token1] = ACTIONS(207),
    [aux_sym_cast_expression_token2] = ACTIONS(207),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(209),
    [sym_visualise_keyword] = ACTIONS(197),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(201),
    [anon_sym_SQUOTE] = ACTIONS(213),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(13)] = {
    [sym_subquery] = STATE(115),
    [sym_cast_expression] = STATE(115),
    [sym_function_call] = STATE(115),
    [sym_non_from_sql_keyword] = STATE(115),
    [sym_window_function] = STATE(115),
    [sym_identifier] = STATE(130),
    [sym_string] = STATE(115),
    [sym_comment] = STATE(13),
    [aux_sym_from_statement_repeat1] = STATE(11),
    [ts_builtin_sym_end] = ACTIONS(215),
    [sym_bare_identifier] = ACTIONS(199),
    [anon_sym_SEMI] = ACTIONS(215),
    [anon_sym_COMMA] = ACTIONS(201),
    [anon_sym_STAR] = ACTIONS(201),
    [anon_sym_DOT] = ACTIONS(203),
    [anon_sym_EQ] = ACTIONS(201),
    [anon_sym_LT] = ACTIONS(201),
    [anon_sym_GT] = ACTIONS(201),
    [anon_sym_BANG] = ACTIONS(201),
    [anon_sym_PLUS] = ACTIONS(201),
    [anon_sym_DASH] = ACTIONS(203),
    [anon_sym_SLASH] = ACTIONS(203),
    [anon_sym_PERCENT] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_AMP] = ACTIONS(201),
    [anon_sym_CARET] = ACTIONS(201),
    [anon_sym_TILDE] = ACTIONS(201),
    [anon_sym_COLON_COLON] = ACTIONS(201),
    [anon_sym_LPAREN] = ACTIONS(205),
    [aux_sym_cast_expression_token1] = ACTIONS(207),
    [aux_sym_cast_expression_token2] = ACTIONS(207),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(209),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(209),
    [sym_visualise_keyword] = ACTIONS(215),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(201),
    [anon_sym_SQUOTE] = ACTIONS(213),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(14)] = {
    [sym_sql_statement] = STATE(635),
    [sym_from_statement] = STATE(615),
    [sym_select_statement] = STATE(615),
    [sym_with_statement] = STATE(615),
    [sym_create_statement] = STATE(615),
    [sym_insert_statement] = STATE(615),
    [sym_update_statement] = STATE(615),
    [sym_delete_statement] = STATE(615),
    [sym_other_sql_statement] = STATE(615),
    [sym_subquery] = STATE(228),
    [sym_non_from_sql_keyword] = STATE(228),
    [sym_from_clause] = STATE(12),
    [sym_string] = STATE(228),
    [sym_comment] = STATE(14),
    [aux_sym_other_sql_statement_repeat1] = STATE(210),
    [ts_builtin_sym_end] = ACTIONS(217),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(9),
    [anon_sym_STAR] = ACTIONS(11),
    [anon_sym_DOT] = ACTIONS(11),
    [anon_sym_EQ] = ACTIONS(11),
    [aux_sym_select_statement_token1] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(9),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_create_statement_token2] = ACTIONS(11),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(27),
    [aux_sym_from_clause_token1] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_number] = ACTIONS(11),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(15)] = {
    [sym_sql_statement] = STATE(635),
    [sym_from_statement] = STATE(615),
    [sym_select_statement] = STATE(615),
    [sym_with_statement] = STATE(615),
    [sym_create_statement] = STATE(615),
    [sym_insert_statement] = STATE(615),
    [sym_update_statement] = STATE(615),
    [sym_delete_statement] = STATE(615),
    [sym_other_sql_statement] = STATE(615),
    [sym_subquery] = STATE(228),
    [sym_non_from_sql_keyword] = STATE(228),
    [sym_from_clause] = STATE(12),
    [sym_string] = STATE(228),
    [sym_comment] = STATE(15),
    [aux_sym_other_sql_statement_repeat1] = STATE(210),
    [ts_builtin_sym_end] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(9),
    [anon_sym_STAR] = ACTIONS(11),
    [anon_sym_DOT] = ACTIONS(11),
    [anon_sym_EQ] = ACTIONS(11),
    [aux_sym_select_statement_token1] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(9),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_create_statement_token2] = ACTIONS(11),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(27),
    [aux_sym_from_clause_token1] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(219),
    [sym_number] = ACTIONS(11),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(16)] = {
    [sym_subquery] = STATE(173),
    [sym_cast_expression] = STATE(173),
    [sym_function_call] = STATE(173),
    [sym_non_from_sql_keyword] = STATE(173),
    [sym_window_function] = STATE(173),
    [sym_identifier] = STATE(176),
    [sym_string] = STATE(173),
    [sym_comment] = STATE(16),
    [aux_sym_from_statement_repeat1] = STATE(17),
    [sym_bare_identifier] = ACTIONS(222),
    [anon_sym_COMMA] = ACTIONS(224),
    [anon_sym_STAR] = ACTIONS(224),
    [anon_sym_DOT] = ACTIONS(226),
    [anon_sym_EQ] = ACTIONS(224),
    [anon_sym_LT] = ACTIONS(224),
    [anon_sym_GT] = ACTIONS(224),
    [anon_sym_BANG] = ACTIONS(224),
    [anon_sym_PLUS] = ACTIONS(224),
    [anon_sym_DASH] = ACTIONS(226),
    [anon_sym_SLASH] = ACTIONS(226),
    [anon_sym_PERCENT] = ACTIONS(224),
    [anon_sym_PIPE] = ACTIONS(224),
    [anon_sym_AMP] = ACTIONS(224),
    [anon_sym_CARET] = ACTIONS(224),
    [anon_sym_TILDE] = ACTIONS(224),
    [anon_sym_COLON_COLON] = ACTIONS(224),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(197),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(224),
    [anon_sym_SQUOTE] = ACTIONS(236),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(17)] = {
    [sym_subquery] = STATE(173),
    [sym_cast_expression] = STATE(173),
    [sym_function_call] = STATE(173),
    [sym_non_from_sql_keyword] = STATE(173),
    [sym_window_function] = STATE(173),
    [sym_identifier] = STATE(176),
    [sym_string] = STATE(173),
    [sym_comment] = STATE(17),
    [aux_sym_from_statement_repeat1] = STATE(18),
    [sym_bare_identifier] = ACTIONS(222),
    [anon_sym_COMMA] = ACTIONS(224),
    [anon_sym_STAR] = ACTIONS(224),
    [anon_sym_DOT] = ACTIONS(226),
    [anon_sym_EQ] = ACTIONS(224),
    [anon_sym_LT] = ACTIONS(224),
    [anon_sym_GT] = ACTIONS(224),
    [anon_sym_BANG] = ACTIONS(224),
    [anon_sym_PLUS] = ACTIONS(224),
    [anon_sym_DASH] = ACTIONS(226),
    [anon_sym_SLASH] = ACTIONS(226),
    [anon_sym_PERCENT] = ACTIONS(224),
    [anon_sym_PIPE] = ACTIONS(224),
    [anon_sym_AMP] = ACTIONS(224),
    [anon_sym_CARET] = ACTIONS(224),
    [anon_sym_TILDE] = ACTIONS(224),
    [anon_sym_COLON_COLON] = ACTIONS(224),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(215),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(232),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(224),
    [anon_sym_SQUOTE] = ACTIONS(236),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(18)] = {
    [sym_subquery] = STATE(173),
    [sym_cast_expression] = STATE(173),
    [sym_function_call] = STATE(173),
    [sym_non_from_sql_keyword] = STATE(173),
    [sym_window_function] = STATE(173),
    [sym_identifier] = STATE(176),
    [sym_string] = STATE(173),
    [sym_comment] = STATE(18),
    [aux_sym_from_statement_repeat1] = STATE(18),
    [sym_bare_identifier] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(241),
    [anon_sym_STAR] = ACTIONS(241),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(241),
    [anon_sym_LT] = ACTIONS(241),
    [anon_sym_GT] = ACTIONS(241),
    [anon_sym_BANG] = ACTIONS(241),
    [anon_sym_PLUS] = ACTIONS(241),
    [anon_sym_DASH] = ACTIONS(244),
    [anon_sym_SLASH] = ACTIONS(244),
    [anon_sym_PERCENT] = ACTIONS(241),
    [anon_sym_PIPE] = ACTIONS(241),
    [anon_sym_AMP] = ACTIONS(241),
    [anon_sym_CARET] = ACTIONS(241),
    [anon_sym_TILDE] = ACTIONS(241),
    [anon_sym_COLON_COLON] = ACTIONS(241),
    [anon_sym_LPAREN] = ACTIONS(247),
    [anon_sym_RPAREN] = ACTIONS(171),
    [aux_sym_cast_expression_token1] = ACTIONS(250),
    [aux_sym_cast_expression_token2] = ACTIONS(250),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(253),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(253),
    [sym_quoted_identifier] = ACTIONS(256),
    [sym_number] = ACTIONS(241),
    [anon_sym_SQUOTE] = ACTIONS(259),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(19)] = {
    [sym_select_statement] = STATE(736),
    [sym_with_statement] = STATE(736),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(736),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(19),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(20)] = {
    [sym_select_statement] = STATE(712),
    [sym_with_statement] = STATE(712),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(712),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(20),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(21)] = {
    [sym_select_statement] = STATE(726),
    [sym_with_statement] = STATE(726),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(726),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(21),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(22)] = {
    [sym_select_statement] = STATE(720),
    [sym_with_statement] = STATE(720),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(720),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(22),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(23)] = {
    [sym_select_statement] = STATE(674),
    [sym_with_statement] = STATE(674),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(674),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(23),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(24)] = {
    [sym_select_statement] = STATE(711),
    [sym_with_statement] = STATE(711),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(711),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(24),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(25)] = {
    [sym_select_statement] = STATE(689),
    [sym_with_statement] = STATE(689),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(689),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(25),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(26)] = {
    [sym_select_statement] = STATE(693),
    [sym_with_statement] = STATE(693),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(693),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(26),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(27)] = {
    [sym_select_statement] = STATE(697),
    [sym_with_statement] = STATE(697),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(697),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(27),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(28)] = {
    [sym_select_statement] = STATE(700),
    [sym_with_statement] = STATE(700),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(700),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(28),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(29)] = {
    [sym_select_statement] = STATE(703),
    [sym_with_statement] = STATE(703),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(703),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(29),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(30)] = {
    [sym_select_statement] = STATE(706),
    [sym_with_statement] = STATE(706),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(706),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(30),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(31)] = {
    [sym_select_statement] = STATE(752),
    [sym_with_statement] = STATE(752),
    [sym_subquery] = STATE(188),
    [sym_subquery_body] = STATE(752),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(31),
    [aux_sym_subquery_body_repeat1] = STATE(79),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [aux_sym_select_statement_token1] = ACTIONS(101),
    [aux_sym_with_statement_token1] = ACTIONS(103),
    [anon_sym_LPAREN] = ACTIONS(105),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(32)] = {
    [sym_comment] = STATE(32),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [aux_sym_from_clause_token1] = ACTIONS(262),
    [sym_visualise_keyword] = ACTIONS(262),
    [aux_sym_scale_to_clause_token1] = ACTIONS(264),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(33)] = {
    [sym_comment] = STATE(33),
    [aux_sym_qualified_name_repeat1] = STATE(36),
    [ts_builtin_sym_end] = ACTIONS(266),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_SEMI] = ACTIONS(266),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(266),
    [anon_sym_DOT] = ACTIONS(270),
    [anon_sym_EQ] = ACTIONS(266),
    [anon_sym_LT] = ACTIONS(266),
    [anon_sym_GT] = ACTIONS(266),
    [anon_sym_BANG] = ACTIONS(266),
    [anon_sym_PLUS] = ACTIONS(266),
    [anon_sym_DASH] = ACTIONS(268),
    [anon_sym_SLASH] = ACTIONS(268),
    [anon_sym_PERCENT] = ACTIONS(266),
    [anon_sym_PIPE] = ACTIONS(266),
    [anon_sym_AMP] = ACTIONS(266),
    [anon_sym_CARET] = ACTIONS(266),
    [anon_sym_TILDE] = ACTIONS(266),
    [anon_sym_COLON_COLON] = ACTIONS(266),
    [anon_sym_LPAREN] = ACTIONS(266),
    [aux_sym_cte_definition_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(268),
    [aux_sym_from_clause_token1] = ACTIONS(266),
    [sym_visualise_keyword] = ACTIONS(266),
    [sym_quoted_identifier] = ACTIONS(266),
    [sym_number] = ACTIONS(266),
    [anon_sym_SQUOTE] = ACTIONS(266),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(34)] = {
    [sym_identifier] = STATE(66),
    [sym_comment] = STATE(34),
    [ts_builtin_sym_end] = ACTIONS(272),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(272),
    [anon_sym_COMMA] = ACTIONS(272),
    [anon_sym_STAR] = ACTIONS(272),
    [anon_sym_DOT] = ACTIONS(274),
    [anon_sym_EQ] = ACTIONS(272),
    [anon_sym_LT] = ACTIONS(272),
    [anon_sym_GT] = ACTIONS(272),
    [anon_sym_BANG] = ACTIONS(272),
    [anon_sym_PLUS] = ACTIONS(272),
    [anon_sym_DASH] = ACTIONS(274),
    [anon_sym_SLASH] = ACTIONS(274),
    [anon_sym_PERCENT] = ACTIONS(272),
    [anon_sym_PIPE] = ACTIONS(272),
    [anon_sym_AMP] = ACTIONS(272),
    [anon_sym_CARET] = ACTIONS(272),
    [anon_sym_TILDE] = ACTIONS(272),
    [anon_sym_COLON_COLON] = ACTIONS(272),
    [anon_sym_LPAREN] = ACTIONS(272),
    [aux_sym_cte_definition_token1] = ACTIONS(276),
    [aux_sym_cast_expression_token1] = ACTIONS(274),
    [aux_sym_cast_expression_token2] = ACTIONS(274),
    [aux_sym_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(274),
    [aux_sym_from_clause_token1] = ACTIONS(272),
    [sym_visualise_keyword] = ACTIONS(272),
    [sym_quoted_identifier] = ACTIONS(57),
    [sym_number] = ACTIONS(272),
    [anon_sym_SQUOTE] = ACTIONS(272),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(35)] = {
    [sym_identifier] = STATE(67),
    [sym_comment] = STATE(35),
    [ts_builtin_sym_end] = ACTIONS(278),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(278),
    [anon_sym_COMMA] = ACTIONS(278),
    [anon_sym_STAR] = ACTIONS(278),
    [anon_sym_DOT] = ACTIONS(280),
    [anon_sym_EQ] = ACTIONS(278),
    [anon_sym_LT] = ACTIONS(278),
    [anon_sym_GT] = ACTIONS(278),
    [anon_sym_BANG] = ACTIONS(278),
    [anon_sym_PLUS] = ACTIONS(278),
    [anon_sym_DASH] = ACTIONS(280),
    [anon_sym_SLASH] = ACTIONS(280),
    [anon_sym_PERCENT] = ACTIONS(278),
    [anon_sym_PIPE] = ACTIONS(278),
    [anon_sym_AMP] = ACTIONS(278),
    [anon_sym_CARET] = ACTIONS(278),
    [anon_sym_TILDE] = ACTIONS(278),
    [anon_sym_COLON_COLON] = ACTIONS(278),
    [anon_sym_LPAREN] = ACTIONS(278),
    [aux_sym_cte_definition_token1] = ACTIONS(282),
    [aux_sym_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(280),
    [aux_sym_from_clause_token1] = ACTIONS(278),
    [sym_visualise_keyword] = ACTIONS(278),
    [sym_quoted_identifier] = ACTIONS(57),
    [sym_number] = ACTIONS(278),
    [anon_sym_SQUOTE] = ACTIONS(278),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(36)] = {
    [sym_comment] = STATE(36),
    [aux_sym_qualified_name_repeat1] = STATE(39),
    [ts_builtin_sym_end] = ACTIONS(284),
    [sym_bare_identifier] = ACTIONS(286),
    [anon_sym_SEMI] = ACTIONS(284),
    [anon_sym_COMMA] = ACTIONS(284),
    [anon_sym_STAR] = ACTIONS(284),
    [anon_sym_DOT] = ACTIONS(270),
    [anon_sym_EQ] = ACTIONS(284),
    [anon_sym_LT] = ACTIONS(284),
    [anon_sym_GT] = ACTIONS(284),
    [anon_sym_BANG] = ACTIONS(284),
    [anon_sym_PLUS] = ACTIONS(284),
    [anon_sym_DASH] = ACTIONS(286),
    [anon_sym_SLASH] = ACTIONS(286),
    [anon_sym_PERCENT] = ACTIONS(284),
    [anon_sym_PIPE] = ACTIONS(284),
    [anon_sym_AMP] = ACTIONS(284),
    [anon_sym_CARET] = ACTIONS(284),
    [anon_sym_TILDE] = ACTIONS(284),
    [anon_sym_COLON_COLON] = ACTIONS(284),
    [anon_sym_LPAREN] = ACTIONS(284),
    [aux_sym_cte_definition_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token2] = ACTIONS(286),
    [aux_sym_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(286),
    [aux_sym_from_clause_token1] = ACTIONS(284),
    [sym_visualise_keyword] = ACTIONS(284),
    [sym_quoted_identifier] = ACTIONS(284),
    [sym_number] = ACTIONS(284),
    [anon_sym_SQUOTE] = ACTIONS(284),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(37)] = {
    [sym_comment] = STATE(37),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [aux_sym_from_clause_token1] = ACTIONS(288),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_RBRACK] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(38)] = {
    [sym_comment] = STATE(38),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [aux_sym_from_clause_token1] = ACTIONS(292),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_RBRACK] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(39)] = {
    [sym_comment] = STATE(39),
    [aux_sym_qualified_name_repeat1] = STATE(39),
    [ts_builtin_sym_end] = ACTIONS(296),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_SEMI] = ACTIONS(296),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(300),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [aux_sym_from_clause_token1] = ACTIONS(296),
    [sym_visualise_keyword] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(40)] = {
    [sym_comment] = STATE(40),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [aux_sym_cte_definition_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [aux_sym_from_clause_token1] = ACTIONS(288),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(41)] = {
    [sym_comment] = STATE(41),
    [aux_sym_from_clause_repeat1] = STATE(44),
    [ts_builtin_sym_end] = ACTIONS(303),
    [sym_bare_identifier] = ACTIONS(305),
    [anon_sym_SEMI] = ACTIONS(303),
    [anon_sym_COMMA] = ACTIONS(307),
    [anon_sym_STAR] = ACTIONS(303),
    [anon_sym_DOT] = ACTIONS(305),
    [anon_sym_EQ] = ACTIONS(303),
    [anon_sym_LT] = ACTIONS(303),
    [anon_sym_GT] = ACTIONS(303),
    [anon_sym_BANG] = ACTIONS(303),
    [anon_sym_PLUS] = ACTIONS(303),
    [anon_sym_DASH] = ACTIONS(305),
    [anon_sym_SLASH] = ACTIONS(305),
    [anon_sym_PERCENT] = ACTIONS(303),
    [anon_sym_PIPE] = ACTIONS(303),
    [anon_sym_AMP] = ACTIONS(303),
    [anon_sym_CARET] = ACTIONS(303),
    [anon_sym_TILDE] = ACTIONS(303),
    [anon_sym_COLON_COLON] = ACTIONS(303),
    [anon_sym_LPAREN] = ACTIONS(303),
    [aux_sym_cast_expression_token1] = ACTIONS(305),
    [aux_sym_cast_expression_token2] = ACTIONS(305),
    [aux_sym_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(305),
    [aux_sym_from_clause_token1] = ACTIONS(303),
    [sym_visualise_keyword] = ACTIONS(303),
    [sym_quoted_identifier] = ACTIONS(303),
    [sym_number] = ACTIONS(303),
    [anon_sym_SQUOTE] = ACTIONS(303),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(42)] = {
    [sym_comment] = STATE(42),
    [aux_sym_from_clause_repeat1] = STATE(42),
    [ts_builtin_sym_end] = ACTIONS(309),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_SEMI] = ACTIONS(309),
    [anon_sym_COMMA] = ACTIONS(313),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [aux_sym_from_clause_token1] = ACTIONS(309),
    [sym_visualise_keyword] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(43)] = {
    [sym_comment] = STATE(43),
    [ts_builtin_sym_end] = ACTIONS(296),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_SEMI] = ACTIONS(296),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(298),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [aux_sym_from_clause_token1] = ACTIONS(296),
    [sym_visualise_keyword] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(44)] = {
    [sym_comment] = STATE(44),
    [aux_sym_from_clause_repeat1] = STATE(42),
    [ts_builtin_sym_end] = ACTIONS(316),
    [sym_bare_identifier] = ACTIONS(318),
    [anon_sym_SEMI] = ACTIONS(316),
    [anon_sym_COMMA] = ACTIONS(316),
    [anon_sym_STAR] = ACTIONS(316),
    [anon_sym_DOT] = ACTIONS(318),
    [anon_sym_EQ] = ACTIONS(316),
    [anon_sym_LT] = ACTIONS(316),
    [anon_sym_GT] = ACTIONS(316),
    [anon_sym_BANG] = ACTIONS(316),
    [anon_sym_PLUS] = ACTIONS(316),
    [anon_sym_DASH] = ACTIONS(318),
    [anon_sym_SLASH] = ACTIONS(318),
    [anon_sym_PERCENT] = ACTIONS(316),
    [anon_sym_PIPE] = ACTIONS(316),
    [anon_sym_AMP] = ACTIONS(316),
    [anon_sym_CARET] = ACTIONS(316),
    [anon_sym_TILDE] = ACTIONS(316),
    [anon_sym_COLON_COLON] = ACTIONS(316),
    [anon_sym_LPAREN] = ACTIONS(316),
    [aux_sym_cast_expression_token1] = ACTIONS(318),
    [aux_sym_cast_expression_token2] = ACTIONS(318),
    [aux_sym_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(318),
    [aux_sym_from_clause_token1] = ACTIONS(316),
    [sym_visualise_keyword] = ACTIONS(316),
    [sym_quoted_identifier] = ACTIONS(316),
    [sym_number] = ACTIONS(316),
    [anon_sym_SQUOTE] = ACTIONS(316),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(45)] = {
    [sym_comment] = STATE(45),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [aux_sym_cte_definition_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [aux_sym_from_clause_token1] = ACTIONS(262),
    [sym_visualise_keyword] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(46)] = {
    [sym_comment] = STATE(46),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [aux_sym_cte_definition_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [aux_sym_from_clause_token1] = ACTIONS(320),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(47)] = {
    [sym_comment] = STATE(47),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [aux_sym_cte_definition_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [aux_sym_from_clause_token1] = ACTIONS(292),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(48)] = {
    [sym_comment] = STATE(48),
    [ts_builtin_sym_end] = ACTIONS(324),
    [sym_bare_identifier] = ACTIONS(326),
    [anon_sym_SEMI] = ACTIONS(324),
    [anon_sym_COMMA] = ACTIONS(324),
    [anon_sym_STAR] = ACTIONS(324),
    [anon_sym_DOT] = ACTIONS(326),
    [anon_sym_EQ] = ACTIONS(324),
    [anon_sym_LT] = ACTIONS(324),
    [anon_sym_GT] = ACTIONS(324),
    [anon_sym_BANG] = ACTIONS(324),
    [anon_sym_PLUS] = ACTIONS(324),
    [anon_sym_DASH] = ACTIONS(326),
    [anon_sym_SLASH] = ACTIONS(326),
    [anon_sym_PERCENT] = ACTIONS(324),
    [anon_sym_PIPE] = ACTIONS(324),
    [anon_sym_AMP] = ACTIONS(324),
    [anon_sym_CARET] = ACTIONS(324),
    [anon_sym_TILDE] = ACTIONS(324),
    [anon_sym_COLON_COLON] = ACTIONS(324),
    [anon_sym_LPAREN] = ACTIONS(324),
    [aux_sym_cast_expression_token1] = ACTIONS(326),
    [aux_sym_cast_expression_token2] = ACTIONS(326),
    [aux_sym_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(326),
    [aux_sym_from_clause_token1] = ACTIONS(324),
    [sym_visualise_keyword] = ACTIONS(324),
    [sym_quoted_identifier] = ACTIONS(324),
    [sym_number] = ACTIONS(324),
    [anon_sym_SQUOTE] = ACTIONS(324),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(49)] = {
    [sym_comment] = STATE(49),
    [ts_builtin_sym_end] = ACTIONS(328),
    [sym_bare_identifier] = ACTIONS(330),
    [anon_sym_SEMI] = ACTIONS(328),
    [anon_sym_COMMA] = ACTIONS(328),
    [anon_sym_STAR] = ACTIONS(328),
    [anon_sym_DOT] = ACTIONS(330),
    [anon_sym_EQ] = ACTIONS(328),
    [anon_sym_LT] = ACTIONS(328),
    [anon_sym_GT] = ACTIONS(328),
    [anon_sym_BANG] = ACTIONS(328),
    [anon_sym_PLUS] = ACTIONS(328),
    [anon_sym_DASH] = ACTIONS(330),
    [anon_sym_SLASH] = ACTIONS(330),
    [anon_sym_PERCENT] = ACTIONS(328),
    [anon_sym_PIPE] = ACTIONS(328),
    [anon_sym_AMP] = ACTIONS(328),
    [anon_sym_CARET] = ACTIONS(328),
    [anon_sym_TILDE] = ACTIONS(328),
    [anon_sym_COLON_COLON] = ACTIONS(328),
    [anon_sym_LPAREN] = ACTIONS(328),
    [aux_sym_cast_expression_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token2] = ACTIONS(330),
    [aux_sym_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(330),
    [aux_sym_from_clause_token1] = ACTIONS(328),
    [sym_visualise_keyword] = ACTIONS(328),
    [sym_quoted_identifier] = ACTIONS(328),
    [sym_number] = ACTIONS(328),
    [anon_sym_SQUOTE] = ACTIONS(328),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(50)] = {
    [sym_comment] = STATE(50),
    [ts_builtin_sym_end] = ACTIONS(332),
    [sym_bare_identifier] = ACTIONS(334),
    [anon_sym_SEMI] = ACTIONS(332),
    [anon_sym_COMMA] = ACTIONS(332),
    [anon_sym_STAR] = ACTIONS(332),
    [anon_sym_DOT] = ACTIONS(334),
    [anon_sym_EQ] = ACTIONS(332),
    [anon_sym_LT] = ACTIONS(332),
    [anon_sym_GT] = ACTIONS(332),
    [anon_sym_BANG] = ACTIONS(332),
    [anon_sym_PLUS] = ACTIONS(332),
    [anon_sym_DASH] = ACTIONS(334),
    [anon_sym_SLASH] = ACTIONS(334),
    [anon_sym_PERCENT] = ACTIONS(332),
    [anon_sym_PIPE] = ACTIONS(332),
    [anon_sym_AMP] = ACTIONS(332),
    [anon_sym_CARET] = ACTIONS(332),
    [anon_sym_TILDE] = ACTIONS(332),
    [anon_sym_COLON_COLON] = ACTIONS(332),
    [anon_sym_LPAREN] = ACTIONS(336),
    [aux_sym_cast_expression_token1] = ACTIONS(334),
    [aux_sym_cast_expression_token2] = ACTIONS(334),
    [aux_sym_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(334),
    [aux_sym_from_clause_token1] = ACTIONS(332),
    [sym_visualise_keyword] = ACTIONS(332),
    [sym_quoted_identifier] = ACTIONS(332),
    [sym_number] = ACTIONS(332),
    [anon_sym_SQUOTE] = ACTIONS(332),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(51)] = {
    [sym_comment] = STATE(51),
    [aux_sym_qualified_name_repeat1] = STATE(69),
    [ts_builtin_sym_end] = ACTIONS(284),
    [sym_bare_identifier] = ACTIONS(286),
    [anon_sym_SEMI] = ACTIONS(284),
    [anon_sym_COMMA] = ACTIONS(284),
    [anon_sym_STAR] = ACTIONS(284),
    [anon_sym_DOT] = ACTIONS(338),
    [anon_sym_EQ] = ACTIONS(284),
    [anon_sym_LT] = ACTIONS(284),
    [anon_sym_GT] = ACTIONS(284),
    [anon_sym_BANG] = ACTIONS(284),
    [anon_sym_PLUS] = ACTIONS(284),
    [anon_sym_DASH] = ACTIONS(286),
    [anon_sym_SLASH] = ACTIONS(286),
    [anon_sym_PERCENT] = ACTIONS(284),
    [anon_sym_PIPE] = ACTIONS(284),
    [anon_sym_AMP] = ACTIONS(284),
    [anon_sym_CARET] = ACTIONS(284),
    [anon_sym_TILDE] = ACTIONS(284),
    [anon_sym_COLON_COLON] = ACTIONS(284),
    [anon_sym_LPAREN] = ACTIONS(284),
    [aux_sym_cte_definition_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(286),
    [sym_visualise_keyword] = ACTIONS(284),
    [sym_quoted_identifier] = ACTIONS(284),
    [sym_number] = ACTIONS(284),
    [anon_sym_SQUOTE] = ACTIONS(284),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(52)] = {
    [sym_comment] = STATE(52),
    [ts_builtin_sym_end] = ACTIONS(340),
    [sym_bare_identifier] = ACTIONS(342),
    [anon_sym_SEMI] = ACTIONS(340),
    [anon_sym_COMMA] = ACTIONS(340),
    [anon_sym_STAR] = ACTIONS(340),
    [anon_sym_DOT] = ACTIONS(342),
    [anon_sym_EQ] = ACTIONS(340),
    [anon_sym_LT] = ACTIONS(340),
    [anon_sym_GT] = ACTIONS(340),
    [anon_sym_BANG] = ACTIONS(340),
    [anon_sym_PLUS] = ACTIONS(340),
    [anon_sym_DASH] = ACTIONS(342),
    [anon_sym_SLASH] = ACTIONS(342),
    [anon_sym_PERCENT] = ACTIONS(340),
    [anon_sym_PIPE] = ACTIONS(340),
    [anon_sym_AMP] = ACTIONS(340),
    [anon_sym_CARET] = ACTIONS(340),
    [anon_sym_TILDE] = ACTIONS(340),
    [anon_sym_COLON_COLON] = ACTIONS(340),
    [anon_sym_LPAREN] = ACTIONS(340),
    [aux_sym_cast_expression_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token2] = ACTIONS(342),
    [aux_sym_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(344),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(342),
    [aux_sym_from_clause_token1] = ACTIONS(340),
    [sym_visualise_keyword] = ACTIONS(340),
    [sym_quoted_identifier] = ACTIONS(340),
    [sym_number] = ACTIONS(340),
    [anon_sym_SQUOTE] = ACTIONS(340),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(53)] = {
    [sym_comment] = STATE(53),
    [ts_builtin_sym_end] = ACTIONS(332),
    [sym_bare_identifier] = ACTIONS(334),
    [anon_sym_SEMI] = ACTIONS(332),
    [anon_sym_COMMA] = ACTIONS(332),
    [anon_sym_STAR] = ACTIONS(332),
    [anon_sym_DOT] = ACTIONS(334),
    [anon_sym_EQ] = ACTIONS(332),
    [anon_sym_LT] = ACTIONS(332),
    [anon_sym_GT] = ACTIONS(332),
    [anon_sym_BANG] = ACTIONS(332),
    [anon_sym_PLUS] = ACTIONS(332),
    [anon_sym_DASH] = ACTIONS(334),
    [anon_sym_SLASH] = ACTIONS(334),
    [anon_sym_PERCENT] = ACTIONS(332),
    [anon_sym_PIPE] = ACTIONS(332),
    [anon_sym_AMP] = ACTIONS(332),
    [anon_sym_CARET] = ACTIONS(332),
    [anon_sym_TILDE] = ACTIONS(332),
    [anon_sym_COLON_COLON] = ACTIONS(332),
    [anon_sym_LPAREN] = ACTIONS(332),
    [aux_sym_cast_expression_token1] = ACTIONS(334),
    [aux_sym_cast_expression_token2] = ACTIONS(334),
    [aux_sym_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(334),
    [aux_sym_from_clause_token1] = ACTIONS(332),
    [sym_visualise_keyword] = ACTIONS(332),
    [sym_quoted_identifier] = ACTIONS(332),
    [sym_number] = ACTIONS(332),
    [anon_sym_SQUOTE] = ACTIONS(332),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(54)] = {
    [sym_comment] = STATE(54),
    [ts_builtin_sym_end] = ACTIONS(346),
    [sym_bare_identifier] = ACTIONS(348),
    [anon_sym_SEMI] = ACTIONS(346),
    [anon_sym_COMMA] = ACTIONS(346),
    [anon_sym_STAR] = ACTIONS(346),
    [anon_sym_DOT] = ACTIONS(348),
    [anon_sym_EQ] = ACTIONS(346),
    [anon_sym_LT] = ACTIONS(346),
    [anon_sym_GT] = ACTIONS(346),
    [anon_sym_BANG] = ACTIONS(346),
    [anon_sym_PLUS] = ACTIONS(346),
    [anon_sym_DASH] = ACTIONS(348),
    [anon_sym_SLASH] = ACTIONS(348),
    [anon_sym_PERCENT] = ACTIONS(346),
    [anon_sym_PIPE] = ACTIONS(346),
    [anon_sym_AMP] = ACTIONS(346),
    [anon_sym_CARET] = ACTIONS(346),
    [anon_sym_TILDE] = ACTIONS(346),
    [anon_sym_COLON_COLON] = ACTIONS(346),
    [anon_sym_LPAREN] = ACTIONS(346),
    [aux_sym_cast_expression_token1] = ACTIONS(348),
    [aux_sym_cast_expression_token2] = ACTIONS(348),
    [aux_sym_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(348),
    [aux_sym_from_clause_token1] = ACTIONS(346),
    [sym_visualise_keyword] = ACTIONS(346),
    [sym_quoted_identifier] = ACTIONS(346),
    [sym_number] = ACTIONS(346),
    [anon_sym_SQUOTE] = ACTIONS(346),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(55)] = {
    [sym_comment] = STATE(55),
    [ts_builtin_sym_end] = ACTIONS(309),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_SEMI] = ACTIONS(309),
    [anon_sym_COMMA] = ACTIONS(309),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [aux_sym_from_clause_token1] = ACTIONS(309),
    [sym_visualise_keyword] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(56)] = {
    [sym_comment] = STATE(56),
    [ts_builtin_sym_end] = ACTIONS(350),
    [sym_bare_identifier] = ACTIONS(352),
    [anon_sym_SEMI] = ACTIONS(350),
    [anon_sym_COMMA] = ACTIONS(350),
    [anon_sym_STAR] = ACTIONS(350),
    [anon_sym_DOT] = ACTIONS(352),
    [anon_sym_EQ] = ACTIONS(350),
    [anon_sym_LT] = ACTIONS(350),
    [anon_sym_GT] = ACTIONS(350),
    [anon_sym_BANG] = ACTIONS(350),
    [anon_sym_PLUS] = ACTIONS(350),
    [anon_sym_DASH] = ACTIONS(352),
    [anon_sym_SLASH] = ACTIONS(352),
    [anon_sym_PERCENT] = ACTIONS(350),
    [anon_sym_PIPE] = ACTIONS(350),
    [anon_sym_AMP] = ACTIONS(350),
    [anon_sym_CARET] = ACTIONS(350),
    [anon_sym_TILDE] = ACTIONS(350),
    [anon_sym_COLON_COLON] = ACTIONS(350),
    [anon_sym_LPAREN] = ACTIONS(350),
    [aux_sym_cast_expression_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token2] = ACTIONS(352),
    [aux_sym_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(352),
    [aux_sym_from_clause_token1] = ACTIONS(350),
    [sym_visualise_keyword] = ACTIONS(350),
    [sym_quoted_identifier] = ACTIONS(350),
    [sym_number] = ACTIONS(350),
    [anon_sym_SQUOTE] = ACTIONS(350),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(57)] = {
    [sym_identifier] = STATE(143),
    [sym_comment] = STATE(57),
    [ts_builtin_sym_end] = ACTIONS(272),
    [sym_bare_identifier] = ACTIONS(199),
    [anon_sym_SEMI] = ACTIONS(272),
    [anon_sym_COMMA] = ACTIONS(272),
    [anon_sym_STAR] = ACTIONS(272),
    [anon_sym_DOT] = ACTIONS(274),
    [anon_sym_EQ] = ACTIONS(272),
    [anon_sym_LT] = ACTIONS(272),
    [anon_sym_GT] = ACTIONS(272),
    [anon_sym_BANG] = ACTIONS(272),
    [anon_sym_PLUS] = ACTIONS(272),
    [anon_sym_DASH] = ACTIONS(274),
    [anon_sym_SLASH] = ACTIONS(274),
    [anon_sym_PERCENT] = ACTIONS(272),
    [anon_sym_PIPE] = ACTIONS(272),
    [anon_sym_AMP] = ACTIONS(272),
    [anon_sym_CARET] = ACTIONS(272),
    [anon_sym_TILDE] = ACTIONS(272),
    [anon_sym_COLON_COLON] = ACTIONS(272),
    [anon_sym_LPAREN] = ACTIONS(272),
    [aux_sym_cte_definition_token1] = ACTIONS(354),
    [aux_sym_cast_expression_token1] = ACTIONS(274),
    [aux_sym_cast_expression_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(274),
    [sym_visualise_keyword] = ACTIONS(272),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(272),
    [anon_sym_SQUOTE] = ACTIONS(272),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(58)] = {
    [sym_identifier] = STATE(144),
    [sym_comment] = STATE(58),
    [ts_builtin_sym_end] = ACTIONS(278),
    [sym_bare_identifier] = ACTIONS(199),
    [anon_sym_SEMI] = ACTIONS(278),
    [anon_sym_COMMA] = ACTIONS(278),
    [anon_sym_STAR] = ACTIONS(278),
    [anon_sym_DOT] = ACTIONS(280),
    [anon_sym_EQ] = ACTIONS(278),
    [anon_sym_LT] = ACTIONS(278),
    [anon_sym_GT] = ACTIONS(278),
    [anon_sym_BANG] = ACTIONS(278),
    [anon_sym_PLUS] = ACTIONS(278),
    [anon_sym_DASH] = ACTIONS(280),
    [anon_sym_SLASH] = ACTIONS(280),
    [anon_sym_PERCENT] = ACTIONS(278),
    [anon_sym_PIPE] = ACTIONS(278),
    [anon_sym_AMP] = ACTIONS(278),
    [anon_sym_CARET] = ACTIONS(278),
    [anon_sym_TILDE] = ACTIONS(278),
    [anon_sym_COLON_COLON] = ACTIONS(278),
    [anon_sym_LPAREN] = ACTIONS(278),
    [aux_sym_cte_definition_token1] = ACTIONS(356),
    [aux_sym_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(280),
    [sym_visualise_keyword] = ACTIONS(278),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(278),
    [anon_sym_SQUOTE] = ACTIONS(278),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(59)] = {
    [sym_comment] = STATE(59),
    [aux_sym_qualified_name_repeat1] = STATE(51),
    [ts_builtin_sym_end] = ACTIONS(266),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_SEMI] = ACTIONS(266),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(266),
    [anon_sym_DOT] = ACTIONS(338),
    [anon_sym_EQ] = ACTIONS(266),
    [anon_sym_LT] = ACTIONS(266),
    [anon_sym_GT] = ACTIONS(266),
    [anon_sym_BANG] = ACTIONS(266),
    [anon_sym_PLUS] = ACTIONS(266),
    [anon_sym_DASH] = ACTIONS(268),
    [anon_sym_SLASH] = ACTIONS(268),
    [anon_sym_PERCENT] = ACTIONS(266),
    [anon_sym_PIPE] = ACTIONS(266),
    [anon_sym_AMP] = ACTIONS(266),
    [anon_sym_CARET] = ACTIONS(266),
    [anon_sym_TILDE] = ACTIONS(266),
    [anon_sym_COLON_COLON] = ACTIONS(266),
    [anon_sym_LPAREN] = ACTIONS(266),
    [aux_sym_cte_definition_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(268),
    [sym_visualise_keyword] = ACTIONS(266),
    [sym_quoted_identifier] = ACTIONS(266),
    [sym_number] = ACTIONS(266),
    [anon_sym_SQUOTE] = ACTIONS(266),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(60)] = {
    [sym_identifier] = STATE(108),
    [sym_comment] = STATE(60),
    [sym_bare_identifier] = ACTIONS(121),
    [anon_sym_COMMA] = ACTIONS(272),
    [anon_sym_STAR] = ACTIONS(272),
    [anon_sym_DOT] = ACTIONS(274),
    [anon_sym_EQ] = ACTIONS(272),
    [anon_sym_LT] = ACTIONS(272),
    [anon_sym_GT] = ACTIONS(272),
    [anon_sym_BANG] = ACTIONS(272),
    [anon_sym_PLUS] = ACTIONS(272),
    [anon_sym_DASH] = ACTIONS(274),
    [anon_sym_SLASH] = ACTIONS(274),
    [anon_sym_PERCENT] = ACTIONS(272),
    [anon_sym_PIPE] = ACTIONS(272),
    [anon_sym_AMP] = ACTIONS(272),
    [anon_sym_CARET] = ACTIONS(272),
    [anon_sym_TILDE] = ACTIONS(272),
    [anon_sym_COLON_COLON] = ACTIONS(272),
    [anon_sym_LPAREN] = ACTIONS(272),
    [anon_sym_RPAREN] = ACTIONS(272),
    [aux_sym_cte_definition_token1] = ACTIONS(358),
    [aux_sym_cast_expression_token1] = ACTIONS(274),
    [aux_sym_cast_expression_token2] = ACTIONS(274),
    [aux_sym_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(274),
    [aux_sym_from_clause_token1] = ACTIONS(272),
    [sym_quoted_identifier] = ACTIONS(137),
    [sym_number] = ACTIONS(272),
    [anon_sym_SQUOTE] = ACTIONS(272),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(61)] = {
    [sym_identifier] = STATE(109),
    [sym_comment] = STATE(61),
    [sym_bare_identifier] = ACTIONS(121),
    [anon_sym_COMMA] = ACTIONS(278),
    [anon_sym_STAR] = ACTIONS(278),
    [anon_sym_DOT] = ACTIONS(280),
    [anon_sym_EQ] = ACTIONS(278),
    [anon_sym_LT] = ACTIONS(278),
    [anon_sym_GT] = ACTIONS(278),
    [anon_sym_BANG] = ACTIONS(278),
    [anon_sym_PLUS] = ACTIONS(278),
    [anon_sym_DASH] = ACTIONS(280),
    [anon_sym_SLASH] = ACTIONS(280),
    [anon_sym_PERCENT] = ACTIONS(278),
    [anon_sym_PIPE] = ACTIONS(278),
    [anon_sym_AMP] = ACTIONS(278),
    [anon_sym_CARET] = ACTIONS(278),
    [anon_sym_TILDE] = ACTIONS(278),
    [anon_sym_COLON_COLON] = ACTIONS(278),
    [anon_sym_LPAREN] = ACTIONS(278),
    [anon_sym_RPAREN] = ACTIONS(278),
    [aux_sym_cte_definition_token1] = ACTIONS(360),
    [aux_sym_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(280),
    [aux_sym_from_clause_token1] = ACTIONS(278),
    [sym_quoted_identifier] = ACTIONS(137),
    [sym_number] = ACTIONS(278),
    [anon_sym_SQUOTE] = ACTIONS(278),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(62)] = {
    [sym_comment] = STATE(62),
    [aux_sym_qualified_name_repeat1] = STATE(63),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(266),
    [anon_sym_DOT] = ACTIONS(362),
    [anon_sym_EQ] = ACTIONS(266),
    [anon_sym_LT] = ACTIONS(266),
    [anon_sym_GT] = ACTIONS(266),
    [anon_sym_BANG] = ACTIONS(266),
    [anon_sym_PLUS] = ACTIONS(266),
    [anon_sym_DASH] = ACTIONS(268),
    [anon_sym_SLASH] = ACTIONS(268),
    [anon_sym_PERCENT] = ACTIONS(266),
    [anon_sym_PIPE] = ACTIONS(266),
    [anon_sym_AMP] = ACTIONS(266),
    [anon_sym_CARET] = ACTIONS(266),
    [anon_sym_TILDE] = ACTIONS(266),
    [anon_sym_COLON_COLON] = ACTIONS(266),
    [anon_sym_LPAREN] = ACTIONS(266),
    [anon_sym_RPAREN] = ACTIONS(266),
    [aux_sym_cte_definition_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(268),
    [aux_sym_from_clause_token1] = ACTIONS(266),
    [sym_quoted_identifier] = ACTIONS(266),
    [sym_number] = ACTIONS(266),
    [anon_sym_SQUOTE] = ACTIONS(266),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(63)] = {
    [sym_comment] = STATE(63),
    [aux_sym_qualified_name_repeat1] = STATE(64),
    [sym_bare_identifier] = ACTIONS(286),
    [anon_sym_COMMA] = ACTIONS(284),
    [anon_sym_STAR] = ACTIONS(284),
    [anon_sym_DOT] = ACTIONS(362),
    [anon_sym_EQ] = ACTIONS(284),
    [anon_sym_LT] = ACTIONS(284),
    [anon_sym_GT] = ACTIONS(284),
    [anon_sym_BANG] = ACTIONS(284),
    [anon_sym_PLUS] = ACTIONS(284),
    [anon_sym_DASH] = ACTIONS(286),
    [anon_sym_SLASH] = ACTIONS(286),
    [anon_sym_PERCENT] = ACTIONS(284),
    [anon_sym_PIPE] = ACTIONS(284),
    [anon_sym_AMP] = ACTIONS(284),
    [anon_sym_CARET] = ACTIONS(284),
    [anon_sym_TILDE] = ACTIONS(284),
    [anon_sym_COLON_COLON] = ACTIONS(284),
    [anon_sym_LPAREN] = ACTIONS(284),
    [anon_sym_RPAREN] = ACTIONS(284),
    [aux_sym_cte_definition_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token2] = ACTIONS(286),
    [aux_sym_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(286),
    [aux_sym_from_clause_token1] = ACTIONS(284),
    [sym_quoted_identifier] = ACTIONS(284),
    [sym_number] = ACTIONS(284),
    [anon_sym_SQUOTE] = ACTIONS(284),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(64)] = {
    [sym_comment] = STATE(64),
    [aux_sym_qualified_name_repeat1] = STATE(64),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(364),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [anon_sym_RPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [aux_sym_from_clause_token1] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(65)] = {
    [sym_comment] = STATE(65),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [aux_sym_from_clause_token1] = ACTIONS(320),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(66)] = {
    [sym_comment] = STATE(66),
    [ts_builtin_sym_end] = ACTIONS(367),
    [sym_bare_identifier] = ACTIONS(369),
    [anon_sym_SEMI] = ACTIONS(367),
    [anon_sym_COMMA] = ACTIONS(367),
    [anon_sym_STAR] = ACTIONS(367),
    [anon_sym_DOT] = ACTIONS(369),
    [anon_sym_EQ] = ACTIONS(367),
    [anon_sym_LT] = ACTIONS(367),
    [anon_sym_GT] = ACTIONS(367),
    [anon_sym_BANG] = ACTIONS(367),
    [anon_sym_PLUS] = ACTIONS(367),
    [anon_sym_DASH] = ACTIONS(369),
    [anon_sym_SLASH] = ACTIONS(369),
    [anon_sym_PERCENT] = ACTIONS(367),
    [anon_sym_PIPE] = ACTIONS(367),
    [anon_sym_AMP] = ACTIONS(367),
    [anon_sym_CARET] = ACTIONS(367),
    [anon_sym_TILDE] = ACTIONS(367),
    [anon_sym_COLON_COLON] = ACTIONS(367),
    [anon_sym_LPAREN] = ACTIONS(367),
    [aux_sym_cast_expression_token1] = ACTIONS(369),
    [aux_sym_cast_expression_token2] = ACTIONS(369),
    [aux_sym_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(369),
    [aux_sym_from_clause_token1] = ACTIONS(367),
    [sym_visualise_keyword] = ACTIONS(367),
    [sym_quoted_identifier] = ACTIONS(367),
    [sym_number] = ACTIONS(367),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(67)] = {
    [sym_comment] = STATE(67),
    [ts_builtin_sym_end] = ACTIONS(371),
    [sym_bare_identifier] = ACTIONS(373),
    [anon_sym_SEMI] = ACTIONS(371),
    [anon_sym_COMMA] = ACTIONS(371),
    [anon_sym_STAR] = ACTIONS(371),
    [anon_sym_DOT] = ACTIONS(373),
    [anon_sym_EQ] = ACTIONS(371),
    [anon_sym_LT] = ACTIONS(371),
    [anon_sym_GT] = ACTIONS(371),
    [anon_sym_BANG] = ACTIONS(371),
    [anon_sym_PLUS] = ACTIONS(371),
    [anon_sym_DASH] = ACTIONS(373),
    [anon_sym_SLASH] = ACTIONS(373),
    [anon_sym_PERCENT] = ACTIONS(371),
    [anon_sym_PIPE] = ACTIONS(371),
    [anon_sym_AMP] = ACTIONS(371),
    [anon_sym_CARET] = ACTIONS(371),
    [anon_sym_TILDE] = ACTIONS(371),
    [anon_sym_COLON_COLON] = ACTIONS(371),
    [anon_sym_LPAREN] = ACTIONS(371),
    [aux_sym_cast_expression_token1] = ACTIONS(373),
    [aux_sym_cast_expression_token2] = ACTIONS(373),
    [aux_sym_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(373),
    [aux_sym_from_clause_token1] = ACTIONS(371),
    [sym_visualise_keyword] = ACTIONS(371),
    [sym_quoted_identifier] = ACTIONS(371),
    [sym_number] = ACTIONS(371),
    [anon_sym_SQUOTE] = ACTIONS(371),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(68)] = {
    [sym_comment] = STATE(68),
    [ts_builtin_sym_end] = ACTIONS(375),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_SEMI] = ACTIONS(375),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(375),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(375),
    [anon_sym_LT] = ACTIONS(375),
    [anon_sym_GT] = ACTIONS(375),
    [anon_sym_BANG] = ACTIONS(375),
    [anon_sym_PLUS] = ACTIONS(375),
    [anon_sym_DASH] = ACTIONS(377),
    [anon_sym_SLASH] = ACTIONS(377),
    [anon_sym_PERCENT] = ACTIONS(375),
    [anon_sym_PIPE] = ACTIONS(375),
    [anon_sym_AMP] = ACTIONS(375),
    [anon_sym_CARET] = ACTIONS(375),
    [anon_sym_TILDE] = ACTIONS(375),
    [anon_sym_COLON_COLON] = ACTIONS(375),
    [anon_sym_LPAREN] = ACTIONS(375),
    [aux_sym_cast_expression_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token2] = ACTIONS(377),
    [aux_sym_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [aux_sym_from_clause_token1] = ACTIONS(375),
    [sym_visualise_keyword] = ACTIONS(375),
    [sym_quoted_identifier] = ACTIONS(375),
    [sym_number] = ACTIONS(375),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(69)] = {
    [sym_comment] = STATE(69),
    [aux_sym_qualified_name_repeat1] = STATE(69),
    [ts_builtin_sym_end] = ACTIONS(296),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_SEMI] = ACTIONS(296),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(379),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [sym_visualise_keyword] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(70)] = {
    [sym_comment] = STATE(70),
    [ts_builtin_sym_end] = ACTIONS(382),
    [sym_bare_identifier] = ACTIONS(384),
    [anon_sym_SEMI] = ACTIONS(382),
    [anon_sym_COMMA] = ACTIONS(382),
    [anon_sym_STAR] = ACTIONS(382),
    [anon_sym_DOT] = ACTIONS(384),
    [anon_sym_EQ] = ACTIONS(382),
    [anon_sym_LT] = ACTIONS(382),
    [anon_sym_GT] = ACTIONS(382),
    [anon_sym_BANG] = ACTIONS(382),
    [anon_sym_PLUS] = ACTIONS(382),
    [anon_sym_DASH] = ACTIONS(384),
    [anon_sym_SLASH] = ACTIONS(384),
    [anon_sym_PERCENT] = ACTIONS(382),
    [anon_sym_PIPE] = ACTIONS(382),
    [anon_sym_AMP] = ACTIONS(382),
    [anon_sym_CARET] = ACTIONS(382),
    [anon_sym_TILDE] = ACTIONS(382),
    [anon_sym_COLON_COLON] = ACTIONS(382),
    [anon_sym_LPAREN] = ACTIONS(382),
    [aux_sym_cast_expression_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token2] = ACTIONS(384),
    [aux_sym_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(386),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(384),
    [aux_sym_from_clause_token1] = ACTIONS(382),
    [sym_visualise_keyword] = ACTIONS(382),
    [sym_quoted_identifier] = ACTIONS(382),
    [sym_number] = ACTIONS(382),
    [anon_sym_SQUOTE] = ACTIONS(382),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(71)] = {
    [sym_comment] = STATE(71),
    [ts_builtin_sym_end] = ACTIONS(388),
    [sym_bare_identifier] = ACTIONS(390),
    [anon_sym_SEMI] = ACTIONS(388),
    [anon_sym_COMMA] = ACTIONS(388),
    [anon_sym_STAR] = ACTIONS(388),
    [anon_sym_DOT] = ACTIONS(390),
    [anon_sym_EQ] = ACTIONS(388),
    [anon_sym_LT] = ACTIONS(388),
    [anon_sym_GT] = ACTIONS(388),
    [anon_sym_BANG] = ACTIONS(388),
    [anon_sym_PLUS] = ACTIONS(388),
    [anon_sym_DASH] = ACTIONS(390),
    [anon_sym_SLASH] = ACTIONS(390),
    [anon_sym_PERCENT] = ACTIONS(388),
    [anon_sym_PIPE] = ACTIONS(388),
    [anon_sym_AMP] = ACTIONS(388),
    [anon_sym_CARET] = ACTIONS(388),
    [anon_sym_TILDE] = ACTIONS(388),
    [anon_sym_COLON_COLON] = ACTIONS(388),
    [anon_sym_LPAREN] = ACTIONS(388),
    [aux_sym_cast_expression_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token2] = ACTIONS(390),
    [aux_sym_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(390),
    [aux_sym_from_clause_token1] = ACTIONS(388),
    [sym_visualise_keyword] = ACTIONS(388),
    [sym_quoted_identifier] = ACTIONS(388),
    [sym_number] = ACTIONS(388),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(72)] = {
    [sym_comment] = STATE(72),
    [ts_builtin_sym_end] = ACTIONS(392),
    [sym_bare_identifier] = ACTIONS(394),
    [anon_sym_SEMI] = ACTIONS(392),
    [anon_sym_COMMA] = ACTIONS(392),
    [anon_sym_STAR] = ACTIONS(392),
    [anon_sym_DOT] = ACTIONS(394),
    [anon_sym_EQ] = ACTIONS(392),
    [anon_sym_LT] = ACTIONS(392),
    [anon_sym_GT] = ACTIONS(392),
    [anon_sym_BANG] = ACTIONS(392),
    [anon_sym_PLUS] = ACTIONS(392),
    [anon_sym_DASH] = ACTIONS(394),
    [anon_sym_SLASH] = ACTIONS(394),
    [anon_sym_PERCENT] = ACTIONS(392),
    [anon_sym_PIPE] = ACTIONS(392),
    [anon_sym_AMP] = ACTIONS(392),
    [anon_sym_CARET] = ACTIONS(392),
    [anon_sym_TILDE] = ACTIONS(392),
    [anon_sym_COLON_COLON] = ACTIONS(392),
    [anon_sym_LPAREN] = ACTIONS(392),
    [aux_sym_cast_expression_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token2] = ACTIONS(394),
    [aux_sym_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(396),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(394),
    [aux_sym_from_clause_token1] = ACTIONS(392),
    [sym_visualise_keyword] = ACTIONS(392),
    [sym_quoted_identifier] = ACTIONS(392),
    [sym_number] = ACTIONS(392),
    [anon_sym_SQUOTE] = ACTIONS(392),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(73)] = {
    [sym_comment] = STATE(73),
    [ts_builtin_sym_end] = ACTIONS(398),
    [sym_bare_identifier] = ACTIONS(400),
    [anon_sym_SEMI] = ACTIONS(398),
    [anon_sym_COMMA] = ACTIONS(398),
    [anon_sym_STAR] = ACTIONS(398),
    [anon_sym_DOT] = ACTIONS(400),
    [anon_sym_EQ] = ACTIONS(398),
    [anon_sym_LT] = ACTIONS(398),
    [anon_sym_GT] = ACTIONS(398),
    [anon_sym_BANG] = ACTIONS(398),
    [anon_sym_PLUS] = ACTIONS(398),
    [anon_sym_DASH] = ACTIONS(400),
    [anon_sym_SLASH] = ACTIONS(400),
    [anon_sym_PERCENT] = ACTIONS(398),
    [anon_sym_PIPE] = ACTIONS(398),
    [anon_sym_AMP] = ACTIONS(398),
    [anon_sym_CARET] = ACTIONS(398),
    [anon_sym_TILDE] = ACTIONS(398),
    [anon_sym_COLON_COLON] = ACTIONS(398),
    [anon_sym_LPAREN] = ACTIONS(398),
    [aux_sym_cast_expression_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token2] = ACTIONS(400),
    [aux_sym_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(400),
    [aux_sym_from_clause_token1] = ACTIONS(398),
    [sym_visualise_keyword] = ACTIONS(398),
    [sym_quoted_identifier] = ACTIONS(398),
    [sym_number] = ACTIONS(398),
    [anon_sym_SQUOTE] = ACTIONS(398),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(74)] = {
    [sym_comment] = STATE(74),
    [ts_builtin_sym_end] = ACTIONS(402),
    [sym_bare_identifier] = ACTIONS(404),
    [anon_sym_SEMI] = ACTIONS(402),
    [anon_sym_COMMA] = ACTIONS(402),
    [anon_sym_STAR] = ACTIONS(402),
    [anon_sym_DOT] = ACTIONS(404),
    [anon_sym_EQ] = ACTIONS(402),
    [anon_sym_LT] = ACTIONS(402),
    [anon_sym_GT] = ACTIONS(402),
    [anon_sym_BANG] = ACTIONS(402),
    [anon_sym_PLUS] = ACTIONS(402),
    [anon_sym_DASH] = ACTIONS(404),
    [anon_sym_SLASH] = ACTIONS(404),
    [anon_sym_PERCENT] = ACTIONS(402),
    [anon_sym_PIPE] = ACTIONS(402),
    [anon_sym_AMP] = ACTIONS(402),
    [anon_sym_CARET] = ACTIONS(402),
    [anon_sym_TILDE] = ACTIONS(402),
    [anon_sym_COLON_COLON] = ACTIONS(402),
    [anon_sym_LPAREN] = ACTIONS(402),
    [aux_sym_cast_expression_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token2] = ACTIONS(404),
    [aux_sym_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(404),
    [aux_sym_from_clause_token1] = ACTIONS(402),
    [sym_visualise_keyword] = ACTIONS(402),
    [sym_quoted_identifier] = ACTIONS(402),
    [sym_number] = ACTIONS(402),
    [anon_sym_SQUOTE] = ACTIONS(402),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(75)] = {
    [sym_comment] = STATE(75),
    [ts_builtin_sym_end] = ACTIONS(406),
    [sym_bare_identifier] = ACTIONS(408),
    [anon_sym_SEMI] = ACTIONS(406),
    [anon_sym_COMMA] = ACTIONS(406),
    [anon_sym_STAR] = ACTIONS(406),
    [anon_sym_DOT] = ACTIONS(408),
    [anon_sym_EQ] = ACTIONS(406),
    [anon_sym_LT] = ACTIONS(406),
    [anon_sym_GT] = ACTIONS(406),
    [anon_sym_BANG] = ACTIONS(406),
    [anon_sym_PLUS] = ACTIONS(406),
    [anon_sym_DASH] = ACTIONS(408),
    [anon_sym_SLASH] = ACTIONS(408),
    [anon_sym_PERCENT] = ACTIONS(406),
    [anon_sym_PIPE] = ACTIONS(406),
    [anon_sym_AMP] = ACTIONS(406),
    [anon_sym_CARET] = ACTIONS(406),
    [anon_sym_TILDE] = ACTIONS(406),
    [anon_sym_COLON_COLON] = ACTIONS(406),
    [anon_sym_LPAREN] = ACTIONS(406),
    [aux_sym_cast_expression_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token2] = ACTIONS(408),
    [aux_sym_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(408),
    [aux_sym_from_clause_token1] = ACTIONS(406),
    [sym_visualise_keyword] = ACTIONS(406),
    [sym_quoted_identifier] = ACTIONS(406),
    [sym_number] = ACTIONS(406),
    [anon_sym_SQUOTE] = ACTIONS(406),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(76)] = {
    [sym_comment] = STATE(76),
    [ts_builtin_sym_end] = ACTIONS(410),
    [sym_bare_identifier] = ACTIONS(412),
    [anon_sym_SEMI] = ACTIONS(410),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(410),
    [anon_sym_DOT] = ACTIONS(412),
    [anon_sym_EQ] = ACTIONS(410),
    [anon_sym_LT] = ACTIONS(410),
    [anon_sym_GT] = ACTIONS(410),
    [anon_sym_BANG] = ACTIONS(410),
    [anon_sym_PLUS] = ACTIONS(410),
    [anon_sym_DASH] = ACTIONS(412),
    [anon_sym_SLASH] = ACTIONS(412),
    [anon_sym_PERCENT] = ACTIONS(410),
    [anon_sym_PIPE] = ACTIONS(410),
    [anon_sym_AMP] = ACTIONS(410),
    [anon_sym_CARET] = ACTIONS(410),
    [anon_sym_TILDE] = ACTIONS(410),
    [anon_sym_COLON_COLON] = ACTIONS(410),
    [anon_sym_LPAREN] = ACTIONS(410),
    [aux_sym_cast_expression_token1] = ACTIONS(412),
    [aux_sym_cast_expression_token2] = ACTIONS(412),
    [aux_sym_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(412),
    [aux_sym_from_clause_token1] = ACTIONS(410),
    [sym_visualise_keyword] = ACTIONS(410),
    [sym_quoted_identifier] = ACTIONS(410),
    [sym_number] = ACTIONS(410),
    [anon_sym_SQUOTE] = ACTIONS(410),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(77)] = {
    [sym_comment] = STATE(77),
    [ts_builtin_sym_end] = ACTIONS(414),
    [sym_bare_identifier] = ACTIONS(416),
    [anon_sym_SEMI] = ACTIONS(414),
    [anon_sym_COMMA] = ACTIONS(414),
    [anon_sym_STAR] = ACTIONS(414),
    [anon_sym_DOT] = ACTIONS(416),
    [anon_sym_EQ] = ACTIONS(414),
    [anon_sym_LT] = ACTIONS(414),
    [anon_sym_GT] = ACTIONS(414),
    [anon_sym_BANG] = ACTIONS(414),
    [anon_sym_PLUS] = ACTIONS(414),
    [anon_sym_DASH] = ACTIONS(416),
    [anon_sym_SLASH] = ACTIONS(416),
    [anon_sym_PERCENT] = ACTIONS(414),
    [anon_sym_PIPE] = ACTIONS(414),
    [anon_sym_AMP] = ACTIONS(414),
    [anon_sym_CARET] = ACTIONS(414),
    [anon_sym_TILDE] = ACTIONS(414),
    [anon_sym_COLON_COLON] = ACTIONS(414),
    [anon_sym_LPAREN] = ACTIONS(414),
    [aux_sym_cast_expression_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token2] = ACTIONS(416),
    [aux_sym_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(416),
    [aux_sym_from_clause_token1] = ACTIONS(414),
    [sym_visualise_keyword] = ACTIONS(414),
    [sym_quoted_identifier] = ACTIONS(414),
    [sym_number] = ACTIONS(414),
    [anon_sym_SQUOTE] = ACTIONS(414),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(78)] = {
    [sym_comment] = STATE(78),
    [ts_builtin_sym_end] = ACTIONS(418),
    [sym_bare_identifier] = ACTIONS(420),
    [anon_sym_SEMI] = ACTIONS(418),
    [anon_sym_COMMA] = ACTIONS(418),
    [anon_sym_STAR] = ACTIONS(418),
    [anon_sym_DOT] = ACTIONS(420),
    [anon_sym_EQ] = ACTIONS(418),
    [anon_sym_LT] = ACTIONS(418),
    [anon_sym_GT] = ACTIONS(418),
    [anon_sym_BANG] = ACTIONS(418),
    [anon_sym_PLUS] = ACTIONS(418),
    [anon_sym_DASH] = ACTIONS(420),
    [anon_sym_SLASH] = ACTIONS(420),
    [anon_sym_PERCENT] = ACTIONS(418),
    [anon_sym_PIPE] = ACTIONS(418),
    [anon_sym_AMP] = ACTIONS(418),
    [anon_sym_CARET] = ACTIONS(418),
    [anon_sym_TILDE] = ACTIONS(418),
    [anon_sym_COLON_COLON] = ACTIONS(418),
    [anon_sym_LPAREN] = ACTIONS(418),
    [aux_sym_cast_expression_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token2] = ACTIONS(420),
    [aux_sym_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(420),
    [aux_sym_from_clause_token1] = ACTIONS(418),
    [sym_visualise_keyword] = ACTIONS(418),
    [sym_quoted_identifier] = ACTIONS(418),
    [sym_number] = ACTIONS(418),
    [anon_sym_SQUOTE] = ACTIONS(418),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(79)] = {
    [sym_subquery] = STATE(188),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(79),
    [aux_sym_subquery_body_repeat1] = STATE(83),
    [sym_bare_identifier] = ACTIONS(95),
    [anon_sym_COMMA] = ACTIONS(97),
    [anon_sym_STAR] = ACTIONS(99),
    [anon_sym_DOT] = ACTIONS(99),
    [anon_sym_EQ] = ACTIONS(99),
    [anon_sym_LT] = ACTIONS(99),
    [anon_sym_GT] = ACTIONS(99),
    [anon_sym_BANG] = ACTIONS(99),
    [anon_sym_COLON_COLON] = ACTIONS(99),
    [anon_sym_LPAREN] = ACTIONS(105),
    [anon_sym_RPAREN] = ACTIONS(422),
    [aux_sym_subquery_body_token1] = ACTIONS(99),
    [aux_sym_cast_expression_token1] = ACTIONS(109),
    [aux_sym_cast_expression_token2] = ACTIONS(109),
    [aux_sym_sql_keyword_token1] = ACTIONS(111),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(113),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(113),
    [sym_quoted_identifier] = ACTIONS(95),
    [sym_number] = ACTIONS(99),
    [anon_sym_SQUOTE] = ACTIONS(115),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(80)] = {
    [sym_comment] = STATE(80),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_cte_definition_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [aux_sym_from_clause_token1] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(81)] = {
    [sym_comment] = STATE(81),
    [aux_sym_from_clause_repeat1] = STATE(81),
    [ts_builtin_sym_end] = ACTIONS(309),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_SEMI] = ACTIONS(309),
    [anon_sym_COMMA] = ACTIONS(424),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [sym_visualise_keyword] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(82)] = {
    [sym_comment] = STATE(82),
    [aux_sym_from_clause_repeat1] = STATE(84),
    [ts_builtin_sym_end] = ACTIONS(303),
    [sym_bare_identifier] = ACTIONS(305),
    [anon_sym_SEMI] = ACTIONS(303),
    [anon_sym_COMMA] = ACTIONS(427),
    [anon_sym_STAR] = ACTIONS(303),
    [anon_sym_DOT] = ACTIONS(305),
    [anon_sym_EQ] = ACTIONS(303),
    [anon_sym_LT] = ACTIONS(303),
    [anon_sym_GT] = ACTIONS(303),
    [anon_sym_BANG] = ACTIONS(303),
    [anon_sym_PLUS] = ACTIONS(303),
    [anon_sym_DASH] = ACTIONS(305),
    [anon_sym_SLASH] = ACTIONS(305),
    [anon_sym_PERCENT] = ACTIONS(303),
    [anon_sym_PIPE] = ACTIONS(303),
    [anon_sym_AMP] = ACTIONS(303),
    [anon_sym_CARET] = ACTIONS(303),
    [anon_sym_TILDE] = ACTIONS(303),
    [anon_sym_COLON_COLON] = ACTIONS(303),
    [anon_sym_LPAREN] = ACTIONS(303),
    [aux_sym_cast_expression_token1] = ACTIONS(305),
    [aux_sym_cast_expression_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(305),
    [sym_visualise_keyword] = ACTIONS(303),
    [sym_quoted_identifier] = ACTIONS(303),
    [sym_number] = ACTIONS(303),
    [anon_sym_SQUOTE] = ACTIONS(303),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(83)] = {
    [sym_subquery] = STATE(188),
    [sym_cast_expression] = STATE(188),
    [sym_function_call] = STATE(188),
    [sym_sql_keyword] = STATE(188),
    [sym_non_from_sql_keyword] = STATE(207),
    [sym_window_function] = STATE(188),
    [sym_identifier] = STATE(191),
    [sym_string] = STATE(188),
    [sym_comment] = STATE(83),
    [aux_sym_subquery_body_repeat1] = STATE(83),
    [sym_bare_identifier] = ACTIONS(429),
    [anon_sym_COMMA] = ACTIONS(432),
    [anon_sym_STAR] = ACTIONS(435),
    [anon_sym_DOT] = ACTIONS(435),
    [anon_sym_EQ] = ACTIONS(435),
    [anon_sym_LT] = ACTIONS(435),
    [anon_sym_GT] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(435),
    [anon_sym_COLON_COLON] = ACTIONS(435),
    [anon_sym_LPAREN] = ACTIONS(438),
    [anon_sym_RPAREN] = ACTIONS(441),
    [aux_sym_subquery_body_token1] = ACTIONS(435),
    [aux_sym_cast_expression_token1] = ACTIONS(443),
    [aux_sym_cast_expression_token2] = ACTIONS(443),
    [aux_sym_sql_keyword_token1] = ACTIONS(446),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(449),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(449),
    [sym_quoted_identifier] = ACTIONS(429),
    [sym_number] = ACTIONS(435),
    [anon_sym_SQUOTE] = ACTIONS(452),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(84)] = {
    [sym_comment] = STATE(84),
    [aux_sym_from_clause_repeat1] = STATE(81),
    [ts_builtin_sym_end] = ACTIONS(316),
    [sym_bare_identifier] = ACTIONS(318),
    [anon_sym_SEMI] = ACTIONS(316),
    [anon_sym_COMMA] = ACTIONS(316),
    [anon_sym_STAR] = ACTIONS(316),
    [anon_sym_DOT] = ACTIONS(318),
    [anon_sym_EQ] = ACTIONS(316),
    [anon_sym_LT] = ACTIONS(316),
    [anon_sym_GT] = ACTIONS(316),
    [anon_sym_BANG] = ACTIONS(316),
    [anon_sym_PLUS] = ACTIONS(316),
    [anon_sym_DASH] = ACTIONS(318),
    [anon_sym_SLASH] = ACTIONS(318),
    [anon_sym_PERCENT] = ACTIONS(316),
    [anon_sym_PIPE] = ACTIONS(316),
    [anon_sym_AMP] = ACTIONS(316),
    [anon_sym_CARET] = ACTIONS(316),
    [anon_sym_TILDE] = ACTIONS(316),
    [anon_sym_COLON_COLON] = ACTIONS(316),
    [anon_sym_LPAREN] = ACTIONS(316),
    [aux_sym_cast_expression_token1] = ACTIONS(318),
    [aux_sym_cast_expression_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(318),
    [sym_visualise_keyword] = ACTIONS(316),
    [sym_quoted_identifier] = ACTIONS(316),
    [sym_number] = ACTIONS(316),
    [anon_sym_SQUOTE] = ACTIONS(316),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(85)] = {
    [sym_comment] = STATE(85),
    [aux_sym_from_clause_repeat1] = STATE(86),
    [sym_bare_identifier] = ACTIONS(305),
    [anon_sym_COMMA] = ACTIONS(455),
    [anon_sym_STAR] = ACTIONS(303),
    [anon_sym_DOT] = ACTIONS(305),
    [anon_sym_EQ] = ACTIONS(303),
    [anon_sym_LT] = ACTIONS(303),
    [anon_sym_GT] = ACTIONS(303),
    [anon_sym_BANG] = ACTIONS(303),
    [anon_sym_PLUS] = ACTIONS(303),
    [anon_sym_DASH] = ACTIONS(305),
    [anon_sym_SLASH] = ACTIONS(305),
    [anon_sym_PERCENT] = ACTIONS(303),
    [anon_sym_PIPE] = ACTIONS(303),
    [anon_sym_AMP] = ACTIONS(303),
    [anon_sym_CARET] = ACTIONS(303),
    [anon_sym_TILDE] = ACTIONS(303),
    [anon_sym_COLON_COLON] = ACTIONS(303),
    [anon_sym_LPAREN] = ACTIONS(303),
    [anon_sym_RPAREN] = ACTIONS(303),
    [aux_sym_cast_expression_token1] = ACTIONS(305),
    [aux_sym_cast_expression_token2] = ACTIONS(305),
    [aux_sym_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(305),
    [aux_sym_from_clause_token1] = ACTIONS(303),
    [sym_quoted_identifier] = ACTIONS(303),
    [sym_number] = ACTIONS(303),
    [anon_sym_SQUOTE] = ACTIONS(303),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(86)] = {
    [sym_comment] = STATE(86),
    [aux_sym_from_clause_repeat1] = STATE(87),
    [sym_bare_identifier] = ACTIONS(318),
    [anon_sym_COMMA] = ACTIONS(316),
    [anon_sym_STAR] = ACTIONS(316),
    [anon_sym_DOT] = ACTIONS(318),
    [anon_sym_EQ] = ACTIONS(316),
    [anon_sym_LT] = ACTIONS(316),
    [anon_sym_GT] = ACTIONS(316),
    [anon_sym_BANG] = ACTIONS(316),
    [anon_sym_PLUS] = ACTIONS(316),
    [anon_sym_DASH] = ACTIONS(318),
    [anon_sym_SLASH] = ACTIONS(318),
    [anon_sym_PERCENT] = ACTIONS(316),
    [anon_sym_PIPE] = ACTIONS(316),
    [anon_sym_AMP] = ACTIONS(316),
    [anon_sym_CARET] = ACTIONS(316),
    [anon_sym_TILDE] = ACTIONS(316),
    [anon_sym_COLON_COLON] = ACTIONS(316),
    [anon_sym_LPAREN] = ACTIONS(316),
    [anon_sym_RPAREN] = ACTIONS(316),
    [aux_sym_cast_expression_token1] = ACTIONS(318),
    [aux_sym_cast_expression_token2] = ACTIONS(318),
    [aux_sym_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(318),
    [aux_sym_from_clause_token1] = ACTIONS(316),
    [sym_quoted_identifier] = ACTIONS(316),
    [sym_number] = ACTIONS(316),
    [anon_sym_SQUOTE] = ACTIONS(316),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(87)] = {
    [sym_comment] = STATE(87),
    [aux_sym_from_clause_repeat1] = STATE(87),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_COMMA] = ACTIONS(457),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [anon_sym_RPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [aux_sym_from_clause_token1] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(88)] = {
    [sym_comment] = STATE(88),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(298),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [anon_sym_RPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [aux_sym_from_clause_token1] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(89)] = {
    [sym_comment] = STATE(89),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [aux_sym_cte_definition_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_visualise_keyword] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(90)] = {
    [sym_comment] = STATE(90),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [aux_sym_cte_definition_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(91)] = {
    [sym_comment] = STATE(91),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [aux_sym_cte_definition_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(92)] = {
    [sym_comment] = STATE(92),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [aux_sym_cte_definition_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(93)] = {
    [sym_comment] = STATE(93),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_cte_definition_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [aux_sym_from_clause_token1] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(94)] = {
    [sym_comment] = STATE(94),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_cte_definition_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [aux_sym_from_clause_token1] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(95)] = {
    [sym_comment] = STATE(95),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_cte_definition_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [aux_sym_from_clause_token1] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(96)] = {
    [sym_comment] = STATE(96),
    [ts_builtin_sym_end] = ACTIONS(296),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_SEMI] = ACTIONS(296),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(298),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [sym_visualise_keyword] = ACTIONS(296),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(97)] = {
    [sym_comment] = STATE(97),
    [sym_bare_identifier] = ACTIONS(330),
    [anon_sym_COMMA] = ACTIONS(328),
    [anon_sym_STAR] = ACTIONS(328),
    [anon_sym_DOT] = ACTIONS(330),
    [anon_sym_EQ] = ACTIONS(328),
    [anon_sym_LT] = ACTIONS(328),
    [anon_sym_GT] = ACTIONS(328),
    [anon_sym_BANG] = ACTIONS(328),
    [anon_sym_PLUS] = ACTIONS(328),
    [anon_sym_DASH] = ACTIONS(330),
    [anon_sym_SLASH] = ACTIONS(330),
    [anon_sym_PERCENT] = ACTIONS(328),
    [anon_sym_PIPE] = ACTIONS(328),
    [anon_sym_AMP] = ACTIONS(328),
    [anon_sym_CARET] = ACTIONS(328),
    [anon_sym_TILDE] = ACTIONS(328),
    [anon_sym_COLON_COLON] = ACTIONS(328),
    [anon_sym_LPAREN] = ACTIONS(328),
    [anon_sym_RPAREN] = ACTIONS(328),
    [aux_sym_cast_expression_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token2] = ACTIONS(330),
    [aux_sym_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(330),
    [aux_sym_from_clause_token1] = ACTIONS(328),
    [sym_quoted_identifier] = ACTIONS(328),
    [sym_number] = ACTIONS(328),
    [anon_sym_SQUOTE] = ACTIONS(328),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(98)] = {
    [sym_comment] = STATE(98),
    [ts_builtin_sym_end] = ACTIONS(388),
    [sym_bare_identifier] = ACTIONS(390),
    [anon_sym_SEMI] = ACTIONS(388),
    [anon_sym_COMMA] = ACTIONS(388),
    [anon_sym_STAR] = ACTIONS(388),
    [anon_sym_DOT] = ACTIONS(390),
    [anon_sym_EQ] = ACTIONS(388),
    [anon_sym_LT] = ACTIONS(388),
    [anon_sym_GT] = ACTIONS(388),
    [anon_sym_BANG] = ACTIONS(388),
    [anon_sym_PLUS] = ACTIONS(388),
    [anon_sym_DASH] = ACTIONS(390),
    [anon_sym_SLASH] = ACTIONS(390),
    [anon_sym_PERCENT] = ACTIONS(388),
    [anon_sym_PIPE] = ACTIONS(388),
    [anon_sym_AMP] = ACTIONS(388),
    [anon_sym_CARET] = ACTIONS(388),
    [anon_sym_TILDE] = ACTIONS(388),
    [anon_sym_COLON_COLON] = ACTIONS(388),
    [anon_sym_LPAREN] = ACTIONS(388),
    [aux_sym_cast_expression_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(390),
    [sym_visualise_keyword] = ACTIONS(388),
    [sym_quoted_identifier] = ACTIONS(388),
    [sym_number] = ACTIONS(388),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(99)] = {
    [sym_comment] = STATE(99),
    [ts_builtin_sym_end] = ACTIONS(392),
    [sym_bare_identifier] = ACTIONS(394),
    [anon_sym_SEMI] = ACTIONS(392),
    [anon_sym_COMMA] = ACTIONS(392),
    [anon_sym_STAR] = ACTIONS(392),
    [anon_sym_DOT] = ACTIONS(394),
    [anon_sym_EQ] = ACTIONS(392),
    [anon_sym_LT] = ACTIONS(392),
    [anon_sym_GT] = ACTIONS(392),
    [anon_sym_BANG] = ACTIONS(392),
    [anon_sym_PLUS] = ACTIONS(392),
    [anon_sym_DASH] = ACTIONS(394),
    [anon_sym_SLASH] = ACTIONS(394),
    [anon_sym_PERCENT] = ACTIONS(392),
    [anon_sym_PIPE] = ACTIONS(392),
    [anon_sym_AMP] = ACTIONS(392),
    [anon_sym_CARET] = ACTIONS(392),
    [anon_sym_TILDE] = ACTIONS(392),
    [anon_sym_COLON_COLON] = ACTIONS(392),
    [anon_sym_LPAREN] = ACTIONS(392),
    [aux_sym_cast_expression_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(460),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(394),
    [sym_visualise_keyword] = ACTIONS(392),
    [sym_quoted_identifier] = ACTIONS(392),
    [sym_number] = ACTIONS(392),
    [anon_sym_SQUOTE] = ACTIONS(392),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(100)] = {
    [sym_comment] = STATE(100),
    [ts_builtin_sym_end] = ACTIONS(398),
    [sym_bare_identifier] = ACTIONS(400),
    [anon_sym_SEMI] = ACTIONS(398),
    [anon_sym_COMMA] = ACTIONS(398),
    [anon_sym_STAR] = ACTIONS(398),
    [anon_sym_DOT] = ACTIONS(400),
    [anon_sym_EQ] = ACTIONS(398),
    [anon_sym_LT] = ACTIONS(398),
    [anon_sym_GT] = ACTIONS(398),
    [anon_sym_BANG] = ACTIONS(398),
    [anon_sym_PLUS] = ACTIONS(398),
    [anon_sym_DASH] = ACTIONS(400),
    [anon_sym_SLASH] = ACTIONS(400),
    [anon_sym_PERCENT] = ACTIONS(398),
    [anon_sym_PIPE] = ACTIONS(398),
    [anon_sym_AMP] = ACTIONS(398),
    [anon_sym_CARET] = ACTIONS(398),
    [anon_sym_TILDE] = ACTIONS(398),
    [anon_sym_COLON_COLON] = ACTIONS(398),
    [anon_sym_LPAREN] = ACTIONS(398),
    [aux_sym_cast_expression_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(400),
    [sym_visualise_keyword] = ACTIONS(398),
    [sym_quoted_identifier] = ACTIONS(398),
    [sym_number] = ACTIONS(398),
    [anon_sym_SQUOTE] = ACTIONS(398),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(101)] = {
    [sym_comment] = STATE(101),
    [ts_builtin_sym_end] = ACTIONS(402),
    [sym_bare_identifier] = ACTIONS(404),
    [anon_sym_SEMI] = ACTIONS(402),
    [anon_sym_COMMA] = ACTIONS(402),
    [anon_sym_STAR] = ACTIONS(402),
    [anon_sym_DOT] = ACTIONS(404),
    [anon_sym_EQ] = ACTIONS(402),
    [anon_sym_LT] = ACTIONS(402),
    [anon_sym_GT] = ACTIONS(402),
    [anon_sym_BANG] = ACTIONS(402),
    [anon_sym_PLUS] = ACTIONS(402),
    [anon_sym_DASH] = ACTIONS(404),
    [anon_sym_SLASH] = ACTIONS(404),
    [anon_sym_PERCENT] = ACTIONS(402),
    [anon_sym_PIPE] = ACTIONS(402),
    [anon_sym_AMP] = ACTIONS(402),
    [anon_sym_CARET] = ACTIONS(402),
    [anon_sym_TILDE] = ACTIONS(402),
    [anon_sym_COLON_COLON] = ACTIONS(402),
    [anon_sym_LPAREN] = ACTIONS(402),
    [aux_sym_cast_expression_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(404),
    [sym_visualise_keyword] = ACTIONS(402),
    [sym_quoted_identifier] = ACTIONS(402),
    [sym_number] = ACTIONS(402),
    [anon_sym_SQUOTE] = ACTIONS(402),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(102)] = {
    [sym_comment] = STATE(102),
    [ts_builtin_sym_end] = ACTIONS(406),
    [sym_bare_identifier] = ACTIONS(408),
    [anon_sym_SEMI] = ACTIONS(406),
    [anon_sym_COMMA] = ACTIONS(406),
    [anon_sym_STAR] = ACTIONS(406),
    [anon_sym_DOT] = ACTIONS(408),
    [anon_sym_EQ] = ACTIONS(406),
    [anon_sym_LT] = ACTIONS(406),
    [anon_sym_GT] = ACTIONS(406),
    [anon_sym_BANG] = ACTIONS(406),
    [anon_sym_PLUS] = ACTIONS(406),
    [anon_sym_DASH] = ACTIONS(408),
    [anon_sym_SLASH] = ACTIONS(408),
    [anon_sym_PERCENT] = ACTIONS(406),
    [anon_sym_PIPE] = ACTIONS(406),
    [anon_sym_AMP] = ACTIONS(406),
    [anon_sym_CARET] = ACTIONS(406),
    [anon_sym_TILDE] = ACTIONS(406),
    [anon_sym_COLON_COLON] = ACTIONS(406),
    [anon_sym_LPAREN] = ACTIONS(406),
    [aux_sym_cast_expression_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(408),
    [sym_visualise_keyword] = ACTIONS(406),
    [sym_quoted_identifier] = ACTIONS(406),
    [sym_number] = ACTIONS(406),
    [anon_sym_SQUOTE] = ACTIONS(406),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(103)] = {
    [sym_comment] = STATE(103),
    [ts_builtin_sym_end] = ACTIONS(414),
    [sym_bare_identifier] = ACTIONS(416),
    [anon_sym_SEMI] = ACTIONS(414),
    [anon_sym_COMMA] = ACTIONS(414),
    [anon_sym_STAR] = ACTIONS(414),
    [anon_sym_DOT] = ACTIONS(416),
    [anon_sym_EQ] = ACTIONS(414),
    [anon_sym_LT] = ACTIONS(414),
    [anon_sym_GT] = ACTIONS(414),
    [anon_sym_BANG] = ACTIONS(414),
    [anon_sym_PLUS] = ACTIONS(414),
    [anon_sym_DASH] = ACTIONS(416),
    [anon_sym_SLASH] = ACTIONS(416),
    [anon_sym_PERCENT] = ACTIONS(414),
    [anon_sym_PIPE] = ACTIONS(414),
    [anon_sym_AMP] = ACTIONS(414),
    [anon_sym_CARET] = ACTIONS(414),
    [anon_sym_TILDE] = ACTIONS(414),
    [anon_sym_COLON_COLON] = ACTIONS(414),
    [anon_sym_LPAREN] = ACTIONS(414),
    [aux_sym_cast_expression_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(416),
    [sym_visualise_keyword] = ACTIONS(414),
    [sym_quoted_identifier] = ACTIONS(414),
    [sym_number] = ACTIONS(414),
    [anon_sym_SQUOTE] = ACTIONS(414),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(104)] = {
    [sym_comment] = STATE(104),
    [ts_builtin_sym_end] = ACTIONS(418),
    [sym_bare_identifier] = ACTIONS(420),
    [anon_sym_SEMI] = ACTIONS(418),
    [anon_sym_COMMA] = ACTIONS(418),
    [anon_sym_STAR] = ACTIONS(418),
    [anon_sym_DOT] = ACTIONS(420),
    [anon_sym_EQ] = ACTIONS(418),
    [anon_sym_LT] = ACTIONS(418),
    [anon_sym_GT] = ACTIONS(418),
    [anon_sym_BANG] = ACTIONS(418),
    [anon_sym_PLUS] = ACTIONS(418),
    [anon_sym_DASH] = ACTIONS(420),
    [anon_sym_SLASH] = ACTIONS(420),
    [anon_sym_PERCENT] = ACTIONS(418),
    [anon_sym_PIPE] = ACTIONS(418),
    [anon_sym_AMP] = ACTIONS(418),
    [anon_sym_CARET] = ACTIONS(418),
    [anon_sym_TILDE] = ACTIONS(418),
    [anon_sym_COLON_COLON] = ACTIONS(418),
    [anon_sym_LPAREN] = ACTIONS(418),
    [aux_sym_cast_expression_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(420),
    [sym_visualise_keyword] = ACTIONS(418),
    [sym_quoted_identifier] = ACTIONS(418),
    [sym_number] = ACTIONS(418),
    [anon_sym_SQUOTE] = ACTIONS(418),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(105)] = {
    [sym_comment] = STATE(105),
    [ts_builtin_sym_end] = ACTIONS(328),
    [sym_bare_identifier] = ACTIONS(330),
    [anon_sym_SEMI] = ACTIONS(328),
    [anon_sym_COMMA] = ACTIONS(328),
    [anon_sym_STAR] = ACTIONS(328),
    [anon_sym_DOT] = ACTIONS(330),
    [anon_sym_EQ] = ACTIONS(328),
    [anon_sym_LT] = ACTIONS(328),
    [anon_sym_GT] = ACTIONS(328),
    [anon_sym_BANG] = ACTIONS(328),
    [anon_sym_PLUS] = ACTIONS(328),
    [anon_sym_DASH] = ACTIONS(330),
    [anon_sym_SLASH] = ACTIONS(330),
    [anon_sym_PERCENT] = ACTIONS(328),
    [anon_sym_PIPE] = ACTIONS(328),
    [anon_sym_AMP] = ACTIONS(328),
    [anon_sym_CARET] = ACTIONS(328),
    [anon_sym_TILDE] = ACTIONS(328),
    [anon_sym_COLON_COLON] = ACTIONS(328),
    [anon_sym_LPAREN] = ACTIONS(328),
    [aux_sym_cast_expression_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(330),
    [sym_visualise_keyword] = ACTIONS(328),
    [sym_quoted_identifier] = ACTIONS(328),
    [sym_number] = ACTIONS(328),
    [anon_sym_SQUOTE] = ACTIONS(328),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(106)] = {
    [sym_comment] = STATE(106),
    [ts_builtin_sym_end] = ACTIONS(350),
    [sym_bare_identifier] = ACTIONS(352),
    [anon_sym_SEMI] = ACTIONS(350),
    [anon_sym_COMMA] = ACTIONS(350),
    [anon_sym_STAR] = ACTIONS(350),
    [anon_sym_DOT] = ACTIONS(352),
    [anon_sym_EQ] = ACTIONS(350),
    [anon_sym_LT] = ACTIONS(350),
    [anon_sym_GT] = ACTIONS(350),
    [anon_sym_BANG] = ACTIONS(350),
    [anon_sym_PLUS] = ACTIONS(350),
    [anon_sym_DASH] = ACTIONS(352),
    [anon_sym_SLASH] = ACTIONS(352),
    [anon_sym_PERCENT] = ACTIONS(350),
    [anon_sym_PIPE] = ACTIONS(350),
    [anon_sym_AMP] = ACTIONS(350),
    [anon_sym_CARET] = ACTIONS(350),
    [anon_sym_TILDE] = ACTIONS(350),
    [anon_sym_COLON_COLON] = ACTIONS(350),
    [anon_sym_LPAREN] = ACTIONS(350),
    [aux_sym_cast_expression_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(352),
    [sym_visualise_keyword] = ACTIONS(350),
    [sym_quoted_identifier] = ACTIONS(350),
    [sym_number] = ACTIONS(350),
    [anon_sym_SQUOTE] = ACTIONS(350),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(107)] = {
    [sym_comment] = STATE(107),
    [sym_bare_identifier] = ACTIONS(334),
    [anon_sym_COMMA] = ACTIONS(332),
    [anon_sym_STAR] = ACTIONS(332),
    [anon_sym_DOT] = ACTIONS(334),
    [anon_sym_EQ] = ACTIONS(332),
    [anon_sym_LT] = ACTIONS(332),
    [anon_sym_GT] = ACTIONS(332),
    [anon_sym_BANG] = ACTIONS(332),
    [anon_sym_PLUS] = ACTIONS(332),
    [anon_sym_DASH] = ACTIONS(334),
    [anon_sym_SLASH] = ACTIONS(334),
    [anon_sym_PERCENT] = ACTIONS(332),
    [anon_sym_PIPE] = ACTIONS(332),
    [anon_sym_AMP] = ACTIONS(332),
    [anon_sym_CARET] = ACTIONS(332),
    [anon_sym_TILDE] = ACTIONS(332),
    [anon_sym_COLON_COLON] = ACTIONS(332),
    [anon_sym_LPAREN] = ACTIONS(332),
    [anon_sym_RPAREN] = ACTIONS(332),
    [aux_sym_cast_expression_token1] = ACTIONS(334),
    [aux_sym_cast_expression_token2] = ACTIONS(334),
    [aux_sym_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(334),
    [aux_sym_from_clause_token1] = ACTIONS(332),
    [sym_quoted_identifier] = ACTIONS(332),
    [sym_number] = ACTIONS(332),
    [anon_sym_SQUOTE] = ACTIONS(332),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(108)] = {
    [sym_comment] = STATE(108),
    [sym_bare_identifier] = ACTIONS(369),
    [anon_sym_COMMA] = ACTIONS(367),
    [anon_sym_STAR] = ACTIONS(367),
    [anon_sym_DOT] = ACTIONS(369),
    [anon_sym_EQ] = ACTIONS(367),
    [anon_sym_LT] = ACTIONS(367),
    [anon_sym_GT] = ACTIONS(367),
    [anon_sym_BANG] = ACTIONS(367),
    [anon_sym_PLUS] = ACTIONS(367),
    [anon_sym_DASH] = ACTIONS(369),
    [anon_sym_SLASH] = ACTIONS(369),
    [anon_sym_PERCENT] = ACTIONS(367),
    [anon_sym_PIPE] = ACTIONS(367),
    [anon_sym_AMP] = ACTIONS(367),
    [anon_sym_CARET] = ACTIONS(367),
    [anon_sym_TILDE] = ACTIONS(367),
    [anon_sym_COLON_COLON] = ACTIONS(367),
    [anon_sym_LPAREN] = ACTIONS(367),
    [anon_sym_RPAREN] = ACTIONS(367),
    [aux_sym_cast_expression_token1] = ACTIONS(369),
    [aux_sym_cast_expression_token2] = ACTIONS(369),
    [aux_sym_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(369),
    [aux_sym_from_clause_token1] = ACTIONS(367),
    [sym_quoted_identifier] = ACTIONS(367),
    [sym_number] = ACTIONS(367),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(109)] = {
    [sym_comment] = STATE(109),
    [sym_bare_identifier] = ACTIONS(373),
    [anon_sym_COMMA] = ACTIONS(371),
    [anon_sym_STAR] = ACTIONS(371),
    [anon_sym_DOT] = ACTIONS(373),
    [anon_sym_EQ] = ACTIONS(371),
    [anon_sym_LT] = ACTIONS(371),
    [anon_sym_GT] = ACTIONS(371),
    [anon_sym_BANG] = ACTIONS(371),
    [anon_sym_PLUS] = ACTIONS(371),
    [anon_sym_DASH] = ACTIONS(373),
    [anon_sym_SLASH] = ACTIONS(373),
    [anon_sym_PERCENT] = ACTIONS(371),
    [anon_sym_PIPE] = ACTIONS(371),
    [anon_sym_AMP] = ACTIONS(371),
    [anon_sym_CARET] = ACTIONS(371),
    [anon_sym_TILDE] = ACTIONS(371),
    [anon_sym_COLON_COLON] = ACTIONS(371),
    [anon_sym_LPAREN] = ACTIONS(371),
    [anon_sym_RPAREN] = ACTIONS(371),
    [aux_sym_cast_expression_token1] = ACTIONS(373),
    [aux_sym_cast_expression_token2] = ACTIONS(373),
    [aux_sym_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(373),
    [aux_sym_from_clause_token1] = ACTIONS(371),
    [sym_quoted_identifier] = ACTIONS(371),
    [sym_number] = ACTIONS(371),
    [anon_sym_SQUOTE] = ACTIONS(371),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(110)] = {
    [sym_comment] = STATE(110),
    [sym_bare_identifier] = ACTIONS(334),
    [anon_sym_COMMA] = ACTIONS(332),
    [anon_sym_STAR] = ACTIONS(332),
    [anon_sym_DOT] = ACTIONS(334),
    [anon_sym_EQ] = ACTIONS(332),
    [anon_sym_LT] = ACTIONS(332),
    [anon_sym_GT] = ACTIONS(332),
    [anon_sym_BANG] = ACTIONS(332),
    [anon_sym_PLUS] = ACTIONS(332),
    [anon_sym_DASH] = ACTIONS(334),
    [anon_sym_SLASH] = ACTIONS(334),
    [anon_sym_PERCENT] = ACTIONS(332),
    [anon_sym_PIPE] = ACTIONS(332),
    [anon_sym_AMP] = ACTIONS(332),
    [anon_sym_CARET] = ACTIONS(332),
    [anon_sym_TILDE] = ACTIONS(332),
    [anon_sym_COLON_COLON] = ACTIONS(332),
    [anon_sym_LPAREN] = ACTIONS(462),
    [anon_sym_RPAREN] = ACTIONS(332),
    [aux_sym_cast_expression_token1] = ACTIONS(334),
    [aux_sym_cast_expression_token2] = ACTIONS(334),
    [aux_sym_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(334),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(334),
    [aux_sym_from_clause_token1] = ACTIONS(332),
    [sym_quoted_identifier] = ACTIONS(332),
    [sym_number] = ACTIONS(332),
    [anon_sym_SQUOTE] = ACTIONS(332),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(111)] = {
    [sym_comment] = STATE(111),
    [sym_bare_identifier] = ACTIONS(342),
    [anon_sym_COMMA] = ACTIONS(340),
    [anon_sym_STAR] = ACTIONS(340),
    [anon_sym_DOT] = ACTIONS(342),
    [anon_sym_EQ] = ACTIONS(340),
    [anon_sym_LT] = ACTIONS(340),
    [anon_sym_GT] = ACTIONS(340),
    [anon_sym_BANG] = ACTIONS(340),
    [anon_sym_PLUS] = ACTIONS(340),
    [anon_sym_DASH] = ACTIONS(342),
    [anon_sym_SLASH] = ACTIONS(342),
    [anon_sym_PERCENT] = ACTIONS(340),
    [anon_sym_PIPE] = ACTIONS(340),
    [anon_sym_AMP] = ACTIONS(340),
    [anon_sym_CARET] = ACTIONS(340),
    [anon_sym_TILDE] = ACTIONS(340),
    [anon_sym_COLON_COLON] = ACTIONS(340),
    [anon_sym_LPAREN] = ACTIONS(340),
    [anon_sym_RPAREN] = ACTIONS(340),
    [aux_sym_cast_expression_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token2] = ACTIONS(342),
    [aux_sym_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(464),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(342),
    [aux_sym_from_clause_token1] = ACTIONS(340),
    [sym_quoted_identifier] = ACTIONS(340),
    [sym_number] = ACTIONS(340),
    [anon_sym_SQUOTE] = ACTIONS(340),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(112)] = {
    [sym_comment] = STATE(112),
    [sym_bare_identifier] = ACTIONS(326),
    [anon_sym_COMMA] = ACTIONS(324),
    [anon_sym_STAR] = ACTIONS(324),
    [anon_sym_DOT] = ACTIONS(326),
    [anon_sym_EQ] = ACTIONS(324),
    [anon_sym_LT] = ACTIONS(324),
    [anon_sym_GT] = ACTIONS(324),
    [anon_sym_BANG] = ACTIONS(324),
    [anon_sym_PLUS] = ACTIONS(324),
    [anon_sym_DASH] = ACTIONS(326),
    [anon_sym_SLASH] = ACTIONS(326),
    [anon_sym_PERCENT] = ACTIONS(324),
    [anon_sym_PIPE] = ACTIONS(324),
    [anon_sym_AMP] = ACTIONS(324),
    [anon_sym_CARET] = ACTIONS(324),
    [anon_sym_TILDE] = ACTIONS(324),
    [anon_sym_COLON_COLON] = ACTIONS(324),
    [anon_sym_LPAREN] = ACTIONS(324),
    [anon_sym_RPAREN] = ACTIONS(324),
    [aux_sym_cast_expression_token1] = ACTIONS(326),
    [aux_sym_cast_expression_token2] = ACTIONS(326),
    [aux_sym_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(326),
    [aux_sym_from_clause_token1] = ACTIONS(324),
    [sym_quoted_identifier] = ACTIONS(324),
    [sym_number] = ACTIONS(324),
    [anon_sym_SQUOTE] = ACTIONS(324),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(113)] = {
    [sym_comment] = STATE(113),
    [sym_bare_identifier] = ACTIONS(348),
    [anon_sym_COMMA] = ACTIONS(346),
    [anon_sym_STAR] = ACTIONS(346),
    [anon_sym_DOT] = ACTIONS(348),
    [anon_sym_EQ] = ACTIONS(346),
    [anon_sym_LT] = ACTIONS(346),
    [anon_sym_GT] = ACTIONS(346),
    [anon_sym_BANG] = ACTIONS(346),
    [anon_sym_PLUS] = ACTIONS(346),
    [anon_sym_DASH] = ACTIONS(348),
    [anon_sym_SLASH] = ACTIONS(348),
    [anon_sym_PERCENT] = ACTIONS(346),
    [anon_sym_PIPE] = ACTIONS(346),
    [anon_sym_AMP] = ACTIONS(346),
    [anon_sym_CARET] = ACTIONS(346),
    [anon_sym_TILDE] = ACTIONS(346),
    [anon_sym_COLON_COLON] = ACTIONS(346),
    [anon_sym_LPAREN] = ACTIONS(346),
    [anon_sym_RPAREN] = ACTIONS(346),
    [aux_sym_cast_expression_token1] = ACTIONS(348),
    [aux_sym_cast_expression_token2] = ACTIONS(348),
    [aux_sym_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(348),
    [aux_sym_from_clause_token1] = ACTIONS(346),
    [sym_quoted_identifier] = ACTIONS(346),
    [sym_number] = ACTIONS(346),
    [anon_sym_SQUOTE] = ACTIONS(346),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(114)] = {
    [sym_comment] = STATE(114),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_COMMA] = ACTIONS(309),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [anon_sym_RPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [aux_sym_from_clause_token1] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(115)] = {
    [sym_comment] = STATE(115),
    [ts_builtin_sym_end] = ACTIONS(466),
    [sym_bare_identifier] = ACTIONS(468),
    [anon_sym_SEMI] = ACTIONS(466),
    [anon_sym_COMMA] = ACTIONS(466),
    [anon_sym_STAR] = ACTIONS(466),
    [anon_sym_DOT] = ACTIONS(468),
    [anon_sym_EQ] = ACTIONS(466),
    [anon_sym_LT] = ACTIONS(466),
    [anon_sym_GT] = ACTIONS(466),
    [anon_sym_BANG] = ACTIONS(466),
    [anon_sym_PLUS] = ACTIONS(466),
    [anon_sym_DASH] = ACTIONS(468),
    [anon_sym_SLASH] = ACTIONS(468),
    [anon_sym_PERCENT] = ACTIONS(466),
    [anon_sym_PIPE] = ACTIONS(466),
    [anon_sym_AMP] = ACTIONS(466),
    [anon_sym_CARET] = ACTIONS(466),
    [anon_sym_TILDE] = ACTIONS(466),
    [anon_sym_COLON_COLON] = ACTIONS(466),
    [anon_sym_LPAREN] = ACTIONS(466),
    [aux_sym_cast_expression_token1] = ACTIONS(468),
    [aux_sym_cast_expression_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(468),
    [sym_visualise_keyword] = ACTIONS(466),
    [sym_quoted_identifier] = ACTIONS(466),
    [sym_number] = ACTIONS(466),
    [anon_sym_SQUOTE] = ACTIONS(466),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(116)] = {
    [sym_comment] = STATE(116),
    [sym_bare_identifier] = ACTIONS(384),
    [anon_sym_COMMA] = ACTIONS(382),
    [anon_sym_STAR] = ACTIONS(382),
    [anon_sym_DOT] = ACTIONS(384),
    [anon_sym_EQ] = ACTIONS(382),
    [anon_sym_LT] = ACTIONS(382),
    [anon_sym_GT] = ACTIONS(382),
    [anon_sym_BANG] = ACTIONS(382),
    [anon_sym_PLUS] = ACTIONS(382),
    [anon_sym_DASH] = ACTIONS(384),
    [anon_sym_SLASH] = ACTIONS(384),
    [anon_sym_PERCENT] = ACTIONS(382),
    [anon_sym_PIPE] = ACTIONS(382),
    [anon_sym_AMP] = ACTIONS(382),
    [anon_sym_CARET] = ACTIONS(382),
    [anon_sym_TILDE] = ACTIONS(382),
    [anon_sym_COLON_COLON] = ACTIONS(382),
    [anon_sym_LPAREN] = ACTIONS(382),
    [anon_sym_RPAREN] = ACTIONS(382),
    [aux_sym_cast_expression_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token2] = ACTIONS(384),
    [aux_sym_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(470),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(384),
    [aux_sym_from_clause_token1] = ACTIONS(382),
    [sym_quoted_identifier] = ACTIONS(382),
    [sym_number] = ACTIONS(382),
    [anon_sym_SQUOTE] = ACTIONS(382),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(117)] = {
    [sym_comment] = STATE(117),
    [sym_bare_identifier] = ACTIONS(390),
    [anon_sym_COMMA] = ACTIONS(388),
    [anon_sym_STAR] = ACTIONS(388),
    [anon_sym_DOT] = ACTIONS(390),
    [anon_sym_EQ] = ACTIONS(388),
    [anon_sym_LT] = ACTIONS(388),
    [anon_sym_GT] = ACTIONS(388),
    [anon_sym_BANG] = ACTIONS(388),
    [anon_sym_PLUS] = ACTIONS(388),
    [anon_sym_DASH] = ACTIONS(390),
    [anon_sym_SLASH] = ACTIONS(390),
    [anon_sym_PERCENT] = ACTIONS(388),
    [anon_sym_PIPE] = ACTIONS(388),
    [anon_sym_AMP] = ACTIONS(388),
    [anon_sym_CARET] = ACTIONS(388),
    [anon_sym_TILDE] = ACTIONS(388),
    [anon_sym_COLON_COLON] = ACTIONS(388),
    [anon_sym_LPAREN] = ACTIONS(388),
    [anon_sym_RPAREN] = ACTIONS(388),
    [aux_sym_cast_expression_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token2] = ACTIONS(390),
    [aux_sym_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(390),
    [aux_sym_from_clause_token1] = ACTIONS(388),
    [sym_quoted_identifier] = ACTIONS(388),
    [sym_number] = ACTIONS(388),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(118)] = {
    [sym_comment] = STATE(118),
    [sym_bare_identifier] = ACTIONS(394),
    [anon_sym_COMMA] = ACTIONS(392),
    [anon_sym_STAR] = ACTIONS(392),
    [anon_sym_DOT] = ACTIONS(394),
    [anon_sym_EQ] = ACTIONS(392),
    [anon_sym_LT] = ACTIONS(392),
    [anon_sym_GT] = ACTIONS(392),
    [anon_sym_BANG] = ACTIONS(392),
    [anon_sym_PLUS] = ACTIONS(392),
    [anon_sym_DASH] = ACTIONS(394),
    [anon_sym_SLASH] = ACTIONS(394),
    [anon_sym_PERCENT] = ACTIONS(392),
    [anon_sym_PIPE] = ACTIONS(392),
    [anon_sym_AMP] = ACTIONS(392),
    [anon_sym_CARET] = ACTIONS(392),
    [anon_sym_TILDE] = ACTIONS(392),
    [anon_sym_COLON_COLON] = ACTIONS(392),
    [anon_sym_LPAREN] = ACTIONS(392),
    [anon_sym_RPAREN] = ACTIONS(392),
    [aux_sym_cast_expression_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token2] = ACTIONS(394),
    [aux_sym_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(472),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(394),
    [aux_sym_from_clause_token1] = ACTIONS(392),
    [sym_quoted_identifier] = ACTIONS(392),
    [sym_number] = ACTIONS(392),
    [anon_sym_SQUOTE] = ACTIONS(392),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(119)] = {
    [sym_comment] = STATE(119),
    [sym_bare_identifier] = ACTIONS(400),
    [anon_sym_COMMA] = ACTIONS(398),
    [anon_sym_STAR] = ACTIONS(398),
    [anon_sym_DOT] = ACTIONS(400),
    [anon_sym_EQ] = ACTIONS(398),
    [anon_sym_LT] = ACTIONS(398),
    [anon_sym_GT] = ACTIONS(398),
    [anon_sym_BANG] = ACTIONS(398),
    [anon_sym_PLUS] = ACTIONS(398),
    [anon_sym_DASH] = ACTIONS(400),
    [anon_sym_SLASH] = ACTIONS(400),
    [anon_sym_PERCENT] = ACTIONS(398),
    [anon_sym_PIPE] = ACTIONS(398),
    [anon_sym_AMP] = ACTIONS(398),
    [anon_sym_CARET] = ACTIONS(398),
    [anon_sym_TILDE] = ACTIONS(398),
    [anon_sym_COLON_COLON] = ACTIONS(398),
    [anon_sym_LPAREN] = ACTIONS(398),
    [anon_sym_RPAREN] = ACTIONS(398),
    [aux_sym_cast_expression_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token2] = ACTIONS(400),
    [aux_sym_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(400),
    [aux_sym_from_clause_token1] = ACTIONS(398),
    [sym_quoted_identifier] = ACTIONS(398),
    [sym_number] = ACTIONS(398),
    [anon_sym_SQUOTE] = ACTIONS(398),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(120)] = {
    [sym_comment] = STATE(120),
    [sym_bare_identifier] = ACTIONS(404),
    [anon_sym_COMMA] = ACTIONS(402),
    [anon_sym_STAR] = ACTIONS(402),
    [anon_sym_DOT] = ACTIONS(404),
    [anon_sym_EQ] = ACTIONS(402),
    [anon_sym_LT] = ACTIONS(402),
    [anon_sym_GT] = ACTIONS(402),
    [anon_sym_BANG] = ACTIONS(402),
    [anon_sym_PLUS] = ACTIONS(402),
    [anon_sym_DASH] = ACTIONS(404),
    [anon_sym_SLASH] = ACTIONS(404),
    [anon_sym_PERCENT] = ACTIONS(402),
    [anon_sym_PIPE] = ACTIONS(402),
    [anon_sym_AMP] = ACTIONS(402),
    [anon_sym_CARET] = ACTIONS(402),
    [anon_sym_TILDE] = ACTIONS(402),
    [anon_sym_COLON_COLON] = ACTIONS(402),
    [anon_sym_LPAREN] = ACTIONS(402),
    [anon_sym_RPAREN] = ACTIONS(402),
    [aux_sym_cast_expression_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token2] = ACTIONS(404),
    [aux_sym_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(404),
    [aux_sym_from_clause_token1] = ACTIONS(402),
    [sym_quoted_identifier] = ACTIONS(402),
    [sym_number] = ACTIONS(402),
    [anon_sym_SQUOTE] = ACTIONS(402),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(121)] = {
    [sym_comment] = STATE(121),
    [sym_bare_identifier] = ACTIONS(408),
    [anon_sym_COMMA] = ACTIONS(406),
    [anon_sym_STAR] = ACTIONS(406),
    [anon_sym_DOT] = ACTIONS(408),
    [anon_sym_EQ] = ACTIONS(406),
    [anon_sym_LT] = ACTIONS(406),
    [anon_sym_GT] = ACTIONS(406),
    [anon_sym_BANG] = ACTIONS(406),
    [anon_sym_PLUS] = ACTIONS(406),
    [anon_sym_DASH] = ACTIONS(408),
    [anon_sym_SLASH] = ACTIONS(408),
    [anon_sym_PERCENT] = ACTIONS(406),
    [anon_sym_PIPE] = ACTIONS(406),
    [anon_sym_AMP] = ACTIONS(406),
    [anon_sym_CARET] = ACTIONS(406),
    [anon_sym_TILDE] = ACTIONS(406),
    [anon_sym_COLON_COLON] = ACTIONS(406),
    [anon_sym_LPAREN] = ACTIONS(406),
    [anon_sym_RPAREN] = ACTIONS(406),
    [aux_sym_cast_expression_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token2] = ACTIONS(408),
    [aux_sym_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(408),
    [aux_sym_from_clause_token1] = ACTIONS(406),
    [sym_quoted_identifier] = ACTIONS(406),
    [sym_number] = ACTIONS(406),
    [anon_sym_SQUOTE] = ACTIONS(406),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(122)] = {
    [sym_comment] = STATE(122),
    [sym_bare_identifier] = ACTIONS(416),
    [anon_sym_COMMA] = ACTIONS(414),
    [anon_sym_STAR] = ACTIONS(414),
    [anon_sym_DOT] = ACTIONS(416),
    [anon_sym_EQ] = ACTIONS(414),
    [anon_sym_LT] = ACTIONS(414),
    [anon_sym_GT] = ACTIONS(414),
    [anon_sym_BANG] = ACTIONS(414),
    [anon_sym_PLUS] = ACTIONS(414),
    [anon_sym_DASH] = ACTIONS(416),
    [anon_sym_SLASH] = ACTIONS(416),
    [anon_sym_PERCENT] = ACTIONS(414),
    [anon_sym_PIPE] = ACTIONS(414),
    [anon_sym_AMP] = ACTIONS(414),
    [anon_sym_CARET] = ACTIONS(414),
    [anon_sym_TILDE] = ACTIONS(414),
    [anon_sym_COLON_COLON] = ACTIONS(414),
    [anon_sym_LPAREN] = ACTIONS(414),
    [anon_sym_RPAREN] = ACTIONS(414),
    [aux_sym_cast_expression_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token2] = ACTIONS(416),
    [aux_sym_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(416),
    [aux_sym_from_clause_token1] = ACTIONS(414),
    [sym_quoted_identifier] = ACTIONS(414),
    [sym_number] = ACTIONS(414),
    [anon_sym_SQUOTE] = ACTIONS(414),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(123)] = {
    [sym_comment] = STATE(123),
    [sym_bare_identifier] = ACTIONS(420),
    [anon_sym_COMMA] = ACTIONS(418),
    [anon_sym_STAR] = ACTIONS(418),
    [anon_sym_DOT] = ACTIONS(420),
    [anon_sym_EQ] = ACTIONS(418),
    [anon_sym_LT] = ACTIONS(418),
    [anon_sym_GT] = ACTIONS(418),
    [anon_sym_BANG] = ACTIONS(418),
    [anon_sym_PLUS] = ACTIONS(418),
    [anon_sym_DASH] = ACTIONS(420),
    [anon_sym_SLASH] = ACTIONS(420),
    [anon_sym_PERCENT] = ACTIONS(418),
    [anon_sym_PIPE] = ACTIONS(418),
    [anon_sym_AMP] = ACTIONS(418),
    [anon_sym_CARET] = ACTIONS(418),
    [anon_sym_TILDE] = ACTIONS(418),
    [anon_sym_COLON_COLON] = ACTIONS(418),
    [anon_sym_LPAREN] = ACTIONS(418),
    [anon_sym_RPAREN] = ACTIONS(418),
    [aux_sym_cast_expression_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token2] = ACTIONS(420),
    [aux_sym_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(420),
    [aux_sym_from_clause_token1] = ACTIONS(418),
    [sym_quoted_identifier] = ACTIONS(418),
    [sym_number] = ACTIONS(418),
    [anon_sym_SQUOTE] = ACTIONS(418),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(124)] = {
    [sym_comment] = STATE(124),
    [ts_builtin_sym_end] = ACTIONS(340),
    [sym_bare_identifier] = ACTIONS(342),
    [anon_sym_SEMI] = ACTIONS(340),
    [anon_sym_COMMA] = ACTIONS(340),
    [anon_sym_STAR] = ACTIONS(340),
    [anon_sym_DOT] = ACTIONS(342),
    [anon_sym_EQ] = ACTIONS(340),
    [anon_sym_LT] = ACTIONS(340),
    [anon_sym_GT] = ACTIONS(340),
    [anon_sym_BANG] = ACTIONS(340),
    [anon_sym_PLUS] = ACTIONS(340),
    [anon_sym_DASH] = ACTIONS(342),
    [anon_sym_SLASH] = ACTIONS(342),
    [anon_sym_PERCENT] = ACTIONS(340),
    [anon_sym_PIPE] = ACTIONS(340),
    [anon_sym_AMP] = ACTIONS(340),
    [anon_sym_CARET] = ACTIONS(340),
    [anon_sym_TILDE] = ACTIONS(340),
    [anon_sym_COLON_COLON] = ACTIONS(340),
    [anon_sym_LPAREN] = ACTIONS(340),
    [aux_sym_cast_expression_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(474),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(342),
    [sym_visualise_keyword] = ACTIONS(340),
    [sym_quoted_identifier] = ACTIONS(340),
    [sym_number] = ACTIONS(340),
    [anon_sym_SQUOTE] = ACTIONS(340),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(125)] = {
    [sym_comment] = STATE(125),
    [ts_builtin_sym_end] = ACTIONS(382),
    [sym_bare_identifier] = ACTIONS(384),
    [anon_sym_SEMI] = ACTIONS(382),
    [anon_sym_COMMA] = ACTIONS(382),
    [anon_sym_STAR] = ACTIONS(382),
    [anon_sym_DOT] = ACTIONS(384),
    [anon_sym_EQ] = ACTIONS(382),
    [anon_sym_LT] = ACTIONS(382),
    [anon_sym_GT] = ACTIONS(382),
    [anon_sym_BANG] = ACTIONS(382),
    [anon_sym_PLUS] = ACTIONS(382),
    [anon_sym_DASH] = ACTIONS(384),
    [anon_sym_SLASH] = ACTIONS(384),
    [anon_sym_PERCENT] = ACTIONS(382),
    [anon_sym_PIPE] = ACTIONS(382),
    [anon_sym_AMP] = ACTIONS(382),
    [anon_sym_CARET] = ACTIONS(382),
    [anon_sym_TILDE] = ACTIONS(382),
    [anon_sym_COLON_COLON] = ACTIONS(382),
    [anon_sym_LPAREN] = ACTIONS(382),
    [aux_sym_cast_expression_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(476),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(384),
    [sym_visualise_keyword] = ACTIONS(382),
    [sym_quoted_identifier] = ACTIONS(382),
    [sym_number] = ACTIONS(382),
    [anon_sym_SQUOTE] = ACTIONS(382),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(126)] = {
    [sym_comment] = STATE(126),
    [sym_bare_identifier] = ACTIONS(412),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(410),
    [anon_sym_DOT] = ACTIONS(412),
    [anon_sym_EQ] = ACTIONS(410),
    [anon_sym_LT] = ACTIONS(410),
    [anon_sym_GT] = ACTIONS(410),
    [anon_sym_BANG] = ACTIONS(410),
    [anon_sym_PLUS] = ACTIONS(410),
    [anon_sym_DASH] = ACTIONS(412),
    [anon_sym_SLASH] = ACTIONS(412),
    [anon_sym_PERCENT] = ACTIONS(410),
    [anon_sym_PIPE] = ACTIONS(410),
    [anon_sym_AMP] = ACTIONS(410),
    [anon_sym_CARET] = ACTIONS(410),
    [anon_sym_TILDE] = ACTIONS(410),
    [anon_sym_COLON_COLON] = ACTIONS(410),
    [anon_sym_LPAREN] = ACTIONS(410),
    [anon_sym_RPAREN] = ACTIONS(410),
    [aux_sym_cast_expression_token1] = ACTIONS(412),
    [aux_sym_cast_expression_token2] = ACTIONS(412),
    [aux_sym_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(412),
    [aux_sym_from_clause_token1] = ACTIONS(410),
    [sym_quoted_identifier] = ACTIONS(410),
    [sym_number] = ACTIONS(410),
    [anon_sym_SQUOTE] = ACTIONS(410),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(127)] = {
    [sym_identifier] = STATE(161),
    [sym_comment] = STATE(127),
    [sym_bare_identifier] = ACTIONS(222),
    [anon_sym_COMMA] = ACTIONS(272),
    [anon_sym_STAR] = ACTIONS(272),
    [anon_sym_DOT] = ACTIONS(274),
    [anon_sym_EQ] = ACTIONS(272),
    [anon_sym_LT] = ACTIONS(272),
    [anon_sym_GT] = ACTIONS(272),
    [anon_sym_BANG] = ACTIONS(272),
    [anon_sym_PLUS] = ACTIONS(272),
    [anon_sym_DASH] = ACTIONS(274),
    [anon_sym_SLASH] = ACTIONS(274),
    [anon_sym_PERCENT] = ACTIONS(272),
    [anon_sym_PIPE] = ACTIONS(272),
    [anon_sym_AMP] = ACTIONS(272),
    [anon_sym_CARET] = ACTIONS(272),
    [anon_sym_TILDE] = ACTIONS(272),
    [anon_sym_COLON_COLON] = ACTIONS(272),
    [anon_sym_LPAREN] = ACTIONS(272),
    [anon_sym_RPAREN] = ACTIONS(272),
    [aux_sym_cte_definition_token1] = ACTIONS(478),
    [aux_sym_cast_expression_token1] = ACTIONS(274),
    [aux_sym_cast_expression_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(274),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(274),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(272),
    [anon_sym_SQUOTE] = ACTIONS(272),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(128)] = {
    [sym_identifier] = STATE(160),
    [sym_comment] = STATE(128),
    [sym_bare_identifier] = ACTIONS(222),
    [anon_sym_COMMA] = ACTIONS(278),
    [anon_sym_STAR] = ACTIONS(278),
    [anon_sym_DOT] = ACTIONS(280),
    [anon_sym_EQ] = ACTIONS(278),
    [anon_sym_LT] = ACTIONS(278),
    [anon_sym_GT] = ACTIONS(278),
    [anon_sym_BANG] = ACTIONS(278),
    [anon_sym_PLUS] = ACTIONS(278),
    [anon_sym_DASH] = ACTIONS(280),
    [anon_sym_SLASH] = ACTIONS(280),
    [anon_sym_PERCENT] = ACTIONS(278),
    [anon_sym_PIPE] = ACTIONS(278),
    [anon_sym_AMP] = ACTIONS(278),
    [anon_sym_CARET] = ACTIONS(278),
    [anon_sym_TILDE] = ACTIONS(278),
    [anon_sym_COLON_COLON] = ACTIONS(278),
    [anon_sym_LPAREN] = ACTIONS(278),
    [anon_sym_RPAREN] = ACTIONS(278),
    [aux_sym_cte_definition_token1] = ACTIONS(480),
    [aux_sym_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(280),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(280),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(278),
    [anon_sym_SQUOTE] = ACTIONS(278),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(129)] = {
    [sym_comment] = STATE(129),
    [aux_sym_qualified_name_repeat1] = STATE(132),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(266),
    [anon_sym_DOT] = ACTIONS(482),
    [anon_sym_EQ] = ACTIONS(266),
    [anon_sym_LT] = ACTIONS(266),
    [anon_sym_GT] = ACTIONS(266),
    [anon_sym_BANG] = ACTIONS(266),
    [anon_sym_PLUS] = ACTIONS(266),
    [anon_sym_DASH] = ACTIONS(268),
    [anon_sym_SLASH] = ACTIONS(268),
    [anon_sym_PERCENT] = ACTIONS(266),
    [anon_sym_PIPE] = ACTIONS(266),
    [anon_sym_AMP] = ACTIONS(266),
    [anon_sym_CARET] = ACTIONS(266),
    [anon_sym_TILDE] = ACTIONS(266),
    [anon_sym_COLON_COLON] = ACTIONS(266),
    [anon_sym_LPAREN] = ACTIONS(266),
    [anon_sym_RPAREN] = ACTIONS(266),
    [aux_sym_cte_definition_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(268),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(268),
    [sym_quoted_identifier] = ACTIONS(266),
    [sym_number] = ACTIONS(266),
    [anon_sym_SQUOTE] = ACTIONS(266),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(130)] = {
    [sym_comment] = STATE(130),
    [ts_builtin_sym_end] = ACTIONS(466),
    [sym_bare_identifier] = ACTIONS(468),
    [anon_sym_SEMI] = ACTIONS(466),
    [anon_sym_COMMA] = ACTIONS(466),
    [anon_sym_STAR] = ACTIONS(466),
    [anon_sym_DOT] = ACTIONS(468),
    [anon_sym_EQ] = ACTIONS(466),
    [anon_sym_LT] = ACTIONS(466),
    [anon_sym_GT] = ACTIONS(466),
    [anon_sym_BANG] = ACTIONS(466),
    [anon_sym_PLUS] = ACTIONS(466),
    [anon_sym_DASH] = ACTIONS(468),
    [anon_sym_SLASH] = ACTIONS(468),
    [anon_sym_PERCENT] = ACTIONS(466),
    [anon_sym_PIPE] = ACTIONS(466),
    [anon_sym_AMP] = ACTIONS(466),
    [anon_sym_CARET] = ACTIONS(466),
    [anon_sym_TILDE] = ACTIONS(466),
    [anon_sym_COLON_COLON] = ACTIONS(466),
    [anon_sym_LPAREN] = ACTIONS(484),
    [aux_sym_cast_expression_token1] = ACTIONS(468),
    [aux_sym_cast_expression_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(468),
    [sym_visualise_keyword] = ACTIONS(466),
    [sym_quoted_identifier] = ACTIONS(466),
    [sym_number] = ACTIONS(466),
    [anon_sym_SQUOTE] = ACTIONS(466),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(131)] = {
    [sym_comment] = STATE(131),
    [ts_builtin_sym_end] = ACTIONS(375),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_SEMI] = ACTIONS(375),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(375),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(375),
    [anon_sym_LT] = ACTIONS(375),
    [anon_sym_GT] = ACTIONS(375),
    [anon_sym_BANG] = ACTIONS(375),
    [anon_sym_PLUS] = ACTIONS(375),
    [anon_sym_DASH] = ACTIONS(377),
    [anon_sym_SLASH] = ACTIONS(377),
    [anon_sym_PERCENT] = ACTIONS(375),
    [anon_sym_PIPE] = ACTIONS(375),
    [anon_sym_AMP] = ACTIONS(375),
    [anon_sym_CARET] = ACTIONS(375),
    [anon_sym_TILDE] = ACTIONS(375),
    [anon_sym_COLON_COLON] = ACTIONS(375),
    [anon_sym_LPAREN] = ACTIONS(375),
    [aux_sym_cast_expression_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_visualise_keyword] = ACTIONS(375),
    [sym_quoted_identifier] = ACTIONS(375),
    [sym_number] = ACTIONS(375),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(132)] = {
    [sym_comment] = STATE(132),
    [aux_sym_qualified_name_repeat1] = STATE(133),
    [sym_bare_identifier] = ACTIONS(286),
    [anon_sym_COMMA] = ACTIONS(284),
    [anon_sym_STAR] = ACTIONS(284),
    [anon_sym_DOT] = ACTIONS(482),
    [anon_sym_EQ] = ACTIONS(284),
    [anon_sym_LT] = ACTIONS(284),
    [anon_sym_GT] = ACTIONS(284),
    [anon_sym_BANG] = ACTIONS(284),
    [anon_sym_PLUS] = ACTIONS(284),
    [anon_sym_DASH] = ACTIONS(286),
    [anon_sym_SLASH] = ACTIONS(286),
    [anon_sym_PERCENT] = ACTIONS(284),
    [anon_sym_PIPE] = ACTIONS(284),
    [anon_sym_AMP] = ACTIONS(284),
    [anon_sym_CARET] = ACTIONS(284),
    [anon_sym_TILDE] = ACTIONS(284),
    [anon_sym_COLON_COLON] = ACTIONS(284),
    [anon_sym_LPAREN] = ACTIONS(284),
    [anon_sym_RPAREN] = ACTIONS(284),
    [aux_sym_cte_definition_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(286),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(286),
    [sym_quoted_identifier] = ACTIONS(284),
    [sym_number] = ACTIONS(284),
    [anon_sym_SQUOTE] = ACTIONS(284),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(133)] = {
    [sym_comment] = STATE(133),
    [aux_sym_qualified_name_repeat1] = STATE(133),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(486),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [anon_sym_RPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(134)] = {
    [sym_comment] = STATE(134),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(375),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(375),
    [anon_sym_LT] = ACTIONS(375),
    [anon_sym_GT] = ACTIONS(375),
    [anon_sym_BANG] = ACTIONS(375),
    [anon_sym_PLUS] = ACTIONS(375),
    [anon_sym_DASH] = ACTIONS(377),
    [anon_sym_SLASH] = ACTIONS(377),
    [anon_sym_PERCENT] = ACTIONS(375),
    [anon_sym_PIPE] = ACTIONS(375),
    [anon_sym_AMP] = ACTIONS(375),
    [anon_sym_CARET] = ACTIONS(375),
    [anon_sym_TILDE] = ACTIONS(375),
    [anon_sym_COLON_COLON] = ACTIONS(375),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_cast_expression_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token2] = ACTIONS(377),
    [aux_sym_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [aux_sym_from_clause_token1] = ACTIONS(375),
    [sym_quoted_identifier] = ACTIONS(375),
    [sym_number] = ACTIONS(375),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(135)] = {
    [sym_comment] = STATE(135),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_visualise_keyword] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(136)] = {
    [sym_comment] = STATE(136),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(137)] = {
    [sym_comment] = STATE(137),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(138)] = {
    [sym_comment] = STATE(138),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(139)] = {
    [sym_comment] = STATE(139),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [aux_sym_from_clause_token1] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(140)] = {
    [sym_comment] = STATE(140),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [aux_sym_from_clause_token1] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(141)] = {
    [sym_comment] = STATE(141),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [aux_sym_from_clause_token1] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(142)] = {
    [sym_comment] = STATE(142),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [aux_sym_from_clause_token1] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(143)] = {
    [sym_comment] = STATE(143),
    [ts_builtin_sym_end] = ACTIONS(367),
    [sym_bare_identifier] = ACTIONS(369),
    [anon_sym_SEMI] = ACTIONS(367),
    [anon_sym_COMMA] = ACTIONS(367),
    [anon_sym_STAR] = ACTIONS(367),
    [anon_sym_DOT] = ACTIONS(369),
    [anon_sym_EQ] = ACTIONS(367),
    [anon_sym_LT] = ACTIONS(367),
    [anon_sym_GT] = ACTIONS(367),
    [anon_sym_BANG] = ACTIONS(367),
    [anon_sym_PLUS] = ACTIONS(367),
    [anon_sym_DASH] = ACTIONS(369),
    [anon_sym_SLASH] = ACTIONS(369),
    [anon_sym_PERCENT] = ACTIONS(367),
    [anon_sym_PIPE] = ACTIONS(367),
    [anon_sym_AMP] = ACTIONS(367),
    [anon_sym_CARET] = ACTIONS(367),
    [anon_sym_TILDE] = ACTIONS(367),
    [anon_sym_COLON_COLON] = ACTIONS(367),
    [anon_sym_LPAREN] = ACTIONS(367),
    [aux_sym_cast_expression_token1] = ACTIONS(369),
    [aux_sym_cast_expression_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(369),
    [sym_visualise_keyword] = ACTIONS(367),
    [sym_quoted_identifier] = ACTIONS(367),
    [sym_number] = ACTIONS(367),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(144)] = {
    [sym_comment] = STATE(144),
    [ts_builtin_sym_end] = ACTIONS(371),
    [sym_bare_identifier] = ACTIONS(373),
    [anon_sym_SEMI] = ACTIONS(371),
    [anon_sym_COMMA] = ACTIONS(371),
    [anon_sym_STAR] = ACTIONS(371),
    [anon_sym_DOT] = ACTIONS(373),
    [anon_sym_EQ] = ACTIONS(371),
    [anon_sym_LT] = ACTIONS(371),
    [anon_sym_GT] = ACTIONS(371),
    [anon_sym_BANG] = ACTIONS(371),
    [anon_sym_PLUS] = ACTIONS(371),
    [anon_sym_DASH] = ACTIONS(373),
    [anon_sym_SLASH] = ACTIONS(373),
    [anon_sym_PERCENT] = ACTIONS(371),
    [anon_sym_PIPE] = ACTIONS(371),
    [anon_sym_AMP] = ACTIONS(371),
    [anon_sym_CARET] = ACTIONS(371),
    [anon_sym_TILDE] = ACTIONS(371),
    [anon_sym_COLON_COLON] = ACTIONS(371),
    [anon_sym_LPAREN] = ACTIONS(371),
    [aux_sym_cast_expression_token1] = ACTIONS(373),
    [aux_sym_cast_expression_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(373),
    [sym_visualise_keyword] = ACTIONS(371),
    [sym_quoted_identifier] = ACTIONS(371),
    [sym_number] = ACTIONS(371),
    [anon_sym_SQUOTE] = ACTIONS(371),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(145)] = {
    [sym_comment] = STATE(145),
    [ts_builtin_sym_end] = ACTIONS(324),
    [sym_bare_identifier] = ACTIONS(326),
    [anon_sym_SEMI] = ACTIONS(324),
    [anon_sym_COMMA] = ACTIONS(324),
    [anon_sym_STAR] = ACTIONS(324),
    [anon_sym_DOT] = ACTIONS(326),
    [anon_sym_EQ] = ACTIONS(324),
    [anon_sym_LT] = ACTIONS(324),
    [anon_sym_GT] = ACTIONS(324),
    [anon_sym_BANG] = ACTIONS(324),
    [anon_sym_PLUS] = ACTIONS(324),
    [anon_sym_DASH] = ACTIONS(326),
    [anon_sym_SLASH] = ACTIONS(326),
    [anon_sym_PERCENT] = ACTIONS(324),
    [anon_sym_PIPE] = ACTIONS(324),
    [anon_sym_AMP] = ACTIONS(324),
    [anon_sym_CARET] = ACTIONS(324),
    [anon_sym_TILDE] = ACTIONS(324),
    [anon_sym_COLON_COLON] = ACTIONS(324),
    [anon_sym_LPAREN] = ACTIONS(324),
    [aux_sym_cast_expression_token1] = ACTIONS(326),
    [aux_sym_cast_expression_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(326),
    [sym_visualise_keyword] = ACTIONS(324),
    [sym_quoted_identifier] = ACTIONS(324),
    [sym_number] = ACTIONS(324),
    [anon_sym_SQUOTE] = ACTIONS(324),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(146)] = {
    [sym_comment] = STATE(146),
    [ts_builtin_sym_end] = ACTIONS(346),
    [sym_bare_identifier] = ACTIONS(348),
    [anon_sym_SEMI] = ACTIONS(346),
    [anon_sym_COMMA] = ACTIONS(346),
    [anon_sym_STAR] = ACTIONS(346),
    [anon_sym_DOT] = ACTIONS(348),
    [anon_sym_EQ] = ACTIONS(346),
    [anon_sym_LT] = ACTIONS(346),
    [anon_sym_GT] = ACTIONS(346),
    [anon_sym_BANG] = ACTIONS(346),
    [anon_sym_PLUS] = ACTIONS(346),
    [anon_sym_DASH] = ACTIONS(348),
    [anon_sym_SLASH] = ACTIONS(348),
    [anon_sym_PERCENT] = ACTIONS(346),
    [anon_sym_PIPE] = ACTIONS(346),
    [anon_sym_AMP] = ACTIONS(346),
    [anon_sym_CARET] = ACTIONS(346),
    [anon_sym_TILDE] = ACTIONS(346),
    [anon_sym_COLON_COLON] = ACTIONS(346),
    [anon_sym_LPAREN] = ACTIONS(346),
    [aux_sym_cast_expression_token1] = ACTIONS(348),
    [aux_sym_cast_expression_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(348),
    [sym_visualise_keyword] = ACTIONS(346),
    [sym_quoted_identifier] = ACTIONS(346),
    [sym_number] = ACTIONS(346),
    [anon_sym_SQUOTE] = ACTIONS(346),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(147)] = {
    [sym_comment] = STATE(147),
    [ts_builtin_sym_end] = ACTIONS(309),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_SEMI] = ACTIONS(309),
    [anon_sym_COMMA] = ACTIONS(309),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [sym_visualise_keyword] = ACTIONS(309),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(148)] = {
    [sym_comment] = STATE(148),
    [sym_bare_identifier] = ACTIONS(352),
    [anon_sym_COMMA] = ACTIONS(350),
    [anon_sym_STAR] = ACTIONS(350),
    [anon_sym_DOT] = ACTIONS(352),
    [anon_sym_EQ] = ACTIONS(350),
    [anon_sym_LT] = ACTIONS(350),
    [anon_sym_GT] = ACTIONS(350),
    [anon_sym_BANG] = ACTIONS(350),
    [anon_sym_PLUS] = ACTIONS(350),
    [anon_sym_DASH] = ACTIONS(352),
    [anon_sym_SLASH] = ACTIONS(352),
    [anon_sym_PERCENT] = ACTIONS(350),
    [anon_sym_PIPE] = ACTIONS(350),
    [anon_sym_AMP] = ACTIONS(350),
    [anon_sym_CARET] = ACTIONS(350),
    [anon_sym_TILDE] = ACTIONS(350),
    [anon_sym_COLON_COLON] = ACTIONS(350),
    [anon_sym_LPAREN] = ACTIONS(350),
    [anon_sym_RPAREN] = ACTIONS(350),
    [aux_sym_cast_expression_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token2] = ACTIONS(352),
    [aux_sym_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(352),
    [aux_sym_from_clause_token1] = ACTIONS(350),
    [sym_quoted_identifier] = ACTIONS(350),
    [sym_number] = ACTIONS(350),
    [anon_sym_SQUOTE] = ACTIONS(350),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(149)] = {
    [sym_comment] = STATE(149),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_cte_definition_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(150)] = {
    [sym_comment] = STATE(150),
    [sym_bare_identifier] = ACTIONS(298),
    [anon_sym_COMMA] = ACTIONS(296),
    [anon_sym_STAR] = ACTIONS(296),
    [anon_sym_DOT] = ACTIONS(298),
    [anon_sym_EQ] = ACTIONS(296),
    [anon_sym_LT] = ACTIONS(296),
    [anon_sym_GT] = ACTIONS(296),
    [anon_sym_BANG] = ACTIONS(296),
    [anon_sym_PLUS] = ACTIONS(296),
    [anon_sym_DASH] = ACTIONS(298),
    [anon_sym_SLASH] = ACTIONS(298),
    [anon_sym_PERCENT] = ACTIONS(296),
    [anon_sym_PIPE] = ACTIONS(296),
    [anon_sym_AMP] = ACTIONS(296),
    [anon_sym_CARET] = ACTIONS(296),
    [anon_sym_TILDE] = ACTIONS(296),
    [anon_sym_COLON_COLON] = ACTIONS(296),
    [anon_sym_LPAREN] = ACTIONS(296),
    [anon_sym_RPAREN] = ACTIONS(296),
    [aux_sym_cte_definition_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token1] = ACTIONS(298),
    [aux_sym_cast_expression_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(298),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(298),
    [sym_quoted_identifier] = ACTIONS(296),
    [sym_number] = ACTIONS(296),
    [anon_sym_SQUOTE] = ACTIONS(296),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(151)] = {
    [sym_comment] = STATE(151),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_cte_definition_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(152)] = {
    [sym_comment] = STATE(152),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_cte_definition_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(153)] = {
    [sym_comment] = STATE(153),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_cte_definition_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(154)] = {
    [sym_comment] = STATE(154),
    [aux_sym_from_clause_repeat1] = STATE(155),
    [sym_bare_identifier] = ACTIONS(305),
    [anon_sym_COMMA] = ACTIONS(489),
    [anon_sym_STAR] = ACTIONS(303),
    [anon_sym_DOT] = ACTIONS(305),
    [anon_sym_EQ] = ACTIONS(303),
    [anon_sym_LT] = ACTIONS(303),
    [anon_sym_GT] = ACTIONS(303),
    [anon_sym_BANG] = ACTIONS(303),
    [anon_sym_PLUS] = ACTIONS(303),
    [anon_sym_DASH] = ACTIONS(305),
    [anon_sym_SLASH] = ACTIONS(305),
    [anon_sym_PERCENT] = ACTIONS(303),
    [anon_sym_PIPE] = ACTIONS(303),
    [anon_sym_AMP] = ACTIONS(303),
    [anon_sym_CARET] = ACTIONS(303),
    [anon_sym_TILDE] = ACTIONS(303),
    [anon_sym_COLON_COLON] = ACTIONS(303),
    [anon_sym_LPAREN] = ACTIONS(303),
    [anon_sym_RPAREN] = ACTIONS(303),
    [aux_sym_cast_expression_token1] = ACTIONS(305),
    [aux_sym_cast_expression_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(305),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(305),
    [sym_quoted_identifier] = ACTIONS(303),
    [sym_number] = ACTIONS(303),
    [anon_sym_SQUOTE] = ACTIONS(303),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(155)] = {
    [sym_comment] = STATE(155),
    [aux_sym_from_clause_repeat1] = STATE(156),
    [sym_bare_identifier] = ACTIONS(318),
    [anon_sym_COMMA] = ACTIONS(316),
    [anon_sym_STAR] = ACTIONS(316),
    [anon_sym_DOT] = ACTIONS(318),
    [anon_sym_EQ] = ACTIONS(316),
    [anon_sym_LT] = ACTIONS(316),
    [anon_sym_GT] = ACTIONS(316),
    [anon_sym_BANG] = ACTIONS(316),
    [anon_sym_PLUS] = ACTIONS(316),
    [anon_sym_DASH] = ACTIONS(318),
    [anon_sym_SLASH] = ACTIONS(318),
    [anon_sym_PERCENT] = ACTIONS(316),
    [anon_sym_PIPE] = ACTIONS(316),
    [anon_sym_AMP] = ACTIONS(316),
    [anon_sym_CARET] = ACTIONS(316),
    [anon_sym_TILDE] = ACTIONS(316),
    [anon_sym_COLON_COLON] = ACTIONS(316),
    [anon_sym_LPAREN] = ACTIONS(316),
    [anon_sym_RPAREN] = ACTIONS(316),
    [aux_sym_cast_expression_token1] = ACTIONS(318),
    [aux_sym_cast_expression_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(318),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(318),
    [sym_quoted_identifier] = ACTIONS(316),
    [sym_number] = ACTIONS(316),
    [anon_sym_SQUOTE] = ACTIONS(316),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(156)] = {
    [sym_comment] = STATE(156),
    [aux_sym_from_clause_repeat1] = STATE(156),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_COMMA] = ACTIONS(491),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [anon_sym_RPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(157)] = {
    [sym_comment] = STATE(157),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(288),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(288),
    [anon_sym_LT] = ACTIONS(288),
    [anon_sym_GT] = ACTIONS(288),
    [anon_sym_BANG] = ACTIONS(288),
    [anon_sym_PLUS] = ACTIONS(288),
    [anon_sym_DASH] = ACTIONS(290),
    [anon_sym_SLASH] = ACTIONS(290),
    [anon_sym_PERCENT] = ACTIONS(288),
    [anon_sym_PIPE] = ACTIONS(288),
    [anon_sym_AMP] = ACTIONS(288),
    [anon_sym_CARET] = ACTIONS(288),
    [anon_sym_TILDE] = ACTIONS(288),
    [anon_sym_COLON_COLON] = ACTIONS(288),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_quoted_identifier] = ACTIONS(288),
    [sym_number] = ACTIONS(288),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(158)] = {
    [sym_comment] = STATE(158),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_COMMA] = ACTIONS(309),
    [anon_sym_STAR] = ACTIONS(309),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(309),
    [anon_sym_LT] = ACTIONS(309),
    [anon_sym_GT] = ACTIONS(309),
    [anon_sym_BANG] = ACTIONS(309),
    [anon_sym_PLUS] = ACTIONS(309),
    [anon_sym_DASH] = ACTIONS(311),
    [anon_sym_SLASH] = ACTIONS(311),
    [anon_sym_PERCENT] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(309),
    [anon_sym_AMP] = ACTIONS(309),
    [anon_sym_CARET] = ACTIONS(309),
    [anon_sym_TILDE] = ACTIONS(309),
    [anon_sym_COLON_COLON] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(309),
    [anon_sym_RPAREN] = ACTIONS(309),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(311),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(311),
    [sym_quoted_identifier] = ACTIONS(309),
    [sym_number] = ACTIONS(309),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(159)] = {
    [sym_comment] = STATE(159),
    [sym_bare_identifier] = ACTIONS(400),
    [anon_sym_COMMA] = ACTIONS(398),
    [anon_sym_STAR] = ACTIONS(398),
    [anon_sym_DOT] = ACTIONS(400),
    [anon_sym_EQ] = ACTIONS(398),
    [anon_sym_LT] = ACTIONS(398),
    [anon_sym_GT] = ACTIONS(398),
    [anon_sym_BANG] = ACTIONS(398),
    [anon_sym_PLUS] = ACTIONS(398),
    [anon_sym_DASH] = ACTIONS(400),
    [anon_sym_SLASH] = ACTIONS(400),
    [anon_sym_PERCENT] = ACTIONS(398),
    [anon_sym_PIPE] = ACTIONS(398),
    [anon_sym_AMP] = ACTIONS(398),
    [anon_sym_CARET] = ACTIONS(398),
    [anon_sym_TILDE] = ACTIONS(398),
    [anon_sym_COLON_COLON] = ACTIONS(398),
    [anon_sym_LPAREN] = ACTIONS(398),
    [anon_sym_RPAREN] = ACTIONS(398),
    [aux_sym_cast_expression_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(400),
    [sym_quoted_identifier] = ACTIONS(398),
    [sym_number] = ACTIONS(398),
    [anon_sym_SQUOTE] = ACTIONS(398),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(160)] = {
    [sym_comment] = STATE(160),
    [sym_bare_identifier] = ACTIONS(373),
    [anon_sym_COMMA] = ACTIONS(371),
    [anon_sym_STAR] = ACTIONS(371),
    [anon_sym_DOT] = ACTIONS(373),
    [anon_sym_EQ] = ACTIONS(371),
    [anon_sym_LT] = ACTIONS(371),
    [anon_sym_GT] = ACTIONS(371),
    [anon_sym_BANG] = ACTIONS(371),
    [anon_sym_PLUS] = ACTIONS(371),
    [anon_sym_DASH] = ACTIONS(373),
    [anon_sym_SLASH] = ACTIONS(373),
    [anon_sym_PERCENT] = ACTIONS(371),
    [anon_sym_PIPE] = ACTIONS(371),
    [anon_sym_AMP] = ACTIONS(371),
    [anon_sym_CARET] = ACTIONS(371),
    [anon_sym_TILDE] = ACTIONS(371),
    [anon_sym_COLON_COLON] = ACTIONS(371),
    [anon_sym_LPAREN] = ACTIONS(371),
    [anon_sym_RPAREN] = ACTIONS(371),
    [aux_sym_cast_expression_token1] = ACTIONS(373),
    [aux_sym_cast_expression_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(373),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(373),
    [sym_quoted_identifier] = ACTIONS(371),
    [sym_number] = ACTIONS(371),
    [anon_sym_SQUOTE] = ACTIONS(371),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(161)] = {
    [sym_comment] = STATE(161),
    [sym_bare_identifier] = ACTIONS(369),
    [anon_sym_COMMA] = ACTIONS(367),
    [anon_sym_STAR] = ACTIONS(367),
    [anon_sym_DOT] = ACTIONS(369),
    [anon_sym_EQ] = ACTIONS(367),
    [anon_sym_LT] = ACTIONS(367),
    [anon_sym_GT] = ACTIONS(367),
    [anon_sym_BANG] = ACTIONS(367),
    [anon_sym_PLUS] = ACTIONS(367),
    [anon_sym_DASH] = ACTIONS(369),
    [anon_sym_SLASH] = ACTIONS(369),
    [anon_sym_PERCENT] = ACTIONS(367),
    [anon_sym_PIPE] = ACTIONS(367),
    [anon_sym_AMP] = ACTIONS(367),
    [anon_sym_CARET] = ACTIONS(367),
    [anon_sym_TILDE] = ACTIONS(367),
    [anon_sym_COLON_COLON] = ACTIONS(367),
    [anon_sym_LPAREN] = ACTIONS(367),
    [anon_sym_RPAREN] = ACTIONS(367),
    [aux_sym_cast_expression_token1] = ACTIONS(369),
    [aux_sym_cast_expression_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(369),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(369),
    [sym_quoted_identifier] = ACTIONS(367),
    [sym_number] = ACTIONS(367),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(162)] = {
    [sym_comment] = STATE(162),
    [sym_bare_identifier] = ACTIONS(384),
    [anon_sym_COMMA] = ACTIONS(382),
    [anon_sym_STAR] = ACTIONS(382),
    [anon_sym_DOT] = ACTIONS(384),
    [anon_sym_EQ] = ACTIONS(382),
    [anon_sym_LT] = ACTIONS(382),
    [anon_sym_GT] = ACTIONS(382),
    [anon_sym_BANG] = ACTIONS(382),
    [anon_sym_PLUS] = ACTIONS(382),
    [anon_sym_DASH] = ACTIONS(384),
    [anon_sym_SLASH] = ACTIONS(384),
    [anon_sym_PERCENT] = ACTIONS(382),
    [anon_sym_PIPE] = ACTIONS(382),
    [anon_sym_AMP] = ACTIONS(382),
    [anon_sym_CARET] = ACTIONS(382),
    [anon_sym_TILDE] = ACTIONS(382),
    [anon_sym_COLON_COLON] = ACTIONS(382),
    [anon_sym_LPAREN] = ACTIONS(382),
    [anon_sym_RPAREN] = ACTIONS(382),
    [aux_sym_cast_expression_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(494),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(384),
    [sym_quoted_identifier] = ACTIONS(382),
    [sym_number] = ACTIONS(382),
    [anon_sym_SQUOTE] = ACTIONS(382),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(163)] = {
    [sym_comment] = STATE(163),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(375),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(375),
    [anon_sym_LT] = ACTIONS(375),
    [anon_sym_GT] = ACTIONS(375),
    [anon_sym_BANG] = ACTIONS(375),
    [anon_sym_PLUS] = ACTIONS(375),
    [anon_sym_DASH] = ACTIONS(377),
    [anon_sym_SLASH] = ACTIONS(377),
    [anon_sym_PERCENT] = ACTIONS(375),
    [anon_sym_PIPE] = ACTIONS(375),
    [anon_sym_AMP] = ACTIONS(375),
    [anon_sym_CARET] = ACTIONS(375),
    [anon_sym_TILDE] = ACTIONS(375),
    [anon_sym_COLON_COLON] = ACTIONS(375),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_cast_expression_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_quoted_identifier] = ACTIONS(375),
    [sym_number] = ACTIONS(375),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(164)] = {
    [sym_comment] = STATE(164),
    [sym_bare_identifier] = ACTIONS(390),
    [anon_sym_COMMA] = ACTIONS(388),
    [anon_sym_STAR] = ACTIONS(388),
    [anon_sym_DOT] = ACTIONS(390),
    [anon_sym_EQ] = ACTIONS(388),
    [anon_sym_LT] = ACTIONS(388),
    [anon_sym_GT] = ACTIONS(388),
    [anon_sym_BANG] = ACTIONS(388),
    [anon_sym_PLUS] = ACTIONS(388),
    [anon_sym_DASH] = ACTIONS(390),
    [anon_sym_SLASH] = ACTIONS(390),
    [anon_sym_PERCENT] = ACTIONS(388),
    [anon_sym_PIPE] = ACTIONS(388),
    [anon_sym_AMP] = ACTIONS(388),
    [anon_sym_CARET] = ACTIONS(388),
    [anon_sym_TILDE] = ACTIONS(388),
    [anon_sym_COLON_COLON] = ACTIONS(388),
    [anon_sym_LPAREN] = ACTIONS(388),
    [anon_sym_RPAREN] = ACTIONS(388),
    [aux_sym_cast_expression_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(390),
    [sym_quoted_identifier] = ACTIONS(388),
    [sym_number] = ACTIONS(388),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(165)] = {
    [sym_comment] = STATE(165),
    [sym_bare_identifier] = ACTIONS(394),
    [anon_sym_COMMA] = ACTIONS(392),
    [anon_sym_STAR] = ACTIONS(392),
    [anon_sym_DOT] = ACTIONS(394),
    [anon_sym_EQ] = ACTIONS(392),
    [anon_sym_LT] = ACTIONS(392),
    [anon_sym_GT] = ACTIONS(392),
    [anon_sym_BANG] = ACTIONS(392),
    [anon_sym_PLUS] = ACTIONS(392),
    [anon_sym_DASH] = ACTIONS(394),
    [anon_sym_SLASH] = ACTIONS(394),
    [anon_sym_PERCENT] = ACTIONS(392),
    [anon_sym_PIPE] = ACTIONS(392),
    [anon_sym_AMP] = ACTIONS(392),
    [anon_sym_CARET] = ACTIONS(392),
    [anon_sym_TILDE] = ACTIONS(392),
    [anon_sym_COLON_COLON] = ACTIONS(392),
    [anon_sym_LPAREN] = ACTIONS(392),
    [anon_sym_RPAREN] = ACTIONS(392),
    [aux_sym_cast_expression_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(496),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(394),
    [sym_quoted_identifier] = ACTIONS(392),
    [sym_number] = ACTIONS(392),
    [anon_sym_SQUOTE] = ACTIONS(392),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(166)] = {
    [sym_comment] = STATE(166),
    [sym_bare_identifier] = ACTIONS(404),
    [anon_sym_COMMA] = ACTIONS(402),
    [anon_sym_STAR] = ACTIONS(402),
    [anon_sym_DOT] = ACTIONS(404),
    [anon_sym_EQ] = ACTIONS(402),
    [anon_sym_LT] = ACTIONS(402),
    [anon_sym_GT] = ACTIONS(402),
    [anon_sym_BANG] = ACTIONS(402),
    [anon_sym_PLUS] = ACTIONS(402),
    [anon_sym_DASH] = ACTIONS(404),
    [anon_sym_SLASH] = ACTIONS(404),
    [anon_sym_PERCENT] = ACTIONS(402),
    [anon_sym_PIPE] = ACTIONS(402),
    [anon_sym_AMP] = ACTIONS(402),
    [anon_sym_CARET] = ACTIONS(402),
    [anon_sym_TILDE] = ACTIONS(402),
    [anon_sym_COLON_COLON] = ACTIONS(402),
    [anon_sym_LPAREN] = ACTIONS(402),
    [anon_sym_RPAREN] = ACTIONS(402),
    [aux_sym_cast_expression_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(404),
    [sym_quoted_identifier] = ACTIONS(402),
    [sym_number] = ACTIONS(402),
    [anon_sym_SQUOTE] = ACTIONS(402),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(167)] = {
    [sym_comment] = STATE(167),
    [sym_bare_identifier] = ACTIONS(408),
    [anon_sym_COMMA] = ACTIONS(406),
    [anon_sym_STAR] = ACTIONS(406),
    [anon_sym_DOT] = ACTIONS(408),
    [anon_sym_EQ] = ACTIONS(406),
    [anon_sym_LT] = ACTIONS(406),
    [anon_sym_GT] = ACTIONS(406),
    [anon_sym_BANG] = ACTIONS(406),
    [anon_sym_PLUS] = ACTIONS(406),
    [anon_sym_DASH] = ACTIONS(408),
    [anon_sym_SLASH] = ACTIONS(408),
    [anon_sym_PERCENT] = ACTIONS(406),
    [anon_sym_PIPE] = ACTIONS(406),
    [anon_sym_AMP] = ACTIONS(406),
    [anon_sym_CARET] = ACTIONS(406),
    [anon_sym_TILDE] = ACTIONS(406),
    [anon_sym_COLON_COLON] = ACTIONS(406),
    [anon_sym_LPAREN] = ACTIONS(406),
    [anon_sym_RPAREN] = ACTIONS(406),
    [aux_sym_cast_expression_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(408),
    [sym_quoted_identifier] = ACTIONS(406),
    [sym_number] = ACTIONS(406),
    [anon_sym_SQUOTE] = ACTIONS(406),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(168)] = {
    [sym_comment] = STATE(168),
    [sym_bare_identifier] = ACTIONS(416),
    [anon_sym_COMMA] = ACTIONS(414),
    [anon_sym_STAR] = ACTIONS(414),
    [anon_sym_DOT] = ACTIONS(416),
    [anon_sym_EQ] = ACTIONS(414),
    [anon_sym_LT] = ACTIONS(414),
    [anon_sym_GT] = ACTIONS(414),
    [anon_sym_BANG] = ACTIONS(414),
    [anon_sym_PLUS] = ACTIONS(414),
    [anon_sym_DASH] = ACTIONS(416),
    [anon_sym_SLASH] = ACTIONS(416),
    [anon_sym_PERCENT] = ACTIONS(414),
    [anon_sym_PIPE] = ACTIONS(414),
    [anon_sym_AMP] = ACTIONS(414),
    [anon_sym_CARET] = ACTIONS(414),
    [anon_sym_TILDE] = ACTIONS(414),
    [anon_sym_COLON_COLON] = ACTIONS(414),
    [anon_sym_LPAREN] = ACTIONS(414),
    [anon_sym_RPAREN] = ACTIONS(414),
    [aux_sym_cast_expression_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(416),
    [sym_quoted_identifier] = ACTIONS(414),
    [sym_number] = ACTIONS(414),
    [anon_sym_SQUOTE] = ACTIONS(414),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(169)] = {
    [sym_comment] = STATE(169),
    [sym_bare_identifier] = ACTIONS(420),
    [anon_sym_COMMA] = ACTIONS(418),
    [anon_sym_STAR] = ACTIONS(418),
    [anon_sym_DOT] = ACTIONS(420),
    [anon_sym_EQ] = ACTIONS(418),
    [anon_sym_LT] = ACTIONS(418),
    [anon_sym_GT] = ACTIONS(418),
    [anon_sym_BANG] = ACTIONS(418),
    [anon_sym_PLUS] = ACTIONS(418),
    [anon_sym_DASH] = ACTIONS(420),
    [anon_sym_SLASH] = ACTIONS(420),
    [anon_sym_PERCENT] = ACTIONS(418),
    [anon_sym_PIPE] = ACTIONS(418),
    [anon_sym_AMP] = ACTIONS(418),
    [anon_sym_CARET] = ACTIONS(418),
    [anon_sym_TILDE] = ACTIONS(418),
    [anon_sym_COLON_COLON] = ACTIONS(418),
    [anon_sym_LPAREN] = ACTIONS(418),
    [anon_sym_RPAREN] = ACTIONS(418),
    [aux_sym_cast_expression_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(420),
    [sym_quoted_identifier] = ACTIONS(418),
    [sym_number] = ACTIONS(418),
    [anon_sym_SQUOTE] = ACTIONS(418),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(170)] = {
    [sym_comment] = STATE(170),
    [sym_bare_identifier] = ACTIONS(330),
    [anon_sym_COMMA] = ACTIONS(328),
    [anon_sym_STAR] = ACTIONS(328),
    [anon_sym_DOT] = ACTIONS(330),
    [anon_sym_EQ] = ACTIONS(328),
    [anon_sym_LT] = ACTIONS(328),
    [anon_sym_GT] = ACTIONS(328),
    [anon_sym_BANG] = ACTIONS(328),
    [anon_sym_PLUS] = ACTIONS(328),
    [anon_sym_DASH] = ACTIONS(330),
    [anon_sym_SLASH] = ACTIONS(330),
    [anon_sym_PERCENT] = ACTIONS(328),
    [anon_sym_PIPE] = ACTIONS(328),
    [anon_sym_AMP] = ACTIONS(328),
    [anon_sym_CARET] = ACTIONS(328),
    [anon_sym_TILDE] = ACTIONS(328),
    [anon_sym_COLON_COLON] = ACTIONS(328),
    [anon_sym_LPAREN] = ACTIONS(328),
    [anon_sym_RPAREN] = ACTIONS(328),
    [aux_sym_cast_expression_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(330),
    [sym_quoted_identifier] = ACTIONS(328),
    [sym_number] = ACTIONS(328),
    [anon_sym_SQUOTE] = ACTIONS(328),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(171)] = {
    [sym_comment] = STATE(171),
    [sym_bare_identifier] = ACTIONS(352),
    [anon_sym_COMMA] = ACTIONS(350),
    [anon_sym_STAR] = ACTIONS(350),
    [anon_sym_DOT] = ACTIONS(352),
    [anon_sym_EQ] = ACTIONS(350),
    [anon_sym_LT] = ACTIONS(350),
    [anon_sym_GT] = ACTIONS(350),
    [anon_sym_BANG] = ACTIONS(350),
    [anon_sym_PLUS] = ACTIONS(350),
    [anon_sym_DASH] = ACTIONS(352),
    [anon_sym_SLASH] = ACTIONS(352),
    [anon_sym_PERCENT] = ACTIONS(350),
    [anon_sym_PIPE] = ACTIONS(350),
    [anon_sym_AMP] = ACTIONS(350),
    [anon_sym_CARET] = ACTIONS(350),
    [anon_sym_TILDE] = ACTIONS(350),
    [anon_sym_COLON_COLON] = ACTIONS(350),
    [anon_sym_LPAREN] = ACTIONS(350),
    [anon_sym_RPAREN] = ACTIONS(350),
    [aux_sym_cast_expression_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(352),
    [sym_quoted_identifier] = ACTIONS(350),
    [sym_number] = ACTIONS(350),
    [anon_sym_SQUOTE] = ACTIONS(350),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(172)] = {
    [sym_comment] = STATE(172),
    [sym_bare_identifier] = ACTIONS(342),
    [anon_sym_COMMA] = ACTIONS(340),
    [anon_sym_STAR] = ACTIONS(340),
    [anon_sym_DOT] = ACTIONS(342),
    [anon_sym_EQ] = ACTIONS(340),
    [anon_sym_LT] = ACTIONS(340),
    [anon_sym_GT] = ACTIONS(340),
    [anon_sym_BANG] = ACTIONS(340),
    [anon_sym_PLUS] = ACTIONS(340),
    [anon_sym_DASH] = ACTIONS(342),
    [anon_sym_SLASH] = ACTIONS(342),
    [anon_sym_PERCENT] = ACTIONS(340),
    [anon_sym_PIPE] = ACTIONS(340),
    [anon_sym_AMP] = ACTIONS(340),
    [anon_sym_CARET] = ACTIONS(340),
    [anon_sym_TILDE] = ACTIONS(340),
    [anon_sym_COLON_COLON] = ACTIONS(340),
    [anon_sym_LPAREN] = ACTIONS(340),
    [anon_sym_RPAREN] = ACTIONS(340),
    [aux_sym_cast_expression_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(498),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(342),
    [sym_quoted_identifier] = ACTIONS(340),
    [sym_number] = ACTIONS(340),
    [anon_sym_SQUOTE] = ACTIONS(340),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(173)] = {
    [sym_comment] = STATE(173),
    [sym_bare_identifier] = ACTIONS(468),
    [anon_sym_COMMA] = ACTIONS(466),
    [anon_sym_STAR] = ACTIONS(466),
    [anon_sym_DOT] = ACTIONS(468),
    [anon_sym_EQ] = ACTIONS(466),
    [anon_sym_LT] = ACTIONS(466),
    [anon_sym_GT] = ACTIONS(466),
    [anon_sym_BANG] = ACTIONS(466),
    [anon_sym_PLUS] = ACTIONS(466),
    [anon_sym_DASH] = ACTIONS(468),
    [anon_sym_SLASH] = ACTIONS(468),
    [anon_sym_PERCENT] = ACTIONS(466),
    [anon_sym_PIPE] = ACTIONS(466),
    [anon_sym_AMP] = ACTIONS(466),
    [anon_sym_CARET] = ACTIONS(466),
    [anon_sym_TILDE] = ACTIONS(466),
    [anon_sym_COLON_COLON] = ACTIONS(466),
    [anon_sym_LPAREN] = ACTIONS(466),
    [anon_sym_RPAREN] = ACTIONS(466),
    [aux_sym_cast_expression_token1] = ACTIONS(468),
    [aux_sym_cast_expression_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(468),
    [sym_quoted_identifier] = ACTIONS(466),
    [sym_number] = ACTIONS(466),
    [anon_sym_SQUOTE] = ACTIONS(466),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(174)] = {
    [sym_comment] = STATE(174),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(320),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(320),
    [anon_sym_LT] = ACTIONS(320),
    [anon_sym_GT] = ACTIONS(320),
    [anon_sym_BANG] = ACTIONS(320),
    [anon_sym_PLUS] = ACTIONS(320),
    [anon_sym_DASH] = ACTIONS(322),
    [anon_sym_SLASH] = ACTIONS(322),
    [anon_sym_PERCENT] = ACTIONS(320),
    [anon_sym_PIPE] = ACTIONS(320),
    [anon_sym_AMP] = ACTIONS(320),
    [anon_sym_CARET] = ACTIONS(320),
    [anon_sym_TILDE] = ACTIONS(320),
    [anon_sym_COLON_COLON] = ACTIONS(320),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_quoted_identifier] = ACTIONS(320),
    [sym_number] = ACTIONS(320),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(175)] = {
    [sym_comment] = STATE(175),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(262),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(262),
    [anon_sym_LT] = ACTIONS(262),
    [anon_sym_GT] = ACTIONS(262),
    [anon_sym_BANG] = ACTIONS(262),
    [anon_sym_PLUS] = ACTIONS(262),
    [anon_sym_DASH] = ACTIONS(264),
    [anon_sym_SLASH] = ACTIONS(264),
    [anon_sym_PERCENT] = ACTIONS(262),
    [anon_sym_PIPE] = ACTIONS(262),
    [anon_sym_AMP] = ACTIONS(262),
    [anon_sym_CARET] = ACTIONS(262),
    [anon_sym_TILDE] = ACTIONS(262),
    [anon_sym_COLON_COLON] = ACTIONS(262),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_quoted_identifier] = ACTIONS(262),
    [sym_number] = ACTIONS(262),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(176)] = {
    [sym_comment] = STATE(176),
    [sym_bare_identifier] = ACTIONS(468),
    [anon_sym_COMMA] = ACTIONS(466),
    [anon_sym_STAR] = ACTIONS(466),
    [anon_sym_DOT] = ACTIONS(468),
    [anon_sym_EQ] = ACTIONS(466),
    [anon_sym_LT] = ACTIONS(466),
    [anon_sym_GT] = ACTIONS(466),
    [anon_sym_BANG] = ACTIONS(466),
    [anon_sym_PLUS] = ACTIONS(466),
    [anon_sym_DASH] = ACTIONS(468),
    [anon_sym_SLASH] = ACTIONS(468),
    [anon_sym_PERCENT] = ACTIONS(466),
    [anon_sym_PIPE] = ACTIONS(466),
    [anon_sym_AMP] = ACTIONS(466),
    [anon_sym_CARET] = ACTIONS(466),
    [anon_sym_TILDE] = ACTIONS(466),
    [anon_sym_COLON_COLON] = ACTIONS(466),
    [anon_sym_LPAREN] = ACTIONS(500),
    [anon_sym_RPAREN] = ACTIONS(466),
    [aux_sym_cast_expression_token1] = ACTIONS(468),
    [aux_sym_cast_expression_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(468),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(468),
    [sym_quoted_identifier] = ACTIONS(466),
    [sym_number] = ACTIONS(466),
    [anon_sym_SQUOTE] = ACTIONS(466),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(177)] = {
    [sym_comment] = STATE(177),
    [sym_bare_identifier] = ACTIONS(326),
    [anon_sym_COMMA] = ACTIONS(324),
    [anon_sym_STAR] = ACTIONS(324),
    [anon_sym_DOT] = ACTIONS(326),
    [anon_sym_EQ] = ACTIONS(324),
    [anon_sym_LT] = ACTIONS(324),
    [anon_sym_GT] = ACTIONS(324),
    [anon_sym_BANG] = ACTIONS(324),
    [anon_sym_PLUS] = ACTIONS(324),
    [anon_sym_DASH] = ACTIONS(326),
    [anon_sym_SLASH] = ACTIONS(326),
    [anon_sym_PERCENT] = ACTIONS(324),
    [anon_sym_PIPE] = ACTIONS(324),
    [anon_sym_AMP] = ACTIONS(324),
    [anon_sym_CARET] = ACTIONS(324),
    [anon_sym_TILDE] = ACTIONS(324),
    [anon_sym_COLON_COLON] = ACTIONS(324),
    [anon_sym_LPAREN] = ACTIONS(324),
    [anon_sym_RPAREN] = ACTIONS(324),
    [aux_sym_cast_expression_token1] = ACTIONS(326),
    [aux_sym_cast_expression_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(326),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(326),
    [sym_quoted_identifier] = ACTIONS(324),
    [sym_number] = ACTIONS(324),
    [anon_sym_SQUOTE] = ACTIONS(324),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(178)] = {
    [sym_comment] = STATE(178),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(292),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(292),
    [anon_sym_LT] = ACTIONS(292),
    [anon_sym_GT] = ACTIONS(292),
    [anon_sym_BANG] = ACTIONS(292),
    [anon_sym_PLUS] = ACTIONS(292),
    [anon_sym_DASH] = ACTIONS(294),
    [anon_sym_SLASH] = ACTIONS(294),
    [anon_sym_PERCENT] = ACTIONS(292),
    [anon_sym_PIPE] = ACTIONS(292),
    [anon_sym_AMP] = ACTIONS(292),
    [anon_sym_CARET] = ACTIONS(292),
    [anon_sym_TILDE] = ACTIONS(292),
    [anon_sym_COLON_COLON] = ACTIONS(292),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_quoted_identifier] = ACTIONS(292),
    [sym_number] = ACTIONS(292),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(179)] = {
    [sym_comment] = STATE(179),
    [sym_bare_identifier] = ACTIONS(348),
    [anon_sym_COMMA] = ACTIONS(346),
    [anon_sym_STAR] = ACTIONS(346),
    [anon_sym_DOT] = ACTIONS(348),
    [anon_sym_EQ] = ACTIONS(346),
    [anon_sym_LT] = ACTIONS(346),
    [anon_sym_GT] = ACTIONS(346),
    [anon_sym_BANG] = ACTIONS(346),
    [anon_sym_PLUS] = ACTIONS(346),
    [anon_sym_DASH] = ACTIONS(348),
    [anon_sym_SLASH] = ACTIONS(348),
    [anon_sym_PERCENT] = ACTIONS(346),
    [anon_sym_PIPE] = ACTIONS(346),
    [anon_sym_AMP] = ACTIONS(346),
    [anon_sym_CARET] = ACTIONS(346),
    [anon_sym_TILDE] = ACTIONS(346),
    [anon_sym_COLON_COLON] = ACTIONS(346),
    [anon_sym_LPAREN] = ACTIONS(346),
    [anon_sym_RPAREN] = ACTIONS(346),
    [aux_sym_cast_expression_token1] = ACTIONS(348),
    [aux_sym_cast_expression_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(348),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(348),
    [sym_quoted_identifier] = ACTIONS(346),
    [sym_number] = ACTIONS(346),
    [anon_sym_SQUOTE] = ACTIONS(346),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(180)] = {
    [sym_select_statement] = STATE(622),
    [sym_subquery] = STATE(215),
    [sym_sql_keyword] = STATE(215),
    [sym_non_from_sql_keyword] = STATE(209),
    [sym_identifier] = STATE(215),
    [sym_string] = STATE(215),
    [sym_comment] = STATE(180),
    [aux_sym_create_statement_repeat1] = STATE(181),
    [ts_builtin_sym_end] = ACTIONS(502),
    [sym_bare_identifier] = ACTIONS(504),
    [anon_sym_SEMI] = ACTIONS(502),
    [anon_sym_COMMA] = ACTIONS(506),
    [anon_sym_STAR] = ACTIONS(508),
    [anon_sym_DOT] = ACTIONS(508),
    [anon_sym_EQ] = ACTIONS(508),
    [aux_sym_select_statement_token1] = ACTIONS(13),
    [anon_sym_LPAREN] = ACTIONS(510),
    [anon_sym_RPAREN] = ACTIONS(506),
    [aux_sym_create_statement_token2] = ACTIONS(508),
    [aux_sym_sql_keyword_token1] = ACTIONS(512),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(514),
    [sym_visualise_keyword] = ACTIONS(502),
    [sym_quoted_identifier] = ACTIONS(504),
    [sym_number] = ACTIONS(508),
    [anon_sym_SQUOTE] = ACTIONS(516),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(181)] = {
    [sym_subquery] = STATE(215),
    [sym_sql_keyword] = STATE(215),
    [sym_non_from_sql_keyword] = STATE(209),
    [sym_identifier] = STATE(215),
    [sym_string] = STATE(215),
    [sym_comment] = STATE(181),
    [aux_sym_create_statement_repeat1] = STATE(181),
    [ts_builtin_sym_end] = ACTIONS(518),
    [sym_bare_identifier] = ACTIONS(520),
    [anon_sym_SEMI] = ACTIONS(518),
    [anon_sym_COMMA] = ACTIONS(523),
    [anon_sym_STAR] = ACTIONS(526),
    [anon_sym_DOT] = ACTIONS(526),
    [anon_sym_EQ] = ACTIONS(526),
    [aux_sym_select_statement_token1] = ACTIONS(529),
    [anon_sym_LPAREN] = ACTIONS(531),
    [anon_sym_RPAREN] = ACTIONS(523),
    [aux_sym_create_statement_token2] = ACTIONS(526),
    [aux_sym_sql_keyword_token1] = ACTIONS(534),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(537),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(537),
    [sym_visualise_keyword] = ACTIONS(518),
    [sym_quoted_identifier] = ACTIONS(520),
    [sym_number] = ACTIONS(526),
    [anon_sym_SQUOTE] = ACTIONS(540),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(182)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(182),
    [aux_sym_create_statement_repeat1] = STATE(184),
    [ts_builtin_sym_end] = ACTIONS(543),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_SEMI] = ACTIONS(543),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_visualise_keyword] = ACTIONS(543),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(183)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(183),
    [aux_sym_create_statement_repeat1] = STATE(184),
    [ts_builtin_sym_end] = ACTIONS(559),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_SEMI] = ACTIONS(559),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_visualise_keyword] = ACTIONS(559),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(184)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(184),
    [aux_sym_create_statement_repeat1] = STATE(184),
    [ts_builtin_sym_end] = ACTIONS(518),
    [sym_bare_identifier] = ACTIONS(561),
    [anon_sym_SEMI] = ACTIONS(518),
    [anon_sym_COMMA] = ACTIONS(564),
    [anon_sym_STAR] = ACTIONS(567),
    [anon_sym_DOT] = ACTIONS(567),
    [anon_sym_EQ] = ACTIONS(567),
    [anon_sym_LPAREN] = ACTIONS(570),
    [anon_sym_RPAREN] = ACTIONS(564),
    [aux_sym_create_statement_token2] = ACTIONS(567),
    [aux_sym_sql_keyword_token1] = ACTIONS(573),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(576),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(576),
    [sym_visualise_keyword] = ACTIONS(518),
    [sym_quoted_identifier] = ACTIONS(561),
    [sym_number] = ACTIONS(567),
    [anon_sym_SQUOTE] = ACTIONS(579),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(185)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(185),
    [aux_sym_create_statement_repeat1] = STATE(184),
    [ts_builtin_sym_end] = ACTIONS(582),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_SEMI] = ACTIONS(582),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_visualise_keyword] = ACTIONS(582),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(186)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(186),
    [aux_sym_create_statement_repeat1] = STATE(182),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(187)] = {
    [sym_subquery] = STATE(215),
    [sym_sql_keyword] = STATE(215),
    [sym_non_from_sql_keyword] = STATE(209),
    [sym_identifier] = STATE(215),
    [sym_string] = STATE(215),
    [sym_comment] = STATE(187),
    [aux_sym_create_statement_repeat1] = STATE(180),
    [sym_bare_identifier] = ACTIONS(504),
    [anon_sym_COMMA] = ACTIONS(506),
    [anon_sym_STAR] = ACTIONS(508),
    [anon_sym_DOT] = ACTIONS(508),
    [anon_sym_EQ] = ACTIONS(508),
    [anon_sym_LPAREN] = ACTIONS(510),
    [anon_sym_RPAREN] = ACTIONS(506),
    [aux_sym_create_statement_token2] = ACTIONS(508),
    [aux_sym_sql_keyword_token1] = ACTIONS(512),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(514),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(514),
    [sym_quoted_identifier] = ACTIONS(504),
    [sym_number] = ACTIONS(508),
    [anon_sym_SQUOTE] = ACTIONS(516),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(188)] = {
    [sym_comment] = STATE(188),
    [sym_bare_identifier] = ACTIONS(584),
    [anon_sym_COMMA] = ACTIONS(586),
    [anon_sym_STAR] = ACTIONS(584),
    [anon_sym_DOT] = ACTIONS(584),
    [anon_sym_EQ] = ACTIONS(584),
    [anon_sym_LT] = ACTIONS(584),
    [anon_sym_GT] = ACTIONS(584),
    [anon_sym_BANG] = ACTIONS(584),
    [anon_sym_COLON_COLON] = ACTIONS(584),
    [anon_sym_LPAREN] = ACTIONS(586),
    [anon_sym_RPAREN] = ACTIONS(586),
    [aux_sym_subquery_body_token1] = ACTIONS(584),
    [aux_sym_cast_expression_token1] = ACTIONS(584),
    [aux_sym_cast_expression_token2] = ACTIONS(584),
    [aux_sym_sql_keyword_token1] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(584),
    [sym_quoted_identifier] = ACTIONS(584),
    [sym_number] = ACTIONS(584),
    [anon_sym_SQUOTE] = ACTIONS(586),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(189)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(189),
    [aux_sym_create_statement_repeat1] = STATE(185),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(190)] = {
    [sym_comment] = STATE(190),
    [sym_bare_identifier] = ACTIONS(342),
    [anon_sym_COMMA] = ACTIONS(340),
    [anon_sym_STAR] = ACTIONS(342),
    [anon_sym_DOT] = ACTIONS(342),
    [anon_sym_EQ] = ACTIONS(342),
    [anon_sym_LT] = ACTIONS(342),
    [anon_sym_GT] = ACTIONS(342),
    [anon_sym_BANG] = ACTIONS(342),
    [anon_sym_COLON_COLON] = ACTIONS(342),
    [anon_sym_LPAREN] = ACTIONS(340),
    [anon_sym_RPAREN] = ACTIONS(340),
    [aux_sym_subquery_body_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token1] = ACTIONS(342),
    [aux_sym_cast_expression_token2] = ACTIONS(342),
    [aux_sym_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(588),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(342),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(342),
    [sym_quoted_identifier] = ACTIONS(342),
    [sym_number] = ACTIONS(342),
    [anon_sym_SQUOTE] = ACTIONS(340),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(191)] = {
    [sym_comment] = STATE(191),
    [sym_bare_identifier] = ACTIONS(584),
    [anon_sym_COMMA] = ACTIONS(586),
    [anon_sym_STAR] = ACTIONS(584),
    [anon_sym_DOT] = ACTIONS(584),
    [anon_sym_EQ] = ACTIONS(584),
    [anon_sym_LT] = ACTIONS(584),
    [anon_sym_GT] = ACTIONS(584),
    [anon_sym_BANG] = ACTIONS(584),
    [anon_sym_COLON_COLON] = ACTIONS(584),
    [anon_sym_LPAREN] = ACTIONS(590),
    [anon_sym_RPAREN] = ACTIONS(586),
    [aux_sym_subquery_body_token1] = ACTIONS(584),
    [aux_sym_cast_expression_token1] = ACTIONS(584),
    [aux_sym_cast_expression_token2] = ACTIONS(584),
    [aux_sym_sql_keyword_token1] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(584),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(584),
    [sym_quoted_identifier] = ACTIONS(584),
    [sym_number] = ACTIONS(584),
    [anon_sym_SQUOTE] = ACTIONS(586),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(192)] = {
    [sym_comment] = STATE(192),
    [sym_bare_identifier] = ACTIONS(384),
    [anon_sym_COMMA] = ACTIONS(382),
    [anon_sym_STAR] = ACTIONS(384),
    [anon_sym_DOT] = ACTIONS(384),
    [anon_sym_EQ] = ACTIONS(384),
    [anon_sym_LT] = ACTIONS(384),
    [anon_sym_GT] = ACTIONS(384),
    [anon_sym_BANG] = ACTIONS(384),
    [anon_sym_COLON_COLON] = ACTIONS(384),
    [anon_sym_LPAREN] = ACTIONS(382),
    [anon_sym_RPAREN] = ACTIONS(382),
    [aux_sym_subquery_body_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token1] = ACTIONS(384),
    [aux_sym_cast_expression_token2] = ACTIONS(384),
    [aux_sym_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(592),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(384),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(384),
    [sym_quoted_identifier] = ACTIONS(384),
    [sym_number] = ACTIONS(384),
    [anon_sym_SQUOTE] = ACTIONS(382),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(193)] = {
    [sym_comment] = STATE(193),
    [sym_bare_identifier] = ACTIONS(390),
    [anon_sym_COMMA] = ACTIONS(388),
    [anon_sym_STAR] = ACTIONS(390),
    [anon_sym_DOT] = ACTIONS(390),
    [anon_sym_EQ] = ACTIONS(390),
    [anon_sym_LT] = ACTIONS(390),
    [anon_sym_GT] = ACTIONS(390),
    [anon_sym_BANG] = ACTIONS(390),
    [anon_sym_COLON_COLON] = ACTIONS(390),
    [anon_sym_LPAREN] = ACTIONS(388),
    [anon_sym_RPAREN] = ACTIONS(388),
    [aux_sym_subquery_body_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token1] = ACTIONS(390),
    [aux_sym_cast_expression_token2] = ACTIONS(390),
    [aux_sym_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(390),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(390),
    [sym_quoted_identifier] = ACTIONS(390),
    [sym_number] = ACTIONS(390),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(194)] = {
    [sym_comment] = STATE(194),
    [sym_bare_identifier] = ACTIONS(394),
    [anon_sym_COMMA] = ACTIONS(392),
    [anon_sym_STAR] = ACTIONS(394),
    [anon_sym_DOT] = ACTIONS(394),
    [anon_sym_EQ] = ACTIONS(394),
    [anon_sym_LT] = ACTIONS(394),
    [anon_sym_GT] = ACTIONS(394),
    [anon_sym_BANG] = ACTIONS(394),
    [anon_sym_COLON_COLON] = ACTIONS(394),
    [anon_sym_LPAREN] = ACTIONS(392),
    [anon_sym_RPAREN] = ACTIONS(392),
    [aux_sym_subquery_body_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token1] = ACTIONS(394),
    [aux_sym_cast_expression_token2] = ACTIONS(394),
    [aux_sym_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(594),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(394),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(394),
    [sym_quoted_identifier] = ACTIONS(394),
    [sym_number] = ACTIONS(394),
    [anon_sym_SQUOTE] = ACTIONS(392),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(195)] = {
    [sym_comment] = STATE(195),
    [sym_bare_identifier] = ACTIONS(400),
    [anon_sym_COMMA] = ACTIONS(398),
    [anon_sym_STAR] = ACTIONS(400),
    [anon_sym_DOT] = ACTIONS(400),
    [anon_sym_EQ] = ACTIONS(400),
    [anon_sym_LT] = ACTIONS(400),
    [anon_sym_GT] = ACTIONS(400),
    [anon_sym_BANG] = ACTIONS(400),
    [anon_sym_COLON_COLON] = ACTIONS(400),
    [anon_sym_LPAREN] = ACTIONS(398),
    [anon_sym_RPAREN] = ACTIONS(398),
    [aux_sym_subquery_body_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token1] = ACTIONS(400),
    [aux_sym_cast_expression_token2] = ACTIONS(400),
    [aux_sym_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(400),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(400),
    [sym_quoted_identifier] = ACTIONS(400),
    [sym_number] = ACTIONS(400),
    [anon_sym_SQUOTE] = ACTIONS(398),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(196)] = {
    [sym_comment] = STATE(196),
    [sym_bare_identifier] = ACTIONS(404),
    [anon_sym_COMMA] = ACTIONS(402),
    [anon_sym_STAR] = ACTIONS(404),
    [anon_sym_DOT] = ACTIONS(404),
    [anon_sym_EQ] = ACTIONS(404),
    [anon_sym_LT] = ACTIONS(404),
    [anon_sym_GT] = ACTIONS(404),
    [anon_sym_BANG] = ACTIONS(404),
    [anon_sym_COLON_COLON] = ACTIONS(404),
    [anon_sym_LPAREN] = ACTIONS(402),
    [anon_sym_RPAREN] = ACTIONS(402),
    [aux_sym_subquery_body_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token1] = ACTIONS(404),
    [aux_sym_cast_expression_token2] = ACTIONS(404),
    [aux_sym_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(404),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(404),
    [sym_quoted_identifier] = ACTIONS(404),
    [sym_number] = ACTIONS(404),
    [anon_sym_SQUOTE] = ACTIONS(402),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(197)] = {
    [sym_comment] = STATE(197),
    [sym_bare_identifier] = ACTIONS(408),
    [anon_sym_COMMA] = ACTIONS(406),
    [anon_sym_STAR] = ACTIONS(408),
    [anon_sym_DOT] = ACTIONS(408),
    [anon_sym_EQ] = ACTIONS(408),
    [anon_sym_LT] = ACTIONS(408),
    [anon_sym_GT] = ACTIONS(408),
    [anon_sym_BANG] = ACTIONS(408),
    [anon_sym_COLON_COLON] = ACTIONS(408),
    [anon_sym_LPAREN] = ACTIONS(406),
    [anon_sym_RPAREN] = ACTIONS(406),
    [aux_sym_subquery_body_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token1] = ACTIONS(408),
    [aux_sym_cast_expression_token2] = ACTIONS(408),
    [aux_sym_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(408),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(408),
    [sym_quoted_identifier] = ACTIONS(408),
    [sym_number] = ACTIONS(408),
    [anon_sym_SQUOTE] = ACTIONS(406),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(198)] = {
    [sym_comment] = STATE(198),
    [sym_bare_identifier] = ACTIONS(416),
    [anon_sym_COMMA] = ACTIONS(414),
    [anon_sym_STAR] = ACTIONS(416),
    [anon_sym_DOT] = ACTIONS(416),
    [anon_sym_EQ] = ACTIONS(416),
    [anon_sym_LT] = ACTIONS(416),
    [anon_sym_GT] = ACTIONS(416),
    [anon_sym_BANG] = ACTIONS(416),
    [anon_sym_COLON_COLON] = ACTIONS(416),
    [anon_sym_LPAREN] = ACTIONS(414),
    [anon_sym_RPAREN] = ACTIONS(414),
    [aux_sym_subquery_body_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token1] = ACTIONS(416),
    [aux_sym_cast_expression_token2] = ACTIONS(416),
    [aux_sym_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(416),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(416),
    [sym_quoted_identifier] = ACTIONS(416),
    [sym_number] = ACTIONS(416),
    [anon_sym_SQUOTE] = ACTIONS(414),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(199)] = {
    [sym_comment] = STATE(199),
    [sym_bare_identifier] = ACTIONS(420),
    [anon_sym_COMMA] = ACTIONS(418),
    [anon_sym_STAR] = ACTIONS(420),
    [anon_sym_DOT] = ACTIONS(420),
    [anon_sym_EQ] = ACTIONS(420),
    [anon_sym_LT] = ACTIONS(420),
    [anon_sym_GT] = ACTIONS(420),
    [anon_sym_BANG] = ACTIONS(420),
    [anon_sym_COLON_COLON] = ACTIONS(420),
    [anon_sym_LPAREN] = ACTIONS(418),
    [anon_sym_RPAREN] = ACTIONS(418),
    [aux_sym_subquery_body_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token1] = ACTIONS(420),
    [aux_sym_cast_expression_token2] = ACTIONS(420),
    [aux_sym_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(420),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(420),
    [sym_quoted_identifier] = ACTIONS(420),
    [sym_number] = ACTIONS(420),
    [anon_sym_SQUOTE] = ACTIONS(418),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(200)] = {
    [sym_comment] = STATE(200),
    [sym_bare_identifier] = ACTIONS(330),
    [anon_sym_COMMA] = ACTIONS(328),
    [anon_sym_STAR] = ACTIONS(330),
    [anon_sym_DOT] = ACTIONS(330),
    [anon_sym_EQ] = ACTIONS(330),
    [anon_sym_LT] = ACTIONS(330),
    [anon_sym_GT] = ACTIONS(330),
    [anon_sym_BANG] = ACTIONS(330),
    [anon_sym_COLON_COLON] = ACTIONS(330),
    [anon_sym_LPAREN] = ACTIONS(328),
    [anon_sym_RPAREN] = ACTIONS(328),
    [aux_sym_subquery_body_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token2] = ACTIONS(330),
    [aux_sym_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(330),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(330),
    [sym_quoted_identifier] = ACTIONS(330),
    [sym_number] = ACTIONS(330),
    [anon_sym_SQUOTE] = ACTIONS(328),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(201)] = {
    [sym_comment] = STATE(201),
    [sym_bare_identifier] = ACTIONS(352),
    [anon_sym_COMMA] = ACTIONS(350),
    [anon_sym_STAR] = ACTIONS(352),
    [anon_sym_DOT] = ACTIONS(352),
    [anon_sym_EQ] = ACTIONS(352),
    [anon_sym_LT] = ACTIONS(352),
    [anon_sym_GT] = ACTIONS(352),
    [anon_sym_BANG] = ACTIONS(352),
    [anon_sym_COLON_COLON] = ACTIONS(352),
    [anon_sym_LPAREN] = ACTIONS(350),
    [anon_sym_RPAREN] = ACTIONS(350),
    [aux_sym_subquery_body_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token1] = ACTIONS(352),
    [aux_sym_cast_expression_token2] = ACTIONS(352),
    [aux_sym_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(352),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(352),
    [sym_quoted_identifier] = ACTIONS(352),
    [sym_number] = ACTIONS(352),
    [anon_sym_SQUOTE] = ACTIONS(350),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(202)] = {
    [sym_comment] = STATE(202),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(377),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(377),
    [anon_sym_LT] = ACTIONS(377),
    [anon_sym_GT] = ACTIONS(377),
    [anon_sym_BANG] = ACTIONS(377),
    [anon_sym_COLON_COLON] = ACTIONS(377),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_subquery_body_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token1] = ACTIONS(377),
    [aux_sym_cast_expression_token2] = ACTIONS(377),
    [aux_sym_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_quoted_identifier] = ACTIONS(377),
    [sym_number] = ACTIONS(377),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(203)] = {
    [sym_comment] = STATE(203),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(264),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(264),
    [anon_sym_LT] = ACTIONS(264),
    [anon_sym_GT] = ACTIONS(264),
    [anon_sym_BANG] = ACTIONS(264),
    [anon_sym_COLON_COLON] = ACTIONS(264),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_subquery_body_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token1] = ACTIONS(264),
    [aux_sym_cast_expression_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_quoted_identifier] = ACTIONS(264),
    [sym_number] = ACTIONS(264),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(204)] = {
    [sym_comment] = STATE(204),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(294),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(294),
    [anon_sym_LT] = ACTIONS(294),
    [anon_sym_GT] = ACTIONS(294),
    [anon_sym_BANG] = ACTIONS(294),
    [anon_sym_COLON_COLON] = ACTIONS(294),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_subquery_body_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token1] = ACTIONS(294),
    [aux_sym_cast_expression_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_quoted_identifier] = ACTIONS(294),
    [sym_number] = ACTIONS(294),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(205)] = {
    [sym_comment] = STATE(205),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(322),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(322),
    [anon_sym_LT] = ACTIONS(322),
    [anon_sym_GT] = ACTIONS(322),
    [anon_sym_BANG] = ACTIONS(322),
    [anon_sym_COLON_COLON] = ACTIONS(322),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_subquery_body_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token1] = ACTIONS(322),
    [aux_sym_cast_expression_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_quoted_identifier] = ACTIONS(322),
    [sym_number] = ACTIONS(322),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(206)] = {
    [sym_comment] = STATE(206),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(290),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(290),
    [anon_sym_LT] = ACTIONS(290),
    [anon_sym_GT] = ACTIONS(290),
    [anon_sym_BANG] = ACTIONS(290),
    [anon_sym_COLON_COLON] = ACTIONS(290),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_subquery_body_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token1] = ACTIONS(290),
    [aux_sym_cast_expression_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_quoted_identifier] = ACTIONS(290),
    [sym_number] = ACTIONS(290),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(207)] = {
    [sym_comment] = STATE(207),
    [sym_bare_identifier] = ACTIONS(412),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(412),
    [anon_sym_DOT] = ACTIONS(412),
    [anon_sym_EQ] = ACTIONS(412),
    [anon_sym_LT] = ACTIONS(412),
    [anon_sym_GT] = ACTIONS(412),
    [anon_sym_BANG] = ACTIONS(412),
    [anon_sym_COLON_COLON] = ACTIONS(412),
    [anon_sym_LPAREN] = ACTIONS(410),
    [anon_sym_RPAREN] = ACTIONS(410),
    [aux_sym_subquery_body_token1] = ACTIONS(412),
    [aux_sym_cast_expression_token1] = ACTIONS(412),
    [aux_sym_cast_expression_token2] = ACTIONS(412),
    [aux_sym_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(412),
    [sym_quoted_identifier] = ACTIONS(412),
    [sym_number] = ACTIONS(412),
    [anon_sym_SQUOTE] = ACTIONS(410),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(208)] = {
    [sym_subquery] = STATE(223),
    [sym_sql_keyword] = STATE(223),
    [sym_non_from_sql_keyword] = STATE(222),
    [sym_identifier] = STATE(223),
    [sym_string] = STATE(223),
    [sym_comment] = STATE(208),
    [aux_sym_create_statement_repeat1] = STATE(183),
    [sym_bare_identifier] = ACTIONS(545),
    [anon_sym_COMMA] = ACTIONS(547),
    [anon_sym_STAR] = ACTIONS(549),
    [anon_sym_DOT] = ACTIONS(549),
    [anon_sym_EQ] = ACTIONS(549),
    [anon_sym_LPAREN] = ACTIONS(551),
    [anon_sym_RPAREN] = ACTIONS(547),
    [aux_sym_create_statement_token2] = ACTIONS(549),
    [aux_sym_sql_keyword_token1] = ACTIONS(553),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(555),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(555),
    [sym_quoted_identifier] = ACTIONS(545),
    [sym_number] = ACTIONS(549),
    [anon_sym_SQUOTE] = ACTIONS(557),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(209)] = {
    [sym_comment] = STATE(209),
    [ts_builtin_sym_end] = ACTIONS(410),
    [sym_bare_identifier] = ACTIONS(412),
    [anon_sym_SEMI] = ACTIONS(410),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(412),
    [anon_sym_DOT] = ACTIONS(412),
    [anon_sym_EQ] = ACTIONS(412),
    [aux_sym_select_statement_token1] = ACTIONS(412),
    [anon_sym_LPAREN] = ACTIONS(410),
    [anon_sym_RPAREN] = ACTIONS(410),
    [aux_sym_create_statement_token2] = ACTIONS(412),
    [aux_sym_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(412),
    [sym_visualise_keyword] = ACTIONS(410),
    [sym_quoted_identifier] = ACTIONS(412),
    [sym_number] = ACTIONS(412),
    [anon_sym_SQUOTE] = ACTIONS(410),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(210)] = {
    [sym_subquery] = STATE(228),
    [sym_non_from_sql_keyword] = STATE(228),
    [sym_string] = STATE(228),
    [sym_comment] = STATE(210),
    [aux_sym_other_sql_statement_repeat1] = STATE(212),
    [ts_builtin_sym_end] = ACTIONS(596),
    [anon_sym_SEMI] = ACTIONS(596),
    [anon_sym_COMMA] = ACTIONS(9),
    [anon_sym_STAR] = ACTIONS(11),
    [anon_sym_DOT] = ACTIONS(11),
    [anon_sym_EQ] = ACTIONS(11),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(9),
    [aux_sym_create_statement_token2] = ACTIONS(11),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(27),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(27),
    [sym_visualise_keyword] = ACTIONS(596),
    [sym_number] = ACTIONS(11),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(211)] = {
    [sym_comment] = STATE(211),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(294),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(294),
    [aux_sym_select_statement_token1] = ACTIONS(294),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_create_statement_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(294),
    [sym_number] = ACTIONS(294),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(212)] = {
    [sym_subquery] = STATE(228),
    [sym_non_from_sql_keyword] = STATE(228),
    [sym_string] = STATE(228),
    [sym_comment] = STATE(212),
    [aux_sym_other_sql_statement_repeat1] = STATE(212),
    [ts_builtin_sym_end] = ACTIONS(598),
    [anon_sym_SEMI] = ACTIONS(598),
    [anon_sym_COMMA] = ACTIONS(600),
    [anon_sym_STAR] = ACTIONS(603),
    [anon_sym_DOT] = ACTIONS(603),
    [anon_sym_EQ] = ACTIONS(603),
    [anon_sym_LPAREN] = ACTIONS(606),
    [anon_sym_RPAREN] = ACTIONS(600),
    [aux_sym_create_statement_token2] = ACTIONS(603),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(609),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(609),
    [sym_visualise_keyword] = ACTIONS(598),
    [sym_number] = ACTIONS(603),
    [anon_sym_SQUOTE] = ACTIONS(612),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(213)] = {
    [sym_comment] = STATE(213),
    [ts_builtin_sym_end] = ACTIONS(375),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_SEMI] = ACTIONS(375),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(377),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(377),
    [aux_sym_select_statement_token1] = ACTIONS(377),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_create_statement_token2] = ACTIONS(377),
    [aux_sym_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_visualise_keyword] = ACTIONS(375),
    [sym_quoted_identifier] = ACTIONS(377),
    [sym_number] = ACTIONS(377),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(214)] = {
    [sym_comment] = STATE(214),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(264),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(264),
    [aux_sym_select_statement_token1] = ACTIONS(264),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_create_statement_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_visualise_keyword] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(264),
    [sym_number] = ACTIONS(264),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(215)] = {
    [sym_comment] = STATE(215),
    [ts_builtin_sym_end] = ACTIONS(93),
    [sym_bare_identifier] = ACTIONS(107),
    [anon_sym_SEMI] = ACTIONS(93),
    [anon_sym_COMMA] = ACTIONS(93),
    [anon_sym_STAR] = ACTIONS(107),
    [anon_sym_DOT] = ACTIONS(107),
    [anon_sym_EQ] = ACTIONS(107),
    [aux_sym_select_statement_token1] = ACTIONS(107),
    [anon_sym_LPAREN] = ACTIONS(93),
    [anon_sym_RPAREN] = ACTIONS(93),
    [aux_sym_create_statement_token2] = ACTIONS(107),
    [aux_sym_sql_keyword_token1] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(107),
    [sym_visualise_keyword] = ACTIONS(93),
    [sym_quoted_identifier] = ACTIONS(107),
    [sym_number] = ACTIONS(107),
    [anon_sym_SQUOTE] = ACTIONS(93),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(216)] = {
    [sym_comment] = STATE(216),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(322),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(322),
    [aux_sym_select_statement_token1] = ACTIONS(322),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_create_statement_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(322),
    [sym_number] = ACTIONS(322),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(217)] = {
    [sym_comment] = STATE(217),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(290),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(290),
    [aux_sym_select_statement_token1] = ACTIONS(290),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_create_statement_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(290),
    [sym_number] = ACTIONS(290),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(218)] = {
    [sym_comment] = STATE(218),
    [ts_builtin_sym_end] = ACTIONS(262),
    [sym_bare_identifier] = ACTIONS(264),
    [anon_sym_SEMI] = ACTIONS(262),
    [anon_sym_COMMA] = ACTIONS(262),
    [anon_sym_STAR] = ACTIONS(264),
    [anon_sym_DOT] = ACTIONS(264),
    [anon_sym_EQ] = ACTIONS(264),
    [anon_sym_LPAREN] = ACTIONS(262),
    [anon_sym_RPAREN] = ACTIONS(262),
    [aux_sym_create_statement_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(264),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(264),
    [sym_visualise_keyword] = ACTIONS(262),
    [sym_quoted_identifier] = ACTIONS(264),
    [sym_number] = ACTIONS(264),
    [anon_sym_SQUOTE] = ACTIONS(262),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(219)] = {
    [sym_comment] = STATE(219),
    [ts_builtin_sym_end] = ACTIONS(320),
    [sym_bare_identifier] = ACTIONS(322),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(322),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(322),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_create_statement_token2] = ACTIONS(322),
    [aux_sym_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_quoted_identifier] = ACTIONS(322),
    [sym_number] = ACTIONS(322),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(220)] = {
    [sym_comment] = STATE(220),
    [ts_builtin_sym_end] = ACTIONS(375),
    [sym_bare_identifier] = ACTIONS(377),
    [anon_sym_SEMI] = ACTIONS(375),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(377),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(377),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_create_statement_token2] = ACTIONS(377),
    [aux_sym_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_visualise_keyword] = ACTIONS(375),
    [sym_quoted_identifier] = ACTIONS(377),
    [sym_number] = ACTIONS(377),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(221)] = {
    [sym_comment] = STATE(221),
    [ts_builtin_sym_end] = ACTIONS(288),
    [sym_bare_identifier] = ACTIONS(290),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(290),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(290),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_create_statement_token2] = ACTIONS(290),
    [aux_sym_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_quoted_identifier] = ACTIONS(290),
    [sym_number] = ACTIONS(290),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(222)] = {
    [sym_comment] = STATE(222),
    [ts_builtin_sym_end] = ACTIONS(410),
    [sym_bare_identifier] = ACTIONS(412),
    [anon_sym_SEMI] = ACTIONS(410),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(412),
    [anon_sym_DOT] = ACTIONS(412),
    [anon_sym_EQ] = ACTIONS(412),
    [anon_sym_LPAREN] = ACTIONS(410),
    [anon_sym_RPAREN] = ACTIONS(410),
    [aux_sym_create_statement_token2] = ACTIONS(412),
    [aux_sym_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(412),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(412),
    [sym_visualise_keyword] = ACTIONS(410),
    [sym_quoted_identifier] = ACTIONS(412),
    [sym_number] = ACTIONS(412),
    [anon_sym_SQUOTE] = ACTIONS(410),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(223)] = {
    [sym_comment] = STATE(223),
    [ts_builtin_sym_end] = ACTIONS(93),
    [sym_bare_identifier] = ACTIONS(107),
    [anon_sym_SEMI] = ACTIONS(93),
    [anon_sym_COMMA] = ACTIONS(93),
    [anon_sym_STAR] = ACTIONS(107),
    [anon_sym_DOT] = ACTIONS(107),
    [anon_sym_EQ] = ACTIONS(107),
    [anon_sym_LPAREN] = ACTIONS(93),
    [anon_sym_RPAREN] = ACTIONS(93),
    [aux_sym_create_statement_token2] = ACTIONS(107),
    [aux_sym_sql_keyword_token1] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(107),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(107),
    [sym_visualise_keyword] = ACTIONS(93),
    [sym_quoted_identifier] = ACTIONS(107),
    [sym_number] = ACTIONS(107),
    [anon_sym_SQUOTE] = ACTIONS(93),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(224)] = {
    [sym_comment] = STATE(224),
    [ts_builtin_sym_end] = ACTIONS(292),
    [sym_bare_identifier] = ACTIONS(294),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(294),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(294),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_create_statement_token2] = ACTIONS(294),
    [aux_sym_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_quoted_identifier] = ACTIONS(294),
    [sym_number] = ACTIONS(294),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(225)] = {
    [sym_comment] = STATE(225),
    [ts_builtin_sym_end] = ACTIONS(375),
    [anon_sym_SEMI] = ACTIONS(375),
    [anon_sym_COMMA] = ACTIONS(375),
    [anon_sym_STAR] = ACTIONS(377),
    [anon_sym_DOT] = ACTIONS(377),
    [anon_sym_EQ] = ACTIONS(377),
    [anon_sym_LPAREN] = ACTIONS(375),
    [anon_sym_RPAREN] = ACTIONS(375),
    [aux_sym_create_statement_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(377),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(377),
    [sym_visualise_keyword] = ACTIONS(375),
    [sym_number] = ACTIONS(377),
    [anon_sym_SQUOTE] = ACTIONS(375),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(226)] = {
    [sym_comment] = STATE(226),
    [ts_builtin_sym_end] = ACTIONS(320),
    [anon_sym_SEMI] = ACTIONS(320),
    [anon_sym_COMMA] = ACTIONS(320),
    [anon_sym_STAR] = ACTIONS(322),
    [anon_sym_DOT] = ACTIONS(322),
    [anon_sym_EQ] = ACTIONS(322),
    [anon_sym_LPAREN] = ACTIONS(320),
    [anon_sym_RPAREN] = ACTIONS(320),
    [aux_sym_create_statement_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(322),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(322),
    [sym_visualise_keyword] = ACTIONS(320),
    [sym_number] = ACTIONS(322),
    [anon_sym_SQUOTE] = ACTIONS(320),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(227)] = {
    [sym_comment] = STATE(227),
    [ts_builtin_sym_end] = ACTIONS(288),
    [anon_sym_SEMI] = ACTIONS(288),
    [anon_sym_COMMA] = ACTIONS(288),
    [anon_sym_STAR] = ACTIONS(290),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(290),
    [anon_sym_LPAREN] = ACTIONS(288),
    [anon_sym_RPAREN] = ACTIONS(288),
    [aux_sym_create_statement_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(290),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(290),
    [sym_visualise_keyword] = ACTIONS(288),
    [sym_number] = ACTIONS(290),
    [anon_sym_SQUOTE] = ACTIONS(288),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(228)] = {
    [sym_comment] = STATE(228),
    [ts_builtin_sym_end] = ACTIONS(117),
    [anon_sym_SEMI] = ACTIONS(117),
    [anon_sym_COMMA] = ACTIONS(117),
    [anon_sym_STAR] = ACTIONS(119),
    [anon_sym_DOT] = ACTIONS(119),
    [anon_sym_EQ] = ACTIONS(119),
    [anon_sym_LPAREN] = ACTIONS(117),
    [anon_sym_RPAREN] = ACTIONS(117),
    [aux_sym_create_statement_token2] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(119),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(119),
    [sym_visualise_keyword] = ACTIONS(117),
    [sym_number] = ACTIONS(119),
    [anon_sym_SQUOTE] = ACTIONS(117),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(229)] = {
    [sym_comment] = STATE(229),
    [ts_builtin_sym_end] = ACTIONS(292),
    [anon_sym_SEMI] = ACTIONS(292),
    [anon_sym_COMMA] = ACTIONS(292),
    [anon_sym_STAR] = ACTIONS(294),
    [anon_sym_DOT] = ACTIONS(294),
    [anon_sym_EQ] = ACTIONS(294),
    [anon_sym_LPAREN] = ACTIONS(292),
    [anon_sym_RPAREN] = ACTIONS(292),
    [aux_sym_create_statement_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token1] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token2] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token3] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token4] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token5] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token6] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token7] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token8] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token9] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token10] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token11] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token12] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token13] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token14] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token15] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token16] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token17] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token18] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token19] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token20] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token21] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token22] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token23] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token24] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token25] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token26] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token27] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token28] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token29] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token30] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token31] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token32] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token33] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token34] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token35] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token36] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token37] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token38] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token39] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token40] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token41] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token42] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token43] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token44] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token45] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token46] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token47] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token48] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token49] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token50] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token51] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token52] = ACTIONS(294),
    [aux_sym_non_from_sql_keyword_token53] = ACTIONS(294),
    [sym_visualise_keyword] = ACTIONS(292),
    [sym_number] = ACTIONS(294),
    [anon_sym_SQUOTE] = ACTIONS(292),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
};

static const uint16_t ts_small_parse_table[] = {
  [0] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(623), 1,
      anon_sym_SQUOTE,
    STATE(232), 1,
      sym_filter_token,
    STATE(235), 1,
      sym_string,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(230), 2,
      sym_comment,
      aux_sym_filter_expression_repeat1,
    ACTIONS(620), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(615), 10,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
    ACTIONS(617), 36,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      sym_number,
  [82] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(632), 1,
      anon_sym_SQUOTE,
    STATE(230), 1,
      aux_sym_filter_expression_repeat1,
    STATE(231), 1,
      sym_comment,
    STATE(232), 1,
      sym_filter_token,
    STATE(235), 1,
      sym_string,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(630), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(626), 10,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
    ACTIONS(628), 36,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      sym_number,
  [166] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(232), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(636), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(634), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [237] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(233), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(294), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(292), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [308] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(234), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(290), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(288), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [379] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(235), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(640), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_non_from_sql_keyword_token13,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(638), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [450] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      sym_bare_identifier,
    ACTIONS(648), 1,
      sym_quoted_identifier,
    STATE(236), 1,
      sym_comment,
    STATE(239), 1,
      sym_scale_type_identifier,
    STATE(283), 1,
      sym_aesthetic_name,
    STATE(286), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(646), 5,
      aux_sym_scale_type_identifier_token1,
      aux_sym_scale_type_identifier_token2,
      aux_sym_scale_type_identifier_token3,
      aux_sym_scale_type_identifier_token4,
      aux_sym_scale_type_identifier_token5,
    ACTIONS(644), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [529] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(632), 1,
      anon_sym_SQUOTE,
    STATE(231), 1,
      aux_sym_filter_expression_repeat1,
    STATE(232), 1,
      sym_filter_token,
    STATE(235), 1,
      sym_string,
    STATE(237), 1,
      sym_comment,
    STATE(423), 1,
      sym_filter_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(630), 8,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(628), 37,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_non_from_sql_keyword_token12,
      aux_sym_non_from_sql_keyword_token13,
      aux_sym_non_from_sql_keyword_token14,
      aux_sym_non_from_sql_keyword_token15,
      aux_sym_non_from_sql_keyword_token16,
      aux_sym_non_from_sql_keyword_token17,
      aux_sym_non_from_sql_keyword_token18,
      aux_sym_non_from_sql_keyword_token26,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      sym_number,
  [604] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    STATE(238), 1,
      sym_comment,
    STATE(353), 1,
      sym_aesthetic_name,
    STATE(409), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(652), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [673] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      sym_bare_identifier,
    ACTIONS(648), 1,
      sym_quoted_identifier,
    STATE(239), 1,
      sym_comment,
    STATE(286), 1,
      sym_identifier,
    STATE(287), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(644), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [742] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    STATE(240), 1,
      sym_comment,
    STATE(286), 1,
      sym_identifier,
    STATE(353), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(644), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [811] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(642), 1,
      sym_bare_identifier,
    ACTIONS(648), 1,
      sym_quoted_identifier,
    STATE(241), 1,
      sym_comment,
    STATE(286), 1,
      sym_identifier,
    STATE(336), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(644), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [880] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(658), 1,
      sym_quoted_identifier,
    STATE(242), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(656), 45,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
      sym_bare_identifier,
  [941] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(243), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(264), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(262), 35,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token21,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
      anon_sym_COLON_EQ,
      anon_sym_EQ_GT,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [996] = 30,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(662), 1,
      anon_sym_STAR,
    ACTIONS(664), 1,
      aux_sym_from_clause_token1,
    ACTIONS(666), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(668), 1,
      aux_sym_place_clause_token1,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(672), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(674), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(676), 1,
      aux_sym_project_clause_token1,
    ACTIONS(678), 1,
      aux_sym_label_clause_token1,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    STATE(244), 1,
      sym_comment,
    STATE(284), 1,
      sym_global_mapping,
    STATE(316), 1,
      sym_from_clause,
    STATE(322), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(329), 1,
      sym_identifier,
    STATE(392), 1,
      sym_mapping_element,
    STATE(444), 1,
      sym_mapping_list,
    STATE(461), 1,
      sym_viz_clause,
    STATE(746), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(660), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(363), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [1100] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(245), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(264), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(262), 28,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1147] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(246), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(294), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(292), 27,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1193] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(247), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(290), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(288), 27,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1239] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(248), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(298), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(296), 25,
      ts_builtin_sym_end,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1283] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      anon_sym_DOT,
    STATE(249), 1,
      sym_comment,
    STATE(250), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(286), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(284), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
  [1331] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(688), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(250), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(298), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(296), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
  [1377] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(251), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(264), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(262), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
  [1421] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(298), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(296), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
  [1464] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(253), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(262), 24,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1501] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(693), 1,
      sym_bare_identifier,
    ACTIONS(701), 1,
      sym_quoted_identifier,
    STATE(254), 1,
      sym_comment,
    STATE(255), 1,
      aux_sym_order_expression_repeat1,
    STATE(266), 1,
      sym_identifier,
    STATE(268), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(691), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(695), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(697), 6,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
    ACTIONS(699), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1553] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(705), 1,
      sym_bare_identifier,
    ACTIONS(716), 1,
      sym_quoted_identifier,
    STATE(266), 1,
      sym_identifier,
    STATE(268), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(703), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(255), 2,
      sym_comment,
      aux_sym_order_expression_repeat1,
    ACTIONS(708), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(711), 6,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
    ACTIONS(714), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1603] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      anon_sym_RPAREN,
    STATE(256), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(275), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(733), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1666] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(729), 1,
      anon_sym_RPAREN,
    STATE(257), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(274), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(685), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1729] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(731), 1,
      anon_sym_RPAREN,
    STATE(258), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(271), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(717), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1792] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(733), 1,
      anon_sym_RPAREN,
    STATE(259), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(277), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(719), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1855] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(735), 1,
      anon_sym_RPAREN,
    STATE(260), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(279), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(675), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1918] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(737), 1,
      anon_sym_RPAREN,
    STATE(261), 1,
      sym_comment,
    STATE(263), 1,
      sym_identifier,
    STATE(273), 1,
      sym_set_quantifier,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(732), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    ACTIONS(727), 2,
      aux_sym_non_from_sql_keyword_token25,
      aux_sym_non_from_sql_keyword_token26,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1981] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(741), 1,
      anon_sym_STAR,
    ACTIONS(743), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(262), 1,
      sym_comment,
    STATE(302), 1,
      sym_identifier,
    STATE(317), 1,
      sym_mapping_element,
    STATE(351), 1,
      sym_mapping_list,
    STATE(721), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(334), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2043] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      anon_sym_DOT,
    ACTIONS(747), 1,
      anon_sym_LPAREN,
    STATE(249), 1,
      aux_sym_qualified_name_repeat1,
    STATE(263), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(749), 2,
      anon_sym_COLON_EQ,
      anon_sym_EQ_GT,
    ACTIONS(268), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(266), 11,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [2087] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(264), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(262), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(264), 13,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [2122] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(265), 1,
      sym_comment,
    STATE(267), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(751), 19,
      anon_sym_point,
      anon_sym_line,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_tile,
      anon_sym_polygon,
      anon_sym_ribbon,
      anon_sym_histogram,
      anon_sym_density,
      anon_sym_smooth,
      anon_sym_boxplot,
      anon_sym_violin,
      anon_sym_text,
      anon_sym_label,
      anon_sym_segment,
      anon_sym_arrow,
      anon_sym_rule,
      anon_sym_range,
  [2157] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(266), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(753), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(755), 13,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [2192] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(763), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(765), 1,
      aux_sym_mapping_clause_token1,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(267), 1,
      sym_comment,
    STATE(285), 1,
      sym_mapping_clause,
    STATE(318), 1,
      sym_remapping_clause,
    STATE(348), 1,
      sym_setting_clause,
    STATE(384), 1,
      sym_filter_clause,
    STATE(419), 1,
      sym_partition_clause,
    STATE(480), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(757), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2249] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(268), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(771), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(773), 13,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [2284] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(269), 1,
      sym_comment,
    STATE(405), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(751), 19,
      anon_sym_point,
      anon_sym_line,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_tile,
      anon_sym_polygon,
      anon_sym_ribbon,
      anon_sym_histogram,
      anon_sym_density,
      anon_sym_smooth,
      anon_sym_boxplot,
      anon_sym_violin,
      anon_sym_text,
      anon_sym_label,
      anon_sym_segment,
      anon_sym_arrow,
      anon_sym_rule,
      anon_sym_range,
  [2319] = 17,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(662), 1,
      anon_sym_STAR,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    STATE(270), 1,
      sym_comment,
    STATE(329), 1,
      sym_identifier,
    STATE(365), 1,
      sym_mapping_element,
    STATE(385), 1,
      sym_mapping_list,
    STATE(737), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(363), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2378] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(775), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(271), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(704), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2434] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(662), 1,
      anon_sym_STAR,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    STATE(272), 1,
      sym_comment,
    STATE(329), 1,
      sym_identifier,
    STATE(352), 1,
      sym_mapping_element,
    STATE(746), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(363), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2490] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(777), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(273), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(701), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2546] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(779), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(274), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(710), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2602] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(781), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(275), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(743), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2658] = 15,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(101), 1,
      aux_sym_select_statement_token1,
    ACTIONS(103), 1,
      aux_sym_with_statement_token1,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(783), 1,
      sym_bare_identifier,
    ACTIONS(785), 1,
      sym_quoted_identifier,
    STATE(276), 1,
      sym_comment,
    STATE(281), 1,
      sym_identifier,
    STATE(331), 1,
      sym_position_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(669), 2,
      sym_select_statement,
      sym_with_statement,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2712] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(787), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(277), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(731), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2768] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(741), 1,
      anon_sym_STAR,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(278), 1,
      sym_comment,
    STATE(302), 1,
      sym_identifier,
    STATE(323), 1,
      sym_mapping_element,
    STATE(721), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(334), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2824] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(789), 1,
      anon_sym_RPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(279), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(630), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    STATE(677), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2880] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(662), 1,
      anon_sym_STAR,
    ACTIONS(670), 1,
      aux_sym_filter_token_token2,
    ACTIONS(680), 1,
      sym_number,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    STATE(280), 1,
      sym_comment,
    STATE(329), 1,
      sym_identifier,
    STATE(352), 1,
      sym_mapping_element,
    STATE(737), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(680), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(363), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(734), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2936] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      anon_sym_DOT,
    ACTIONS(747), 1,
      anon_sym_LPAREN,
    STATE(249), 1,
      aux_sym_qualified_name_repeat1,
    STATE(281), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(268), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(266), 12,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [2976] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(747), 1,
      anon_sym_LPAREN,
    ACTIONS(791), 1,
      anon_sym_DOT,
    STATE(282), 1,
      sym_comment,
    STATE(291), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(268), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(266), 11,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3015] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(795), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(799), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(283), 1,
      sym_comment,
    STATE(312), 1,
      sym_scale_from_clause,
    STATE(349), 1,
      sym_scale_to_clause,
    STATE(382), 1,
      sym_scale_via_clause,
    STATE(421), 1,
      sym_setting_clause,
    STATE(462), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(793), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3066] = 15,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(664), 1,
      aux_sym_from_clause_token1,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(284), 1,
      sym_comment,
    STATE(301), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(308), 1,
      sym_from_clause,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(803), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3119] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(763), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(285), 1,
      sym_comment,
    STATE(304), 1,
      sym_remapping_clause,
    STATE(350), 1,
      sym_setting_clause,
    STATE(378), 1,
      sym_filter_clause,
    STATE(428), 1,
      sym_partition_clause,
    STATE(477), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3170] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(286), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(819), 18,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3201] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(795), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(799), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(287), 1,
      sym_comment,
    STATE(306), 1,
      sym_scale_from_clause,
    STATE(357), 1,
      sym_scale_to_clause,
    STATE(383), 1,
      sym_scale_via_clause,
    STATE(400), 1,
      sym_setting_clause,
    STATE(460), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3252] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(288), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(825), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(823), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3284] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    STATE(263), 1,
      sym_identifier,
    STATE(289), 1,
      sym_comment,
    STATE(319), 1,
      sym_position_arg,
    STATE(645), 1,
      sym_function_arg,
    STATE(659), 1,
      sym_named_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [3334] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(290), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(829), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(827), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3366] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(791), 1,
      anon_sym_DOT,
    STATE(291), 1,
      sym_comment,
    STATE(294), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(286), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(284), 11,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3402] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(292), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(400), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(398), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3434] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(293), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(384), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(382), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3466] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(831), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(294), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(298), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(296), 11,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3500] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(295), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(836), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(834), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3532] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(296), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(394), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(392), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3564] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(297), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(825), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(823), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3596] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(298), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(838), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      anon_sym_EQ_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      anon_sym_RBRACK,
  [3626] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(299), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(342), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(340), 13,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3658] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(842), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(300), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(840), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3689] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(301), 1,
      sym_comment,
    STATE(320), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(845), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3736] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(849), 1,
      aux_sym_cte_definition_token1,
    STATE(302), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(847), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3767] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(693), 1,
      sym_bare_identifier,
    ACTIONS(701), 1,
      sym_quoted_identifier,
    STATE(254), 1,
      aux_sym_order_expression_repeat1,
    STATE(266), 1,
      sym_identifier,
    STATE(268), 1,
      sym_order_token,
    STATE(303), 1,
      sym_comment,
    STATE(487), 1,
      sym_order_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(695), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(697), 6,
      anon_sym_DOT,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
      aux_sym_non_from_sql_keyword_token47,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
  [3810] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(304), 1,
      sym_comment,
    STATE(359), 1,
      sym_setting_clause,
    STATE(377), 1,
      sym_filter_clause,
    STATE(413), 1,
      sym_partition_clause,
    STATE(469), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3855] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(305), 1,
      sym_comment,
    STATE(320), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(853), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3902] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(799), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(306), 1,
      sym_comment,
    STATE(360), 1,
      sym_scale_to_clause,
    STATE(379), 1,
      sym_scale_via_clause,
    STATE(416), 1,
      sym_setting_clause,
    STATE(475), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(855), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3947] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(307), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(857), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token21,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3976] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(305), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(308), 1,
      sym_comment,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(845), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [4023] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(859), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(309), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
    ACTIONS(857), 14,
      ts_builtin_sym_end,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token21,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4054] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(310), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(862), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4083] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(311), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(864), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4112] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(799), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(312), 1,
      sym_comment,
    STATE(357), 1,
      sym_scale_to_clause,
    STATE(383), 1,
      sym_scale_via_clause,
    STATE(400), 1,
      sym_setting_clause,
    STATE(460), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4157] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(868), 1,
      anon_sym_COMMA,
    STATE(300), 1,
      aux_sym_mapping_list_repeat1,
    STATE(313), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(866), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4190] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(314), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(870), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4219] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(315), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(872), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      anon_sym_RBRACK,
  [4248] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(301), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(316), 1,
      sym_comment,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(803), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [4295] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(868), 1,
      anon_sym_COMMA,
    STATE(313), 1,
      aux_sym_mapping_list_repeat1,
    STATE(317), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(874), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4328] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(318), 1,
      sym_comment,
    STATE(350), 1,
      sym_setting_clause,
    STATE(378), 1,
      sym_filter_clause,
    STATE(428), 1,
      sym_partition_clause,
    STATE(477), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4373] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(319), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(876), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(880), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(878), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [4406] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(884), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(887), 1,
      aux_sym_place_clause_token1,
    ACTIONS(890), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(893), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(896), 1,
      aux_sym_project_clause_token1,
    ACTIONS(899), 1,
      aux_sym_label_clause_token1,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(882), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(320), 2,
      sym_comment,
      aux_sym_visualise_statement_repeat1,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [4451] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(321), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(902), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(880), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(878), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [4484] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(805), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(807), 1,
      aux_sym_place_clause_token1,
    ACTIONS(809), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(811), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(813), 1,
      aux_sym_project_clause_token1,
    ACTIONS(815), 1,
      aux_sym_label_clause_token1,
    STATE(320), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(322), 1,
      sym_comment,
    STATE(461), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(803), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(478), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [4531] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(323), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(840), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4559] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(324), 1,
      sym_comment,
    STATE(325), 1,
      sym_position_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4603] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(908), 1,
      aux_sym_cte_definition_token1,
    STATE(325), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [4635] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(783), 1,
      sym_bare_identifier,
    ACTIONS(785), 1,
      sym_quoted_identifier,
    STATE(281), 1,
      sym_identifier,
    STATE(288), 1,
      sym_position_arg,
    STATE(326), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4679] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(910), 1,
      anon_sym_DOT,
    STATE(327), 1,
      sym_comment,
    STATE(328), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(284), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4711] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(912), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(328), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(296), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4741] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(849), 1,
      aux_sym_cte_definition_token1,
    STATE(329), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(847), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4771] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(330), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(915), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4799] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(917), 1,
      anon_sym_RPAREN,
    STATE(331), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(880), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(878), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [4831] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(910), 1,
      anon_sym_DOT,
    STATE(327), 1,
      aux_sym_qualified_name_repeat1,
    STATE(332), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(266), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4863] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(783), 1,
      sym_bare_identifier,
    ACTIONS(785), 1,
      sym_quoted_identifier,
    STATE(281), 1,
      sym_identifier,
    STATE(321), 1,
      sym_position_arg,
    STATE(333), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4907] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(334), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(919), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4935] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(288), 1,
      sym_position_arg,
    STATE(335), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4979] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(336), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(921), 15,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5007] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(923), 1,
      aux_sym_cte_definition_token1,
    STATE(337), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [5039] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(925), 1,
      aux_sym_cte_definition_token1,
    STATE(338), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [5071] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(927), 1,
      aux_sym_cte_definition_token1,
    STATE(339), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [5103] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_cte_definition_token1,
    STATE(340), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [5135] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(931), 1,
      aux_sym_cte_definition_token1,
    STATE(341), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(906), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(904), 10,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [5167] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(337), 1,
      sym_position_arg,
    STATE(342), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [5211] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(338), 1,
      sym_position_arg,
    STATE(343), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [5255] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(339), 1,
      sym_position_arg,
    STATE(344), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [5299] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(340), 1,
      sym_position_arg,
    STATE(345), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [5343] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(721), 1,
      anon_sym_LPAREN,
    ACTIONS(739), 1,
      sym_bare_identifier,
    ACTIONS(745), 1,
      sym_quoted_identifier,
    STATE(282), 1,
      sym_identifier,
    STATE(341), 1,
      sym_position_arg,
    STATE(346), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(725), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(290), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [5387] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(686), 1,
      anon_sym_DOT,
    STATE(249), 1,
      aux_sym_qualified_name_repeat1,
    STATE(347), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(266), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(268), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [5420] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(348), 1,
      sym_comment,
    STATE(378), 1,
      sym_filter_clause,
    STATE(428), 1,
      sym_partition_clause,
    STATE(477), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5459] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(349), 1,
      sym_comment,
    STATE(383), 1,
      sym_scale_via_clause,
    STATE(400), 1,
      sym_setting_clause,
    STATE(460), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5498] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(350), 1,
      sym_comment,
    STATE(377), 1,
      sym_filter_clause,
    STATE(413), 1,
      sym_partition_clause,
    STATE(469), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5537] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(935), 1,
      aux_sym_sql_keyword_token1,
    STATE(351), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(933), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5566] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(352), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(840), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5593] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(353), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(921), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5620] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(354), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(915), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5647] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(939), 1,
      anon_sym_COMMA,
    STATE(355), 1,
      sym_comment,
    STATE(358), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(937), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5678] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(356), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(941), 14,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_mapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5705] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(357), 1,
      sym_comment,
    STATE(379), 1,
      sym_scale_via_clause,
    STATE(416), 1,
      sym_setting_clause,
    STATE(475), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(855), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5744] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(939), 1,
      anon_sym_COMMA,
    STATE(358), 1,
      sym_comment,
    STATE(361), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(943), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5775] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(769), 1,
      aux_sym_filter_clause_token1,
    STATE(359), 1,
      sym_comment,
    STATE(387), 1,
      sym_filter_clause,
    STATE(431), 1,
      sym_partition_clause,
    STATE(488), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(945), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5814] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(801), 1,
      aux_sym_scale_via_clause_token1,
    STATE(360), 1,
      sym_comment,
    STATE(390), 1,
      sym_scale_via_clause,
    STATE(437), 1,
      sym_setting_clause,
    STATE(486), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(947), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5853] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(951), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(361), 2,
      sym_comment,
      aux_sym_setting_clause_repeat1,
    ACTIONS(949), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5882] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      anon_sym_COMMA,
    STATE(362), 1,
      sym_comment,
    STATE(364), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(866), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5913] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(363), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(919), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5940] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(956), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(364), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(840), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5969] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      anon_sym_COMMA,
    STATE(362), 1,
      aux_sym_mapping_list_repeat1,
    STATE(365), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(874), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6000] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(959), 1,
      aux_sym_cte_definition_token1,
    STATE(366), 1,
      sym_comment,
    STATE(457), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(272), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(274), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6036] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(961), 1,
      aux_sym_cte_definition_token1,
    STATE(367), 1,
      sym_comment,
    STATE(445), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(278), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(280), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6072] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    STATE(368), 1,
      sym_comment,
    STATE(410), 1,
      sym_label_assignment,
    STATE(707), 1,
      sym_label_type,
    STATE(739), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(963), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(965), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6110] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(369), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(967), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6136] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(370), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(292), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(294), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [6164] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(371), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(288), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(290), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [6192] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(372), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(949), 13,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6218] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(373), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(969), 13,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6244] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(374), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(971), 13,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6270] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(375), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(973), 13,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6296] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(376), 1,
      sym_comment,
    STATE(386), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(975), 10,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token21,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6325] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    STATE(377), 1,
      sym_comment,
    STATE(431), 1,
      sym_partition_clause,
    STATE(488), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(945), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6358] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    STATE(378), 1,
      sym_comment,
    STATE(413), 1,
      sym_partition_clause,
    STATE(469), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6391] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(379), 1,
      sym_comment,
    STATE(437), 1,
      sym_setting_clause,
    STATE(486), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(947), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6424] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(380), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(979), 12,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6449] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(381), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(320), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(322), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [6476] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(382), 1,
      sym_comment,
    STATE(400), 1,
      sym_setting_clause,
    STATE(460), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6509] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(383), 1,
      sym_comment,
    STATE(416), 1,
      sym_setting_clause,
    STATE(475), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(855), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6542] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    STATE(384), 1,
      sym_comment,
    STATE(428), 1,
      sym_partition_clause,
    STATE(477), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6575] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(385), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(981), 12,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6600] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(309), 1,
      aux_sym_cte_definition_repeat1,
    STATE(386), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(983), 10,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token21,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6629] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(761), 1,
      aux_sym_window_partition_clause_token1,
    STATE(387), 1,
      sym_comment,
    STATE(399), 1,
      sym_partition_clause,
    STATE(476), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(985), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6662] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(987), 1,
      anon_sym_LPAREN,
    ACTIONS(989), 1,
      sym_number,
    ACTIONS(991), 1,
      anon_sym_LBRACK,
    STATE(388), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(684), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(441), 4,
      sym_identifier,
      sym_string,
      sym_boolean,
      sym_array,
  [6701] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(987), 1,
      anon_sym_LPAREN,
    ACTIONS(991), 1,
      anon_sym_LBRACK,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(995), 1,
      sym_number,
    STATE(375), 1,
      sym_parameter_value,
    STATE(389), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(997), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(373), 4,
      sym_string,
      sym_boolean,
      sym_array,
      sym_null_literal,
  [6740] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(390), 1,
      sym_comment,
    STATE(440), 1,
      sym_setting_clause,
    STATE(471), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(999), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6773] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(391), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1001), 11,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6797] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1003), 1,
      anon_sym_COMMA,
    STATE(392), 1,
      sym_comment,
    STATE(393), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(874), 9,
      ts_builtin_sym_end,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6825] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1003), 1,
      anon_sym_COMMA,
    STATE(393), 1,
      sym_comment,
    STATE(395), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(866), 9,
      ts_builtin_sym_end,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6853] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(394), 1,
      sym_comment,
    STATE(396), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1005), 9,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6881] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1007), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(395), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(840), 9,
      ts_builtin_sym_end,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6907] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(309), 1,
      aux_sym_cte_definition_repeat1,
    STATE(396), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1010), 9,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6935] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(1014), 1,
      aux_sym_non_from_sql_keyword_token21,
    STATE(397), 1,
      sym_comment,
    STATE(468), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1012), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6965] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(398), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1016), 10,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6988] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    STATE(399), 1,
      sym_comment,
    STATE(464), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1018), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7015] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(400), 1,
      sym_comment,
    STATE(475), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(855), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7042] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1022), 1,
      anon_sym_COMMA,
    STATE(401), 1,
      sym_comment,
    STATE(404), 1,
      aux_sym_label_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1020), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7069] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    STATE(402), 1,
      sym_comment,
    STATE(482), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1024), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7096] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1028), 1,
      anon_sym_LPAREN,
    ACTIONS(1030), 1,
      sym_namespaced_identifier,
    ACTIONS(1032), 1,
      anon_sym_SQUOTE,
    STATE(58), 1,
      sym_subquery,
    STATE(59), 1,
      sym_identifier,
    STATE(82), 1,
      sym_table_ref,
    STATE(403), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1026), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(57), 2,
      sym_qualified_name,
      sym_string,
  [7133] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1036), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(404), 2,
      sym_comment,
      aux_sym_label_clause_repeat1,
    ACTIONS(1034), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7158] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      aux_sym_setting_clause_token1,
    STATE(405), 1,
      sym_comment,
    STATE(484), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1039), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7185] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1043), 1,
      anon_sym_LPAREN,
    ACTIONS(1045), 1,
      sym_namespaced_identifier,
    ACTIONS(1047), 1,
      anon_sym_SQUOTE,
    STATE(33), 1,
      sym_identifier,
    STATE(35), 1,
      sym_subquery,
    STATE(55), 1,
      sym_table_ref,
    STATE(406), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1041), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(34), 2,
      sym_qualified_name,
      sym_string,
  [7222] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1051), 1,
      anon_sym_LPAREN,
    ACTIONS(1053), 1,
      sym_namespaced_identifier,
    ACTIONS(1055), 1,
      anon_sym_SQUOTE,
    STATE(128), 1,
      sym_subquery,
    STATE(129), 1,
      sym_identifier,
    STATE(158), 1,
      sym_table_ref,
    STATE(407), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1049), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(127), 2,
      sym_qualified_name,
      sym_string,
  [7259] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1057), 1,
      anon_sym_COMMA,
    STATE(408), 1,
      sym_comment,
    STATE(414), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(303), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7286] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(409), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(819), 10,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7309] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1022), 1,
      anon_sym_COMMA,
    STATE(401), 1,
      aux_sym_label_clause_repeat1,
    STATE(410), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1059), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7336] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(29), 1,
      aux_sym_from_clause_token1,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1065), 1,
      aux_sym_select_statement_token1,
    STATE(12), 1,
      sym_from_clause,
    STATE(411), 1,
      sym_comment,
    STATE(435), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(528), 2,
      sym_from_statement,
      sym_select_statement,
    ACTIONS(1061), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7371] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_LPAREN,
    ACTIONS(1069), 1,
      sym_namespaced_identifier,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(347), 1,
      sym_identifier,
    STATE(367), 1,
      sym_subquery,
    STATE(412), 1,
      sym_comment,
    STATE(442), 1,
      sym_table_ref,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(783), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(366), 2,
      sym_qualified_name,
      sym_string,
  [7408] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    STATE(413), 1,
      sym_comment,
    STATE(488), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(945), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7435] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1057), 1,
      anon_sym_COMMA,
    STATE(414), 1,
      sym_comment,
    STATE(418), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(316), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7462] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1075), 1,
      anon_sym_COMMA,
    STATE(415), 1,
      sym_comment,
    STATE(436), 1,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1073), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7489] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(416), 1,
      sym_comment,
    STATE(486), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(947), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7516] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1079), 1,
      anon_sym_COMMA,
    STATE(417), 1,
      sym_comment,
    STATE(439), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1077), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7543] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1081), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(418), 2,
      sym_comment,
      aux_sym_from_clause_repeat1,
    ACTIONS(309), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7568] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    STATE(419), 1,
      sym_comment,
    STATE(477), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7595] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1086), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(420), 2,
      sym_comment,
      aux_sym_project_properties_repeat1,
    ACTIONS(1084), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7620] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(421), 1,
      sym_comment,
    STATE(460), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7647] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(29), 1,
      aux_sym_from_clause_token1,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1065), 1,
      aux_sym_select_statement_token1,
    STATE(12), 1,
      sym_from_clause,
    STATE(422), 1,
      sym_comment,
    STATE(472), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(528), 2,
      sym_from_statement,
      sym_select_statement,
    ACTIONS(1061), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7682] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(423), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1089), 10,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7705] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1093), 1,
      anon_sym_LPAREN,
    ACTIONS(1095), 1,
      sym_namespaced_identifier,
    ACTIONS(1097), 1,
      anon_sym_SQUOTE,
    STATE(61), 1,
      sym_subquery,
    STATE(62), 1,
      sym_identifier,
    STATE(114), 1,
      sym_table_ref,
    STATE(424), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1091), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(60), 2,
      sym_qualified_name,
      sym_string,
  [7742] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1043), 1,
      anon_sym_LPAREN,
    ACTIONS(1045), 1,
      sym_namespaced_identifier,
    ACTIONS(1047), 1,
      anon_sym_SQUOTE,
    STATE(33), 1,
      sym_identifier,
    STATE(35), 1,
      sym_subquery,
    STATE(41), 1,
      sym_table_ref,
    STATE(425), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1041), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(34), 2,
      sym_qualified_name,
      sym_string,
  [7779] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1028), 1,
      anon_sym_LPAREN,
    ACTIONS(1030), 1,
      sym_namespaced_identifier,
    ACTIONS(1032), 1,
      anon_sym_SQUOTE,
    STATE(58), 1,
      sym_subquery,
    STATE(59), 1,
      sym_identifier,
    STATE(147), 1,
      sym_table_ref,
    STATE(426), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1026), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(57), 2,
      sym_qualified_name,
      sym_string,
  [7816] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(29), 1,
      aux_sym_from_clause_token1,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1065), 1,
      aux_sym_select_statement_token1,
    STATE(12), 1,
      sym_from_clause,
    STATE(422), 1,
      aux_sym_with_statement_repeat1,
    STATE(427), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(547), 2,
      sym_from_statement,
      sym_select_statement,
    ACTIONS(1099), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7851] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    STATE(428), 1,
      sym_comment,
    STATE(469), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7878] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(59), 1,
      anon_sym_SQUOTE,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(1101), 1,
      anon_sym_RPAREN,
    ACTIONS(1103), 1,
      sym_number,
    STATE(429), 1,
      sym_comment,
    STATE(609), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(997), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(608), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [7913] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_LPAREN,
    ACTIONS(1069), 1,
      sym_namespaced_identifier,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(347), 1,
      sym_identifier,
    STATE(367), 1,
      sym_subquery,
    STATE(408), 1,
      sym_table_ref,
    STATE(430), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(783), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(366), 2,
      sym_qualified_name,
      sym_string,
  [7950] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(759), 1,
      aux_sym_non_from_sql_keyword_token19,
    STATE(431), 1,
      sym_comment,
    STATE(476), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(985), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7977] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(59), 1,
      anon_sym_SQUOTE,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(1101), 1,
      anon_sym_RBRACK,
    ACTIONS(1103), 1,
      sym_number,
    STATE(432), 1,
      sym_comment,
    STATE(614), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(997), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(608), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [8012] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1093), 1,
      anon_sym_LPAREN,
    ACTIONS(1095), 1,
      sym_namespaced_identifier,
    ACTIONS(1097), 1,
      anon_sym_SQUOTE,
    STATE(61), 1,
      sym_subquery,
    STATE(62), 1,
      sym_identifier,
    STATE(85), 1,
      sym_table_ref,
    STATE(433), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1091), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(60), 2,
      sym_qualified_name,
      sym_string,
  [8049] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1051), 1,
      anon_sym_LPAREN,
    ACTIONS(1053), 1,
      sym_namespaced_identifier,
    ACTIONS(1055), 1,
      anon_sym_SQUOTE,
    STATE(128), 1,
      sym_subquery,
    STATE(129), 1,
      sym_identifier,
    STATE(154), 1,
      sym_table_ref,
    STATE(434), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1049), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(127), 2,
      sym_qualified_name,
      sym_string,
  [8086] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(29), 1,
      aux_sym_from_clause_token1,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1065), 1,
      aux_sym_select_statement_token1,
    STATE(12), 1,
      sym_from_clause,
    STATE(435), 1,
      sym_comment,
    STATE(472), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(536), 2,
      sym_from_statement,
      sym_select_statement,
    ACTIONS(1105), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [8121] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1109), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(436), 2,
      sym_comment,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(1107), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8146] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(437), 1,
      sym_comment,
    STATE(471), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(999), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8173] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1075), 1,
      anon_sym_COMMA,
    STATE(415), 1,
      aux_sym_scale_renaming_clause_repeat1,
    STATE(438), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1112), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8200] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1079), 1,
      anon_sym_COMMA,
    STATE(420), 1,
      aux_sym_project_properties_repeat1,
    STATE(439), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1114), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8227] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(797), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(440), 1,
      sym_comment,
    STATE(467), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1116), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8254] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(441), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1118), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8276] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(442), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(309), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8298] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(443), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1120), 3,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
      sym_bare_identifier,
    ACTIONS(1122), 6,
      anon_sym_STAR,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_quoted_identifier,
      sym_number,
      anon_sym_SQUOTE,
  [8322] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(444), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1124), 9,
      ts_builtin_sym_end,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8344] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(445), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(371), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8366] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(446), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1126), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8388] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      aux_sym_setting_clause_token1,
    STATE(447), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1128), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8412] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(448), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1034), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8434] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(59), 1,
      anon_sym_SQUOTE,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(1103), 1,
      sym_number,
    STATE(449), 1,
      sym_comment,
    STATE(602), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(997), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(608), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [8466] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(450), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1084), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8488] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(451), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1132), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8510] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(452), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1107), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8532] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(453), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1134), 9,
      ts_builtin_sym_end,
      aux_sym_non_from_sql_keyword_token19,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8554] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(454), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1136), 9,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8576] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(455), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(324), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8598] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(456), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(346), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8620] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(457), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(367), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8642] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1140), 1,
      aux_sym_setting_clause_token1,
    STATE(458), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1138), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8666] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1142), 1,
      anon_sym_RPAREN,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1148), 1,
      aux_sym_window_partition_clause_token1,
    STATE(459), 1,
      sym_comment,
    STATE(500), 1,
      sym_window_partition_clause,
    STATE(551), 1,
      sym_window_order_clause,
    STATE(684), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [8699] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(460), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(855), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8720] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(461), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1150), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8741] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(462), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(821), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8762] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1099), 1,
      anon_sym_RPAREN,
    ACTIONS(1152), 1,
      aux_sym_select_statement_token1,
    ACTIONS(1154), 1,
      aux_sym_from_clause_token1,
    STATE(16), 1,
      sym_from_clause,
    STATE(463), 1,
      sym_comment,
    STATE(466), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(547), 2,
      sym_from_statement,
      sym_select_statement,
  [8795] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(464), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1156), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8816] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1061), 1,
      anon_sym_RPAREN,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1152), 1,
      aux_sym_select_statement_token1,
    ACTIONS(1154), 1,
      aux_sym_from_clause_token1,
    STATE(16), 1,
      sym_from_clause,
    STATE(465), 1,
      sym_comment,
    STATE(470), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(528), 2,
      sym_from_statement,
      sym_select_statement,
  [8849] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1061), 1,
      anon_sym_RPAREN,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1152), 1,
      aux_sym_select_statement_token1,
    ACTIONS(1154), 1,
      aux_sym_from_clause_token1,
    STATE(16), 1,
      sym_from_clause,
    STATE(466), 1,
      sym_comment,
    STATE(472), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(528), 2,
      sym_from_statement,
      sym_select_statement,
  [8882] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(467), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1158), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8903] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(468), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1160), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8924] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(469), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(945), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8945] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1063), 1,
      anon_sym_COMMA,
    ACTIONS(1105), 1,
      anon_sym_RPAREN,
    ACTIONS(1152), 1,
      aux_sym_select_statement_token1,
    ACTIONS(1154), 1,
      aux_sym_from_clause_token1,
    STATE(16), 1,
      sym_from_clause,
    STATE(470), 1,
      sym_comment,
    STATE(472), 1,
      aux_sym_with_statement_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(536), 2,
      sym_from_statement,
      sym_select_statement,
  [8978] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(471), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1116), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [8999] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1164), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(472), 2,
      sym_comment,
      aux_sym_with_statement_repeat1,
    ACTIONS(1162), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
  [9022] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1148), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(1167), 1,
      anon_sym_RPAREN,
    STATE(473), 1,
      sym_comment,
    STATE(498), 1,
      sym_window_partition_clause,
    STATE(545), 1,
      sym_window_order_clause,
    STATE(679), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9055] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(474), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1169), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9076] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(475), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(947), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9097] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(476), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1018), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9118] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(477), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9139] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(478), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1171), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9160] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1148), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(1173), 1,
      anon_sym_RPAREN,
    STATE(479), 1,
      sym_comment,
    STATE(502), 1,
      sym_window_partition_clause,
    STATE(556), 1,
      sym_window_order_clause,
    STATE(663), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9193] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(480), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9214] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1148), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(1175), 1,
      anon_sym_RPAREN,
    STATE(481), 1,
      sym_comment,
    STATE(504), 1,
      sym_window_partition_clause,
    STATE(596), 1,
      sym_window_order_clause,
    STATE(683), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9247] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(482), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1177), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9268] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(483), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1179), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9289] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(484), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1181), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9310] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1148), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(1183), 1,
      anon_sym_RPAREN,
    STATE(485), 1,
      sym_comment,
    STATE(505), 1,
      sym_window_partition_clause,
    STATE(537), 1,
      sym_window_order_clause,
    STATE(718), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9343] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(486), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(999), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9364] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(487), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1185), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9385] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(488), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(985), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [9406] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(489), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1187), 7,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_COMMA,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
  [9426] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(490), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1162), 7,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_COMMA,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
  [9446] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(452), 1,
      sym_renaming_assignment,
    STATE(491), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1189), 2,
      anon_sym_STAR,
      sym_number,
    STATE(664), 2,
      sym_string,
      sym_null_literal,
  [9474] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1195), 1,
      aux_sym_non_from_sql_keyword_token47,
    STATE(492), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1193), 2,
      aux_sym_non_from_sql_keyword_token27,
      aux_sym_non_from_sql_keyword_token28,
    ACTIONS(1191), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9498] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(493), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1197), 7,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_COMMA,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
  [9518] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(438), 1,
      sym_renaming_assignment,
    STATE(494), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1189), 2,
      anon_sym_STAR,
      sym_number,
    STATE(664), 2,
      sym_string,
      sym_null_literal,
  [9546] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(1199), 1,
      sym_namespaced_identifier,
    STATE(332), 1,
      sym_identifier,
    STATE(495), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(650), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(369), 2,
      sym_qualified_name,
      sym_string,
  [9574] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(496), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1201), 7,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_COMMA,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      aux_sym_from_clause_token1,
      sym_visualise_keyword,
  [9594] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(1203), 1,
      sym_namespaced_identifier,
    STATE(332), 1,
      sym_identifier,
    STATE(497), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(650), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(374), 2,
      sym_qualified_name,
      sym_string,
  [9622] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1205), 1,
      anon_sym_RPAREN,
    STATE(498), 1,
      sym_comment,
    STATE(546), 1,
      sym_window_order_clause,
    STATE(662), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9649] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(499), 1,
      sym_comment,
    STATE(507), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1207), 4,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9672] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1209), 1,
      anon_sym_RPAREN,
    STATE(500), 1,
      sym_comment,
    STATE(552), 1,
      sym_window_order_clause,
    STATE(742), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9699] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(987), 1,
      anon_sym_LPAREN,
    ACTIONS(991), 1,
      anon_sym_LBRACK,
    STATE(501), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(391), 2,
      sym_identifier,
      sym_array,
  [9724] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1211), 1,
      anon_sym_RPAREN,
    STATE(502), 1,
      sym_comment,
    STATE(557), 1,
      sym_window_order_clause,
    STATE(666), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9751] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(417), 1,
      sym_project_property,
    STATE(474), 1,
      sym_project_properties,
    STATE(503), 1,
      sym_comment,
    STATE(696), 1,
      sym_project_property_name,
    STATE(698), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9778] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1213), 1,
      anon_sym_RPAREN,
    STATE(504), 1,
      sym_comment,
    STATE(561), 1,
      sym_window_order_clause,
    STATE(686), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9805] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      aux_sym_non_from_sql_keyword_token19,
    ACTIONS(1215), 1,
      anon_sym_RPAREN,
    STATE(505), 1,
      sym_comment,
    STATE(560), 1,
      sym_window_order_clause,
    STATE(745), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9832] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(417), 1,
      sym_project_property,
    STATE(483), 1,
      sym_project_properties,
    STATE(506), 1,
      sym_comment,
    STATE(696), 1,
      sym_project_property_name,
    STATE(698), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9859] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(977), 1,
      anon_sym_COMMA,
    STATE(309), 1,
      aux_sym_cte_definition_repeat1,
    STATE(507), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1217), 4,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token19,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9882] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(355), 1,
      sym_parameter_assignment,
    STATE(508), 1,
      sym_comment,
    STATE(676), 1,
      sym_parameter_name,
    STATE(727), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9906] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1219), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(509), 2,
      sym_comment,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(1222), 3,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [9926] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(448), 1,
      sym_label_assignment,
    STATE(510), 1,
      sym_comment,
    STATE(707), 1,
      sym_label_type,
    STATE(739), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9950] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(41), 1,
      sym_bare_identifier,
    ACTIONS(57), 1,
      sym_quoted_identifier,
    ACTIONS(1224), 1,
      aux_sym_scale_to_clause_token1,
    STATE(511), 1,
      sym_comment,
    STATE(629), 1,
      sym_identifier,
    STATE(714), 1,
      sym_project_aesthetics,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9976] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(1226), 1,
      aux_sym_with_statement_token2,
    STATE(463), 1,
      sym_cte_definition,
    STATE(512), 1,
      sym_comment,
    STATE(654), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10002] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1228), 1,
      aux_sym_non_from_sql_keyword_token17,
    ACTIONS(1232), 1,
      aux_sym_non_from_sql_keyword_token45,
    STATE(513), 1,
      sym_comment,
    STATE(741), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1230), 2,
      aux_sym_non_from_sql_keyword_token42,
      sym_number,
  [10026] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1234), 1,
      anon_sym_COMMA,
    STATE(514), 1,
      sym_comment,
    STATE(516), 1,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1236), 3,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10048] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(650), 1,
      sym_bare_identifier,
    ACTIONS(654), 1,
      sym_quoted_identifier,
    ACTIONS(1238), 1,
      aux_sym_with_statement_token2,
    STATE(427), 1,
      sym_cte_definition,
    STATE(515), 1,
      sym_comment,
    STATE(654), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10074] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1234), 1,
      anon_sym_COMMA,
    STATE(509), 1,
      aux_sym_window_order_clause_repeat1,
    STATE(516), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1240), 3,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10096] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1244), 1,
      aux_sym_non_from_sql_keyword_token47,
    STATE(517), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1242), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10116] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(450), 1,
      sym_project_property,
    STATE(518), 1,
      sym_comment,
    STATE(696), 1,
      sym_project_property_name,
    STATE(698), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10140] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(372), 1,
      sym_parameter_assignment,
    STATE(519), 1,
      sym_comment,
    STATE(676), 1,
      sym_parameter_name,
    STATE(727), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10164] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(465), 1,
      sym_cte_definition,
    STATE(520), 1,
      sym_comment,
    STATE(654), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10185] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1246), 1,
      anon_sym_SQUOTE,
    STATE(521), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10206] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1250), 1,
      ts_builtin_sym_end,
    STATE(522), 1,
      sym_comment,
    STATE(532), 1,
      aux_sym_query_repeat1,
    STATE(639), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10229] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(447), 1,
      sym_project_type,
    STATE(454), 1,
      sym_identifier,
    STATE(523), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10250] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1254), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1252), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(524), 2,
      sym_comment,
      aux_sym_sql_portion_repeat1,
  [10269] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(454), 1,
      sym_identifier,
    STATE(458), 1,
      sym_project_type,
    STATE(525), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10290] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1259), 1,
      anon_sym_SEMI,
    STATE(524), 1,
      aux_sym_sql_portion_repeat1,
    STATE(526), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1257), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [10311] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    STATE(527), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(446), 2,
      sym_string,
      sym_null_literal,
  [10332] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(528), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1105), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [10349] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1261), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1264), 2,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
    STATE(529), 2,
      sym_comment,
      aux_sym_array_repeat1,
  [10368] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(682), 1,
      anon_sym_SQUOTE,
    ACTIONS(993), 1,
      aux_sym_filter_token_token2,
    STATE(530), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(451), 2,
      sym_string,
      sym_null_literal,
  [10389] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(531), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1266), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [10406] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1268), 1,
      ts_builtin_sym_end,
    ACTIONS(1270), 1,
      sym_visualise_keyword,
    STATE(639), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(532), 2,
      sym_comment,
      aux_sym_query_repeat1,
  [10427] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(533), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(673), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10448] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1273), 1,
      ts_builtin_sym_end,
    STATE(522), 1,
      aux_sym_query_repeat1,
    STATE(534), 1,
      sym_comment,
    STATE(639), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10471] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1277), 1,
      anon_sym_SEMI,
    STATE(526), 1,
      aux_sym_sql_portion_repeat1,
    STATE(535), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1275), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [10492] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(536), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1279), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [10509] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1215), 1,
      anon_sym_RPAREN,
    STATE(537), 1,
      sym_comment,
    STATE(745), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10530] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(394), 1,
      sym_identifier,
    STATE(453), 1,
      sym_partition_columns,
    STATE(538), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10551] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1281), 1,
      anon_sym_SQUOTE,
    STATE(539), 1,
      sym_comment,
    STATE(540), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10572] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1283), 1,
      anon_sym_SQUOTE,
    STATE(540), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10593] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(411), 1,
      sym_cte_definition,
    STATE(541), 1,
      sym_comment,
    STATE(654), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10614] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1285), 1,
      anon_sym_SQUOTE,
    STATE(521), 1,
      aux_sym_string_repeat1,
    STATE(542), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10635] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(492), 1,
      sym_identifier,
    STATE(543), 1,
      sym_comment,
    STATE(555), 1,
      sym_order_item,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(648), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10656] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(490), 1,
      sym_cte_definition,
    STATE(544), 1,
      sym_comment,
    STATE(654), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10677] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1205), 1,
      anon_sym_RPAREN,
    STATE(545), 1,
      sym_comment,
    STATE(662), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10698] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1287), 1,
      anon_sym_RPAREN,
    STATE(546), 1,
      sym_comment,
    STATE(699), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10719] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(547), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1061), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [10736] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1289), 1,
      anon_sym_SQUOTE,
    STATE(548), 1,
      sym_comment,
    STATE(549), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10757] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1291), 1,
      anon_sym_SQUOTE,
    STATE(549), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10778] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1232), 1,
      aux_sym_non_from_sql_keyword_token45,
    STATE(550), 1,
      sym_comment,
    STATE(722), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1230), 2,
      aux_sym_non_from_sql_keyword_token42,
      sym_number,
  [10799] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1209), 1,
      anon_sym_RPAREN,
    STATE(551), 1,
      sym_comment,
    STATE(742), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10820] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1293), 1,
      anon_sym_RPAREN,
    STATE(552), 1,
      sym_comment,
    STATE(709), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10841] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1295), 1,
      anon_sym_SQUOTE,
    STATE(553), 1,
      sym_comment,
    STATE(554), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10862] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1297), 1,
      anon_sym_SQUOTE,
    STATE(554), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10883] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(555), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1222), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10900] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1211), 1,
      anon_sym_RPAREN,
    STATE(556), 1,
      sym_comment,
    STATE(666), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10921] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1299), 1,
      anon_sym_RPAREN,
    STATE(557), 1,
      sym_comment,
    STATE(667), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [10942] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1301), 1,
      anon_sym_SQUOTE,
    STATE(558), 1,
      sym_comment,
    STATE(559), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10963] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1303), 1,
      anon_sym_SQUOTE,
    STATE(559), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10984] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1305), 1,
      anon_sym_RPAREN,
    STATE(560), 1,
      sym_comment,
    STATE(729), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [11005] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1307), 1,
      anon_sym_RPAREN,
    STATE(561), 1,
      sym_comment,
    STATE(687), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [11026] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1309), 1,
      anon_sym_SQUOTE,
    STATE(562), 1,
      sym_comment,
    STATE(563), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11047] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1311), 1,
      anon_sym_SQUOTE,
    STATE(563), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11068] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1313), 1,
      anon_sym_SQUOTE,
    STATE(564), 1,
      sym_comment,
    STATE(565), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11089] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1315), 1,
      anon_sym_SQUOTE,
    STATE(565), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11110] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1317), 1,
      anon_sym_SQUOTE,
    STATE(566), 1,
      sym_comment,
    STATE(567), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11131] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1319), 1,
      anon_sym_SQUOTE,
    STATE(567), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11152] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1321), 1,
      anon_sym_SQUOTE,
    STATE(568), 1,
      sym_comment,
    STATE(569), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11173] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1323), 1,
      anon_sym_SQUOTE,
    STATE(569), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11194] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1325), 1,
      anon_sym_SQUOTE,
    STATE(570), 1,
      sym_comment,
    STATE(571), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11215] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1327), 1,
      anon_sym_SQUOTE,
    STATE(571), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11236] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1329), 1,
      anon_sym_SQUOTE,
    STATE(572), 1,
      sym_comment,
    STATE(573), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11257] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1331), 1,
      anon_sym_SQUOTE,
    STATE(573), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11278] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1333), 1,
      anon_sym_SQUOTE,
    STATE(574), 1,
      sym_comment,
    STATE(575), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11299] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1335), 1,
      anon_sym_SQUOTE,
    STATE(575), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11320] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1337), 1,
      anon_sym_SQUOTE,
    STATE(576), 1,
      sym_comment,
    STATE(577), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11341] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1339), 1,
      anon_sym_SQUOTE,
    STATE(577), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11362] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1341), 1,
      anon_sym_SQUOTE,
    STATE(578), 1,
      sym_comment,
    STATE(579), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11383] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1343), 1,
      anon_sym_SQUOTE,
    STATE(579), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11404] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1345), 1,
      anon_sym_SQUOTE,
    STATE(580), 1,
      sym_comment,
    STATE(581), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11425] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1347), 1,
      anon_sym_SQUOTE,
    STATE(581), 1,
      sym_comment,
    STATE(593), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1248), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [11446] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(376), 1,
      sym_identifier,
    STATE(397), 1,
      sym_facet_vars,
    STATE(582), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11467] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(583), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1349), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [11484] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(584), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(738), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11505] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(585), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1351), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [11522] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1353), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(857), 2,
      anon_sym_RPAREN,
      aux_sym_scale_to_clause_token1,
    STATE(586), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
  [11541] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1273), 1,
      ts_builtin_sym_end,
    STATE(532), 1,
      aux_sym_query_repeat1,
    STATE(587), 1,
      sym_comment,
    STATE(639), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11564] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(588), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(695), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11585] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(589), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(735), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11606] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(376), 1,
      sym_identifier,
    STATE(402), 1,
      sym_facet_vars,
    STATE(590), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11627] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(591), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(678), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11648] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(592), 1,
      sym_comment,
    STATE(657), 1,
      sym_identifier,
    STATE(691), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11669] = 5,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1356), 1,
      anon_sym_SQUOTE,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1358), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
    STATE(593), 2,
      sym_comment,
      aux_sym_string_repeat1,
  [11688] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(492), 1,
      sym_identifier,
    STATE(514), 1,
      sym_order_item,
    STATE(594), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(648), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11709] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1232), 1,
      aux_sym_non_from_sql_keyword_token45,
    STATE(595), 1,
      sym_comment,
    STATE(681), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1230), 2,
      aux_sym_non_from_sql_keyword_token42,
      sym_number,
  [11730] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1213), 1,
      anon_sym_RPAREN,
    STATE(596), 1,
      sym_comment,
    STATE(686), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1146), 2,
      aux_sym_non_from_sql_keyword_token40,
      aux_sym_non_from_sql_keyword_token41,
  [11751] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1361), 1,
      anon_sym_COMMA,
    ACTIONS(1364), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(597), 2,
      sym_comment,
      aux_sym_function_args_repeat1,
  [11769] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(54), 1,
      sym_identifier,
    STATE(598), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11787] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(455), 1,
      sym_identifier,
    STATE(599), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11805] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(456), 1,
      sym_identifier,
    STATE(600), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11823] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(43), 1,
      sym_identifier,
    STATE(601), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1366), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11841] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(602), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1264), 3,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
  [11857] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1368), 1,
      anon_sym_COMMA,
    ACTIONS(1370), 1,
      anon_sym_RPAREN,
    STATE(603), 1,
      sym_comment,
    STATE(626), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11877] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(96), 1,
      sym_identifier,
    STATE(604), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1372), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11895] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(112), 1,
      sym_identifier,
    STATE(605), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(137), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11913] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(113), 1,
      sym_identifier,
    STATE(606), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(137), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11931] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_identifier,
    STATE(607), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(785), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [11949] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(608), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1374), 3,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
  [11965] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1376), 1,
      anon_sym_COMMA,
    ACTIONS(1378), 1,
      anon_sym_RPAREN,
    STATE(609), 1,
      sym_comment,
    STATE(616), 1,
      aux_sym_array_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11985] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(177), 1,
      sym_identifier,
    STATE(610), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(234), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12003] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(179), 1,
      sym_identifier,
    STATE(611), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(234), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12021] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(248), 1,
      sym_identifier,
    STATE(612), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(745), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12039] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(987), 1,
      anon_sym_LPAREN,
    ACTIONS(991), 1,
      anon_sym_LBRACK,
    STATE(380), 1,
      sym_array,
    STATE(613), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12059] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1376), 1,
      anon_sym_COMMA,
    ACTIONS(1378), 1,
      anon_sym_RBRACK,
    STATE(614), 1,
      sym_comment,
    STATE(617), 1,
      aux_sym_array_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12079] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(615), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1380), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [12095] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1376), 1,
      anon_sym_COMMA,
    ACTIONS(1382), 1,
      anon_sym_RPAREN,
    STATE(529), 1,
      aux_sym_array_repeat1,
    STATE(616), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12115] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1376), 1,
      anon_sym_COMMA,
    ACTIONS(1382), 1,
      anon_sym_RBRACK,
    STATE(529), 1,
      aux_sym_array_repeat1,
    STATE(617), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12135] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(398), 1,
      sym_identifier,
    STATE(618), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12153] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(307), 1,
      sym_identifier,
    STATE(619), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12171] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(150), 1,
      sym_identifier,
    STATE(620), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1384), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12189] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(248), 1,
      sym_identifier,
    STATE(621), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12207] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(622), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1386), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [12223] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(145), 1,
      sym_identifier,
    STATE(623), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(211), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12241] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1388), 1,
      anon_sym_COMMA,
    ACTIONS(1390), 1,
      anon_sym_RPAREN,
    STATE(597), 1,
      aux_sym_function_args_repeat1,
    STATE(624), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12261] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1368), 1,
      anon_sym_COMMA,
    ACTIONS(1392), 1,
      aux_sym_scale_to_clause_token1,
    STATE(586), 1,
      aux_sym_cte_definition_repeat1,
    STATE(625), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12281] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1368), 1,
      anon_sym_COMMA,
    ACTIONS(1394), 1,
      anon_sym_RPAREN,
    STATE(586), 1,
      aux_sym_cte_definition_repeat1,
    STATE(626), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12301] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(146), 1,
      sym_identifier,
    STATE(627), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(211), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12319] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(603), 1,
      sym_identifier,
    STATE(628), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12337] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1368), 1,
      anon_sym_COMMA,
    ACTIONS(1396), 1,
      aux_sym_scale_to_clause_token1,
    STATE(625), 1,
      aux_sym_cte_definition_repeat1,
    STATE(629), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12357] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1388), 1,
      anon_sym_COMMA,
    ACTIONS(1398), 1,
      anon_sym_RPAREN,
    STATE(624), 1,
      aux_sym_function_args_repeat1,
    STATE(630), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12377] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    STATE(631), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1400), 3,
      anon_sym_SQUOTE,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [12393] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(48), 1,
      sym_identifier,
    STATE(632), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(57), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12411] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(307), 1,
      sym_identifier,
    STATE(633), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12429] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(499), 1,
      sym_identifier,
    STATE(634), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(654), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12447] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(635), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1252), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [12463] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(88), 1,
      sym_identifier,
    STATE(636), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1402), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [12481] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(637), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1404), 2,
      anon_sym_RPAREN,
      aux_sym_non_from_sql_keyword_token12,
  [12496] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1406), 1,
      anon_sym_LPAREN,
    STATE(102), 1,
      sym_window_specification,
    STATE(638), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12513] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(639), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1408), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [12528] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1406), 1,
      anon_sym_LPAREN,
    STATE(104), 1,
      sym_window_specification,
    STATE(640), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12545] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1410), 1,
      anon_sym_LPAREN,
    STATE(193), 1,
      sym_window_specification,
    STATE(641), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12562] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1412), 1,
      anon_sym_LPAREN,
    STATE(117), 1,
      sym_window_specification,
    STATE(642), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12579] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1412), 1,
      anon_sym_LPAREN,
    STATE(121), 1,
      sym_window_specification,
    STATE(643), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12596] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(644), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1414), 2,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
  [12611] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(645), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1364), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [12626] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1412), 1,
      anon_sym_LPAREN,
    STATE(123), 1,
      sym_window_specification,
    STATE(646), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12643] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1410), 1,
      anon_sym_LPAREN,
    STATE(197), 1,
      sym_window_specification,
    STATE(647), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12660] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1416), 1,
      anon_sym_LPAREN,
    STATE(75), 1,
      sym_window_specification,
    STATE(648), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12677] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1418), 1,
      anon_sym_LPAREN,
    STATE(164), 1,
      sym_window_specification,
    STATE(649), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12694] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1418), 1,
      anon_sym_LPAREN,
    STATE(167), 1,
      sym_window_specification,
    STATE(650), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12711] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1410), 1,
      anon_sym_LPAREN,
    STATE(199), 1,
      sym_window_specification,
    STATE(651), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12728] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1418), 1,
      anon_sym_LPAREN,
    STATE(169), 1,
      sym_window_specification,
    STATE(652), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12745] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1416), 1,
      anon_sym_LPAREN,
    STATE(71), 1,
      sym_window_specification,
    STATE(653), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12762] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1420), 1,
      anon_sym_LPAREN,
    ACTIONS(1422), 1,
      aux_sym_cte_definition_token1,
    STATE(654), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12779] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(655), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1424), 2,
      aux_sym_non_from_sql_keyword_token48,
      aux_sym_non_from_sql_keyword_token49,
  [12794] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1416), 1,
      anon_sym_LPAREN,
    STATE(78), 1,
      sym_window_specification,
    STATE(656), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12811] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1426), 1,
      anon_sym_LPAREN,
    ACTIONS(1428), 1,
      anon_sym_RPAREN,
    STATE(657), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12828] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1430), 1,
      anon_sym_COMMA,
    ACTIONS(1432), 1,
      anon_sym_RPAREN,
    STATE(658), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12845] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(659), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(876), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [12860] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(660), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1434), 2,
      aux_sym_non_from_sql_keyword_token43,
      aux_sym_non_from_sql_keyword_token44,
  [12875] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1406), 1,
      anon_sym_LPAREN,
    STATE(98), 1,
      sym_window_specification,
    STATE(661), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12892] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1287), 1,
      anon_sym_RPAREN,
    STATE(662), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12906] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1211), 1,
      anon_sym_RPAREN,
    STATE(663), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12920] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1436), 1,
      anon_sym_EQ_GT,
    STATE(664), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12934] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1438), 1,
      anon_sym_SLASH,
    STATE(665), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12948] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1299), 1,
      anon_sym_RPAREN,
    STATE(666), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12962] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1440), 1,
      anon_sym_RPAREN,
    STATE(667), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12976] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1442), 1,
      aux_sym_comment_token2,
    STATE(668), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12990] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1444), 1,
      anon_sym_RPAREN,
    STATE(669), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13004] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1446), 1,
      anon_sym_RPAREN,
    STATE(670), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13018] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1448), 1,
      ts_builtin_sym_end,
    STATE(671), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13032] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1450), 1,
      anon_sym_RPAREN,
    STATE(672), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13046] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1452), 1,
      anon_sym_RPAREN,
    STATE(673), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13060] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1454), 1,
      anon_sym_RPAREN,
    STATE(674), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13074] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(789), 1,
      anon_sym_RPAREN,
    STATE(675), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13088] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1456), 1,
      anon_sym_EQ_GT,
    STATE(676), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13102] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1458), 1,
      anon_sym_RPAREN,
    STATE(677), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13116] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1460), 1,
      anon_sym_RPAREN,
    STATE(678), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13130] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1205), 1,
      anon_sym_RPAREN,
    STATE(679), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13144] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1462), 1,
      aux_sym_cte_definition_token1,
    STATE(680), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13158] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1464), 1,
      aux_sym_non_from_sql_keyword_token12,
    STATE(681), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13172] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1466), 1,
      anon_sym_RPAREN,
    STATE(682), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13186] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1213), 1,
      anon_sym_RPAREN,
    STATE(683), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13200] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1209), 1,
      anon_sym_RPAREN,
    STATE(684), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13214] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(779), 1,
      anon_sym_RPAREN,
    STATE(685), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13228] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1307), 1,
      anon_sym_RPAREN,
    STATE(686), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13242] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1468), 1,
      anon_sym_RPAREN,
    STATE(687), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13256] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1470), 1,
      aux_sym_comment_token1,
    STATE(688), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13270] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1472), 1,
      anon_sym_RPAREN,
    STATE(689), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13284] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1474), 1,
      anon_sym_RPAREN,
    STATE(690), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13298] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1476), 1,
      anon_sym_RPAREN,
    STATE(691), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13312] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1478), 1,
      anon_sym_LPAREN,
    STATE(692), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13326] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1480), 1,
      anon_sym_RPAREN,
    STATE(693), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13340] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1482), 1,
      anon_sym_LPAREN,
    STATE(694), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13354] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1484), 1,
      anon_sym_RPAREN,
    STATE(695), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13368] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1486), 1,
      anon_sym_EQ_GT,
    STATE(696), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13382] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1488), 1,
      anon_sym_RPAREN,
    STATE(697), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13396] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1490), 1,
      anon_sym_EQ_GT,
    STATE(698), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13410] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1492), 1,
      anon_sym_RPAREN,
    STATE(699), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13424] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1494), 1,
      anon_sym_RPAREN,
    STATE(700), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13438] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1496), 1,
      anon_sym_RPAREN,
    STATE(701), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13452] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1498), 1,
      aux_sym_cte_definition_token1,
    STATE(702), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13466] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1500), 1,
      anon_sym_RPAREN,
    STATE(703), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13480] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1502), 1,
      anon_sym_RPAREN,
    STATE(704), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13494] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1504), 1,
      sym_number,
    STATE(705), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13508] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1506), 1,
      anon_sym_RPAREN,
    STATE(706), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13522] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1508), 1,
      anon_sym_EQ_GT,
    STATE(707), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13536] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1510), 1,
      anon_sym_RPAREN,
    STATE(708), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13550] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1512), 1,
      anon_sym_RPAREN,
    STATE(709), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13564] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1514), 1,
      anon_sym_RPAREN,
    STATE(710), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13578] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1516), 1,
      anon_sym_RPAREN,
    STATE(711), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13592] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1518), 1,
      anon_sym_RPAREN,
    STATE(712), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13606] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1520), 1,
      aux_sym_non_from_sql_keyword_token21,
    STATE(713), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13620] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1522), 1,
      aux_sym_scale_to_clause_token1,
    STATE(714), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13634] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1524), 1,
      aux_sym_non_from_sql_keyword_token21,
    STATE(715), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13648] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1526), 1,
      aux_sym_cte_definition_token1,
    STATE(716), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13662] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(775), 1,
      anon_sym_RPAREN,
    STATE(717), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13676] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1215), 1,
      anon_sym_RPAREN,
    STATE(718), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13690] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(787), 1,
      anon_sym_RPAREN,
    STATE(719), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13704] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1528), 1,
      anon_sym_RPAREN,
    STATE(720), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13718] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1530), 1,
      aux_sym_cte_definition_token1,
    STATE(721), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13732] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1532), 1,
      anon_sym_RPAREN,
    STATE(722), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13746] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1534), 1,
      anon_sym_LPAREN,
    STATE(723), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13760] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1536), 1,
      anon_sym_RPAREN,
    STATE(724), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13774] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1538), 1,
      anon_sym_LPAREN,
    STATE(725), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13788] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1540), 1,
      anon_sym_RPAREN,
    STATE(726), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13802] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1542), 1,
      anon_sym_EQ_GT,
    STATE(727), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13816] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1544), 1,
      sym_number,
    STATE(728), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13830] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1546), 1,
      anon_sym_RPAREN,
    STATE(729), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13844] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1548), 1,
      aux_sym_non_from_sql_keyword_token21,
    STATE(730), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13858] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1550), 1,
      anon_sym_RPAREN,
    STATE(731), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13872] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(777), 1,
      anon_sym_RPAREN,
    STATE(732), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13886] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(781), 1,
      anon_sym_RPAREN,
    STATE(733), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13900] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1552), 1,
      aux_sym_cte_definition_token1,
    STATE(734), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13914] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1554), 1,
      anon_sym_RPAREN,
    STATE(735), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13928] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1556), 1,
      anon_sym_RPAREN,
    STATE(736), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13942] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1558), 1,
      aux_sym_cte_definition_token1,
    STATE(737), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13956] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1560), 1,
      anon_sym_RPAREN,
    STATE(738), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13970] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1562), 1,
      anon_sym_EQ_GT,
    STATE(739), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13984] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1434), 1,
      aux_sym_non_from_sql_keyword_token46,
    STATE(740), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [13998] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1564), 1,
      anon_sym_RPAREN,
    STATE(741), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14012] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1293), 1,
      anon_sym_RPAREN,
    STATE(742), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14026] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1566), 1,
      anon_sym_RPAREN,
    STATE(743), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14040] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1568), 1,
      aux_sym_non_from_sql_keyword_token21,
    STATE(744), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14054] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1305), 1,
      anon_sym_RPAREN,
    STATE(745), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14068] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1570), 1,
      aux_sym_cte_definition_token1,
    STATE(746), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14082] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1572), 1,
      anon_sym_LPAREN,
    STATE(747), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14096] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1574), 1,
      anon_sym_LPAREN,
    STATE(748), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14110] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1576), 1,
      anon_sym_LPAREN,
    STATE(749), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14124] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1578), 1,
      anon_sym_LPAREN,
    STATE(750), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14138] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1580), 1,
      anon_sym_LPAREN,
    STATE(751), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14152] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1582), 1,
      anon_sym_RPAREN,
    STATE(752), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [14166] = 1,
    ACTIONS(1584), 1,
      ts_builtin_sym_end,
  [14170] = 1,
    ACTIONS(1586), 1,
      ts_builtin_sym_end,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(230)] = 0,
  [SMALL_STATE(231)] = 82,
  [SMALL_STATE(232)] = 166,
  [SMALL_STATE(233)] = 237,
  [SMALL_STATE(234)] = 308,
  [SMALL_STATE(235)] = 379,
  [SMALL_STATE(236)] = 450,
  [SMALL_STATE(237)] = 529,
  [SMALL_STATE(238)] = 604,
  [SMALL_STATE(239)] = 673,
  [SMALL_STATE(240)] = 742,
  [SMALL_STATE(241)] = 811,
  [SMALL_STATE(242)] = 880,
  [SMALL_STATE(243)] = 941,
  [SMALL_STATE(244)] = 996,
  [SMALL_STATE(245)] = 1100,
  [SMALL_STATE(246)] = 1147,
  [SMALL_STATE(247)] = 1193,
  [SMALL_STATE(248)] = 1239,
  [SMALL_STATE(249)] = 1283,
  [SMALL_STATE(250)] = 1331,
  [SMALL_STATE(251)] = 1377,
  [SMALL_STATE(252)] = 1421,
  [SMALL_STATE(253)] = 1464,
  [SMALL_STATE(254)] = 1501,
  [SMALL_STATE(255)] = 1553,
  [SMALL_STATE(256)] = 1603,
  [SMALL_STATE(257)] = 1666,
  [SMALL_STATE(258)] = 1729,
  [SMALL_STATE(259)] = 1792,
  [SMALL_STATE(260)] = 1855,
  [SMALL_STATE(261)] = 1918,
  [SMALL_STATE(262)] = 1981,
  [SMALL_STATE(263)] = 2043,
  [SMALL_STATE(264)] = 2087,
  [SMALL_STATE(265)] = 2122,
  [SMALL_STATE(266)] = 2157,
  [SMALL_STATE(267)] = 2192,
  [SMALL_STATE(268)] = 2249,
  [SMALL_STATE(269)] = 2284,
  [SMALL_STATE(270)] = 2319,
  [SMALL_STATE(271)] = 2378,
  [SMALL_STATE(272)] = 2434,
  [SMALL_STATE(273)] = 2490,
  [SMALL_STATE(274)] = 2546,
  [SMALL_STATE(275)] = 2602,
  [SMALL_STATE(276)] = 2658,
  [SMALL_STATE(277)] = 2712,
  [SMALL_STATE(278)] = 2768,
  [SMALL_STATE(279)] = 2824,
  [SMALL_STATE(280)] = 2880,
  [SMALL_STATE(281)] = 2936,
  [SMALL_STATE(282)] = 2976,
  [SMALL_STATE(283)] = 3015,
  [SMALL_STATE(284)] = 3066,
  [SMALL_STATE(285)] = 3119,
  [SMALL_STATE(286)] = 3170,
  [SMALL_STATE(287)] = 3201,
  [SMALL_STATE(288)] = 3252,
  [SMALL_STATE(289)] = 3284,
  [SMALL_STATE(290)] = 3334,
  [SMALL_STATE(291)] = 3366,
  [SMALL_STATE(292)] = 3402,
  [SMALL_STATE(293)] = 3434,
  [SMALL_STATE(294)] = 3466,
  [SMALL_STATE(295)] = 3500,
  [SMALL_STATE(296)] = 3532,
  [SMALL_STATE(297)] = 3564,
  [SMALL_STATE(298)] = 3596,
  [SMALL_STATE(299)] = 3626,
  [SMALL_STATE(300)] = 3658,
  [SMALL_STATE(301)] = 3689,
  [SMALL_STATE(302)] = 3736,
  [SMALL_STATE(303)] = 3767,
  [SMALL_STATE(304)] = 3810,
  [SMALL_STATE(305)] = 3855,
  [SMALL_STATE(306)] = 3902,
  [SMALL_STATE(307)] = 3947,
  [SMALL_STATE(308)] = 3976,
  [SMALL_STATE(309)] = 4023,
  [SMALL_STATE(310)] = 4054,
  [SMALL_STATE(311)] = 4083,
  [SMALL_STATE(312)] = 4112,
  [SMALL_STATE(313)] = 4157,
  [SMALL_STATE(314)] = 4190,
  [SMALL_STATE(315)] = 4219,
  [SMALL_STATE(316)] = 4248,
  [SMALL_STATE(317)] = 4295,
  [SMALL_STATE(318)] = 4328,
  [SMALL_STATE(319)] = 4373,
  [SMALL_STATE(320)] = 4406,
  [SMALL_STATE(321)] = 4451,
  [SMALL_STATE(322)] = 4484,
  [SMALL_STATE(323)] = 4531,
  [SMALL_STATE(324)] = 4559,
  [SMALL_STATE(325)] = 4603,
  [SMALL_STATE(326)] = 4635,
  [SMALL_STATE(327)] = 4679,
  [SMALL_STATE(328)] = 4711,
  [SMALL_STATE(329)] = 4741,
  [SMALL_STATE(330)] = 4771,
  [SMALL_STATE(331)] = 4799,
  [SMALL_STATE(332)] = 4831,
  [SMALL_STATE(333)] = 4863,
  [SMALL_STATE(334)] = 4907,
  [SMALL_STATE(335)] = 4935,
  [SMALL_STATE(336)] = 4979,
  [SMALL_STATE(337)] = 5007,
  [SMALL_STATE(338)] = 5039,
  [SMALL_STATE(339)] = 5071,
  [SMALL_STATE(340)] = 5103,
  [SMALL_STATE(341)] = 5135,
  [SMALL_STATE(342)] = 5167,
  [SMALL_STATE(343)] = 5211,
  [SMALL_STATE(344)] = 5255,
  [SMALL_STATE(345)] = 5299,
  [SMALL_STATE(346)] = 5343,
  [SMALL_STATE(347)] = 5387,
  [SMALL_STATE(348)] = 5420,
  [SMALL_STATE(349)] = 5459,
  [SMALL_STATE(350)] = 5498,
  [SMALL_STATE(351)] = 5537,
  [SMALL_STATE(352)] = 5566,
  [SMALL_STATE(353)] = 5593,
  [SMALL_STATE(354)] = 5620,
  [SMALL_STATE(355)] = 5647,
  [SMALL_STATE(356)] = 5678,
  [SMALL_STATE(357)] = 5705,
  [SMALL_STATE(358)] = 5744,
  [SMALL_STATE(359)] = 5775,
  [SMALL_STATE(360)] = 5814,
  [SMALL_STATE(361)] = 5853,
  [SMALL_STATE(362)] = 5882,
  [SMALL_STATE(363)] = 5913,
  [SMALL_STATE(364)] = 5940,
  [SMALL_STATE(365)] = 5969,
  [SMALL_STATE(366)] = 6000,
  [SMALL_STATE(367)] = 6036,
  [SMALL_STATE(368)] = 6072,
  [SMALL_STATE(369)] = 6110,
  [SMALL_STATE(370)] = 6136,
  [SMALL_STATE(371)] = 6164,
  [SMALL_STATE(372)] = 6192,
  [SMALL_STATE(373)] = 6218,
  [SMALL_STATE(374)] = 6244,
  [SMALL_STATE(375)] = 6270,
  [SMALL_STATE(376)] = 6296,
  [SMALL_STATE(377)] = 6325,
  [SMALL_STATE(378)] = 6358,
  [SMALL_STATE(379)] = 6391,
  [SMALL_STATE(380)] = 6424,
  [SMALL_STATE(381)] = 6449,
  [SMALL_STATE(382)] = 6476,
  [SMALL_STATE(383)] = 6509,
  [SMALL_STATE(384)] = 6542,
  [SMALL_STATE(385)] = 6575,
  [SMALL_STATE(386)] = 6600,
  [SMALL_STATE(387)] = 6629,
  [SMALL_STATE(388)] = 6662,
  [SMALL_STATE(389)] = 6701,
  [SMALL_STATE(390)] = 6740,
  [SMALL_STATE(391)] = 6773,
  [SMALL_STATE(392)] = 6797,
  [SMALL_STATE(393)] = 6825,
  [SMALL_STATE(394)] = 6853,
  [SMALL_STATE(395)] = 6881,
  [SMALL_STATE(396)] = 6907,
  [SMALL_STATE(397)] = 6935,
  [SMALL_STATE(398)] = 6965,
  [SMALL_STATE(399)] = 6988,
  [SMALL_STATE(400)] = 7015,
  [SMALL_STATE(401)] = 7042,
  [SMALL_STATE(402)] = 7069,
  [SMALL_STATE(403)] = 7096,
  [SMALL_STATE(404)] = 7133,
  [SMALL_STATE(405)] = 7158,
  [SMALL_STATE(406)] = 7185,
  [SMALL_STATE(407)] = 7222,
  [SMALL_STATE(408)] = 7259,
  [SMALL_STATE(409)] = 7286,
  [SMALL_STATE(410)] = 7309,
  [SMALL_STATE(411)] = 7336,
  [SMALL_STATE(412)] = 7371,
  [SMALL_STATE(413)] = 7408,
  [SMALL_STATE(414)] = 7435,
  [SMALL_STATE(415)] = 7462,
  [SMALL_STATE(416)] = 7489,
  [SMALL_STATE(417)] = 7516,
  [SMALL_STATE(418)] = 7543,
  [SMALL_STATE(419)] = 7568,
  [SMALL_STATE(420)] = 7595,
  [SMALL_STATE(421)] = 7620,
  [SMALL_STATE(422)] = 7647,
  [SMALL_STATE(423)] = 7682,
  [SMALL_STATE(424)] = 7705,
  [SMALL_STATE(425)] = 7742,
  [SMALL_STATE(426)] = 7779,
  [SMALL_STATE(427)] = 7816,
  [SMALL_STATE(428)] = 7851,
  [SMALL_STATE(429)] = 7878,
  [SMALL_STATE(430)] = 7913,
  [SMALL_STATE(431)] = 7950,
  [SMALL_STATE(432)] = 7977,
  [SMALL_STATE(433)] = 8012,
  [SMALL_STATE(434)] = 8049,
  [SMALL_STATE(435)] = 8086,
  [SMALL_STATE(436)] = 8121,
  [SMALL_STATE(437)] = 8146,
  [SMALL_STATE(438)] = 8173,
  [SMALL_STATE(439)] = 8200,
  [SMALL_STATE(440)] = 8227,
  [SMALL_STATE(441)] = 8254,
  [SMALL_STATE(442)] = 8276,
  [SMALL_STATE(443)] = 8298,
  [SMALL_STATE(444)] = 8322,
  [SMALL_STATE(445)] = 8344,
  [SMALL_STATE(446)] = 8366,
  [SMALL_STATE(447)] = 8388,
  [SMALL_STATE(448)] = 8412,
  [SMALL_STATE(449)] = 8434,
  [SMALL_STATE(450)] = 8466,
  [SMALL_STATE(451)] = 8488,
  [SMALL_STATE(452)] = 8510,
  [SMALL_STATE(453)] = 8532,
  [SMALL_STATE(454)] = 8554,
  [SMALL_STATE(455)] = 8576,
  [SMALL_STATE(456)] = 8598,
  [SMALL_STATE(457)] = 8620,
  [SMALL_STATE(458)] = 8642,
  [SMALL_STATE(459)] = 8666,
  [SMALL_STATE(460)] = 8699,
  [SMALL_STATE(461)] = 8720,
  [SMALL_STATE(462)] = 8741,
  [SMALL_STATE(463)] = 8762,
  [SMALL_STATE(464)] = 8795,
  [SMALL_STATE(465)] = 8816,
  [SMALL_STATE(466)] = 8849,
  [SMALL_STATE(467)] = 8882,
  [SMALL_STATE(468)] = 8903,
  [SMALL_STATE(469)] = 8924,
  [SMALL_STATE(470)] = 8945,
  [SMALL_STATE(471)] = 8978,
  [SMALL_STATE(472)] = 8999,
  [SMALL_STATE(473)] = 9022,
  [SMALL_STATE(474)] = 9055,
  [SMALL_STATE(475)] = 9076,
  [SMALL_STATE(476)] = 9097,
  [SMALL_STATE(477)] = 9118,
  [SMALL_STATE(478)] = 9139,
  [SMALL_STATE(479)] = 9160,
  [SMALL_STATE(480)] = 9193,
  [SMALL_STATE(481)] = 9214,
  [SMALL_STATE(482)] = 9247,
  [SMALL_STATE(483)] = 9268,
  [SMALL_STATE(484)] = 9289,
  [SMALL_STATE(485)] = 9310,
  [SMALL_STATE(486)] = 9343,
  [SMALL_STATE(487)] = 9364,
  [SMALL_STATE(488)] = 9385,
  [SMALL_STATE(489)] = 9406,
  [SMALL_STATE(490)] = 9426,
  [SMALL_STATE(491)] = 9446,
  [SMALL_STATE(492)] = 9474,
  [SMALL_STATE(493)] = 9498,
  [SMALL_STATE(494)] = 9518,
  [SMALL_STATE(495)] = 9546,
  [SMALL_STATE(496)] = 9574,
  [SMALL_STATE(497)] = 9594,
  [SMALL_STATE(498)] = 9622,
  [SMALL_STATE(499)] = 9649,
  [SMALL_STATE(500)] = 9672,
  [SMALL_STATE(501)] = 9699,
  [SMALL_STATE(502)] = 9724,
  [SMALL_STATE(503)] = 9751,
  [SMALL_STATE(504)] = 9778,
  [SMALL_STATE(505)] = 9805,
  [SMALL_STATE(506)] = 9832,
  [SMALL_STATE(507)] = 9859,
  [SMALL_STATE(508)] = 9882,
  [SMALL_STATE(509)] = 9906,
  [SMALL_STATE(510)] = 9926,
  [SMALL_STATE(511)] = 9950,
  [SMALL_STATE(512)] = 9976,
  [SMALL_STATE(513)] = 10002,
  [SMALL_STATE(514)] = 10026,
  [SMALL_STATE(515)] = 10048,
  [SMALL_STATE(516)] = 10074,
  [SMALL_STATE(517)] = 10096,
  [SMALL_STATE(518)] = 10116,
  [SMALL_STATE(519)] = 10140,
  [SMALL_STATE(520)] = 10164,
  [SMALL_STATE(521)] = 10185,
  [SMALL_STATE(522)] = 10206,
  [SMALL_STATE(523)] = 10229,
  [SMALL_STATE(524)] = 10250,
  [SMALL_STATE(525)] = 10269,
  [SMALL_STATE(526)] = 10290,
  [SMALL_STATE(527)] = 10311,
  [SMALL_STATE(528)] = 10332,
  [SMALL_STATE(529)] = 10349,
  [SMALL_STATE(530)] = 10368,
  [SMALL_STATE(531)] = 10389,
  [SMALL_STATE(532)] = 10406,
  [SMALL_STATE(533)] = 10427,
  [SMALL_STATE(534)] = 10448,
  [SMALL_STATE(535)] = 10471,
  [SMALL_STATE(536)] = 10492,
  [SMALL_STATE(537)] = 10509,
  [SMALL_STATE(538)] = 10530,
  [SMALL_STATE(539)] = 10551,
  [SMALL_STATE(540)] = 10572,
  [SMALL_STATE(541)] = 10593,
  [SMALL_STATE(542)] = 10614,
  [SMALL_STATE(543)] = 10635,
  [SMALL_STATE(544)] = 10656,
  [SMALL_STATE(545)] = 10677,
  [SMALL_STATE(546)] = 10698,
  [SMALL_STATE(547)] = 10719,
  [SMALL_STATE(548)] = 10736,
  [SMALL_STATE(549)] = 10757,
  [SMALL_STATE(550)] = 10778,
  [SMALL_STATE(551)] = 10799,
  [SMALL_STATE(552)] = 10820,
  [SMALL_STATE(553)] = 10841,
  [SMALL_STATE(554)] = 10862,
  [SMALL_STATE(555)] = 10883,
  [SMALL_STATE(556)] = 10900,
  [SMALL_STATE(557)] = 10921,
  [SMALL_STATE(558)] = 10942,
  [SMALL_STATE(559)] = 10963,
  [SMALL_STATE(560)] = 10984,
  [SMALL_STATE(561)] = 11005,
  [SMALL_STATE(562)] = 11026,
  [SMALL_STATE(563)] = 11047,
  [SMALL_STATE(564)] = 11068,
  [SMALL_STATE(565)] = 11089,
  [SMALL_STATE(566)] = 11110,
  [SMALL_STATE(567)] = 11131,
  [SMALL_STATE(568)] = 11152,
  [SMALL_STATE(569)] = 11173,
  [SMALL_STATE(570)] = 11194,
  [SMALL_STATE(571)] = 11215,
  [SMALL_STATE(572)] = 11236,
  [SMALL_STATE(573)] = 11257,
  [SMALL_STATE(574)] = 11278,
  [SMALL_STATE(575)] = 11299,
  [SMALL_STATE(576)] = 11320,
  [SMALL_STATE(577)] = 11341,
  [SMALL_STATE(578)] = 11362,
  [SMALL_STATE(579)] = 11383,
  [SMALL_STATE(580)] = 11404,
  [SMALL_STATE(581)] = 11425,
  [SMALL_STATE(582)] = 11446,
  [SMALL_STATE(583)] = 11467,
  [SMALL_STATE(584)] = 11484,
  [SMALL_STATE(585)] = 11505,
  [SMALL_STATE(586)] = 11522,
  [SMALL_STATE(587)] = 11541,
  [SMALL_STATE(588)] = 11564,
  [SMALL_STATE(589)] = 11585,
  [SMALL_STATE(590)] = 11606,
  [SMALL_STATE(591)] = 11627,
  [SMALL_STATE(592)] = 11648,
  [SMALL_STATE(593)] = 11669,
  [SMALL_STATE(594)] = 11688,
  [SMALL_STATE(595)] = 11709,
  [SMALL_STATE(596)] = 11730,
  [SMALL_STATE(597)] = 11751,
  [SMALL_STATE(598)] = 11769,
  [SMALL_STATE(599)] = 11787,
  [SMALL_STATE(600)] = 11805,
  [SMALL_STATE(601)] = 11823,
  [SMALL_STATE(602)] = 11841,
  [SMALL_STATE(603)] = 11857,
  [SMALL_STATE(604)] = 11877,
  [SMALL_STATE(605)] = 11895,
  [SMALL_STATE(606)] = 11913,
  [SMALL_STATE(607)] = 11931,
  [SMALL_STATE(608)] = 11949,
  [SMALL_STATE(609)] = 11965,
  [SMALL_STATE(610)] = 11985,
  [SMALL_STATE(611)] = 12003,
  [SMALL_STATE(612)] = 12021,
  [SMALL_STATE(613)] = 12039,
  [SMALL_STATE(614)] = 12059,
  [SMALL_STATE(615)] = 12079,
  [SMALL_STATE(616)] = 12095,
  [SMALL_STATE(617)] = 12115,
  [SMALL_STATE(618)] = 12135,
  [SMALL_STATE(619)] = 12153,
  [SMALL_STATE(620)] = 12171,
  [SMALL_STATE(621)] = 12189,
  [SMALL_STATE(622)] = 12207,
  [SMALL_STATE(623)] = 12223,
  [SMALL_STATE(624)] = 12241,
  [SMALL_STATE(625)] = 12261,
  [SMALL_STATE(626)] = 12281,
  [SMALL_STATE(627)] = 12301,
  [SMALL_STATE(628)] = 12319,
  [SMALL_STATE(629)] = 12337,
  [SMALL_STATE(630)] = 12357,
  [SMALL_STATE(631)] = 12377,
  [SMALL_STATE(632)] = 12393,
  [SMALL_STATE(633)] = 12411,
  [SMALL_STATE(634)] = 12429,
  [SMALL_STATE(635)] = 12447,
  [SMALL_STATE(636)] = 12463,
  [SMALL_STATE(637)] = 12481,
  [SMALL_STATE(638)] = 12496,
  [SMALL_STATE(639)] = 12513,
  [SMALL_STATE(640)] = 12528,
  [SMALL_STATE(641)] = 12545,
  [SMALL_STATE(642)] = 12562,
  [SMALL_STATE(643)] = 12579,
  [SMALL_STATE(644)] = 12596,
  [SMALL_STATE(645)] = 12611,
  [SMALL_STATE(646)] = 12626,
  [SMALL_STATE(647)] = 12643,
  [SMALL_STATE(648)] = 12660,
  [SMALL_STATE(649)] = 12677,
  [SMALL_STATE(650)] = 12694,
  [SMALL_STATE(651)] = 12711,
  [SMALL_STATE(652)] = 12728,
  [SMALL_STATE(653)] = 12745,
  [SMALL_STATE(654)] = 12762,
  [SMALL_STATE(655)] = 12779,
  [SMALL_STATE(656)] = 12794,
  [SMALL_STATE(657)] = 12811,
  [SMALL_STATE(658)] = 12828,
  [SMALL_STATE(659)] = 12845,
  [SMALL_STATE(660)] = 12860,
  [SMALL_STATE(661)] = 12875,
  [SMALL_STATE(662)] = 12892,
  [SMALL_STATE(663)] = 12906,
  [SMALL_STATE(664)] = 12920,
  [SMALL_STATE(665)] = 12934,
  [SMALL_STATE(666)] = 12948,
  [SMALL_STATE(667)] = 12962,
  [SMALL_STATE(668)] = 12976,
  [SMALL_STATE(669)] = 12990,
  [SMALL_STATE(670)] = 13004,
  [SMALL_STATE(671)] = 13018,
  [SMALL_STATE(672)] = 13032,
  [SMALL_STATE(673)] = 13046,
  [SMALL_STATE(674)] = 13060,
  [SMALL_STATE(675)] = 13074,
  [SMALL_STATE(676)] = 13088,
  [SMALL_STATE(677)] = 13102,
  [SMALL_STATE(678)] = 13116,
  [SMALL_STATE(679)] = 13130,
  [SMALL_STATE(680)] = 13144,
  [SMALL_STATE(681)] = 13158,
  [SMALL_STATE(682)] = 13172,
  [SMALL_STATE(683)] = 13186,
  [SMALL_STATE(684)] = 13200,
  [SMALL_STATE(685)] = 13214,
  [SMALL_STATE(686)] = 13228,
  [SMALL_STATE(687)] = 13242,
  [SMALL_STATE(688)] = 13256,
  [SMALL_STATE(689)] = 13270,
  [SMALL_STATE(690)] = 13284,
  [SMALL_STATE(691)] = 13298,
  [SMALL_STATE(692)] = 13312,
  [SMALL_STATE(693)] = 13326,
  [SMALL_STATE(694)] = 13340,
  [SMALL_STATE(695)] = 13354,
  [SMALL_STATE(696)] = 13368,
  [SMALL_STATE(697)] = 13382,
  [SMALL_STATE(698)] = 13396,
  [SMALL_STATE(699)] = 13410,
  [SMALL_STATE(700)] = 13424,
  [SMALL_STATE(701)] = 13438,
  [SMALL_STATE(702)] = 13452,
  [SMALL_STATE(703)] = 13466,
  [SMALL_STATE(704)] = 13480,
  [SMALL_STATE(705)] = 13494,
  [SMALL_STATE(706)] = 13508,
  [SMALL_STATE(707)] = 13522,
  [SMALL_STATE(708)] = 13536,
  [SMALL_STATE(709)] = 13550,
  [SMALL_STATE(710)] = 13564,
  [SMALL_STATE(711)] = 13578,
  [SMALL_STATE(712)] = 13592,
  [SMALL_STATE(713)] = 13606,
  [SMALL_STATE(714)] = 13620,
  [SMALL_STATE(715)] = 13634,
  [SMALL_STATE(716)] = 13648,
  [SMALL_STATE(717)] = 13662,
  [SMALL_STATE(718)] = 13676,
  [SMALL_STATE(719)] = 13690,
  [SMALL_STATE(720)] = 13704,
  [SMALL_STATE(721)] = 13718,
  [SMALL_STATE(722)] = 13732,
  [SMALL_STATE(723)] = 13746,
  [SMALL_STATE(724)] = 13760,
  [SMALL_STATE(725)] = 13774,
  [SMALL_STATE(726)] = 13788,
  [SMALL_STATE(727)] = 13802,
  [SMALL_STATE(728)] = 13816,
  [SMALL_STATE(729)] = 13830,
  [SMALL_STATE(730)] = 13844,
  [SMALL_STATE(731)] = 13858,
  [SMALL_STATE(732)] = 13872,
  [SMALL_STATE(733)] = 13886,
  [SMALL_STATE(734)] = 13900,
  [SMALL_STATE(735)] = 13914,
  [SMALL_STATE(736)] = 13928,
  [SMALL_STATE(737)] = 13942,
  [SMALL_STATE(738)] = 13956,
  [SMALL_STATE(739)] = 13970,
  [SMALL_STATE(740)] = 13984,
  [SMALL_STATE(741)] = 13998,
  [SMALL_STATE(742)] = 14012,
  [SMALL_STATE(743)] = 14026,
  [SMALL_STATE(744)] = 14040,
  [SMALL_STATE(745)] = 14054,
  [SMALL_STATE(746)] = 14068,
  [SMALL_STATE(747)] = 14082,
  [SMALL_STATE(748)] = 14096,
  [SMALL_STATE(749)] = 14110,
  [SMALL_STATE(750)] = 14124,
  [SMALL_STATE(751)] = 14138,
  [SMALL_STATE(752)] = 14152,
  [SMALL_STATE(753)] = 14166,
  [SMALL_STATE(754)] = 14170,
};

static const TSParseActionEntry ts_parse_actions[] = {
  [0] = {.entry = {.count = 0, .reusable = false}},
  [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
  [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(688),
  [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(668),
  [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 0, 0, 0),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228),
  [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228),
  [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
  [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(515),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187),
  [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208),
  [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189),
  [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(403),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244),
  [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(542),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(688),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(668),
  [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_body, 1, 0, 0),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
  [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
  [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(692),
  [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
  [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
  [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
  [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32),
  [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(539),
  [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0),
  [63] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(32),
  [66] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(53),
  [69] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(53),
  [72] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(19),
  [75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(692),
  [78] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(76),
  [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(68),
  [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(425),
  [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(32),
  [90] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(539),
  [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [95] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203),
  [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188),
  [99] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188),
  [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
  [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(512),
  [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
  [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(747),
  [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207),
  [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202),
  [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(548),
  [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139),
  [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107),
  [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
  [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(749),
  [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126),
  [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134),
  [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433),
  [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
  [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(570),
  [141] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(139),
  [144] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(107),
  [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(107),
  [150] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(28),
  [153] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(749),
  [156] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(126),
  [159] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [162] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(433),
  [165] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(139),
  [168] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(570),
  [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0),
  [173] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
  [176] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(115),
  [179] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(115),
  [182] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(26),
  [185] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(748),
  [188] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(131),
  [191] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(135),
  [194] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(566),
  [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_statement, 1, 0, 0),
  [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
  [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
  [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115),
  [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
  [207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(748),
  [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131),
  [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
  [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(566),
  [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_statement, 2, 0, 0),
  [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0),
  [219] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0), REDUCE(sym_sql_portion, 3, 0, 0),
  [222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175),
  [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173),
  [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(751),
  [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
  [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175),
  [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(578),
  [238] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(175),
  [241] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(173),
  [244] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(173),
  [247] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(20),
  [250] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(751),
  [253] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [256] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(175),
  [259] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(578),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0),
  [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0),
  [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(601),
  [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 1),
  [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 1),
  [276] = {.entry = {.count = 1, .reusable = false}}, SHIFT(632),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 0),
  [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 0),
  [282] = {.entry = {.count = 1, .reusable = false}}, SHIFT(598),
  [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0),
  [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, 0, 0),
  [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0),
  [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2, 0, 0),
  [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [300] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(601),
  [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2, 0, 0),
  [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2, 0, 0),
  [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(406),
  [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [313] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(406),
  [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3, 0, 0),
  [318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3, 0, 0),
  [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery, 3, 0, 0),
  [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subquery, 3, 0, 0),
  [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 4),
  [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 4),
  [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 4, 0, 0),
  [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 4, 0, 0),
  [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
  [338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(604),
  [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, 0, 0),
  [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, 0, 0),
  [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(653),
  [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 5),
  [348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 5),
  [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 5, 0, 0),
  [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 5, 0, 0),
  [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(623),
  [356] = {.entry = {.count = 1, .reusable = false}}, SHIFT(627),
  [358] = {.entry = {.count = 1, .reusable = false}}, SHIFT(605),
  [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(606),
  [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(636),
  [364] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(636),
  [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 2),
  [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 2),
  [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 3),
  [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 3),
  [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_non_from_sql_keyword, 1, 0, 0),
  [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_non_from_sql_keyword, 1, 0, 0),
  [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(604),
  [382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, 0, 0),
  [384] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, 0, 0),
  [386] = {.entry = {.count = 1, .reusable = false}}, SHIFT(648),
  [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 5, 0, 9),
  [390] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 5, 0, 9),
  [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 5, 0, 0),
  [394] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 5, 0, 0),
  [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(656),
  [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [400] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 2, 0, 0),
  [404] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 2, 0, 0),
  [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 6, 0, 9),
  [408] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 6, 0, 9),
  [410] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [412] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 3, 0, 0),
  [416] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 3, 0, 0),
  [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 7, 0, 9),
  [420] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 7, 0, 9),
  [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery_body, 1, 0, 0),
  [424] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(426),
  [427] = {.entry = {.count = 1, .reusable = true}}, SHIFT(426),
  [429] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(203),
  [432] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(188),
  [435] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(188),
  [438] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(24),
  [441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0),
  [443] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(747),
  [446] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(207),
  [449] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(202),
  [452] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(548),
  [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
  [457] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(424),
  [460] = {.entry = {.count = 1, .reusable = false}}, SHIFT(640),
  [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259),
  [464] = {.entry = {.count = 1, .reusable = false}}, SHIFT(642),
  [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_statement_repeat1, 1, 0, 0),
  [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_from_statement_repeat1, 1, 0, 0),
  [470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(643),
  [472] = {.entry = {.count = 1, .reusable = false}}, SHIFT(646),
  [474] = {.entry = {.count = 1, .reusable = false}}, SHIFT(661),
  [476] = {.entry = {.count = 1, .reusable = false}}, SHIFT(638),
  [478] = {.entry = {.count = 1, .reusable = false}}, SHIFT(610),
  [480] = {.entry = {.count = 1, .reusable = false}}, SHIFT(611),
  [482] = {.entry = {.count = 1, .reusable = false}}, SHIFT(620),
  [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256),
  [486] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(620),
  [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(407),
  [491] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(407),
  [494] = {.entry = {.count = 1, .reusable = false}}, SHIFT(650),
  [496] = {.entry = {.count = 1, .reusable = false}}, SHIFT(652),
  [498] = {.entry = {.count = 1, .reusable = false}}, SHIFT(649),
  [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260),
  [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 2, 0, 0),
  [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214),
  [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215),
  [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215),
  [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [512] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209),
  [514] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213),
  [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(553),
  [518] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0),
  [520] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(214),
  [523] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(215),
  [526] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(215),
  [529] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0),
  [531] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
  [534] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(209),
  [537] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(213),
  [540] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(553),
  [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 2, 0, 0),
  [545] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218),
  [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
  [549] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223),
  [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [553] = {.entry = {.count = 1, .reusable = false}}, SHIFT(222),
  [555] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220),
  [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(558),
  [559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 2, 0, 0),
  [561] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(218),
  [564] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(223),
  [567] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(223),
  [570] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(10),
  [573] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(222),
  [576] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(220),
  [579] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(558),
  [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_statement, 2, 0, 0),
  [584] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [588] = {.entry = {.count = 1, .reusable = false}}, SHIFT(641),
  [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261),
  [592] = {.entry = {.count = 1, .reusable = false}}, SHIFT(647),
  [594] = {.entry = {.count = 1, .reusable = false}}, SHIFT(651),
  [596] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_other_sql_statement, 1, 0, 0),
  [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0),
  [600] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(228),
  [603] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(228),
  [606] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
  [609] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(225),
  [612] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(542),
  [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0),
  [617] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(235),
  [620] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(235),
  [623] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(580),
  [626] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_expression, 1, 0, 0),
  [628] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235),
  [630] = {.entry = {.count = 1, .reusable = false}}, SHIFT(235),
  [632] = {.entry = {.count = 1, .reusable = true}}, SHIFT(580),
  [634] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [636] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [638] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_token, 1, 0, 0),
  [640] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter_token, 1, 0, 0),
  [642] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253),
  [644] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286),
  [646] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242),
  [648] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [650] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243),
  [652] = {.entry = {.count = 1, .reusable = false}}, SHIFT(409),
  [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
  [656] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scale_type_identifier, 1, 0, 0),
  [658] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_type_identifier, 1, 0, 0),
  [660] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 1, 1, 0),
  [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(354),
  [664] = {.entry = {.count = 1, .reusable = true}}, SHIFT(430),
  [666] = {.entry = {.count = 1, .reusable = false}}, SHIFT(265),
  [668] = {.entry = {.count = 1, .reusable = false}}, SHIFT(269),
  [670] = {.entry = {.count = 1, .reusable = false}}, SHIFT(298),
  [672] = {.entry = {.count = 1, .reusable = false}}, SHIFT(236),
  [674] = {.entry = {.count = 1, .reusable = false}}, SHIFT(582),
  [676] = {.entry = {.count = 1, .reusable = false}}, SHIFT(511),
  [678] = {.entry = {.count = 1, .reusable = false}}, SHIFT(368),
  [680] = {.entry = {.count = 1, .reusable = true}}, SHIFT(734),
  [682] = {.entry = {.count = 1, .reusable = true}}, SHIFT(564),
  [684] = {.entry = {.count = 1, .reusable = false}}, SHIFT(315),
  [686] = {.entry = {.count = 1, .reusable = true}}, SHIFT(607),
  [688] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(607),
  [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_expression, 1, 0, 0),
  [693] = {.entry = {.count = 1, .reusable = false}}, SHIFT(264),
  [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266),
  [697] = {.entry = {.count = 1, .reusable = false}}, SHIFT(266),
  [699] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_expression, 1, 0, 0),
  [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
  [703] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [705] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(264),
  [708] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(266),
  [711] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(266),
  [714] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [716] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(264),
  [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290),
  [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276),
  [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [725] = {.entry = {.count = 1, .reusable = false}}, SHIFT(750),
  [727] = {.entry = {.count = 1, .reusable = false}}, SHIFT(443),
  [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(299),
  [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
  [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
  [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190),
  [739] = {.entry = {.count = 1, .reusable = false}}, SHIFT(245),
  [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330),
  [743] = {.entry = {.count = 1, .reusable = false}}, SHIFT(495),
  [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
  [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
  [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333),
  [751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [753] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_token, 1, 0, 0),
  [755] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_token, 1, 0, 0),
  [757] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 2, 0, 0),
  [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(730),
  [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(744),
  [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270),
  [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262),
  [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(508),
  [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237),
  [771] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [773] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
  [779] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293),
  [781] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
  [783] = {.entry = {.count = 1, .reusable = false}}, SHIFT(251),
  [785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
  [787] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
  [789] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [791] = {.entry = {.count = 1, .reusable = true}}, SHIFT(612),
  [793] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 2, 0, 0),
  [795] = {.entry = {.count = 1, .reusable = true}}, SHIFT(613),
  [797] = {.entry = {.count = 1, .reusable = true}}, SHIFT(494),
  [799] = {.entry = {.count = 1, .reusable = true}}, SHIFT(501),
  [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(618),
  [803] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 2, 1, 0),
  [805] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265),
  [807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269),
  [809] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
  [811] = {.entry = {.count = 1, .reusable = true}}, SHIFT(582),
  [813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(511),
  [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [817] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 3, 0, 0),
  [819] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aesthetic_name, 1, 0, 0),
  [821] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 3, 0, 0),
  [823] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_position_arg, 3, 0, 0),
  [825] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_position_arg, 3, 0, 0),
  [827] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_position_arg, 1, 0, 0),
  [829] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_position_arg, 1, 0, 0),
  [831] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(612),
  [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [836] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [838] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_literal, 1, 0, 0),
  [840] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0),
  [842] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(278),
  [845] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 3, 1, 0),
  [847] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_implicit_mapping, 1, 0, 0),
  [849] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_reference, 1, 0, 0),
  [851] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 4, 0, 0),
  [853] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 4, 1, 0),
  [855] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 4, 0, 0),
  [857] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0),
  [859] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(633),
  [862] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, 0, 0),
  [864] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2, 0, 0),
  [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 2, 0, 0),
  [868] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278),
  [870] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, 0, 0),
  [872] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0),
  [874] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 1, 0, 0),
  [876] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arg, 1, 0, 0),
  [878] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326),
  [880] = {.entry = {.count = 1, .reusable = false}}, SHIFT(326),
  [882] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0),
  [884] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(265),
  [887] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(269),
  [890] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(236),
  [893] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(582),
  [896] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(511),
  [899] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(368),
  [902] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_arg, 3, 0, 8),
  [904] = {.entry = {.count = 1, .reusable = true}}, SHIFT(335),
  [906] = {.entry = {.count = 1, .reusable = false}}, SHIFT(335),
  [908] = {.entry = {.count = 1, .reusable = true}}, SHIFT(533),
  [910] = {.entry = {.count = 1, .reusable = true}}, SHIFT(621),
  [912] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(621),
  [915] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_wildcard_mapping, 1, 0, 0),
  [917] = {.entry = {.count = 1, .reusable = true}}, SHIFT(297),
  [919] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_element, 1, 0, 0),
  [921] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_explicit_mapping, 3, 0, 6),
  [923] = {.entry = {.count = 1, .reusable = true}}, SHIFT(584),
  [925] = {.entry = {.count = 1, .reusable = true}}, SHIFT(588),
  [927] = {.entry = {.count = 1, .reusable = true}}, SHIFT(589),
  [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(591),
  [931] = {.entry = {.count = 1, .reusable = true}}, SHIFT(592),
  [933] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 2, 0, 0),
  [935] = {.entry = {.count = 1, .reusable = true}}, SHIFT(497),
  [937] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 2, 0, 0),
  [939] = {.entry = {.count = 1, .reusable = true}}, SHIFT(519),
  [941] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_geom_type, 1, 0, 0),
  [943] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 3, 0, 0),
  [945] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 5, 0, 0),
  [947] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 5, 0, 0),
  [949] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0),
  [951] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(519),
  [954] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280),
  [956] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(280),
  [959] = {.entry = {.count = 1, .reusable = false}}, SHIFT(599),
  [961] = {.entry = {.count = 1, .reusable = false}}, SHIFT(600),
  [963] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 1, 0, 0),
  [965] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_clause, 1, 0, 0),
  [967] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 3, 0, 10),
  [969] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_value, 1, 0, 0),
  [971] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 4, 0, 11),
  [973] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_assignment, 3, 0, 8),
  [975] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 1, 0, 0),
  [977] = {.entry = {.count = 1, .reusable = true}}, SHIFT(633),
  [979] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_from_clause, 2, 0, 0),
  [981] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remapping_clause, 2, 0, 0),
  [983] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 2, 0, 0),
  [985] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 6, 0, 0),
  [987] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429),
  [989] = {.entry = {.count = 1, .reusable = true}}, SHIFT(441),
  [991] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432),
  [993] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298),
  [995] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
  [997] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315),
  [999] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 6, 0, 0),
  [1001] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_to_clause, 2, 0, 0),
  [1003] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272),
  [1005] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 1, 0, 0),
  [1007] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(272),
  [1010] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 2, 0, 0),
  [1012] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 2, 0, 0),
  [1014] = {.entry = {.count = 1, .reusable = true}}, SHIFT(590),
  [1016] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_via_clause, 2, 0, 0),
  [1018] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 7, 0, 0),
  [1020] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 3, 0, 0),
  [1022] = {.entry = {.count = 1, .reusable = true}}, SHIFT(510),
  [1024] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 4, 0, 7),
  [1026] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89),
  [1028] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
  [1030] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [1032] = {.entry = {.count = 1, .reusable = true}}, SHIFT(562),
  [1034] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0),
  [1036] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(510),
  [1039] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 2, 0, 0),
  [1041] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45),
  [1043] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
  [1045] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
  [1047] = {.entry = {.count = 1, .reusable = true}}, SHIFT(568),
  [1049] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
  [1051] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31),
  [1053] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [1055] = {.entry = {.count = 1, .reusable = true}}, SHIFT(576),
  [1057] = {.entry = {.count = 1, .reusable = true}}, SHIFT(412),
  [1059] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 2, 0, 0),
  [1061] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 3, 0, 0),
  [1063] = {.entry = {.count = 1, .reusable = true}}, SHIFT(544),
  [1065] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [1067] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
  [1069] = {.entry = {.count = 1, .reusable = true}}, SHIFT(366),
  [1071] = {.entry = {.count = 1, .reusable = true}}, SHIFT(572),
  [1073] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 3, 0, 0),
  [1075] = {.entry = {.count = 1, .reusable = true}}, SHIFT(491),
  [1077] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 1, 0, 0),
  [1079] = {.entry = {.count = 1, .reusable = true}}, SHIFT(518),
  [1081] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(412),
  [1084] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0),
  [1086] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0), SHIFT_REPEAT(518),
  [1089] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_clause, 2, 0, 0),
  [1091] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93),
  [1093] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
  [1095] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [1097] = {.entry = {.count = 1, .reusable = true}}, SHIFT(574),
  [1099] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 2, 0, 0),
  [1101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311),
  [1103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(608),
  [1105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 4, 0, 0),
  [1107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0),
  [1109] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(491),
  [1112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 2, 0, 0),
  [1114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 2, 0, 0),
  [1116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 7, 0, 0),
  [1118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property, 3, 0, 8),
  [1120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_set_quantifier, 1, 0, 0),
  [1122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_set_quantifier, 1, 0, 0),
  [1124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mapping, 1, 0, 0),
  [1126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_assignment, 3, 0, 8),
  [1128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 4, 0, 0),
  [1130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(503),
  [1132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_renaming_assignment, 3, 0, 8),
  [1134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_clause, 3, 0, 0),
  [1136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_type, 1, 0, 0),
  [1138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 3, 0, 0),
  [1140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(506),
  [1142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [1144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(713),
  [1146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(513),
  [1148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(715),
  [1150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 1, 0, 0),
  [1152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [1154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(434),
  [1156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 8, 0, 0),
  [1158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 8, 0, 0),
  [1160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 3, 0, 0),
  [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0),
  [1164] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(544),
  [1167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
  [1169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 6, 0, 0),
  [1171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_viz_clause, 1, 0, 0),
  [1173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [1175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
  [1177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 5, 0, 7),
  [1179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 5, 0, 0),
  [1181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 3, 0, 0),
  [1183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [1185] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_clause, 3, 0, 0),
  [1187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 9, 0, 0),
  [1189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(664),
  [1191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 1, 0, 0),
  [1193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(517),
  [1195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(644),
  [1197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 8, 0, 0),
  [1199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369),
  [1201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 5, 0, 0),
  [1203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
  [1205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
  [1207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 3, 0, 0),
  [1209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [1211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [1213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
  [1215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [1217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 4, 0, 0),
  [1219] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(543),
  [1222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0),
  [1224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(525),
  [1226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(520),
  [1228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(595),
  [1230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(660),
  [1232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(740),
  [1234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(543),
  [1236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 3, 0, 0),
  [1238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(541),
  [1240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 4, 0, 0),
  [1242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 2, 0, 0),
  [1244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(655),
  [1246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227),
  [1248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(631),
  [1250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 2, 0, 0),
  [1252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0),
  [1254] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0), SHIFT_REPEAT(14),
  [1257] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 2, 0, 0),
  [1259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [1261] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0), SHIFT_REPEAT(449),
  [1264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0),
  [1266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2, 0, 0),
  [1268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0),
  [1270] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0), SHIFT_REPEAT(244),
  [1273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 1, 0, 0),
  [1275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 1, 0, 0),
  [1277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
  [1279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 5, 0, 0),
  [1281] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
  [1283] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
  [1285] = {.entry = {.count = 1, .reusable = false}}, SHIFT(229),
  [1287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
  [1289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(204),
  [1291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206),
  [1293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [1295] = {.entry = {.count = 1, .reusable = false}}, SHIFT(211),
  [1297] = {.entry = {.count = 1, .reusable = false}}, SHIFT(217),
  [1299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97),
  [1301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(224),
  [1303] = {.entry = {.count = 1, .reusable = false}}, SHIFT(221),
  [1305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [1307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
  [1309] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90),
  [1311] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92),
  [1313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246),
  [1315] = {.entry = {.count = 1, .reusable = false}}, SHIFT(247),
  [1317] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
  [1319] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
  [1321] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47),
  [1323] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
  [1325] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141),
  [1327] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142),
  [1329] = {.entry = {.count = 1, .reusable = false}}, SHIFT(370),
  [1331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(371),
  [1333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95),
  [1335] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
  [1337] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
  [1339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
  [1341] = {.entry = {.count = 1, .reusable = false}}, SHIFT(178),
  [1343] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157),
  [1345] = {.entry = {.count = 1, .reusable = false}}, SHIFT(233),
  [1347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(234),
  [1349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 3, 0, 0),
  [1351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 4, 0, 0),
  [1353] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(619),
  [1356] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [1358] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(631),
  [1361] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0), SHIFT_REPEAT(289),
  [1364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0),
  [1366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
  [1368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(619),
  [1370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(716),
  [1372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
  [1374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_element, 1, 0, 0),
  [1376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(449),
  [1378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310),
  [1380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_statement, 1, 0, 0),
  [1382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
  [1384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
  [1386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 3, 0, 0),
  [1388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(289),
  [1390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 2, 0, 0),
  [1392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 2, 0, 0),
  [1394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(702),
  [1396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 1, 0, 0),
  [1398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 1, 0, 0),
  [1400] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 1, 0, 0),
  [1402] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [1404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_bound, 2, 0, 0),
  [1406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(459),
  [1408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 1, 0, 0),
  [1410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(473),
  [1412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(479),
  [1414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(583),
  [1416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(485),
  [1418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(481),
  [1420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(628),
  [1422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(723),
  [1424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(585),
  [1426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(705),
  [1428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1, 0, 0),
  [1430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(728),
  [1432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(690),
  [1434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(637),
  [1436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(530),
  [1438] = {.entry = {.count = 1, .reusable = false}}, SHIFT(754),
  [1440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148),
  [1442] = {.entry = {.count = 1, .reusable = false}}, SHIFT(665),
  [1444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295),
  [1446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219),
  [1448] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
  [1452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [1454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(489),
  [1456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389),
  [1458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
  [1460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292),
  [1462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_value, 1, 0, 0),
  [1464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(550),
  [1466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(708),
  [1468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [1470] = {.entry = {.count = 1, .reusable = false}}, SHIFT(753),
  [1472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [1474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 4, 0, 0),
  [1476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
  [1478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324),
  [1480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
  [1482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [1484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [1486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(388),
  [1488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [1490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property_name, 1, 0, 0),
  [1492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
  [1494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
  [1496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
  [1498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(725),
  [1500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [1502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
  [1504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(658),
  [1506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
  [1508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(527),
  [1510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 6, 0, 0),
  [1512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [1514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
  [1516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
  [1518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
  [1520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(594),
  [1522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(523),
  [1524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(634),
  [1526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(694),
  [1528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(493),
  [1530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241),
  [1532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 5, 0, 0),
  [1534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [1536] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
  [1538] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [1540] = {.entry = {.count = 1, .reusable = true}}, SHIFT(496),
  [1542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_name, 1, 0, 0),
  [1544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(682),
  [1546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [1548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(303),
  [1550] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [1552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal_value, 1, 0, 0),
  [1554] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [1556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
  [1558] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240),
  [1560] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [1562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_type, 1, 0, 0),
  [1564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 2, 0, 0),
  [1566] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
  [1568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(538),
  [1570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
  [1572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(342),
  [1574] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343),
  [1576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(344),
  [1578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(345),
  [1580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346),
  [1582] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
  [1584] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0),
  [1586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 0),
};

#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif

TS_PUBLIC const TSLanguage *tree_sitter_ggsql(void) {
  static const TSLanguage language = {
    .abi_version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .state_count = STATE_COUNT,
    .large_state_count = LARGE_STATE_COUNT,
    .production_id_count = PRODUCTION_ID_COUNT,
    .supertype_count = SUPERTYPE_COUNT,
    .field_count = FIELD_COUNT,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .parse_table = &ts_parse_table[0][0],
    .small_parse_table = ts_small_parse_table,
    .small_parse_table_map = ts_small_parse_table_map,
    .parse_actions = ts_parse_actions,
    .symbol_names = ts_symbol_names,
    .field_names = ts_field_names,
    .field_map_slices = ts_field_map_slices,
    .field_map_entries = ts_field_map_entries,
    .symbol_metadata = ts_symbol_metadata,
    .public_symbol_map = ts_symbol_map,
    .alias_map = ts_non_terminal_alias_map,
    .alias_sequences = &ts_alias_sequences[0][0],
    .lex_modes = (const void*)ts_lex_modes,
    .lex_fn = ts_lex,
    .keyword_lex_fn = ts_lex_keywords,
    .keyword_capture_token = sym_bare_identifier,
    .primary_state_ids = ts_primary_state_ids,
    .name = "ggsql",
    .max_reserved_word_set_size = 0,
    .metadata = {
      .major_version = 0,
      .minor_version = 3,
      .patch_version = 0,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
