/* 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 584
#define LARGE_STATE_COUNT 139
#define SYMBOL_COUNT 317
#define ALIAS_COUNT 1
#define TOKEN_COUNT 203
#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,
  aux_sym_select_statement_token1 = 3,
  anon_sym_COMMA = 4,
  anon_sym_STAR = 5,
  anon_sym_DOT = 6,
  anon_sym_EQ = 7,
  anon_sym_LT = 8,
  anon_sym_GT = 9,
  anon_sym_BANG = 10,
  anon_sym_PLUS = 11,
  anon_sym_DASH = 12,
  anon_sym_SLASH = 13,
  anon_sym_PERCENT = 14,
  anon_sym_PIPE = 15,
  anon_sym_AMP = 16,
  anon_sym_CARET = 17,
  anon_sym_TILDE = 18,
  anon_sym_COLON_COLON = 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_other_sql_statement_token1 = 30,
  aux_sym_subquery_body_token1 = 31,
  aux_sym_cast_expression_token1 = 32,
  aux_sym_cast_expression_token2 = 33,
  aux_sym_sql_keyword_token1 = 34,
  aux_sym_sql_keyword_token2 = 35,
  aux_sym_sql_keyword_token3 = 36,
  aux_sym_sql_keyword_token4 = 37,
  aux_sym_sql_keyword_token5 = 38,
  aux_sym_sql_keyword_token6 = 39,
  aux_sym_sql_keyword_token7 = 40,
  aux_sym_sql_keyword_token8 = 41,
  aux_sym_sql_keyword_token9 = 42,
  aux_sym_sql_keyword_token10 = 43,
  aux_sym_sql_keyword_token11 = 44,
  aux_sym_sql_keyword_token12 = 45,
  aux_sym_sql_keyword_token13 = 46,
  aux_sym_sql_keyword_token14 = 47,
  aux_sym_sql_keyword_token15 = 48,
  aux_sym_sql_keyword_token16 = 49,
  aux_sym_sql_keyword_token17 = 50,
  aux_sym_sql_keyword_token18 = 51,
  aux_sym_sql_keyword_token19 = 52,
  aux_sym_sql_keyword_token20 = 53,
  aux_sym_sql_keyword_token21 = 54,
  aux_sym_sql_keyword_token22 = 55,
  aux_sym_sql_keyword_token23 = 56,
  aux_sym_sql_keyword_token24 = 57,
  aux_sym_sql_keyword_token25 = 58,
  aux_sym_sql_keyword_token26 = 59,
  aux_sym_sql_keyword_token27 = 60,
  aux_sym_sql_keyword_token28 = 61,
  aux_sym_sql_keyword_token29 = 62,
  aux_sym_sql_keyword_token30 = 63,
  aux_sym_sql_keyword_token31 = 64,
  aux_sym_sql_keyword_token32 = 65,
  aux_sym_sql_keyword_token33 = 66,
  aux_sym_sql_keyword_token34 = 67,
  aux_sym_sql_keyword_token35 = 68,
  aux_sym_sql_keyword_token36 = 69,
  aux_sym_sql_keyword_token37 = 70,
  aux_sym_sql_keyword_token38 = 71,
  aux_sym_sql_keyword_token39 = 72,
  aux_sym_sql_keyword_token40 = 73,
  aux_sym_sql_keyword_token41 = 74,
  aux_sym_sql_keyword_token42 = 75,
  aux_sym_sql_keyword_token43 = 76,
  aux_sym_sql_keyword_token44 = 77,
  aux_sym_sql_keyword_token45 = 78,
  aux_sym_sql_keyword_token46 = 79,
  aux_sym_sql_keyword_token47 = 80,
  aux_sym_sql_keyword_token48 = 81,
  aux_sym_sql_keyword_token49 = 82,
  aux_sym_sql_keyword_token50 = 83,
  anon_sym_COLON_EQ = 84,
  anon_sym_EQ_GT = 85,
  anon_sym_PIPE_PIPE = 86,
  anon_sym_LT_EQ = 87,
  anon_sym_GT_EQ = 88,
  anon_sym_BANG_EQ = 89,
  anon_sym_LT_GT = 90,
  sym_namespaced_identifier = 91,
  aux_sym_window_partition_clause_token1 = 92,
  sym_visualise_keyword = 93,
  aux_sym_draw_clause_token1 = 94,
  aux_sym_place_clause_token1 = 95,
  aux_sym_remapping_clause_token1 = 96,
  anon_sym_point = 97,
  anon_sym_line = 98,
  anon_sym_path = 99,
  anon_sym_bar = 100,
  anon_sym_area = 101,
  anon_sym_rect = 102,
  anon_sym_polygon = 103,
  anon_sym_ribbon = 104,
  anon_sym_histogram = 105,
  anon_sym_density = 106,
  anon_sym_smooth = 107,
  anon_sym_boxplot = 108,
  anon_sym_violin = 109,
  anon_sym_text = 110,
  anon_sym_label = 111,
  anon_sym_segment = 112,
  anon_sym_arrow = 113,
  anon_sym_rule = 114,
  anon_sym_linear = 115,
  anon_sym_errorbar = 116,
  aux_sym_mapping_clause_token1 = 117,
  aux_sym_setting_clause_token1 = 118,
  aux_sym_filter_clause_token1 = 119,
  aux_sym_filter_token_token1 = 120,
  aux_sym_filter_token_token2 = 121,
  aux_sym_filter_token_token3 = 122,
  aux_sym_filter_token_token4 = 123,
  aux_sym_filter_token_token5 = 124,
  aux_sym_filter_token_token6 = 125,
  aux_sym_filter_token_token7 = 126,
  aux_sym_filter_token_token8 = 127,
  aux_sym_filter_token_token9 = 128,
  aux_sym_filter_token_token10 = 129,
  aux_sym_filter_token_token11 = 130,
  anon_sym_TILDE_STAR = 131,
  anon_sym_BANG_TILDE_STAR = 132,
  anon_sym_BANG_TILDE = 133,
  anon_sym_x = 134,
  anon_sym_y = 135,
  anon_sym_xmin = 136,
  anon_sym_xmax = 137,
  anon_sym_ymin = 138,
  anon_sym_ymax = 139,
  anon_sym_xend = 140,
  anon_sym_yend = 141,
  anon_sym_angle = 142,
  anon_sym_radius = 143,
  anon_sym_anglemin = 144,
  anon_sym_anglemax = 145,
  anon_sym_radiusmin = 146,
  anon_sym_radiusmax = 147,
  anon_sym_angleend = 148,
  anon_sym_radiusend = 149,
  anon_sym_weight = 150,
  anon_sym_color = 151,
  anon_sym_colour = 152,
  anon_sym_fill = 153,
  anon_sym_stroke = 154,
  anon_sym_opacity = 155,
  anon_sym_size = 156,
  anon_sym_shape = 157,
  anon_sym_linetype = 158,
  anon_sym_linewidth = 159,
  anon_sym_width = 160,
  anon_sym_height = 161,
  anon_sym_typeface = 162,
  anon_sym_fontweight = 163,
  anon_sym_italic = 164,
  anon_sym_fontsize = 165,
  anon_sym_hjust = 166,
  anon_sym_vjust = 167,
  anon_sym_rotation = 168,
  anon_sym_coef = 169,
  anon_sym_intercept = 170,
  anon_sym_panel = 171,
  anon_sym_row = 172,
  anon_sym_column = 173,
  anon_sym_offset = 174,
  aux_sym_scale_clause_token1 = 175,
  aux_sym_scale_renaming_clause_token1 = 176,
  aux_sym_scale_type_identifier_token1 = 177,
  aux_sym_scale_type_identifier_token2 = 178,
  aux_sym_scale_type_identifier_token3 = 179,
  aux_sym_scale_type_identifier_token4 = 180,
  aux_sym_scale_type_identifier_token5 = 181,
  aux_sym_scale_to_clause_token1 = 182,
  aux_sym_scale_via_clause_token1 = 183,
  aux_sym_facet_clause_token1 = 184,
  aux_sym_project_clause_token1 = 185,
  aux_sym_label_clause_token1 = 186,
  aux_sym_theme_clause_token1 = 187,
  sym_quoted_identifier = 188,
  sym_filter_identifier = 189,
  sym_number = 190,
  anon_sym_SQUOTE = 191,
  aux_sym_string_token1 = 192,
  aux_sym_string_token2 = 193,
  anon_sym_true = 194,
  anon_sym_false = 195,
  anon_sym_LBRACK = 196,
  anon_sym_RBRACK = 197,
  anon_sym_SLASH_SLASH = 198,
  aux_sym_comment_token1 = 199,
  anon_sym_SLASH_STAR = 200,
  aux_sym_comment_token2 = 201,
  anon_sym_DASH_DASH = 202,
  sym_query = 203,
  sym_sql_portion = 204,
  sym_sql_statement = 205,
  sym_select_statement = 206,
  sym_select_body = 207,
  sym_with_statement = 208,
  sym_cte_definition = 209,
  sym_create_statement = 210,
  sym_insert_statement = 211,
  sym_update_statement = 212,
  sym_delete_statement = 213,
  sym_other_sql_statement = 214,
  sym_subquery = 215,
  sym_scalar_subquery = 216,
  sym_subquery_body = 217,
  sym_cast_expression = 218,
  sym_type_name = 219,
  sym_function_call = 220,
  sym_sql_keyword = 221,
  sym_window_function = 222,
  sym_function_args = 223,
  sym_function_arg = 224,
  sym_named_arg = 225,
  sym_positional_arg = 226,
  sym_window_specification = 227,
  sym_window_partition_clause = 228,
  sym_window_order_clause = 229,
  sym_order_item = 230,
  sym_frame_clause = 231,
  sym_frame_bound = 232,
  sym_qualified_name = 233,
  sym_table_ref = 234,
  sym_from_clause = 235,
  sym_visualise_statement = 236,
  sym_mapping_list = 237,
  sym_mapping_element = 238,
  sym_wildcard_mapping = 239,
  sym_explicit_mapping = 240,
  sym_implicit_mapping = 241,
  sym_global_mapping = 242,
  sym_viz_clause = 243,
  sym_draw_clause = 244,
  sym_place_clause = 245,
  sym_remapping_clause = 246,
  sym_geom_type = 247,
  sym_mapping_clause = 248,
  sym_mapping_value = 249,
  sym_setting_clause = 250,
  sym_parameter_assignment = 251,
  sym_parameter_name = 252,
  sym_parameter_value = 253,
  sym_partition_clause = 254,
  sym_partition_columns = 255,
  sym_filter_clause = 256,
  sym_filter_expression = 257,
  sym_filter_token = 258,
  sym_order_clause = 259,
  sym_order_expression = 260,
  sym_order_token = 261,
  sym_aesthetic_name = 262,
  sym_column_reference = 263,
  sym_literal_value = 264,
  sym_scale_clause = 265,
  sym_scale_renaming_clause = 266,
  sym_renaming_assignment = 267,
  sym_scale_type_identifier = 268,
  sym_scale_from_clause = 269,
  sym_scale_to_clause = 270,
  sym_scale_via_clause = 271,
  sym_facet_clause = 272,
  sym_facet_vars = 273,
  sym_project_clause = 274,
  sym_project_aesthetics = 275,
  sym_project_type = 276,
  sym_project_properties = 277,
  sym_project_property = 278,
  sym_project_property_name = 279,
  sym_label_clause = 280,
  sym_label_assignment = 281,
  sym_label_type = 282,
  sym_theme_clause = 283,
  sym_theme_name = 284,
  sym_theme_property = 285,
  sym_theme_property_name = 286,
  sym_identifier = 287,
  sym_string = 288,
  sym_boolean = 289,
  sym_array = 290,
  sym_array_element = 291,
  sym_null_literal = 292,
  sym_comment = 293,
  aux_sym_query_repeat1 = 294,
  aux_sym_sql_portion_repeat1 = 295,
  aux_sym_select_body_repeat1 = 296,
  aux_sym_with_statement_repeat1 = 297,
  aux_sym_cte_definition_repeat1 = 298,
  aux_sym_create_statement_repeat1 = 299,
  aux_sym_other_sql_statement_repeat1 = 300,
  aux_sym_subquery_body_repeat1 = 301,
  aux_sym_function_args_repeat1 = 302,
  aux_sym_window_order_clause_repeat1 = 303,
  aux_sym_qualified_name_repeat1 = 304,
  aux_sym_from_clause_repeat1 = 305,
  aux_sym_visualise_statement_repeat1 = 306,
  aux_sym_mapping_list_repeat1 = 307,
  aux_sym_setting_clause_repeat1 = 308,
  aux_sym_filter_expression_repeat1 = 309,
  aux_sym_order_expression_repeat1 = 310,
  aux_sym_scale_renaming_clause_repeat1 = 311,
  aux_sym_project_properties_repeat1 = 312,
  aux_sym_label_clause_repeat1 = 313,
  aux_sym_theme_clause_repeat1 = 314,
  aux_sym_string_repeat1 = 315,
  aux_sym_array_repeat1 = 316,
  alias_sym_facet_by = 317,
};

static const char * const ts_symbol_names[] = {
  [ts_builtin_sym_end] = "end",
  [sym_bare_identifier] = "bare_identifier",
  [anon_sym_SEMI] = ";",
  [aux_sym_select_statement_token1] = "select_statement_token1",
  [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_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_other_sql_statement_token1] = "other_sql_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_sql_keyword_token2] = "sql_keyword_token2",
  [aux_sym_sql_keyword_token3] = "sql_keyword_token3",
  [aux_sym_sql_keyword_token4] = "sql_keyword_token4",
  [aux_sym_sql_keyword_token5] = "sql_keyword_token5",
  [aux_sym_sql_keyword_token6] = "sql_keyword_token6",
  [aux_sym_sql_keyword_token7] = "sql_keyword_token7",
  [aux_sym_sql_keyword_token8] = "sql_keyword_token8",
  [aux_sym_sql_keyword_token9] = "sql_keyword_token9",
  [aux_sym_sql_keyword_token10] = "sql_keyword_token10",
  [aux_sym_sql_keyword_token11] = "sql_keyword_token11",
  [aux_sym_sql_keyword_token12] = "sql_keyword_token12",
  [aux_sym_sql_keyword_token13] = "sql_keyword_token13",
  [aux_sym_sql_keyword_token14] = "sql_keyword_token14",
  [aux_sym_sql_keyword_token15] = "sql_keyword_token15",
  [aux_sym_sql_keyword_token16] = "sql_keyword_token16",
  [aux_sym_sql_keyword_token17] = "sql_keyword_token17",
  [aux_sym_sql_keyword_token18] = "sql_keyword_token18",
  [aux_sym_sql_keyword_token19] = "sql_keyword_token19",
  [aux_sym_sql_keyword_token20] = "sql_keyword_token20",
  [aux_sym_sql_keyword_token21] = "sql_keyword_token21",
  [aux_sym_sql_keyword_token22] = "sql_keyword_token22",
  [aux_sym_sql_keyword_token23] = "sql_keyword_token23",
  [aux_sym_sql_keyword_token24] = "sql_keyword_token24",
  [aux_sym_sql_keyword_token25] = "sql_keyword_token25",
  [aux_sym_sql_keyword_token26] = "sql_keyword_token26",
  [aux_sym_sql_keyword_token27] = "sql_keyword_token27",
  [aux_sym_sql_keyword_token28] = "sql_keyword_token28",
  [aux_sym_sql_keyword_token29] = "sql_keyword_token29",
  [aux_sym_sql_keyword_token30] = "sql_keyword_token30",
  [aux_sym_sql_keyword_token31] = "sql_keyword_token31",
  [aux_sym_sql_keyword_token32] = "sql_keyword_token32",
  [aux_sym_sql_keyword_token33] = "sql_keyword_token33",
  [aux_sym_sql_keyword_token34] = "sql_keyword_token34",
  [aux_sym_sql_keyword_token35] = "sql_keyword_token35",
  [aux_sym_sql_keyword_token36] = "sql_keyword_token36",
  [aux_sym_sql_keyword_token37] = "sql_keyword_token37",
  [aux_sym_sql_keyword_token38] = "sql_keyword_token38",
  [aux_sym_sql_keyword_token39] = "sql_keyword_token39",
  [aux_sym_sql_keyword_token40] = "sql_keyword_token40",
  [aux_sym_sql_keyword_token41] = "sql_keyword_token41",
  [aux_sym_sql_keyword_token42] = "sql_keyword_token42",
  [aux_sym_sql_keyword_token43] = "sql_keyword_token43",
  [aux_sym_sql_keyword_token44] = "sql_keyword_token44",
  [aux_sym_sql_keyword_token45] = "sql_keyword_token45",
  [aux_sym_sql_keyword_token46] = "sql_keyword_token46",
  [aux_sym_sql_keyword_token47] = "sql_keyword_token47",
  [aux_sym_sql_keyword_token48] = "sql_keyword_token48",
  [aux_sym_sql_keyword_token49] = "sql_keyword_token49",
  [aux_sym_sql_keyword_token50] = "sql_keyword_token50",
  [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",
  [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_rect] = "rect",
  [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_linear] = "linear",
  [anon_sym_errorbar] = "errorbar",
  [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_coef] = "coef",
  [anon_sym_intercept] = "intercept",
  [anon_sym_panel] = "panel",
  [anon_sym_row] = "row",
  [anon_sym_column] = "column",
  [anon_sym_offset] = "offset",
  [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",
  [aux_sym_theme_clause_token1] = "theme_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_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_window_function] = "window_function",
  [sym_function_args] = "function_args",
  [sym_function_arg] = "function_arg",
  [sym_named_arg] = "named_arg",
  [sym_positional_arg] = "positional_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_theme_clause] = "theme_clause",
  [sym_theme_name] = "theme_name",
  [sym_theme_property] = "theme_property",
  [sym_theme_property_name] = "theme_property_name",
  [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_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_theme_clause_repeat1] = "theme_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,
  [aux_sym_select_statement_token1] = aux_sym_select_statement_token1,
  [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_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_other_sql_statement_token1] = aux_sym_other_sql_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_sql_keyword_token2] = aux_sym_sql_keyword_token2,
  [aux_sym_sql_keyword_token3] = aux_sym_sql_keyword_token3,
  [aux_sym_sql_keyword_token4] = aux_sym_sql_keyword_token4,
  [aux_sym_sql_keyword_token5] = aux_sym_sql_keyword_token5,
  [aux_sym_sql_keyword_token6] = aux_sym_sql_keyword_token6,
  [aux_sym_sql_keyword_token7] = aux_sym_sql_keyword_token7,
  [aux_sym_sql_keyword_token8] = aux_sym_sql_keyword_token8,
  [aux_sym_sql_keyword_token9] = aux_sym_sql_keyword_token9,
  [aux_sym_sql_keyword_token10] = aux_sym_sql_keyword_token10,
  [aux_sym_sql_keyword_token11] = aux_sym_sql_keyword_token11,
  [aux_sym_sql_keyword_token12] = aux_sym_sql_keyword_token12,
  [aux_sym_sql_keyword_token13] = aux_sym_sql_keyword_token13,
  [aux_sym_sql_keyword_token14] = aux_sym_sql_keyword_token14,
  [aux_sym_sql_keyword_token15] = aux_sym_sql_keyword_token15,
  [aux_sym_sql_keyword_token16] = aux_sym_sql_keyword_token16,
  [aux_sym_sql_keyword_token17] = aux_sym_sql_keyword_token17,
  [aux_sym_sql_keyword_token18] = aux_sym_sql_keyword_token18,
  [aux_sym_sql_keyword_token19] = aux_sym_sql_keyword_token19,
  [aux_sym_sql_keyword_token20] = aux_sym_sql_keyword_token20,
  [aux_sym_sql_keyword_token21] = aux_sym_sql_keyword_token21,
  [aux_sym_sql_keyword_token22] = aux_sym_sql_keyword_token22,
  [aux_sym_sql_keyword_token23] = aux_sym_sql_keyword_token23,
  [aux_sym_sql_keyword_token24] = aux_sym_sql_keyword_token24,
  [aux_sym_sql_keyword_token25] = aux_sym_sql_keyword_token25,
  [aux_sym_sql_keyword_token26] = aux_sym_sql_keyword_token26,
  [aux_sym_sql_keyword_token27] = aux_sym_sql_keyword_token27,
  [aux_sym_sql_keyword_token28] = aux_sym_sql_keyword_token28,
  [aux_sym_sql_keyword_token29] = aux_sym_sql_keyword_token29,
  [aux_sym_sql_keyword_token30] = aux_sym_sql_keyword_token30,
  [aux_sym_sql_keyword_token31] = aux_sym_sql_keyword_token31,
  [aux_sym_sql_keyword_token32] = aux_sym_sql_keyword_token32,
  [aux_sym_sql_keyword_token33] = aux_sym_sql_keyword_token33,
  [aux_sym_sql_keyword_token34] = aux_sym_sql_keyword_token34,
  [aux_sym_sql_keyword_token35] = aux_sym_sql_keyword_token35,
  [aux_sym_sql_keyword_token36] = aux_sym_sql_keyword_token36,
  [aux_sym_sql_keyword_token37] = aux_sym_sql_keyword_token37,
  [aux_sym_sql_keyword_token38] = aux_sym_sql_keyword_token38,
  [aux_sym_sql_keyword_token39] = aux_sym_sql_keyword_token39,
  [aux_sym_sql_keyword_token40] = aux_sym_sql_keyword_token40,
  [aux_sym_sql_keyword_token41] = aux_sym_sql_keyword_token41,
  [aux_sym_sql_keyword_token42] = aux_sym_sql_keyword_token42,
  [aux_sym_sql_keyword_token43] = aux_sym_sql_keyword_token43,
  [aux_sym_sql_keyword_token44] = aux_sym_sql_keyword_token44,
  [aux_sym_sql_keyword_token45] = aux_sym_sql_keyword_token45,
  [aux_sym_sql_keyword_token46] = aux_sym_sql_keyword_token46,
  [aux_sym_sql_keyword_token47] = aux_sym_sql_keyword_token47,
  [aux_sym_sql_keyword_token48] = aux_sym_sql_keyword_token48,
  [aux_sym_sql_keyword_token49] = aux_sym_sql_keyword_token49,
  [aux_sym_sql_keyword_token50] = aux_sym_sql_keyword_token50,
  [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,
  [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_rect] = anon_sym_rect,
  [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_linear] = anon_sym_linear,
  [anon_sym_errorbar] = anon_sym_errorbar,
  [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_coef] = anon_sym_coef,
  [anon_sym_intercept] = anon_sym_intercept,
  [anon_sym_panel] = anon_sym_panel,
  [anon_sym_row] = anon_sym_row,
  [anon_sym_column] = anon_sym_column,
  [anon_sym_offset] = anon_sym_offset,
  [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,
  [aux_sym_theme_clause_token1] = aux_sym_theme_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_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_window_function] = sym_window_function,
  [sym_function_args] = sym_function_args,
  [sym_function_arg] = sym_function_arg,
  [sym_named_arg] = sym_named_arg,
  [sym_positional_arg] = sym_positional_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_theme_clause] = sym_theme_clause,
  [sym_theme_name] = sym_theme_name,
  [sym_theme_property] = sym_theme_property,
  [sym_theme_property_name] = sym_theme_property_name,
  [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_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_theme_clause_repeat1] = aux_sym_theme_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,
  },
  [aux_sym_select_statement_token1] = {
    .visible = false,
    .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_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_other_sql_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_sql_keyword_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token6] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token7] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token8] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token9] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token10] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token11] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token12] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token13] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token14] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token15] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token16] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token17] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token18] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token19] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token20] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token21] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token22] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token23] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token24] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token25] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token26] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token27] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token28] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token29] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token30] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token31] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token32] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token33] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token34] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token35] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token36] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token37] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token38] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token39] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token40] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token41] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token42] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token43] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token44] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token45] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token46] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token47] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token48] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token49] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token50] = {
    .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,
  },
  [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_rect] = {
    .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_linear] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_errorbar] = {
    .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_coef] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_intercept] = {
    .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,
  },
  [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,
  },
  [aux_sym_theme_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_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_window_function] = {
    .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_positional_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_theme_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_theme_name] = {
    .visible = true,
    .named = true,
  },
  [sym_theme_property] = {
    .visible = true,
    .named = true,
  },
  [sym_theme_property_name] = {
    .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_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_theme_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 = 2},
  [6] = {.index = 8, .length = 1},
  [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_name, 2},
    {field_value, 0},
  [6] =
    {field_alias, 2},
    {field_table, 0},
  [8] =
    {field_alias, 2},
  [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] = 4,
  [7] = 7,
  [8] = 2,
  [9] = 3,
  [10] = 7,
  [11] = 11,
  [12] = 12,
  [13] = 13,
  [14] = 11,
  [15] = 15,
  [16] = 16,
  [17] = 17,
  [18] = 15,
  [19] = 19,
  [20] = 15,
  [21] = 15,
  [22] = 15,
  [23] = 15,
  [24] = 24,
  [25] = 25,
  [26] = 26,
  [27] = 27,
  [28] = 28,
  [29] = 29,
  [30] = 30,
  [31] = 31,
  [32] = 32,
  [33] = 33,
  [34] = 34,
  [35] = 30,
  [36] = 36,
  [37] = 24,
  [38] = 38,
  [39] = 36,
  [40] = 40,
  [41] = 41,
  [42] = 42,
  [43] = 43,
  [44] = 44,
  [45] = 45,
  [46] = 46,
  [47] = 47,
  [48] = 48,
  [49] = 49,
  [50] = 50,
  [51] = 38,
  [52] = 52,
  [53] = 27,
  [54] = 26,
  [55] = 25,
  [56] = 29,
  [57] = 57,
  [58] = 28,
  [59] = 59,
  [60] = 60,
  [61] = 61,
  [62] = 62,
  [63] = 31,
  [64] = 32,
  [65] = 33,
  [66] = 34,
  [67] = 67,
  [68] = 24,
  [69] = 38,
  [70] = 30,
  [71] = 36,
  [72] = 72,
  [73] = 57,
  [74] = 36,
  [75] = 60,
  [76] = 40,
  [77] = 41,
  [78] = 62,
  [79] = 59,
  [80] = 50,
  [81] = 52,
  [82] = 61,
  [83] = 42,
  [84] = 43,
  [85] = 44,
  [86] = 45,
  [87] = 46,
  [88] = 47,
  [89] = 49,
  [90] = 24,
  [91] = 38,
  [92] = 30,
  [93] = 48,
  [94] = 94,
  [95] = 95,
  [96] = 96,
  [97] = 97,
  [98] = 95,
  [99] = 99,
  [100] = 24,
  [101] = 38,
  [102] = 49,
  [103] = 57,
  [104] = 104,
  [105] = 105,
  [106] = 36,
  [107] = 61,
  [108] = 30,
  [109] = 46,
  [110] = 42,
  [111] = 43,
  [112] = 44,
  [113] = 45,
  [114] = 47,
  [115] = 48,
  [116] = 116,
  [117] = 117,
  [118] = 118,
  [119] = 119,
  [120] = 120,
  [121] = 121,
  [122] = 38,
  [123] = 36,
  [124] = 124,
  [125] = 49,
  [126] = 30,
  [127] = 24,
  [128] = 49,
  [129] = 124,
  [130] = 24,
  [131] = 30,
  [132] = 38,
  [133] = 36,
  [134] = 38,
  [135] = 36,
  [136] = 30,
  [137] = 49,
  [138] = 138,
  [139] = 139,
  [140] = 140,
  [141] = 141,
  [142] = 142,
  [143] = 30,
  [144] = 36,
  [145] = 145,
  [146] = 146,
  [147] = 147,
  [148] = 148,
  [149] = 149,
  [150] = 24,
  [151] = 151,
  [152] = 36,
  [153] = 30,
  [154] = 34,
  [155] = 28,
  [156] = 24,
  [157] = 29,
  [158] = 34,
  [159] = 159,
  [160] = 160,
  [161] = 161,
  [162] = 162,
  [163] = 163,
  [164] = 164,
  [165] = 165,
  [166] = 24,
  [167] = 167,
  [168] = 168,
  [169] = 169,
  [170] = 170,
  [171] = 171,
  [172] = 172,
  [173] = 173,
  [174] = 174,
  [175] = 175,
  [176] = 176,
  [177] = 171,
  [178] = 178,
  [179] = 179,
  [180] = 171,
  [181] = 181,
  [182] = 182,
  [183] = 183,
  [184] = 184,
  [185] = 181,
  [186] = 186,
  [187] = 187,
  [188] = 188,
  [189] = 189,
  [190] = 190,
  [191] = 191,
  [192] = 43,
  [193] = 193,
  [194] = 194,
  [195] = 195,
  [196] = 196,
  [197] = 197,
  [198] = 198,
  [199] = 28,
  [200] = 200,
  [201] = 201,
  [202] = 202,
  [203] = 203,
  [204] = 204,
  [205] = 205,
  [206] = 206,
  [207] = 207,
  [208] = 24,
  [209] = 209,
  [210] = 29,
  [211] = 211,
  [212] = 212,
  [213] = 213,
  [214] = 214,
  [215] = 215,
  [216] = 216,
  [217] = 217,
  [218] = 218,
  [219] = 219,
  [220] = 220,
  [221] = 28,
  [222] = 29,
  [223] = 25,
  [224] = 224,
  [225] = 225,
  [226] = 226,
  [227] = 227,
  [228] = 228,
  [229] = 229,
  [230] = 230,
  [231] = 231,
  [232] = 232,
  [233] = 233,
  [234] = 225,
  [235] = 235,
  [236] = 236,
  [237] = 237,
  [238] = 238,
  [239] = 239,
  [240] = 240,
  [241] = 241,
  [242] = 25,
  [243] = 229,
  [244] = 229,
  [245] = 229,
  [246] = 225,
  [247] = 225,
  [248] = 239,
  [249] = 249,
  [250] = 250,
  [251] = 251,
  [252] = 252,
  [253] = 30,
  [254] = 36,
  [255] = 26,
  [256] = 256,
  [257] = 27,
  [258] = 258,
  [259] = 259,
  [260] = 260,
  [261] = 261,
  [262] = 38,
  [263] = 263,
  [264] = 264,
  [265] = 265,
  [266] = 266,
  [267] = 267,
  [268] = 268,
  [269] = 269,
  [270] = 270,
  [271] = 271,
  [272] = 272,
  [273] = 273,
  [274] = 274,
  [275] = 275,
  [276] = 276,
  [277] = 277,
  [278] = 278,
  [279] = 279,
  [280] = 280,
  [281] = 281,
  [282] = 282,
  [283] = 283,
  [284] = 284,
  [285] = 285,
  [286] = 286,
  [287] = 287,
  [288] = 288,
  [289] = 289,
  [290] = 290,
  [291] = 291,
  [292] = 292,
  [293] = 293,
  [294] = 294,
  [295] = 295,
  [296] = 296,
  [297] = 33,
  [298] = 298,
  [299] = 32,
  [300] = 31,
  [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] = 50,
  [314] = 314,
  [315] = 315,
  [316] = 52,
  [317] = 317,
  [318] = 41,
  [319] = 319,
  [320] = 320,
  [321] = 321,
  [322] = 320,
  [323] = 323,
  [324] = 324,
  [325] = 325,
  [326] = 326,
  [327] = 327,
  [328] = 328,
  [329] = 329,
  [330] = 330,
  [331] = 40,
  [332] = 320,
  [333] = 59,
  [334] = 334,
  [335] = 335,
  [336] = 336,
  [337] = 337,
  [338] = 338,
  [339] = 339,
  [340] = 340,
  [341] = 341,
  [342] = 342,
  [343] = 343,
  [344] = 344,
  [345] = 345,
  [346] = 346,
  [347] = 347,
  [348] = 348,
  [349] = 349,
  [350] = 350,
  [351] = 351,
  [352] = 352,
  [353] = 353,
  [354] = 354,
  [355] = 355,
  [356] = 355,
  [357] = 355,
  [358] = 358,
  [359] = 359,
  [360] = 360,
  [361] = 361,
  [362] = 362,
  [363] = 363,
  [364] = 364,
  [365] = 365,
  [366] = 366,
  [367] = 367,
  [368] = 24,
  [369] = 369,
  [370] = 370,
  [371] = 371,
  [372] = 372,
  [373] = 373,
  [374] = 374,
  [375] = 375,
  [376] = 376,
  [377] = 377,
  [378] = 375,
  [379] = 375,
  [380] = 380,
  [381] = 381,
  [382] = 382,
  [383] = 383,
  [384] = 384,
  [385] = 385,
  [386] = 386,
  [387] = 387,
  [388] = 388,
  [389] = 389,
  [390] = 390,
  [391] = 361,
  [392] = 392,
  [393] = 393,
  [394] = 367,
  [395] = 395,
  [396] = 360,
  [397] = 397,
  [398] = 359,
  [399] = 397,
  [400] = 400,
  [401] = 401,
  [402] = 402,
  [403] = 403,
  [404] = 404,
  [405] = 405,
  [406] = 406,
  [407] = 407,
  [408] = 408,
  [409] = 194,
  [410] = 410,
  [411] = 411,
  [412] = 412,
  [413] = 413,
  [414] = 414,
  [415] = 415,
  [416] = 416,
  [417] = 417,
  [418] = 418,
  [419] = 419,
  [420] = 420,
  [421] = 421,
  [422] = 422,
  [423] = 423,
  [424] = 424,
  [425] = 424,
  [426] = 426,
  [427] = 427,
  [428] = 422,
  [429] = 412,
  [430] = 430,
  [431] = 426,
  [432] = 432,
  [433] = 433,
  [434] = 422,
  [435] = 412,
  [436] = 424,
  [437] = 426,
  [438] = 424,
  [439] = 426,
  [440] = 424,
  [441] = 426,
  [442] = 424,
  [443] = 426,
  [444] = 424,
  [445] = 426,
  [446] = 424,
  [447] = 426,
  [448] = 424,
  [449] = 426,
  [450] = 424,
  [451] = 426,
  [452] = 452,
  [453] = 453,
  [454] = 453,
  [455] = 432,
  [456] = 432,
  [457] = 432,
  [458] = 426,
  [459] = 459,
  [460] = 460,
  [461] = 461,
  [462] = 424,
  [463] = 463,
  [464] = 464,
  [465] = 465,
  [466] = 466,
  [467] = 467,
  [468] = 468,
  [469] = 469,
  [470] = 470,
  [471] = 471,
  [472] = 465,
  [473] = 473,
  [474] = 467,
  [475] = 475,
  [476] = 473,
  [477] = 468,
  [478] = 467,
  [479] = 468,
  [480] = 473,
  [481] = 481,
  [482] = 473,
  [483] = 483,
  [484] = 484,
  [485] = 485,
  [486] = 486,
  [487] = 487,
  [488] = 473,
  [489] = 489,
  [490] = 490,
  [491] = 491,
  [492] = 492,
  [493] = 493,
  [494] = 494,
  [495] = 495,
  [496] = 496,
  [497] = 494,
  [498] = 498,
  [499] = 499,
  [500] = 500,
  [501] = 494,
  [502] = 498,
  [503] = 498,
  [504] = 504,
  [505] = 505,
  [506] = 506,
  [507] = 507,
  [508] = 508,
  [509] = 509,
  [510] = 510,
  [511] = 511,
  [512] = 512,
  [513] = 513,
  [514] = 514,
  [515] = 515,
  [516] = 516,
  [517] = 517,
  [518] = 518,
  [519] = 519,
  [520] = 520,
  [521] = 521,
  [522] = 521,
  [523] = 523,
  [524] = 524,
  [525] = 520,
  [526] = 526,
  [527] = 517,
  [528] = 528,
  [529] = 529,
  [530] = 530,
  [531] = 531,
  [532] = 516,
  [533] = 533,
  [534] = 518,
  [535] = 519,
  [536] = 536,
  [537] = 521,
  [538] = 538,
  [539] = 539,
  [540] = 517,
  [541] = 541,
  [542] = 521,
  [543] = 543,
  [544] = 544,
  [545] = 545,
  [546] = 521,
  [547] = 547,
  [548] = 548,
  [549] = 549,
  [550] = 550,
  [551] = 519,
  [552] = 521,
  [553] = 553,
  [554] = 554,
  [555] = 521,
  [556] = 520,
  [557] = 557,
  [558] = 558,
  [559] = 559,
  [560] = 560,
  [561] = 561,
  [562] = 562,
  [563] = 563,
  [564] = 521,
  [565] = 565,
  [566] = 566,
  [567] = 517,
  [568] = 516,
  [569] = 569,
  [570] = 518,
  [571] = 571,
  [572] = 572,
  [573] = 573,
  [574] = 574,
  [575] = 575,
  [576] = 576,
  [577] = 577,
  [578] = 550,
  [579] = 550,
  [580] = 550,
  [581] = 521,
  [582] = 582,
  [583] = 583,
};

static const TSCharacterRange aux_sym_other_sql_statement_token1_character_set_1[] = {
  {0, 0x08}, {0x0e, 0x1f}, {'!', '!'}, {'#', '&'}, {'*', '+'}, {'-', ':'}, {'<', 'B'}, {'E', 'H'},
  {'J', 'R'}, {'T', 'T'}, {'X', 'b'}, {'e', 'h'}, {'j', 'r'}, {'t', 't'}, {'x', 0x10ffff},
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  eof = lexer->eof(lexer);
  switch (state) {
    case 0:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 175,
        '"', 114,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 34,
        ';', 142,
        '<', 166,
        '=', 160,
        '>', 171,
        '[', 1117,
        '\\', 113,
        ']', 1118,
        '^', 186,
        '`', 115,
        '|', 184,
        '~', 188,
        'A', 907,
        'a', 907,
        'B', 841,
        'b', 841,
        'C', 786,
        'c', 786,
        'D', 794,
        'd', 794,
        'E', 916,
        'e', 916,
        'F', 787,
        'f', 787,
        'I', 915,
        'i', 915,
        'L', 788,
        'l', 788,
        'N', 944,
        'n', 944,
        'O', 886,
        'o', 886,
        'P', 797,
        'p', 797,
        'R', 789,
        'r', 789,
        'S', 823,
        's', 823,
        'T', 791,
        't', 791,
        'U', 936,
        'u', 936,
        'V', 800,
        'v', 800,
        'W', 891,
        'w', 891,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '!', 175,
        '"', 114,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        '<', 165,
        '=', 159,
        '>', 170,
        '^', 186,
        '`', 115,
        '|', 184,
        '~', 187,
        'A', 909,
        'a', 909,
        'B', 841,
        'b', 841,
        'C', 813,
        'c', 813,
        'D', 796,
        'd', 796,
        'E', 1012,
        'e', 1012,
        'F', 952,
        'f', 952,
        'I', 935,
        'i', 935,
        'L', 817,
        'l', 817,
        'N', 945,
        'n', 945,
        'O', 886,
        'o', 886,
        'R', 789,
        'r', 789,
        'S', 826,
        's', 826,
        'T', 792,
        't', 792,
        'U', 937,
        'u', 937,
        'V', 801,
        'v', 801,
        'W', 894,
        'w', 894,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 2:
      ADVANCE_MAP(
        '!', 175,
        '"', 114,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        '<', 165,
        '=', 159,
        '>', 170,
        '^', 186,
        '`', 115,
        '|', 184,
        '~', 187,
        'A', 908,
        'a', 908,
        'B', 841,
        'b', 841,
        'C', 813,
        'c', 813,
        'D', 796,
        'd', 796,
        'E', 1012,
        'e', 1012,
        'F', 952,
        'f', 952,
        'I', 935,
        'i', 935,
        'L', 817,
        'l', 817,
        'N', 945,
        'n', 945,
        'O', 886,
        'o', 886,
        'R', 789,
        'r', 789,
        'S', 826,
        's', 826,
        'T', 792,
        't', 792,
        'U', 937,
        'u', 937,
        'V', 801,
        'v', 801,
        'W', 894,
        'w', 894,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '!', 175,
        '"', 110,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        '<', 165,
        '=', 159,
        '>', 170,
        '^', 186,
        '`', 111,
        '|', 184,
        '~', 187,
        'A', 722,
        'a', 722,
        'B', 692,
        'b', 692,
        'C', 669,
        'c', 669,
        'D', 674,
        'd', 674,
        'E', 782,
        'e', 782,
        'F', 748,
        'f', 748,
        'I', 731,
        'i', 731,
        'L', 676,
        'l', 676,
        'N', 742,
        'n', 742,
        'O', 712,
        'o', 712,
        'R', 675,
        'r', 675,
        'S', 687,
        's', 687,
        'T', 670,
        't', 670,
        'U', 735,
        'u', 735,
        'V', 673,
        'v', 673,
        'W', 716,
        'w', 716,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 4:
      ADVANCE_MAP(
        '!', 37,
        '%', 183,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        '<', 166,
        '=', 159,
        '>', 171,
        '|', 42,
        '~', 188,
        'A', 1067,
        'a', 1067,
        'B', 1035,
        'b', 1035,
        'C', 1018,
        'c', 1018,
        'E', 1072,
        'e', 1072,
        'F', 1026,
        'f', 1026,
        'I', 1071,
        'i', 1071,
        'L', 1057,
        'l', 1057,
        'N', 1083,
        'n', 1083,
        'O', 1087,
        'o', 1087,
        'T', 1056,
        't', 1056,
        'W', 1055,
        'w', 1055,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('d' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 5:
      ADVANCE_MAP(
        '!', 36,
        '"', 114,
        '%', 183,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 180,
        '.', 153,
        '/', 182,
        ':', 34,
        '<', 166,
        '=', 160,
        '>', 171,
        '[', 1117,
        '`', 115,
        '|', 42,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 6:
      ADVANCE_MAP(
        '!', 178,
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 152,
        ',', 147,
        '-', 414,
        '.', 158,
        '/', 413,
        ':', 416,
        '<', 169,
        '=', 164,
        '>', 174,
        '`', 417,
        'A', 475,
        'a', 475,
        'B', 457,
        'b', 457,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 526,
        'e', 526,
        'F', 499,
        'f', 499,
        'I', 482,
        'i', 482,
        'L', 430,
        'l', 430,
        'N', 490,
        'n', 490,
        'O', 460,
        'o', 460,
        'R', 429,
        'r', 429,
        'S', 436,
        's', 436,
        'T', 425,
        't', 425,
        'U', 483,
        'u', 483,
        'V', 422,
        'v', 422,
        'W', 465,
        'w', 465,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(6);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(530);
      END_STATE();
    case 7:
      ADVANCE_MAP(
        '!', 178,
        '"', 114,
        '\'', 1111,
        '(', 196,
        '*', 152,
        ',', 147,
        '-', 414,
        '.', 158,
        '/', 413,
        ':', 416,
        '<', 169,
        '=', 164,
        '>', 174,
        '`', 417,
        'A', 475,
        'a', 475,
        'B', 457,
        'b', 457,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 526,
        'e', 526,
        'F', 499,
        'f', 499,
        'I', 482,
        'i', 482,
        'L', 430,
        'l', 430,
        'N', 490,
        'n', 490,
        'O', 460,
        'o', 460,
        'R', 429,
        'r', 429,
        'S', 435,
        's', 435,
        'T', 425,
        't', 425,
        'U', 483,
        'u', 483,
        'V', 422,
        'v', 422,
        'W', 464,
        'w', 464,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(7);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\'' || '*' < lookahead) &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(530);
      END_STATE();
    case 8:
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '-', 31,
        '.', 109,
        '/', 25,
        '`', 115,
        'C', 814,
        'c', 814,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(8);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 151,
        ',', 147,
        '-', 202,
        '.', 156,
        '/', 201,
        '=', 163,
        '`', 205,
        'A', 261,
        'a', 261,
        'B', 234,
        'b', 234,
        'C', 285,
        'c', 285,
        'D', 212,
        'd', 212,
        'E', 315,
        'e', 315,
        'F', 287,
        'f', 287,
        'I', 270,
        'i', 270,
        'L', 214,
        'l', 214,
        'N', 280,
        'n', 280,
        'O', 248,
        'o', 248,
        'R', 213,
        'r', 213,
        'S', 224,
        's', 224,
        'T', 209,
        't', 209,
        'U', 272,
        'u', 272,
        'V', 211,
        'v', 211,
        'W', 253,
        'w', 253,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(9);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 10:
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '(', 196,
        '*', 148,
        '-', 31,
        '.', 109,
        '/', 25,
        '`', 115,
        'C', 814,
        'c', 814,
        'S', 885,
        's', 885,
        'W', 898,
        'w', 898,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(10);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 11:
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '*', 148,
        '-', 31,
        '.', 109,
        '/', 25,
        '[', 1117,
        ']', 1118,
        '`', 115,
        'N', 1003,
        'n', 1003,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(11);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 12:
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '*', 148,
        '-', 31,
        '.', 109,
        '/', 25,
        '`', 115,
        'F', 952,
        'f', 952,
        'N', 1003,
        'n', 1003,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 13:
      if (lookahead == '"') ADVANCE(114);
      if (lookahead == '\'') ADVANCE(1111);
      if (lookahead == '-') ADVANCE(31);
      if (lookahead == '.') ADVANCE(109);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '[') ADVANCE(1117);
      if (lookahead == '`') ADVANCE(115);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(13);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 14:
      ADVANCE_MAP(
        '"', 114,
        '(', 196,
        ')', 197,
        ',', 147,
        '-', 31,
        '.', 154,
        '/', 25,
        '`', 115,
        'D', 877,
        'd', 877,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(14);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 15:
      if (lookahead == '"') ADVANCE(1017);
      if (lookahead == ':') ADVANCE(16);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 16:
      if (lookahead == '"') ADVANCE(1017);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(19);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 17:
      if (lookahead == '"') ADVANCE(1017);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 18:
      if (lookahead == '"') ADVANCE(110);
      if (lookahead == '\'') ADVANCE(1111);
      if (lookahead == '(') ADVANCE(196);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '`') ADVANCE(111);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(18);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 19:
      if (lookahead == '"') ADVANCE(625);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(19);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 20:
      if (lookahead == '\'') ADVANCE(1111);
      if (lookahead == '-') ADVANCE(1114);
      if (lookahead == '/') ADVANCE(1113);
      if (lookahead == '\\') ADVANCE(113);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1115);
      if (lookahead != 0) ADVANCE(1112);
      END_STATE();
    case 21:
      ADVANCE_MAP(
        ')', 197,
        ',', 147,
        '-', 30,
        '/', 25,
        'D', 877,
        'd', 877,
        'R', 790,
        'r', 790,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(21);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 22:
      ADVANCE_MAP(
        ')', 197,
        ',', 147,
        '-', 30,
        '/', 25,
        'O', 963,
        'o', 963,
        'R', 790,
        'r', 790,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(22);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 23:
      if (lookahead == ')') ADVANCE(197);
      if (lookahead == ',') ADVANCE(147);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(790);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(23);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        ')', 197,
        '-', 30,
        '/', 25,
        'O', 963,
        'o', 963,
        'P', 798,
        'p', 798,
        'R', 790,
        'r', 790,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(24);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 25:
      if (lookahead == '*') ADVANCE(1130);
      if (lookahead == '/') ADVANCE(1119);
      END_STATE();
    case 26:
      if (lookahead == '*') ADVANCE(1137);
      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(1137);
      if (lookahead == '-') ADVANCE(1139);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 28:
      if (lookahead == '*') ADVANCE(1137);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 29:
      if (lookahead == '*') ADVANCE(1131);
      if (lookahead == '/') ADVANCE(1120);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 30:
      if (lookahead == '-') ADVANCE(1138);
      END_STATE();
    case 31:
      if (lookahead == '-') ADVANCE(1138);
      if (lookahead == '.') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      END_STATE();
    case 32:
      ADVANCE_MAP(
        '-', 31,
        '.', 109,
        '/', 25,
        'B', 68,
        'b', 68,
        'C', 102,
        'c', 102,
        'U', 85,
        'u', 85,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(32);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      END_STATE();
    case 33:
      if (lookahead == ':') ADVANCE(189);
      END_STATE();
    case 34:
      if (lookahead == ':') ADVANCE(189);
      if (lookahead == '=') ADVANCE(618);
      END_STATE();
    case 35:
      if (lookahead == ':') ADVANCE(39);
      if (lookahead == '`') ADVANCE(1017);
      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(623);
      END_STATE();
    case 37:
      if (lookahead == '=') ADVANCE(623);
      if (lookahead == '~') ADVANCE(658);
      END_STATE();
    case 38:
      if (lookahead == '>') ADVANCE(619);
      END_STATE();
    case 39:
      if (lookahead == '`') ADVANCE(1017);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 40:
      if (lookahead == '`') ADVANCE(1017);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 41:
      if (lookahead == '`') ADVANCE(625);
      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(620);
      END_STATE();
    case 43:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(51);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(88);
      END_STATE();
    case 44:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(49);
      END_STATE();
    case 45:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(105);
      END_STATE();
    case 46:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(77);
      END_STATE();
    case 47:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(55);
      END_STATE();
    case 48:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(80);
      END_STATE();
    case 49:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(64);
      END_STATE();
    case 50:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(90);
      END_STATE();
    case 51:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(62);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(99);
      END_STATE();
    case 53:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(98);
      END_STATE();
    case 54:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(48);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(79);
      END_STATE();
    case 55:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(59);
      END_STATE();
    case 56:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(609);
      END_STATE();
    case 57:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(67);
      END_STATE();
    case 58:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      END_STATE();
    case 59:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(632);
      END_STATE();
    case 60:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(659);
      END_STATE();
    case 61:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(667);
      END_STATE();
    case 62:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(97);
      END_STATE();
    case 63:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(52);
      END_STATE();
    case 64:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(76);
      END_STATE();
    case 65:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(82);
      END_STATE();
    case 66:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(86);
      END_STATE();
    case 67:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(56);
      END_STATE();
    case 68:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(101);
      END_STATE();
    case 69:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(83);
      END_STATE();
    case 70:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(69);
      END_STATE();
    case 71:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(53);
      END_STATE();
    case 72:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(65);
      END_STATE();
    case 73:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(96);
      END_STATE();
    case 74:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(95);
      END_STATE();
    case 75:
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(71);
      END_STATE();
    case 76:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(665);
      END_STATE();
    case 77:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(73);
      END_STATE();
    case 78:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(47);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(89);
      END_STATE();
    case 79:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(63);
      END_STATE();
    case 80:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(60);
      END_STATE();
    case 81:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(534);
      END_STATE();
    case 82:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(61);
      END_STATE();
    case 83:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(566);
      END_STATE();
    case 84:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(57);
      END_STATE();
    case 85:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(50);
      END_STATE();
    case 86:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(100);
      END_STATE();
    case 87:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(106);
      END_STATE();
    case 88:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(81);
      END_STATE();
    case 89:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(75);
      END_STATE();
    case 90:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(103);
      END_STATE();
    case 91:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(45);
      END_STATE();
    case 92:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(93);
      END_STATE();
    case 93:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(66);
      END_STATE();
    case 94:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(198);
      END_STATE();
    case 95:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(104);
      END_STATE();
    case 96:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(58);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(58);
      END_STATE();
    case 97:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(661);
      END_STATE();
    case 98:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(663);
      END_STATE();
    case 99:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(143);
      END_STATE();
    case 100:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(612);
      END_STATE();
    case 101:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(107);
      END_STATE();
    case 102:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(92);
      END_STATE();
    case 103:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(84);
      END_STATE();
    case 104:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 105:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(630);
      END_STATE();
    case 106:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(615);
      END_STATE();
    case 107:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(70);
      END_STATE();
    case 108:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(575);
      END_STATE();
    case 109:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1110);
      END_STATE();
    case 110:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 111:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(35);
      if (lookahead != 0 &&
          (lookahead < '_' || 'z' < lookahead)) ADVANCE(40);
      END_STATE();
    case 112:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(626);
      END_STATE();
    case 113:
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1116);
      END_STATE();
    case 114:
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 115:
      if (lookahead != 0 &&
          lookahead != '`') ADVANCE(40);
      END_STATE();
    case 116:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 175,
        '"', 114,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        ';', 142,
        '<', 165,
        '=', 159,
        '>', 170,
        ']', 1118,
        '^', 186,
        '`', 115,
        '|', 184,
        '~', 187,
        'A', 909,
        'a', 909,
        'B', 841,
        'b', 841,
        'C', 813,
        'c', 813,
        'D', 796,
        'd', 796,
        'E', 1012,
        'e', 1012,
        'F', 952,
        'f', 952,
        'I', 935,
        'i', 935,
        'L', 817,
        'l', 817,
        'N', 945,
        'n', 945,
        'O', 886,
        'o', 886,
        'R', 789,
        'r', 789,
        'S', 826,
        's', 826,
        'T', 792,
        't', 792,
        'U', 937,
        'u', 937,
        'V', 800,
        'v', 800,
        'W', 894,
        'w', 894,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(116);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 117:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 175,
        '"', 114,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        ';', 142,
        '<', 165,
        '=', 159,
        '>', 170,
        '^', 186,
        '`', 115,
        '|', 184,
        '~', 187,
        'A', 908,
        'a', 908,
        'B', 841,
        'b', 841,
        'C', 813,
        'c', 813,
        'D', 796,
        'd', 796,
        'E', 1012,
        'e', 1012,
        'F', 952,
        'f', 952,
        'I', 935,
        'i', 935,
        'L', 817,
        'l', 817,
        'N', 945,
        'n', 945,
        'O', 886,
        'o', 886,
        'R', 789,
        'r', 789,
        'S', 826,
        's', 826,
        'T', 792,
        't', 792,
        'U', 937,
        'u', 937,
        'V', 800,
        'v', 800,
        'W', 894,
        'w', 894,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(117);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 118:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 175,
        '"', 110,
        '%', 183,
        '&', 185,
        '\'', 1111,
        '(', 196,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        ';', 142,
        '<', 165,
        '=', 159,
        '>', 170,
        '^', 186,
        '`', 111,
        '|', 184,
        '~', 187,
        'A', 722,
        'a', 722,
        'B', 692,
        'b', 692,
        'C', 669,
        'c', 669,
        'D', 674,
        'd', 674,
        'E', 782,
        'e', 782,
        'F', 748,
        'f', 748,
        'I', 731,
        'i', 731,
        'L', 676,
        'l', 676,
        'N', 742,
        'n', 742,
        'O', 712,
        'o', 712,
        'R', 675,
        'r', 675,
        'S', 687,
        's', 687,
        'T', 670,
        't', 670,
        'U', 735,
        'u', 735,
        'V', 672,
        'v', 672,
        'W', 716,
        'w', 716,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(118);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 119:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 177,
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 151,
        ',', 147,
        '-', 202,
        '.', 156,
        '/', 201,
        ':', 204,
        ';', 142,
        '<', 168,
        '=', 163,
        '>', 173,
        '`', 205,
        'A', 261,
        'a', 261,
        'B', 234,
        'b', 234,
        'C', 208,
        'c', 208,
        'D', 212,
        'd', 212,
        'E', 315,
        'e', 315,
        'F', 287,
        'f', 287,
        'I', 270,
        'i', 270,
        'L', 214,
        'l', 214,
        'N', 280,
        'n', 280,
        'O', 248,
        'o', 248,
        'R', 213,
        'r', 213,
        'S', 223,
        's', 223,
        'T', 209,
        't', 209,
        'U', 272,
        'u', 272,
        'V', 210,
        'v', 210,
        'W', 252,
        'w', 252,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(119);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 120:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 176,
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 149,
        ',', 147,
        '-', 326,
        '.', 157,
        '/', 324,
        ':', 329,
        ';', 142,
        '<', 167,
        '=', 161,
        '>', 172,
        '`', 330,
        'A', 367,
        'a', 367,
        'B', 351,
        'b', 351,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 404,
        'e', 404,
        'F', 390,
        'f', 390,
        'I', 482,
        'i', 482,
        'L', 339,
        'l', 339,
        'N', 379,
        'n', 379,
        'O', 357,
        'o', 357,
        'R', 335,
        'r', 335,
        'S', 435,
        's', 435,
        'T', 336,
        't', 336,
        'U', 483,
        'u', 483,
        'V', 421,
        'v', 421,
        'W', 464,
        'w', 464,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(120);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0) ADVANCE(410);
      END_STATE();
    case 121:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 37,
        '%', 183,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 181,
        '.', 154,
        '/', 182,
        ':', 33,
        '<', 166,
        '=', 159,
        '>', 171,
        '|', 42,
        '~', 188,
        'A', 1067,
        'a', 1067,
        'B', 1035,
        'b', 1035,
        'C', 1018,
        'c', 1018,
        'D', 1088,
        'd', 1088,
        'E', 1072,
        'e', 1072,
        'F', 1019,
        'f', 1019,
        'I', 1071,
        'i', 1071,
        'L', 1020,
        'l', 1020,
        'N', 1083,
        'n', 1083,
        'O', 1085,
        'o', 1085,
        'P', 1023,
        'p', 1023,
        'S', 1028,
        's', 1028,
        'T', 1054,
        't', 1054,
        'V', 1060,
        'v', 1060,
        'W', 1055,
        'w', 1055,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(121);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 122:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 36,
        '"', 114,
        '%', 183,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 180,
        '.', 153,
        '/', 182,
        ':', 33,
        '<', 166,
        '=', 159,
        '>', 171,
        '`', 115,
        '|', 42,
        'A', 965,
        'a', 965,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(122);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 123:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 36,
        '%', 183,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 180,
        '.', 153,
        '/', 182,
        ':', 34,
        '<', 166,
        '=', 160,
        '>', 171,
        '|', 42,
        'A', 965,
        'a', 965,
        'B', 1014,
        'b', 1014,
        'D', 951,
        'd', 951,
        'F', 811,
        'f', 811,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'R', 790,
        'r', 790,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(123);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('c' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 124:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 36,
        '%', 183,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 180,
        '.', 153,
        '/', 182,
        ':', 33,
        ';', 142,
        '<', 166,
        '=', 159,
        '>', 171,
        '|', 42,
        'A', 94,
        'a', 94,
        'B', 108,
        'b', 108,
        'D', 91,
        'd', 91,
        'F', 43,
        'f', 43,
        'L', 44,
        'l', 44,
        'P', 78,
        'p', 78,
        'R', 87,
        'r', 87,
        'S', 54,
        's', 54,
        'T', 72,
        't', 72,
        'V', 74,
        'v', 74,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(124);
      END_STATE();
    case 125:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '!', 36,
        '%', 183,
        '(', 196,
        ')', 197,
        '*', 148,
        '+', 179,
        ',', 147,
        '-', 180,
        '.', 153,
        '/', 182,
        ':', 33,
        '<', 166,
        '=', 159,
        '>', 171,
        ']', 1118,
        '|', 42,
        'A', 965,
        'a', 965,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(125);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 126:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 151,
        ',', 147,
        '-', 202,
        '.', 156,
        '/', 201,
        ';', 142,
        '=', 163,
        '`', 205,
        'A', 261,
        'a', 261,
        'B', 234,
        'b', 234,
        'C', 285,
        'c', 285,
        'D', 212,
        'd', 212,
        'E', 315,
        'e', 315,
        'F', 287,
        'f', 287,
        'I', 270,
        'i', 270,
        'L', 214,
        'l', 214,
        'N', 280,
        'n', 280,
        'O', 248,
        'o', 248,
        'R', 213,
        'r', 213,
        'S', 223,
        's', 223,
        'T', 209,
        't', 209,
        'U', 272,
        'u', 272,
        'V', 210,
        'v', 210,
        'W', 253,
        'w', 253,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(126);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 127:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 151,
        ',', 147,
        '-', 202,
        '.', 156,
        '/', 201,
        ';', 142,
        '=', 163,
        '`', 205,
        'A', 261,
        'a', 261,
        'B', 234,
        'b', 234,
        'C', 285,
        'c', 285,
        'D', 212,
        'd', 212,
        'E', 315,
        'e', 315,
        'F', 287,
        'f', 287,
        'I', 270,
        'i', 270,
        'L', 214,
        'l', 214,
        'N', 280,
        'n', 280,
        'O', 248,
        'o', 248,
        'R', 213,
        'r', 213,
        'S', 224,
        's', 224,
        'T', 209,
        't', 209,
        'U', 272,
        'u', 272,
        'V', 210,
        'v', 210,
        'W', 253,
        'w', 253,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(127);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 128:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        '\'', 1111,
        '*', 148,
        '-', 31,
        '.', 109,
        '/', 25,
        '`', 115,
        'D', 951,
        'd', 951,
        'F', 811,
        'f', 811,
        'L', 804,
        'l', 804,
        'N', 1003,
        'n', 1003,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(128);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 129:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        '(', 196,
        ')', 197,
        ',', 147,
        '-', 31,
        '.', 154,
        '/', 25,
        '`', 115,
        'D', 876,
        'd', 876,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(129);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 130:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        ',', 147,
        '-', 30,
        '/', 25,
        '=', 38,
        '`', 115,
        'A', 965,
        'a', 965,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(130);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 131:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '"', 114,
        '-', 30,
        '/', 25,
        '`', 115,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(131);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 132:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 150,
        ',', 147,
        '-', 325,
        '.', 155,
        '/', 323,
        ';', 142,
        '=', 162,
        'A', 364,
        'a', 364,
        'B', 348,
        'b', 348,
        'C', 950,
        'c', 950,
        'D', 795,
        'd', 795,
        'E', 403,
        'e', 403,
        'F', 385,
        'f', 385,
        'I', 930,
        'i', 930,
        'L', 334,
        'l', 334,
        'N', 377,
        'n', 377,
        'O', 354,
        'o', 354,
        'R', 332,
        'r', 332,
        'S', 825,
        's', 825,
        'T', 333,
        't', 333,
        'U', 936,
        'u', 936,
        'V', 800,
        'v', 800,
        'W', 893,
        'w', 893,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(132);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(412);
      END_STATE();
    case 133:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '\'', 1111,
        '(', 196,
        ')', 197,
        '*', 150,
        ',', 147,
        '-', 325,
        '.', 155,
        '/', 323,
        ';', 142,
        '=', 162,
        'A', 364,
        'a', 364,
        'B', 348,
        'b', 348,
        'C', 958,
        'c', 958,
        'D', 796,
        'd', 796,
        'E', 403,
        'e', 403,
        'F', 385,
        'f', 385,
        'I', 935,
        'i', 935,
        'L', 334,
        'l', 334,
        'N', 377,
        'n', 377,
        'O', 354,
        'o', 354,
        'R', 332,
        'r', 332,
        'S', 826,
        's', 826,
        'T', 333,
        't', 333,
        'U', 937,
        'u', 937,
        'V', 800,
        'v', 800,
        'W', 894,
        'w', 894,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(133);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(412);
      END_STATE();
    case 134:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ')', 197,
        ',', 147,
        '-', 30,
        '/', 25,
        'B', 1014,
        'b', 1014,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 914,
        'p', 914,
        'R', 790,
        'r', 790,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(134);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 135:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ',', 147,
        '-', 30,
        '.', 153,
        '/', 25,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(135);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 136:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ',', 147,
        '-', 30,
        '/', 25,
        '=', 38,
        ']', 1118,
        'A', 965,
        'a', 965,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(136);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 137:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ',', 147,
        '-', 30,
        '/', 25,
        'A', 965,
        'a', 965,
        'D', 951,
        'd', 951,
        'F', 811,
        'f', 811,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(137);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 138:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ',', 147,
        '-', 30,
        '/', 25,
        'B', 1014,
        'b', 1014,
        'D', 951,
        'd', 951,
        'F', 812,
        'f', 812,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(138);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 139:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        ',', 147,
        '-', 30,
        '/', 25,
        'D', 951,
        'd', 951,
        'F', 811,
        'f', 811,
        'L', 804,
        'l', 804,
        'O', 963,
        'o', 963,
        'P', 797,
        'p', 797,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(139);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 140:
      if (eof) ADVANCE(141);
      ADVANCE_MAP(
        '-', 30,
        '/', 25,
        'D', 951,
        'd', 951,
        'F', 811,
        'f', 811,
        'L', 804,
        'l', 804,
        'P', 914,
        'p', 914,
        'S', 827,
        's', 827,
        'T', 895,
        't', 895,
        'V', 900,
        'v', 900,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(140);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 141:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 142:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 145:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 146:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1110);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(407);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(317);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(408);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(528);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 160:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '>') ADVANCE(619);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 162:
      ACCEPT_TOKEN(anon_sym_EQ);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 163:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 166:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(621);
      if (lookahead == '>') ADVANCE(624);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(622);
      END_STATE();
    case 172:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 173:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 176:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(anon_sym_PLUS);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1138);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1138);
      if (lookahead == '.') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '*') ADVANCE(1130);
      if (lookahead == '/') ADVANCE(1119);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(anon_sym_CARET);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(anon_sym_TILDE);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(anon_sym_TILDE);
      if (lookahead == '*') ADVANCE(656);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(aux_sym_create_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '*') ADVANCE(1134);
      if (lookahead == '/') ADVANCE(1123);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '-') ADVANCE(1142);
      if (lookahead == '.') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '.') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(203);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == ':') ADVANCE(191);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '`') ADVANCE(319);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(205);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(260);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(295);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(278);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(286);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(219);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(267);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(262);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(235);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(262);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(236);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(302);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(293);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(297);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 213:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(271);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(312);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(308);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(249);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(259);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(220);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(263);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(294);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(279);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(255);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(265);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(255);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(303);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(237);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(240);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(276);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 229:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(240);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(227);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(305);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(312);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(309);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(312);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(314);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(226);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(268);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(274);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(289);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(292);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(269);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(245);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(288);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 248:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(250);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(318);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(230);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(299);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(247);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(306);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(247);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(194);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(239);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 256:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(300);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(275);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(260);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(227);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(311);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(256);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 264:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(238);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 267:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(282);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(206);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 270:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(251);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 272:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(221);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(225);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(266);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(296);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(310);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(290);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 282:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(281);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 284:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(316);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(278);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(286);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(277);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(207);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(218);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(241);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 293:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 294:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 295:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(292);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(304);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(307);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(242);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(231);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(231);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 301:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(215);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(145);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(257);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(313);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(254);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 307:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(292);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(243);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(216);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 310:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(273);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(244);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(246);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(258);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(317);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 320:
      ACCEPT_TOKEN(aux_sym_insert_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(aux_sym_update_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 322:
      ACCEPT_TOKEN(aux_sym_delete_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1133);
      if (lookahead == '/') ADVANCE(1122);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1132);
      if (lookahead == '/') ADVANCE(1121);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1141);
      if (lookahead == '.') ADVANCE(407);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1140);
      if (lookahead == '.') ADVANCE(408);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(407);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(408);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == ':') ADVANCE(190);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '`') ADVANCE(410);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(417);
      if (lookahead != 0) ADVANCE(330);
      END_STATE();
    case 331:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(363);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(373);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(399);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(341);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(370);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 334:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(394);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(356);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(905);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(374);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(400);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(342);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(372);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 337:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(365);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(384);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(397);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(358);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(471);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(387);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(366);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(368);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(551);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(529);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(874);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(452);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(396);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 349:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(383);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(398);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(388);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 353:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(392);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(353);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(409);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(345);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(391);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(393);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 357:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(355);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(411);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(346);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(395);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(347);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(350);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(975);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(509);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 364:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(363);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(343);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 365:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(347);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 367:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(365);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(344);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(350);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(381);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(382);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(359);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 374:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(360);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 375:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(369);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(386);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(393);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(371);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 379:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(395);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(389);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(376);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(380);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 383:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(331);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 384:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(405);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(375);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(338);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 387:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(406);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(337);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(340);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(378);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 391:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(453);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(879);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 393:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 394:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(349);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 396:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(402);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(352);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 398:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(401);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 617,
        'w', 617,
        'C', 1016,
        'D', 1016,
        'I', 1016,
        'S', 1016,
        'U', 1016,
        'V', 1016,
        'c', 1016,
        'd', 1016,
        'i', 1016,
        's', 1016,
        'u', 1016,
        'v', 1016,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 400:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 529,
        'w', 529,
        'C', 529,
        'D', 529,
        'I', 529,
        'S', 529,
        'U', 529,
        'V', 529,
        'c', 529,
        'd', 529,
        'i', 529,
        's', 529,
        'u', 529,
        'v', 529,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 458,
        'w', 458,
        'C', 529,
        'D', 529,
        'I', 529,
        'S', 529,
        'U', 529,
        'V', 529,
        'c', 529,
        'd', 529,
        'i', 529,
        's', 529,
        'u', 529,
        'v', 529,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 880,
        'w', 880,
        'C', 1016,
        'D', 1016,
        'I', 1016,
        'S', 1016,
        'U', 1016,
        'V', 1016,
        'c', 1016,
        'd', 1016,
        'i', 1016,
        's', 1016,
        'u', 1016,
        'v', 1016,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(361);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(362);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 406:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(407);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 408:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(408);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 410:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 412:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 413:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '*') ADVANCE(1135);
      if (lookahead == '/') ADVANCE(1124);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 414:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '-') ADVANCE(1143);
      if (lookahead == '.') ADVANCE(528);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 415:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '.') ADVANCE(528);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == ':') ADVANCE(192);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '`') ADVANCE(530);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(417);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(505);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(489);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(497);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(513);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(504);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(508);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(473);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(445);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(473);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(446);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 423:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(432);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 424:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(474);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 425:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(433);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(479);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(472);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(506);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 428:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(496);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 429:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(485);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(523);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(519);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(461);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(471);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 431:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(491);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 432:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(427);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 433:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(476);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 434:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 435:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(467);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(477);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 436:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(467);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 437:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 438:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(515);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 439:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 440:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(447);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(452);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(488);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 441:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(450);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(452);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 443:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 444:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(523);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(520);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 446:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(523);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 447:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(525);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 448:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(480);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 449:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(438);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 450:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 451:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(486);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 452:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(495);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 453:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 454:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(503);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 455:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(500);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 456:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(481);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 457:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(517);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 458:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(456);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 459:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(498);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 460:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(462);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(529);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(442);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 461:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 462:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(510);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 463:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 464:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(459);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 465:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(459);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 466:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(195);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 467:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(448);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 468:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(511);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 469:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(487);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 470:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 471:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 472:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 473:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(522);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 474:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(468);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 475:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(472);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 476:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 477:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(449);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 478:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 479:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(494);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 480:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(418);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 481:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 482:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(440);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 483:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(431);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 484:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 485:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(463);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 486:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 487:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(437);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 488:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 489:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(507);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 490:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 491:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(521);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 492:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(478);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 493:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(501);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 494:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(493);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 495:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 496:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(527);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 497:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(502);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 498:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 499:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(492);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 500:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(426);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 501:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(428);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 502:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(451);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 503:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 504:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(434);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 505:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 506:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 507:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(503);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 508:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(514);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 509:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(518);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 510:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(453);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 511:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(443);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(443);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 512:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 513:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(423);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 514:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(469);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 515:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(146);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 516:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(466);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 517:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(524);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 518:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(503);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 519:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 520:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(424);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 521:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(484);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 522:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(454);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 523:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 524:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(458);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 525:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 526:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(470);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 527:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 528:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(528);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 529:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(529);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 530:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 531:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      END_STATE();
    case 532:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 533:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 534:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      END_STATE();
    case 535:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 536:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 537:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 538:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 539:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 540:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 541:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 542:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 543:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 544:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 545:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 546:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 547:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 548:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 549:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      END_STATE();
    case 550:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 551:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 552:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      END_STATE();
    case 553:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(706);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 554:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(1049);
      END_STATE();
    case 555:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(874);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 556:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      END_STATE();
    case 557:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 558:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 559:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      END_STATE();
    case 560:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(698);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(703);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(738);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 561:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      ADVANCE_MAP(
        'D', 846,
        'd', 846,
        'N', 866,
        'n', 866,
        'S', 881,
        's', 881,
        'T', 942,
        't', 942,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 562:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(846);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(866);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(942);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 563:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      END_STATE();
    case 564:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 565:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 566:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      END_STATE();
    case 567:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 568:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 569:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      END_STATE();
    case 570:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 571:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 572:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      END_STATE();
    case 573:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 574:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 575:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      END_STATE();
    case 576:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 577:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 578:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 579:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 580:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 581:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 582:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      END_STATE();
    case 583:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 584:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 585:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 586:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 587:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 588:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 589:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 590:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 591:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 592:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 593:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 594:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 595:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(749);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 596:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(959);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 597:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 598:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 599:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 600:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 601:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 602:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 603:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 604:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 605:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 606:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 607:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 608:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 609:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      END_STATE();
    case 610:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 611:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 612:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      END_STATE();
    case 613:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 614:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 615:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      END_STATE();
    case 616:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 617:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 618:
      ACCEPT_TOKEN(anon_sym_COLON_EQ);
      END_STATE();
    case 619:
      ACCEPT_TOKEN(anon_sym_EQ_GT);
      END_STATE();
    case 620:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 621:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 622:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 623:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 624:
      ACCEPT_TOKEN(anon_sym_LT_GT);
      END_STATE();
    case 625:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      END_STATE();
    case 626:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(626);
      END_STATE();
    case 627:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      END_STATE();
    case 628:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 629:
      ACCEPT_TOKEN(sym_visualise_keyword);
      END_STATE();
    case 630:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      END_STATE();
    case 631:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 632:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      END_STATE();
    case 633:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 634:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      END_STATE();
    case 635:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 636:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      END_STATE();
    case 637:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 638:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      END_STATE();
    case 639:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 640:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      END_STATE();
    case 641:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 642:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      END_STATE();
    case 643:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 644:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      END_STATE();
    case 645:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 646:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      END_STATE();
    case 647:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 648:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      END_STATE();
    case 649:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 650:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      END_STATE();
    case 651:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 652:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      END_STATE();
    case 653:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 654:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      END_STATE();
    case 655:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 656:
      ACCEPT_TOKEN(anon_sym_TILDE_STAR);
      END_STATE();
    case 657:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE_STAR);
      END_STATE();
    case 658:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE);
      if (lookahead == '*') ADVANCE(657);
      END_STATE();
    case 659:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      END_STATE();
    case 660:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 661:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      END_STATE();
    case 662:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 663:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      END_STATE();
    case 664:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 665:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      END_STATE();
    case 666:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 667:
      ACCEPT_TOKEN(aux_sym_theme_clause_token1);
      END_STATE();
    case 668:
      ACCEPT_TOKEN(aux_sym_theme_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 669:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(758);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(740);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(747);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 670:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(682);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(728);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 671:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(605);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 672:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(724);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(700);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 673:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(724);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(701);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 674:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(764);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(753);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(759);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 675:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(732);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(779);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 676:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(775);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(714);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(721);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 677:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(683);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 678:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(726);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 679:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(725);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 680:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(746);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 681:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(762);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 682:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(727);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 683:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(681);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 684:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(741);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 685:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(585);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 686:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(771);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 687:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(717);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(766);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 688:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(550);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 689:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(610);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 690:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(699);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 691:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 692:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(773);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(576);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 693:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(570);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 694:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(607);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 695:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(593);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 696:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(537);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 697:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(603);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 698:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(783);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 699:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(689);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 700:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(780);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(776);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 701:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(780);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 702:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(730);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 703:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(744);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 704:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(737);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 705:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(752);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 706:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(745);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 707:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(733);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 708:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(756);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 709:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(769);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 710:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(707);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 711:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(751);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 712:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(713);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(547);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(553);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 713:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(760);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 714:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(768);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 715:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(694);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 716:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(711);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 717:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(702);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 718:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(763);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 719:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(736);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 720:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(761);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 721:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(693);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 722:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(723);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(688);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 723:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(583);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 724:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(778);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 725:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(543);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 726:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(718);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 727:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(695);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 728:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(743);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 729:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(535);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 730:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(671);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 731:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(560);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 732:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(715);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 733:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(567);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 734:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(690);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 735:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(684);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 736:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(686);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 737:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(770);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 738:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(587);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 739:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(729);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 740:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(757);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 741:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(777);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 742:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(765);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 743:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(595);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 744:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(541);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 745:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(573);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 746:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(784);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 747:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(750);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 748:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(739);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 749:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(680);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 750:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(704);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 751:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(696);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 752:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(679);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 753:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(685);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 754:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(545);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 755:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(564);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 756:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(589);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 757:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(754);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 758:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(767);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 759:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(772);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 760:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(709);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 761:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(774);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 762:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(697);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 763:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(691);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(691);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(785);
      END_STATE();
    case 764:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(677);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 765:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(557);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 766:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(591);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 767:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(532);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 768:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(539);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 769:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(578);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 770:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(613);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 771:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(580);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 772:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(719);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 773:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(781);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 774:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(755);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 775:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(705);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 776:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(678);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 777:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(734);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 778:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(708);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 779:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(616);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 780:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(599);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 781:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(710);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 782:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(720);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 783:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(601);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 784:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(597);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 785:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(785);
      END_STATE();
    case 786:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(966);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(863);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(956);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 787:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(832);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(943);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 788:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(820);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(887);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(905);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 789:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(931);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 790:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(931);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 791:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 822,
        'a', 822,
        'E', 925,
        'e', 925,
        'H', 842,
        'h', 842,
        'R', 1006,
        'r', 1006,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 792:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(822);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(925);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 793:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(606);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 794:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 995,
        'a', 995,
        'E', 917,
        'e', 917,
        'I', 973,
        'i', 973,
        'R', 802,
        'r', 802,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 795:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(995);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(917);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(973);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 796:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(995);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(967);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(973);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 797:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(957);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(799);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(941);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 798:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(957);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 799:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(831);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 800:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(924);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(868);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 801:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(924);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(869);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 802:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1009);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 803:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(819);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 804:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(821);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 805:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(922);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(864);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 806:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(922);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 807:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(919);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 808:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(955);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 809:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(913);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 810:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1000);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 811:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(833);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(943);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 812:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(833);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 813:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(977);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(947);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(956);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 814:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(977);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 815:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1002);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 816:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(978);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 817:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(999);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(887);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(905);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 818:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(946);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 819:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(816);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 820:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(873);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(871);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 821:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(873);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 822:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(923);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 823:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(805);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(920);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 824:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(586);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 825:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(892);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(920);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 826:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(892);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(982);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 827:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(806);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 828:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(989);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 829:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(991);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 830:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(992);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 831:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(851);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 832:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(878);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(976);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 833:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(878);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 834:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(551);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(641);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 835:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(551);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 836:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(651);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 837:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(611);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 838:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(874);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 839:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(867);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 840:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(815);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 841:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(993);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(577);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 842:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(928);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 843:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(932);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 844:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(643);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 845:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(649);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 846:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1013);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 847:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(571);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 848:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(653);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 849:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(655);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 850:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(639);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 851:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(633);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 852:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(608);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 853:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(660);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 854:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(594);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 855:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(668);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 856:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(538);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 857:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(200);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 858:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(322);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 859:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(321);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 860:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(604);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 861:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 862:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(939);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 863:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(810);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(974);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 864:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(927);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 865:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(828);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 866:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(953);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 867:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(837);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 868:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1010);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1005);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 869:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1010);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 870:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(929);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 871:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(964);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 872:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(933);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 873:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(912);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 874:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(954);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 875:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(970);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 876:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(967);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(802);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 877:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(967);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 878:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(986);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 879:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(988);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 880:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(872);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 881:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(960);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 882:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(962);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 883:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(829);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 884:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1001);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 885:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(921);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 886:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(888);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(548);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(555);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 887:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(985);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 888:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(980);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 889:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(852);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 890:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(193);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 891:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(843);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(983);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 892:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(864);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 893:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(882);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(983);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 894:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(882);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 895:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(870);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 896:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(979);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 897:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(940);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 898:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(983);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 899:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 900:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(971);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 901:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(997);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 902:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(906);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 903:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(975);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 904:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(883);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 905:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(847);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 906:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(850);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 907:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(910);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(834);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(199);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 908:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(910);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(835);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(199);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 909:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(910);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(835);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 910:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(584);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 911:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 912:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(666);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 913:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(544);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 914:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(799);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(941);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 915:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(902);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(561);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(635);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 916:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(972);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(836);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(903);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 917:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(884);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(824);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 918:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(911);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 919:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(896);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 920:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(865);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(592);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 921:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(865);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 922:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(853);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 923:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(854);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 924:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1007);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 925:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(949);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 926:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(536);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 927:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(793);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 928:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(855);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(647);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 929:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(855);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 930:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(561);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 931:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(889);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 932:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(645);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(856);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 933:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(568);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 934:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(628);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 935:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(562);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 936:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(818);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(840);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 937:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(818);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 938:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(839);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 939:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(990);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 940:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(830);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 941:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(904);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 942:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(588);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 943:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(926);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 944:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(981);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(918);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 945:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(981);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 946:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1004);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 947:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(974);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 948:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(934);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 949:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(596);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 950:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(863);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(956);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 951:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(802);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 952:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(943);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 953:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(542);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 954:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(574);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 955:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1015);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 956:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(961);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 957:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(996);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 958:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(947);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(956);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 959:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(808);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 960:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(987);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 961:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(862);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 962:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(856);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 963:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(838);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 964:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(809);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 965:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(199);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 966:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(844);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 967:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(824);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 968:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(546);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 969:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(565);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 970:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(590);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 971:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1005);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 972:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(845);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 973:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(994);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 974:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(968);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 975:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(998);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 976:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(849);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 977:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(984);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 978:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(860);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 979:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(861);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(861);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1016);
      END_STATE();
    case 980:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(879);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 981:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(558);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 982:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(592);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 983:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(890);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 984:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 985:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(540);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 986:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(662);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 987:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(320);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 988:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(579);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 989:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(144);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 990:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(614);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 991:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(664);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 992:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(581);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 993:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1011);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 994:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(897);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 995:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(803);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 996:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(901);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 997:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(899);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 998:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 999:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(871);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1000:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(857);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1001:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(858);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1002:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(859);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1003:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(918);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1004:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(938);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1005:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(807);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1006:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(848);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1007:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(875);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1008:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(617);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1009:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(631);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1010:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(600);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1011:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(880);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1012:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(903);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1013:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(602);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1014:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(577);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1015:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(598);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1016:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1016);
      END_STATE();
    case 1017:
      ACCEPT_TOKEN(sym_quoted_identifier);
      END_STATE();
    case 1018:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1090);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1019:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1031);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1020:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1027);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1065);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1021:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1030);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1022:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1106);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1023:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1089);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1021);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1082);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1024:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1075);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1025:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1074);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1026:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1076);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1027:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(1051);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1028:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1024);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1029:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1100);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1030:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1044);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1031:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1052);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1095);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1032:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(549);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(640);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1033:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(650);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1034:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1035:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1097);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1036:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1077);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1037:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1079);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1038:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(642);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(531);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1039:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(648);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1040:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(569);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1041:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(652);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1042:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(654);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1043:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(638);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1044:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(632);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1045:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(659);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1046:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(667);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1047:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1080);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1048:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1029);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1049:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1086);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1050:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1078);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1051:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1070);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1052:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1099);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1053:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1047);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1054:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1036);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1105);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1055:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1037);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1056:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1050);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1105);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1057:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1065);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1058:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1096);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1059:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1084);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1060:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1092);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1061:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1094);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1062:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1102);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1063:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1066);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1064:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(1048);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1065:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1040);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1066:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1043);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1067:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1068);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1032);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(198);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1068:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(582);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1069:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(636);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1070:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(665);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1071:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1063);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(559);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(634);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1072:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1093);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1033);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(1061);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1073:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1069);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1074:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1058);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1075:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1045);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1076:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1095);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1077:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(1046);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(646);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1078:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(646);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1079:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(644);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1080:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(566);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1081:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(627);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1082:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1064);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1083:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1098);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1073);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1084:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1081);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1085:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(554);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1086:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(572);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1087:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(552);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1088:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1022);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1089:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1101);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1090:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1038);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1091:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(563);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1092:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1104);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1093:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1039);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1094:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1103);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1095:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1042);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1096:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1034);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(1034);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1108);
      END_STATE();
    case 1097:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1107);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1098:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(556);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1099:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(661);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1100:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(663);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1101:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1062);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1102:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1059);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1103:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1091);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1104:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1025);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1105:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1041);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1106:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(630);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1107:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(1053);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1108:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1108);
      END_STATE();
    case 1109:
      ACCEPT_TOKEN(sym_number);
      if (lookahead == '.') ADVANCE(1110);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1109);
      END_STATE();
    case 1110:
      ACCEPT_TOKEN(sym_number);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1110);
      END_STATE();
    case 1111:
      ACCEPT_TOKEN(anon_sym_SQUOTE);
      END_STATE();
    case 1112:
      ACCEPT_TOKEN(aux_sym_string_token1);
      END_STATE();
    case 1113:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '*') ADVANCE(1130);
      if (lookahead == '/') ADVANCE(1119);
      END_STATE();
    case 1114:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1138);
      END_STATE();
    case 1115:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1114);
      if (lookahead == '/') ADVANCE(1113);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1115);
      if (lookahead != 0 &&
          lookahead != '\'' &&
          lookahead != '\\') ADVANCE(1112);
      END_STATE();
    case 1116:
      ACCEPT_TOKEN(aux_sym_string_token2);
      END_STATE();
    case 1117:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 1118:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 1119:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      END_STATE();
    case 1120:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead == '*') ADVANCE(1137);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1121:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1122:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1123:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1124:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 1125:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      END_STATE();
    case 1126:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '*') ADVANCE(1136);
      if (lookahead == '/') ADVANCE(1125);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      END_STATE();
    case 1127:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1128);
      if (lookahead == '/') ADVANCE(1126);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1127);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(1129);
      END_STATE();
    case 1128:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1144);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      END_STATE();
    case 1129:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      END_STATE();
    case 1130:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      END_STATE();
    case 1131:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead == '*') ADVANCE(1137);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1132:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1133:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1134:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1135:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 1136:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      END_STATE();
    case 1137:
      ACCEPT_TOKEN(aux_sym_comment_token2);
      if (lookahead == '*') ADVANCE(1137);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1138:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      END_STATE();
    case 1139:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead == '*') ADVANCE(1137);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1140:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(530);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1141:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1142:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1143:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(530);
      END_STATE();
    case 1144:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1129);
      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,
        'a', 15,
        'b', 16,
        'c', 17,
        'd', 18,
        'e', 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,
        'G', 33,
        'g', 33,
        'J', 34,
        'j', 34,
        'M', 35,
        'm', 35,
        'N', 36,
        'n', 36,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      END_STATE();
    case 1:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(37);
      END_STATE();
    case 2:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(38);
      END_STATE();
    case 3:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(39);
      END_STATE();
    case 4:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(40);
      END_STATE();
    case 5:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(41);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(42);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(43);
      END_STATE();
    case 6:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(44);
      END_STATE();
    case 7:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(45);
      END_STATE();
    case 8:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(46);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(47);
      END_STATE();
    case 9:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(48);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(49);
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(50);
      END_STATE();
    case 10:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(51);
      END_STATE();
    case 11:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(52);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(53);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(54);
      END_STATE();
    case 12:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(55);
      END_STATE();
    case 13:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(56);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(57);
      END_STATE();
    case 14:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(58);
      END_STATE();
    case 15:
      if (lookahead == 'n') ADVANCE(59);
      if (lookahead == 'r') ADVANCE(60);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(37);
      END_STATE();
    case 16:
      if (lookahead == 'a') ADVANCE(61);
      if (lookahead == 'o') ADVANCE(62);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(38);
      END_STATE();
    case 17:
      if (lookahead == 'O') ADVANCE(39);
      if (lookahead == 'o') ADVANCE(63);
      END_STATE();
    case 18:
      if (lookahead == 'e') ADVANCE(64);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(40);
      END_STATE();
    case 19:
      if (lookahead == 'r') ADVANCE(65);
      END_STATE();
    case 20:
      if (lookahead == 'I') ADVANCE(41);
      if (lookahead == 'O') ADVANCE(42);
      if (lookahead == 'a') ADVANCE(66);
      if (lookahead == 'i') ADVANCE(67);
      if (lookahead == 'o') ADVANCE(68);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(43);
      END_STATE();
    case 21:
      if (lookahead == 'e') ADVANCE(69);
      if (lookahead == 'i') ADVANCE(70);
      if (lookahead == 'j') ADVANCE(71);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(44);
      END_STATE();
    case 22:
      if (lookahead == 'n') ADVANCE(72);
      if (lookahead == 't') ADVANCE(73);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(45);
      END_STATE();
    case 23:
      if (lookahead == 'A') ADVANCE(46);
      if (lookahead == 'I') ADVANCE(47);
      if (lookahead == 'a') ADVANCE(74);
      if (lookahead == 'i') ADVANCE(75);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        'f', 76,
        'p', 77,
        'R', 48,
        'r', 48,
        'U', 49,
        'u', 49,
        'V', 50,
        'v', 50,
      );
      END_STATE();
    case 25:
      if (lookahead == 'a') ADVANCE(78);
      if (lookahead == 'o') ADVANCE(79);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(51);
      END_STATE();
    case 26:
      ADVANCE_MAP(
        'E', 52,
        'I', 53,
        'O', 54,
        'a', 80,
        'e', 81,
        'i', 82,
        'o', 83,
        'u', 84,
      );
      END_STATE();
    case 27:
      if (lookahead == 'E') ADVANCE(55);
      if (lookahead == 'e') ADVANCE(85);
      if (lookahead == 'h') ADVANCE(86);
      if (lookahead == 'i') ADVANCE(87);
      if (lookahead == 'm') ADVANCE(88);
      if (lookahead == 't') ADVANCE(89);
      END_STATE();
    case 28:
      if (lookahead == 'R') ADVANCE(57);
      if (lookahead == 'e') ADVANCE(90);
      if (lookahead == 'r') ADVANCE(91);
      if (lookahead == 'y') ADVANCE(92);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(56);
      END_STATE();
    case 29:
      if (lookahead == 'I') ADVANCE(58);
      if (lookahead == 'i') ADVANCE(93);
      if (lookahead == 'j') ADVANCE(94);
      END_STATE();
    case 30:
      if (lookahead == 'e') ADVANCE(95);
      if (lookahead == 'i') ADVANCE(96);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_x);
      if (lookahead == 'e') ADVANCE(97);
      if (lookahead == 'm') ADVANCE(98);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_y);
      if (lookahead == 'e') ADVANCE(99);
      if (lookahead == 'm') ADVANCE(100);
      END_STATE();
    case 33:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(101);
      END_STATE();
    case 34:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(102);
      END_STATE();
    case 35:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(103);
      END_STATE();
    case 36:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(104);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(105);
      END_STATE();
    case 37:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(106);
      END_STATE();
    case 38:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(107);
      END_STATE();
    case 39:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(108);
      END_STATE();
    case 40:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(109);
      END_STATE();
    case 41:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(110);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(111);
      END_STATE();
    case 42:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(112);
      END_STATE();
    case 43:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(113);
      END_STATE();
    case 44:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(114);
      END_STATE();
    case 45:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(115);
      END_STATE();
    case 46:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(116);
      END_STATE();
    case 47:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(117);
      END_STATE();
    case 48:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(118);
      END_STATE();
    case 49:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(119);
      END_STATE();
    case 50:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(120);
      END_STATE();
    case 51:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(121);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(122);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(123);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(124);
      END_STATE();
    case 53:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(125);
      END_STATE();
    case 54:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(126);
      END_STATE();
    case 55:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(127);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(aux_sym_scale_to_clause_token1);
      END_STATE();
    case 57:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(128);
      END_STATE();
    case 58:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(129);
      END_STATE();
    case 59:
      if (lookahead == 'g') ADVANCE(130);
      END_STATE();
    case 60:
      if (lookahead == 'e') ADVANCE(131);
      if (lookahead == 'r') ADVANCE(132);
      END_STATE();
    case 61:
      if (lookahead == 'r') ADVANCE(133);
      END_STATE();
    case 62:
      if (lookahead == 'x') ADVANCE(134);
      END_STATE();
    case 63:
      if (lookahead == 'e') ADVANCE(135);
      if (lookahead == 'l') ADVANCE(136);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(108);
      END_STATE();
    case 64:
      if (lookahead == 'n') ADVANCE(137);
      END_STATE();
    case 65:
      if (lookahead == 'r') ADVANCE(138);
      END_STATE();
    case 66:
      if (lookahead == 'l') ADVANCE(139);
      END_STATE();
    case 67:
      if (lookahead == 'L') ADVANCE(110);
      if (lookahead == 'l') ADVANCE(140);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(111);
      END_STATE();
    case 68:
      if (lookahead == 'n') ADVANCE(141);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(112);
      END_STATE();
    case 69:
      if (lookahead == 'i') ADVANCE(142);
      END_STATE();
    case 70:
      if (lookahead == 's') ADVANCE(143);
      END_STATE();
    case 71:
      if (lookahead == 'u') ADVANCE(144);
      END_STATE();
    case 72:
      if (lookahead == 't') ADVANCE(145);
      END_STATE();
    case 73:
      if (lookahead == 'a') ADVANCE(146);
      END_STATE();
    case 74:
      if (lookahead == 'b') ADVANCE(147);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(116);
      END_STATE();
    case 75:
      if (lookahead == 'n') ADVANCE(148);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(117);
      END_STATE();
    case 76:
      if (lookahead == 'f') ADVANCE(149);
      END_STATE();
    case 77:
      if (lookahead == 'a') ADVANCE(150);
      END_STATE();
    case 78:
      if (lookahead == 'n') ADVANCE(151);
      if (lookahead == 't') ADVANCE(152);
      END_STATE();
    case 79:
      if (lookahead == 'i') ADVANCE(153);
      if (lookahead == 'l') ADVANCE(154);
      END_STATE();
    case 80:
      if (lookahead == 'd') ADVANCE(155);
      END_STATE();
    case 81:
      if (lookahead == 'C') ADVANCE(122);
      if (lookahead == 'c') ADVANCE(156);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(123);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(124);
      END_STATE();
    case 82:
      if (lookahead == 'b') ADVANCE(157);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(125);
      END_STATE();
    case 83:
      if (lookahead == 'W') ADVANCE(126);
      if (lookahead == 't') ADVANCE(158);
      if (lookahead == 'w') ADVANCE(159);
      END_STATE();
    case 84:
      if (lookahead == 'l') ADVANCE(160);
      END_STATE();
    case 85:
      if (lookahead == 'g') ADVANCE(161);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(127);
      END_STATE();
    case 86:
      if (lookahead == 'a') ADVANCE(162);
      END_STATE();
    case 87:
      if (lookahead == 'z') ADVANCE(163);
      END_STATE();
    case 88:
      if (lookahead == 'o') ADVANCE(164);
      END_STATE();
    case 89:
      if (lookahead == 'r') ADVANCE(165);
      END_STATE();
    case 90:
      if (lookahead == 'x') ADVANCE(166);
      END_STATE();
    case 91:
      if (lookahead == 'u') ADVANCE(167);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(128);
      END_STATE();
    case 92:
      if (lookahead == 'p') ADVANCE(168);
      END_STATE();
    case 93:
      if (lookahead == 'o') ADVANCE(169);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(129);
      END_STATE();
    case 94:
      if (lookahead == 'u') ADVANCE(170);
      END_STATE();
    case 95:
      if (lookahead == 'i') ADVANCE(171);
      END_STATE();
    case 96:
      if (lookahead == 'd') ADVANCE(172);
      END_STATE();
    case 97:
      if (lookahead == 'n') ADVANCE(173);
      END_STATE();
    case 98:
      if (lookahead == 'a') ADVANCE(174);
      if (lookahead == 'i') ADVANCE(175);
      END_STATE();
    case 99:
      if (lookahead == 'n') ADVANCE(176);
      END_STATE();
    case 100:
      if (lookahead == 'a') ADVANCE(177);
      if (lookahead == 'i') ADVANCE(178);
      END_STATE();
    case 101:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(179);
      END_STATE();
    case 102:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(180);
      END_STATE();
    case 103:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(181);
      END_STATE();
    case 104:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(182);
      END_STATE();
    case 105:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(183);
      END_STATE();
    case 106:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token28);
      END_STATE();
    case 107:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(184);
      END_STATE();
    case 108:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(185);
      END_STATE();
    case 109:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(186);
      END_STATE();
    case 110:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(187);
      END_STATE();
    case 111:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(188);
      END_STATE();
    case 112:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(189);
      END_STATE();
    case 113:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(190);
      END_STATE();
    case 114:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(191);
      END_STATE();
    case 115:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(192);
      END_STATE();
    case 116:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(193);
      END_STATE();
    case 117:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(194);
      END_STATE();
    case 118:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(195);
      END_STATE();
    case 119:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(196);
      END_STATE();
    case 120:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(197);
      END_STATE();
    case 121:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(198);
      END_STATE();
    case 122:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(199);
      END_STATE();
    case 123:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(200);
      END_STATE();
    case 124:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(201);
      END_STATE();
    case 125:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(202);
      END_STATE();
    case 126:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(203);
      END_STATE();
    case 127:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(204);
      END_STATE();
    case 128:
      if (lookahead == '_') ADVANCE(205);
      END_STATE();
    case 129:
      ACCEPT_TOKEN(aux_sym_scale_via_clause_token1);
      END_STATE();
    case 130:
      if (lookahead == 'l') ADVANCE(206);
      END_STATE();
    case 131:
      if (lookahead == 'a') ADVANCE(207);
      END_STATE();
    case 132:
      if (lookahead == 'o') ADVANCE(208);
      END_STATE();
    case 133:
      ACCEPT_TOKEN(anon_sym_bar);
      END_STATE();
    case 134:
      if (lookahead == 'p') ADVANCE(209);
      END_STATE();
    case 135:
      if (lookahead == 'f') ADVANCE(210);
      END_STATE();
    case 136:
      if (lookahead == 'o') ADVANCE(211);
      if (lookahead == 'u') ADVANCE(212);
      END_STATE();
    case 137:
      if (lookahead == 's') ADVANCE(213);
      END_STATE();
    case 138:
      if (lookahead == 'o') ADVANCE(214);
      END_STATE();
    case 139:
      if (lookahead == 's') ADVANCE(215);
      END_STATE();
    case 140:
      if (lookahead == 'l') ADVANCE(216);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(187);
      END_STATE();
    case 141:
      if (lookahead == 't') ADVANCE(217);
      END_STATE();
    case 142:
      if (lookahead == 'g') ADVANCE(218);
      END_STATE();
    case 143:
      if (lookahead == 't') ADVANCE(219);
      END_STATE();
    case 144:
      if (lookahead == 's') ADVANCE(220);
      END_STATE();
    case 145:
      if (lookahead == 'e') ADVANCE(221);
      END_STATE();
    case 146:
      if (lookahead == 'l') ADVANCE(222);
      END_STATE();
    case 147:
      if (lookahead == 'e') ADVANCE(223);
      END_STATE();
    case 148:
      if (lookahead == 'e') ADVANCE(224);
      END_STATE();
    case 149:
      if (lookahead == 's') ADVANCE(225);
      END_STATE();
    case 150:
      if (lookahead == 'c') ADVANCE(226);
      END_STATE();
    case 151:
      if (lookahead == 'e') ADVANCE(227);
      END_STATE();
    case 152:
      if (lookahead == 'h') ADVANCE(228);
      END_STATE();
    case 153:
      if (lookahead == 'n') ADVANCE(229);
      END_STATE();
    case 154:
      if (lookahead == 'y') ADVANCE(230);
      END_STATE();
    case 155:
      if (lookahead == 'i') ADVANCE(231);
      END_STATE();
    case 156:
      if (lookahead == 't') ADVANCE(232);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(199);
      END_STATE();
    case 157:
      if (lookahead == 'b') ADVANCE(233);
      END_STATE();
    case 158:
      if (lookahead == 'a') ADVANCE(234);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_row);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(203);
      END_STATE();
    case 160:
      if (lookahead == 'e') ADVANCE(235);
      END_STATE();
    case 161:
      if (lookahead == 'm') ADVANCE(236);
      END_STATE();
    case 162:
      if (lookahead == 'p') ADVANCE(237);
      END_STATE();
    case 163:
      if (lookahead == 'e') ADVANCE(238);
      END_STATE();
    case 164:
      if (lookahead == 'o') ADVANCE(239);
      END_STATE();
    case 165:
      if (lookahead == 'o') ADVANCE(240);
      END_STATE();
    case 166:
      if (lookahead == 't') ADVANCE(241);
      END_STATE();
    case 167:
      if (lookahead == 'e') ADVANCE(242);
      END_STATE();
    case 168:
      if (lookahead == 'e') ADVANCE(243);
      END_STATE();
    case 169:
      if (lookahead == 'l') ADVANCE(244);
      END_STATE();
    case 170:
      if (lookahead == 's') ADVANCE(245);
      END_STATE();
    case 171:
      if (lookahead == 'g') ADVANCE(246);
      END_STATE();
    case 172:
      if (lookahead == 't') ADVANCE(247);
      END_STATE();
    case 173:
      if (lookahead == 'd') ADVANCE(248);
      END_STATE();
    case 174:
      if (lookahead == 'x') ADVANCE(249);
      END_STATE();
    case 175:
      if (lookahead == 'n') ADVANCE(250);
      END_STATE();
    case 176:
      if (lookahead == 'd') ADVANCE(251);
      END_STATE();
    case 177:
      if (lookahead == 'x') ADVANCE(252);
      END_STATE();
    case 178:
      if (lookahead == 'n') ADVANCE(253);
      END_STATE();
    case 179:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(254);
      END_STATE();
    case 180:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(255);
      END_STATE();
    case 181:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(256);
      END_STATE();
    case 182:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(257);
      END_STATE();
    case 183:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(258);
      END_STATE();
    case 184:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(259);
      END_STATE();
    case 185:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(260);
      END_STATE();
    case 186:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(261);
      END_STATE();
    case 187:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(262);
      END_STATE();
    case 188:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(263);
      END_STATE();
    case 189:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(264);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token11);
      END_STATE();
    case 191:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(265);
      END_STATE();
    case 192:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(266);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token50);
      END_STATE();
    case 194:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(267);
      END_STATE();
    case 195:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(268);
      END_STATE();
    case 196:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(269);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token40);
      END_STATE();
    case 198:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(270);
      END_STATE();
    case 199:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(271);
      END_STATE();
    case 200:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(272);
      END_STATE();
    case 201:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(273);
      END_STATE();
    case 202:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(274);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token41);
      END_STATE();
    case 204:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(275);
      END_STATE();
    case 205:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(276);
      END_STATE();
    case 206:
      if (lookahead == 'e') ADVANCE(277);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(anon_sym_area);
      END_STATE();
    case 208:
      if (lookahead == 'w') ADVANCE(278);
      END_STATE();
    case 209:
      if (lookahead == 'l') ADVANCE(279);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(anon_sym_coef);
      END_STATE();
    case 211:
      if (lookahead == 'r') ADVANCE(280);
      if (lookahead == 'u') ADVANCE(281);
      END_STATE();
    case 212:
      if (lookahead == 'm') ADVANCE(282);
      END_STATE();
    case 213:
      if (lookahead == 'i') ADVANCE(283);
      END_STATE();
    case 214:
      if (lookahead == 'r') ADVANCE(284);
      END_STATE();
    case 215:
      if (lookahead == 'e') ADVANCE(285);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(anon_sym_fill);
      END_STATE();
    case 217:
      if (lookahead == 's') ADVANCE(286);
      if (lookahead == 'w') ADVANCE(287);
      END_STATE();
    case 218:
      if (lookahead == 'h') ADVANCE(288);
      END_STATE();
    case 219:
      if (lookahead == 'o') ADVANCE(289);
      END_STATE();
    case 220:
      if (lookahead == 't') ADVANCE(290);
      END_STATE();
    case 221:
      if (lookahead == 'r') ADVANCE(291);
      END_STATE();
    case 222:
      if (lookahead == 'i') ADVANCE(292);
      END_STATE();
    case 223:
      if (lookahead == 'l') ADVANCE(293);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(anon_sym_line);
      if (lookahead == 'a') ADVANCE(294);
      if (lookahead == 't') ADVANCE(295);
      if (lookahead == 'w') ADVANCE(296);
      END_STATE();
    case 225:
      if (lookahead == 'e') ADVANCE(297);
      END_STATE();
    case 226:
      if (lookahead == 'i') ADVANCE(298);
      END_STATE();
    case 227:
      if (lookahead == 'l') ADVANCE(299);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(anon_sym_path);
      END_STATE();
    case 229:
      if (lookahead == 't') ADVANCE(300);
      END_STATE();
    case 230:
      if (lookahead == 'g') ADVANCE(301);
      END_STATE();
    case 231:
      if (lookahead == 'u') ADVANCE(302);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(anon_sym_rect);
      END_STATE();
    case 233:
      if (lookahead == 'o') ADVANCE(303);
      END_STATE();
    case 234:
      if (lookahead == 't') ADVANCE(304);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(anon_sym_rule);
      END_STATE();
    case 236:
      if (lookahead == 'e') ADVANCE(305);
      END_STATE();
    case 237:
      if (lookahead == 'e') ADVANCE(306);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(anon_sym_size);
      END_STATE();
    case 239:
      if (lookahead == 't') ADVANCE(307);
      END_STATE();
    case 240:
      if (lookahead == 'k') ADVANCE(308);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(anon_sym_text);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 243:
      if (lookahead == 'f') ADVANCE(309);
      END_STATE();
    case 244:
      if (lookahead == 'i') ADVANCE(310);
      END_STATE();
    case 245:
      if (lookahead == 't') ADVANCE(311);
      END_STATE();
    case 246:
      if (lookahead == 'h') ADVANCE(312);
      END_STATE();
    case 247:
      if (lookahead == 'h') ADVANCE(313);
      END_STATE();
    case 248:
      ACCEPT_TOKEN(anon_sym_xend);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(anon_sym_xmax);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(anon_sym_xmin);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(anon_sym_yend);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(anon_sym_ymax);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(anon_sym_ymin);
      END_STATE();
    case 254:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(314);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token3);
      END_STATE();
    case 256:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(315);
      END_STATE();
    case 257:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(316);
      END_STATE();
    case 258:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(317);
      END_STATE();
    case 259:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(318);
      END_STATE();
    case 260:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(319);
      END_STATE();
    case 261:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(320);
      END_STATE();
    case 262:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(321);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token49);
      END_STATE();
    case 264:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(322);
      END_STATE();
    case 265:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(323);
      END_STATE();
    case 266:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(324);
      END_STATE();
    case 267:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token24);
      END_STATE();
    case 268:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(325);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token7);
      END_STATE();
    case 270:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(326);
      END_STATE();
    case 271:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(327);
      END_STATE();
    case 272:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(328);
      END_STATE();
    case 273:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(329);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token5);
      END_STATE();
    case 275:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(330);
      END_STATE();
    case 276:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(331);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(anon_sym_angle);
      if (lookahead == 'e') ADVANCE(332);
      if (lookahead == 'm') ADVANCE(333);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(anon_sym_arrow);
      END_STATE();
    case 279:
      if (lookahead == 'o') ADVANCE(334);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(anon_sym_color);
      END_STATE();
    case 281:
      if (lookahead == 'r') ADVANCE(335);
      END_STATE();
    case 282:
      if (lookahead == 'n') ADVANCE(336);
      END_STATE();
    case 283:
      if (lookahead == 't') ADVANCE(337);
      END_STATE();
    case 284:
      if (lookahead == 'b') ADVANCE(338);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 286:
      if (lookahead == 'i') ADVANCE(339);
      END_STATE();
    case 287:
      if (lookahead == 'e') ADVANCE(340);
      END_STATE();
    case 288:
      if (lookahead == 't') ADVANCE(341);
      END_STATE();
    case 289:
      if (lookahead == 'g') ADVANCE(342);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(anon_sym_hjust);
      END_STATE();
    case 291:
      if (lookahead == 'c') ADVANCE(343);
      END_STATE();
    case 292:
      if (lookahead == 'c') ADVANCE(344);
      END_STATE();
    case 293:
      ACCEPT_TOKEN(anon_sym_label);
      END_STATE();
    case 294:
      if (lookahead == 'r') ADVANCE(345);
      END_STATE();
    case 295:
      if (lookahead == 'y') ADVANCE(346);
      END_STATE();
    case 296:
      if (lookahead == 'i') ADVANCE(347);
      END_STATE();
    case 297:
      if (lookahead == 't') ADVANCE(348);
      END_STATE();
    case 298:
      if (lookahead == 't') ADVANCE(349);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(anon_sym_panel);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(anon_sym_point);
      END_STATE();
    case 301:
      if (lookahead == 'o') ADVANCE(350);
      END_STATE();
    case 302:
      if (lookahead == 's') ADVANCE(351);
      END_STATE();
    case 303:
      if (lookahead == 'n') ADVANCE(352);
      END_STATE();
    case 304:
      if (lookahead == 'i') ADVANCE(353);
      END_STATE();
    case 305:
      if (lookahead == 'n') ADVANCE(354);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(anon_sym_shape);
      END_STATE();
    case 307:
      if (lookahead == 'h') ADVANCE(355);
      END_STATE();
    case 308:
      if (lookahead == 'e') ADVANCE(356);
      END_STATE();
    case 309:
      if (lookahead == 'a') ADVANCE(357);
      END_STATE();
    case 310:
      if (lookahead == 'n') ADVANCE(358);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(anon_sym_vjust);
      END_STATE();
    case 312:
      if (lookahead == 't') ADVANCE(359);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(anon_sym_width);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token21);
      END_STATE();
    case 315:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(360);
      END_STATE();
    case 316:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(361);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token48);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token3);
      END_STATE();
    case 319:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(362);
      END_STATE();
    case 320:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(363);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(aux_sym_filter_clause_token1);
      END_STATE();
    case 322:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(364);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token23);
      END_STATE();
    case 324:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(365);
      END_STATE();
    case 325:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(366);
      END_STATE();
    case 326:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(367);
      END_STATE();
    case 327:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(368);
      END_STATE();
    case 328:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(369);
      END_STATE();
    case 329:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(370);
      END_STATE();
    case 330:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(371);
      END_STATE();
    case 331:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(372);
      END_STATE();
    case 332:
      if (lookahead == 'n') ADVANCE(373);
      END_STATE();
    case 333:
      if (lookahead == 'a') ADVANCE(374);
      if (lookahead == 'i') ADVANCE(375);
      END_STATE();
    case 334:
      if (lookahead == 't') ADVANCE(376);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(anon_sym_colour);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(anon_sym_column);
      END_STATE();
    case 337:
      if (lookahead == 'y') ADVANCE(377);
      END_STATE();
    case 338:
      if (lookahead == 'a') ADVANCE(378);
      END_STATE();
    case 339:
      if (lookahead == 'z') ADVANCE(379);
      END_STATE();
    case 340:
      if (lookahead == 'i') ADVANCE(380);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(anon_sym_height);
      END_STATE();
    case 342:
      if (lookahead == 'r') ADVANCE(381);
      END_STATE();
    case 343:
      if (lookahead == 'e') ADVANCE(382);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(anon_sym_italic);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(anon_sym_linear);
      END_STATE();
    case 346:
      if (lookahead == 'p') ADVANCE(383);
      END_STATE();
    case 347:
      if (lookahead == 'd') ADVANCE(384);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(anon_sym_offset);
      END_STATE();
    case 349:
      if (lookahead == 'y') ADVANCE(385);
      END_STATE();
    case 350:
      if (lookahead == 'n') ADVANCE(386);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(anon_sym_radius);
      if (lookahead == 'e') ADVANCE(387);
      if (lookahead == 'm') ADVANCE(388);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(anon_sym_ribbon);
      END_STATE();
    case 353:
      if (lookahead == 'o') ADVANCE(389);
      END_STATE();
    case 354:
      if (lookahead == 't') ADVANCE(390);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(anon_sym_smooth);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(anon_sym_stroke);
      END_STATE();
    case 357:
      if (lookahead == 'c') ADVANCE(391);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(anon_sym_violin);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(anon_sym_weight);
      END_STATE();
    case 360:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(392);
      END_STATE();
    case 361:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(393);
      END_STATE();
    case 362:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(394);
      END_STATE();
    case 363:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(395);
      END_STATE();
    case 364:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(396);
      END_STATE();
    case 365:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(397);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token4);
      END_STATE();
    case 367:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(398);
      END_STATE();
    case 368:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(399);
      END_STATE();
    case 369:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(400);
      END_STATE();
    case 370:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(401);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(aux_sym_setting_clause_token1);
      END_STATE();
    case 372:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(402);
      END_STATE();
    case 373:
      if (lookahead == 'd') ADVANCE(403);
      END_STATE();
    case 374:
      if (lookahead == 'x') ADVANCE(404);
      END_STATE();
    case 375:
      if (lookahead == 'n') ADVANCE(405);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(anon_sym_boxplot);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(anon_sym_density);
      END_STATE();
    case 378:
      if (lookahead == 'r') ADVANCE(406);
      END_STATE();
    case 379:
      if (lookahead == 'e') ADVANCE(407);
      END_STATE();
    case 380:
      if (lookahead == 'g') ADVANCE(408);
      END_STATE();
    case 381:
      if (lookahead == 'a') ADVANCE(409);
      END_STATE();
    case 382:
      if (lookahead == 'p') ADVANCE(410);
      END_STATE();
    case 383:
      if (lookahead == 'e') ADVANCE(411);
      END_STATE();
    case 384:
      if (lookahead == 't') ADVANCE(412);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(anon_sym_opacity);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(anon_sym_polygon);
      END_STATE();
    case 387:
      if (lookahead == 'n') ADVANCE(413);
      END_STATE();
    case 388:
      if (lookahead == 'a') ADVANCE(414);
      if (lookahead == 'i') ADVANCE(415);
      END_STATE();
    case 389:
      if (lookahead == 'n') ADVANCE(416);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(anon_sym_segment);
      END_STATE();
    case 391:
      if (lookahead == 'e') ADVANCE(417);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(aux_sym_mapping_clause_token1);
      END_STATE();
    case 393:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token10);
      END_STATE();
    case 394:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(418);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token2);
      END_STATE();
    case 396:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(419);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token5);
      END_STATE();
    case 398:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(420);
      END_STATE();
    case 399:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(421);
      END_STATE();
    case 400:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(422);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(aux_sym_scale_renaming_clause_token1);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_cast_expression_token2);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(anon_sym_angleend);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(anon_sym_anglemax);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(anon_sym_anglemin);
      END_STATE();
    case 406:
      ACCEPT_TOKEN(anon_sym_errorbar);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(anon_sym_fontsize);
      END_STATE();
    case 408:
      if (lookahead == 'h') ADVANCE(423);
      END_STATE();
    case 409:
      if (lookahead == 'm') ADVANCE(424);
      END_STATE();
    case 410:
      if (lookahead == 't') ADVANCE(425);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(anon_sym_linetype);
      END_STATE();
    case 412:
      if (lookahead == 'h') ADVANCE(426);
      END_STATE();
    case 413:
      if (lookahead == 'd') ADVANCE(427);
      END_STATE();
    case 414:
      if (lookahead == 'x') ADVANCE(428);
      END_STATE();
    case 415:
      if (lookahead == 'n') ADVANCE(429);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(anon_sym_rotation);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(anon_sym_typeface);
      END_STATE();
    case 418:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(430);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token45);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token44);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(aux_sym_with_statement_token2);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(aux_sym_remapping_clause_token1);
      END_STATE();
    case 423:
      if (lookahead == 't') ADVANCE(431);
      END_STATE();
    case 424:
      ACCEPT_TOKEN(anon_sym_histogram);
      END_STATE();
    case 425:
      ACCEPT_TOKEN(anon_sym_intercept);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(anon_sym_linewidth);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(anon_sym_radiusend);
      END_STATE();
    case 428:
      ACCEPT_TOKEN(anon_sym_radiusmax);
      END_STATE();
    case 429:
      ACCEPT_TOKEN(anon_sym_radiusmin);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token1);
      END_STATE();
    case 431:
      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 = 132},
  [2] = {.lex_state = 116},
  [3] = {.lex_state = 116},
  [4] = {.lex_state = 119},
  [5] = {.lex_state = 120},
  [6] = {.lex_state = 119},
  [7] = {.lex_state = 1},
  [8] = {.lex_state = 1},
  [9] = {.lex_state = 1},
  [10] = {.lex_state = 1},
  [11] = {.lex_state = 118},
  [12] = {.lex_state = 132},
  [13] = {.lex_state = 132},
  [14] = {.lex_state = 3},
  [15] = {.lex_state = 7},
  [16] = {.lex_state = 7},
  [17] = {.lex_state = 7},
  [18] = {.lex_state = 7},
  [19] = {.lex_state = 7},
  [20] = {.lex_state = 7},
  [21] = {.lex_state = 7},
  [22] = {.lex_state = 7},
  [23] = {.lex_state = 7},
  [24] = {.lex_state = 116},
  [25] = {.lex_state = 117},
  [26] = {.lex_state = 117},
  [27] = {.lex_state = 117},
  [28] = {.lex_state = 117},
  [29] = {.lex_state = 117},
  [30] = {.lex_state = 117},
  [31] = {.lex_state = 116},
  [32] = {.lex_state = 116},
  [33] = {.lex_state = 116},
  [34] = {.lex_state = 117},
  [35] = {.lex_state = 116},
  [36] = {.lex_state = 116},
  [37] = {.lex_state = 117},
  [38] = {.lex_state = 117},
  [39] = {.lex_state = 117},
  [40] = {.lex_state = 116},
  [41] = {.lex_state = 116},
  [42] = {.lex_state = 116},
  [43] = {.lex_state = 116},
  [44] = {.lex_state = 116},
  [45] = {.lex_state = 116},
  [46] = {.lex_state = 116},
  [47] = {.lex_state = 116},
  [48] = {.lex_state = 116},
  [49] = {.lex_state = 116},
  [50] = {.lex_state = 116},
  [51] = {.lex_state = 116},
  [52] = {.lex_state = 116},
  [53] = {.lex_state = 2},
  [54] = {.lex_state = 2},
  [55] = {.lex_state = 2},
  [56] = {.lex_state = 2},
  [57] = {.lex_state = 116},
  [58] = {.lex_state = 2},
  [59] = {.lex_state = 116},
  [60] = {.lex_state = 116},
  [61] = {.lex_state = 116},
  [62] = {.lex_state = 116},
  [63] = {.lex_state = 1},
  [64] = {.lex_state = 1},
  [65] = {.lex_state = 1},
  [66] = {.lex_state = 2},
  [67] = {.lex_state = 6},
  [68] = {.lex_state = 2},
  [69] = {.lex_state = 2},
  [70] = {.lex_state = 2},
  [71] = {.lex_state = 2},
  [72] = {.lex_state = 6},
  [73] = {.lex_state = 1},
  [74] = {.lex_state = 1},
  [75] = {.lex_state = 1},
  [76] = {.lex_state = 1},
  [77] = {.lex_state = 1},
  [78] = {.lex_state = 1},
  [79] = {.lex_state = 1},
  [80] = {.lex_state = 1},
  [81] = {.lex_state = 1},
  [82] = {.lex_state = 1},
  [83] = {.lex_state = 1},
  [84] = {.lex_state = 1},
  [85] = {.lex_state = 1},
  [86] = {.lex_state = 1},
  [87] = {.lex_state = 1},
  [88] = {.lex_state = 1},
  [89] = {.lex_state = 1},
  [90] = {.lex_state = 1},
  [91] = {.lex_state = 1},
  [92] = {.lex_state = 1},
  [93] = {.lex_state = 1},
  [94] = {.lex_state = 126},
  [95] = {.lex_state = 126},
  [96] = {.lex_state = 127},
  [97] = {.lex_state = 127},
  [98] = {.lex_state = 127},
  [99] = {.lex_state = 127},
  [100] = {.lex_state = 6},
  [101] = {.lex_state = 6},
  [102] = {.lex_state = 6},
  [103] = {.lex_state = 6},
  [104] = {.lex_state = 6},
  [105] = {.lex_state = 6},
  [106] = {.lex_state = 6},
  [107] = {.lex_state = 6},
  [108] = {.lex_state = 6},
  [109] = {.lex_state = 6},
  [110] = {.lex_state = 6},
  [111] = {.lex_state = 6},
  [112] = {.lex_state = 6},
  [113] = {.lex_state = 6},
  [114] = {.lex_state = 6},
  [115] = {.lex_state = 6},
  [116] = {.lex_state = 133},
  [117] = {.lex_state = 133},
  [118] = {.lex_state = 9},
  [119] = {.lex_state = 9},
  [120] = {.lex_state = 9},
  [121] = {.lex_state = 9},
  [122] = {.lex_state = 126},
  [123] = {.lex_state = 126},
  [124] = {.lex_state = 126},
  [125] = {.lex_state = 126},
  [126] = {.lex_state = 126},
  [127] = {.lex_state = 126},
  [128] = {.lex_state = 127},
  [129] = {.lex_state = 127},
  [130] = {.lex_state = 127},
  [131] = {.lex_state = 127},
  [132] = {.lex_state = 127},
  [133] = {.lex_state = 127},
  [134] = {.lex_state = 133},
  [135] = {.lex_state = 133},
  [136] = {.lex_state = 133},
  [137] = {.lex_state = 133},
  [138] = {.lex_state = 133},
  [139] = {.lex_state = 121},
  [140] = {.lex_state = 121},
  [141] = {.lex_state = 121},
  [142] = {.lex_state = 121},
  [143] = {.lex_state = 121},
  [144] = {.lex_state = 121},
  [145] = {.lex_state = 5},
  [146] = {.lex_state = 4},
  [147] = {.lex_state = 5},
  [148] = {.lex_state = 5},
  [149] = {.lex_state = 5},
  [150] = {.lex_state = 123},
  [151] = {.lex_state = 128},
  [152] = {.lex_state = 125},
  [153] = {.lex_state = 125},
  [154] = {.lex_state = 125},
  [155] = {.lex_state = 122},
  [156] = {.lex_state = 122},
  [157] = {.lex_state = 122},
  [158] = {.lex_state = 122},
  [159] = {.lex_state = 129},
  [160] = {.lex_state = 129},
  [161] = {.lex_state = 129},
  [162] = {.lex_state = 5},
  [163] = {.lex_state = 5},
  [164] = {.lex_state = 129},
  [165] = {.lex_state = 135},
  [166] = {.lex_state = 129},
  [167] = {.lex_state = 5},
  [168] = {.lex_state = 12},
  [169] = {.lex_state = 124},
  [170] = {.lex_state = 11},
  [171] = {.lex_state = 8},
  [172] = {.lex_state = 10},
  [173] = {.lex_state = 139},
  [174] = {.lex_state = 135},
  [175] = {.lex_state = 8},
  [176] = {.lex_state = 140},
  [177] = {.lex_state = 8},
  [178] = {.lex_state = 11},
  [179] = {.lex_state = 140},
  [180] = {.lex_state = 8},
  [181] = {.lex_state = 125},
  [182] = {.lex_state = 121},
  [183] = {.lex_state = 121},
  [184] = {.lex_state = 121},
  [185] = {.lex_state = 124},
  [186] = {.lex_state = 121},
  [187] = {.lex_state = 121},
  [188] = {.lex_state = 121},
  [189] = {.lex_state = 135},
  [190] = {.lex_state = 139},
  [191] = {.lex_state = 139},
  [192] = {.lex_state = 124},
  [193] = {.lex_state = 134},
  [194] = {.lex_state = 134},
  [195] = {.lex_state = 124},
  [196] = {.lex_state = 135},
  [197] = {.lex_state = 135},
  [198] = {.lex_state = 137},
  [199] = {.lex_state = 124},
  [200] = {.lex_state = 124},
  [201] = {.lex_state = 136},
  [202] = {.lex_state = 124},
  [203] = {.lex_state = 135},
  [204] = {.lex_state = 8},
  [205] = {.lex_state = 139},
  [206] = {.lex_state = 135},
  [207] = {.lex_state = 124},
  [208] = {.lex_state = 124},
  [209] = {.lex_state = 131},
  [210] = {.lex_state = 124},
  [211] = {.lex_state = 124},
  [212] = {.lex_state = 124},
  [213] = {.lex_state = 131},
  [214] = {.lex_state = 14},
  [215] = {.lex_state = 139},
  [216] = {.lex_state = 139},
  [217] = {.lex_state = 139},
  [218] = {.lex_state = 125},
  [219] = {.lex_state = 125},
  [220] = {.lex_state = 125},
  [221] = {.lex_state = 135},
  [222] = {.lex_state = 135},
  [223] = {.lex_state = 135},
  [224] = {.lex_state = 139},
  [225] = {.lex_state = 8},
  [226] = {.lex_state = 135},
  [227] = {.lex_state = 135},
  [228] = {.lex_state = 131},
  [229] = {.lex_state = 124},
  [230] = {.lex_state = 135},
  [231] = {.lex_state = 135},
  [232] = {.lex_state = 131},
  [233] = {.lex_state = 125},
  [234] = {.lex_state = 8},
  [235] = {.lex_state = 131},
  [236] = {.lex_state = 135},
  [237] = {.lex_state = 135},
  [238] = {.lex_state = 8},
  [239] = {.lex_state = 8},
  [240] = {.lex_state = 139},
  [241] = {.lex_state = 135},
  [242] = {.lex_state = 122},
  [243] = {.lex_state = 124},
  [244] = {.lex_state = 124},
  [245] = {.lex_state = 124},
  [246] = {.lex_state = 8},
  [247] = {.lex_state = 8},
  [248] = {.lex_state = 8},
  [249] = {.lex_state = 135},
  [250] = {.lex_state = 135},
  [251] = {.lex_state = 135},
  [252] = {.lex_state = 135},
  [253] = {.lex_state = 130},
  [254] = {.lex_state = 130},
  [255] = {.lex_state = 122},
  [256] = {.lex_state = 135},
  [257] = {.lex_state = 122},
  [258] = {.lex_state = 131},
  [259] = {.lex_state = 131},
  [260] = {.lex_state = 131},
  [261] = {.lex_state = 121},
  [262] = {.lex_state = 122},
  [263] = {.lex_state = 131},
  [264] = {.lex_state = 135},
  [265] = {.lex_state = 121},
  [266] = {.lex_state = 138},
  [267] = {.lex_state = 121},
  [268] = {.lex_state = 138},
  [269] = {.lex_state = 131},
  [270] = {.lex_state = 121},
  [271] = {.lex_state = 131},
  [272] = {.lex_state = 121},
  [273] = {.lex_state = 121},
  [274] = {.lex_state = 138},
  [275] = {.lex_state = 131},
  [276] = {.lex_state = 121},
  [277] = {.lex_state = 11},
  [278] = {.lex_state = 121},
  [279] = {.lex_state = 121},
  [280] = {.lex_state = 121},
  [281] = {.lex_state = 131},
  [282] = {.lex_state = 121},
  [283] = {.lex_state = 13},
  [284] = {.lex_state = 131},
  [285] = {.lex_state = 121},
  [286] = {.lex_state = 131},
  [287] = {.lex_state = 121},
  [288] = {.lex_state = 121},
  [289] = {.lex_state = 131},
  [290] = {.lex_state = 121},
  [291] = {.lex_state = 121},
  [292] = {.lex_state = 121},
  [293] = {.lex_state = 131},
  [294] = {.lex_state = 121},
  [295] = {.lex_state = 121},
  [296] = {.lex_state = 121},
  [297] = {.lex_state = 121},
  [298] = {.lex_state = 121},
  [299] = {.lex_state = 121},
  [300] = {.lex_state = 121},
  [301] = {.lex_state = 121},
  [302] = {.lex_state = 121},
  [303] = {.lex_state = 121},
  [304] = {.lex_state = 131},
  [305] = {.lex_state = 121},
  [306] = {.lex_state = 131},
  [307] = {.lex_state = 121},
  [308] = {.lex_state = 131},
  [309] = {.lex_state = 131},
  [310] = {.lex_state = 121},
  [311] = {.lex_state = 11},
  [312] = {.lex_state = 121},
  [313] = {.lex_state = 121},
  [314] = {.lex_state = 18},
  [315] = {.lex_state = 121},
  [316] = {.lex_state = 121},
  [317] = {.lex_state = 121},
  [318] = {.lex_state = 121},
  [319] = {.lex_state = 121},
  [320] = {.lex_state = 18},
  [321] = {.lex_state = 121},
  [322] = {.lex_state = 18},
  [323] = {.lex_state = 124},
  [324] = {.lex_state = 131},
  [325] = {.lex_state = 121},
  [326] = {.lex_state = 131},
  [327] = {.lex_state = 131},
  [328] = {.lex_state = 131},
  [329] = {.lex_state = 121},
  [330] = {.lex_state = 121},
  [331] = {.lex_state = 121},
  [332] = {.lex_state = 18},
  [333] = {.lex_state = 121},
  [334] = {.lex_state = 121},
  [335] = {.lex_state = 121},
  [336] = {.lex_state = 121},
  [337] = {.lex_state = 121},
  [338] = {.lex_state = 121},
  [339] = {.lex_state = 121},
  [340] = {.lex_state = 121},
  [341] = {.lex_state = 121},
  [342] = {.lex_state = 121},
  [343] = {.lex_state = 121},
  [344] = {.lex_state = 121},
  [345] = {.lex_state = 121},
  [346] = {.lex_state = 121},
  [347] = {.lex_state = 121},
  [348] = {.lex_state = 121},
  [349] = {.lex_state = 121},
  [350] = {.lex_state = 121},
  [351] = {.lex_state = 121},
  [352] = {.lex_state = 11},
  [353] = {.lex_state = 121},
  [354] = {.lex_state = 121},
  [355] = {.lex_state = 24},
  [356] = {.lex_state = 24},
  [357] = {.lex_state = 24},
  [358] = {.lex_state = 124},
  [359] = {.lex_state = 124},
  [360] = {.lex_state = 124},
  [361] = {.lex_state = 124},
  [362] = {.lex_state = 21},
  [363] = {.lex_state = 121},
  [364] = {.lex_state = 18},
  [365] = {.lex_state = 121},
  [366] = {.lex_state = 18},
  [367] = {.lex_state = 124},
  [368] = {.lex_state = 21},
  [369] = {.lex_state = 22},
  [370] = {.lex_state = 22},
  [371] = {.lex_state = 124},
  [372] = {.lex_state = 5},
  [373] = {.lex_state = 124},
  [374] = {.lex_state = 5},
  [375] = {.lex_state = 22},
  [376] = {.lex_state = 124},
  [377] = {.lex_state = 13},
  [378] = {.lex_state = 22},
  [379] = {.lex_state = 22},
  [380] = {.lex_state = 124},
  [381] = {.lex_state = 5},
  [382] = {.lex_state = 5},
  [383] = {.lex_state = 23},
  [384] = {.lex_state = 23},
  [385] = {.lex_state = 5},
  [386] = {.lex_state = 23},
  [387] = {.lex_state = 23},
  [388] = {.lex_state = 5},
  [389] = {.lex_state = 32},
  [390] = {.lex_state = 5},
  [391] = {.lex_state = 124},
  [392] = {.lex_state = 5},
  [393] = {.lex_state = 5},
  [394] = {.lex_state = 124},
  [395] = {.lex_state = 5},
  [396] = {.lex_state = 124},
  [397] = {.lex_state = 5},
  [398] = {.lex_state = 124},
  [399] = {.lex_state = 5},
  [400] = {.lex_state = 5},
  [401] = {.lex_state = 5},
  [402] = {.lex_state = 0},
  [403] = {.lex_state = 5},
  [404] = {.lex_state = 0},
  [405] = {.lex_state = 0},
  [406] = {.lex_state = 5},
  [407] = {.lex_state = 0},
  [408] = {.lex_state = 5},
  [409] = {.lex_state = 5},
  [410] = {.lex_state = 32},
  [411] = {.lex_state = 5},
  [412] = {.lex_state = 23},
  [413] = {.lex_state = 5},
  [414] = {.lex_state = 121},
  [415] = {.lex_state = 32},
  [416] = {.lex_state = 0},
  [417] = {.lex_state = 5},
  [418] = {.lex_state = 5},
  [419] = {.lex_state = 23},
  [420] = {.lex_state = 0},
  [421] = {.lex_state = 23},
  [422] = {.lex_state = 23},
  [423] = {.lex_state = 23},
  [424] = {.lex_state = 20},
  [425] = {.lex_state = 20},
  [426] = {.lex_state = 20},
  [427] = {.lex_state = 0},
  [428] = {.lex_state = 23},
  [429] = {.lex_state = 23},
  [430] = {.lex_state = 20},
  [431] = {.lex_state = 20},
  [432] = {.lex_state = 5},
  [433] = {.lex_state = 0},
  [434] = {.lex_state = 23},
  [435] = {.lex_state = 23},
  [436] = {.lex_state = 20},
  [437] = {.lex_state = 20},
  [438] = {.lex_state = 20},
  [439] = {.lex_state = 20},
  [440] = {.lex_state = 20},
  [441] = {.lex_state = 20},
  [442] = {.lex_state = 20},
  [443] = {.lex_state = 20},
  [444] = {.lex_state = 20},
  [445] = {.lex_state = 20},
  [446] = {.lex_state = 20},
  [447] = {.lex_state = 20},
  [448] = {.lex_state = 20},
  [449] = {.lex_state = 20},
  [450] = {.lex_state = 20},
  [451] = {.lex_state = 20},
  [452] = {.lex_state = 0},
  [453] = {.lex_state = 5},
  [454] = {.lex_state = 5},
  [455] = {.lex_state = 5},
  [456] = {.lex_state = 5},
  [457] = {.lex_state = 5},
  [458] = {.lex_state = 20},
  [459] = {.lex_state = 0},
  [460] = {.lex_state = 5},
  [461] = {.lex_state = 0},
  [462] = {.lex_state = 20},
  [463] = {.lex_state = 0},
  [464] = {.lex_state = 0},
  [465] = {.lex_state = 5},
  [466] = {.lex_state = 0},
  [467] = {.lex_state = 5},
  [468] = {.lex_state = 5},
  [469] = {.lex_state = 5},
  [470] = {.lex_state = 5},
  [471] = {.lex_state = 5},
  [472] = {.lex_state = 5},
  [473] = {.lex_state = 5},
  [474] = {.lex_state = 5},
  [475] = {.lex_state = 0},
  [476] = {.lex_state = 5},
  [477] = {.lex_state = 5},
  [478] = {.lex_state = 5},
  [479] = {.lex_state = 5},
  [480] = {.lex_state = 5},
  [481] = {.lex_state = 0},
  [482] = {.lex_state = 5},
  [483] = {.lex_state = 5},
  [484] = {.lex_state = 0},
  [485] = {.lex_state = 5},
  [486] = {.lex_state = 0},
  [487] = {.lex_state = 0},
  [488] = {.lex_state = 5},
  [489] = {.lex_state = 20},
  [490] = {.lex_state = 0},
  [491] = {.lex_state = 0},
  [492] = {.lex_state = 0},
  [493] = {.lex_state = 0},
  [494] = {.lex_state = 0},
  [495] = {.lex_state = 5},
  [496] = {.lex_state = 5},
  [497] = {.lex_state = 0},
  [498] = {.lex_state = 0},
  [499] = {.lex_state = 0},
  [500] = {.lex_state = 121},
  [501] = {.lex_state = 0},
  [502] = {.lex_state = 0},
  [503] = {.lex_state = 0},
  [504] = {.lex_state = 0},
  [505] = {.lex_state = 0},
  [506] = {.lex_state = 121},
  [507] = {.lex_state = 0},
  [508] = {.lex_state = 5},
  [509] = {.lex_state = 0},
  [510] = {.lex_state = 0},
  [511] = {.lex_state = 0},
  [512] = {.lex_state = 0},
  [513] = {.lex_state = 0},
  [514] = {.lex_state = 121},
  [515] = {.lex_state = 0},
  [516] = {.lex_state = 0},
  [517] = {.lex_state = 0},
  [518] = {.lex_state = 0},
  [519] = {.lex_state = 0},
  [520] = {.lex_state = 0},
  [521] = {.lex_state = 0},
  [522] = {.lex_state = 0},
  [523] = {.lex_state = 0},
  [524] = {.lex_state = 124},
  [525] = {.lex_state = 0},
  [526] = {.lex_state = 0},
  [527] = {.lex_state = 0},
  [528] = {.lex_state = 0},
  [529] = {.lex_state = 0},
  [530] = {.lex_state = 124},
  [531] = {.lex_state = 121},
  [532] = {.lex_state = 0},
  [533] = {.lex_state = 124},
  [534] = {.lex_state = 0},
  [535] = {.lex_state = 0},
  [536] = {.lex_state = 0},
  [537] = {.lex_state = 0},
  [538] = {.lex_state = 5},
  [539] = {.lex_state = 0},
  [540] = {.lex_state = 0},
  [541] = {.lex_state = 121},
  [542] = {.lex_state = 0},
  [543] = {.lex_state = 0},
  [544] = {.lex_state = 0},
  [545] = {.lex_state = 0},
  [546] = {.lex_state = 0},
  [547] = {.lex_state = 0},
  [548] = {.lex_state = 121},
  [549] = {.lex_state = 0},
  [550] = {.lex_state = 0},
  [551] = {.lex_state = 0},
  [552] = {.lex_state = 0},
  [553] = {.lex_state = 0},
  [554] = {.lex_state = 0},
  [555] = {.lex_state = 0},
  [556] = {.lex_state = 0},
  [557] = {.lex_state = 0},
  [558] = {.lex_state = 0},
  [559] = {.lex_state = 124},
  [560] = {.lex_state = 0},
  [561] = {.lex_state = 0},
  [562] = {.lex_state = 124},
  [563] = {.lex_state = 0},
  [564] = {.lex_state = 0},
  [565] = {.lex_state = 0},
  [566] = {.lex_state = 0},
  [567] = {.lex_state = 0},
  [568] = {.lex_state = 0},
  [569] = {.lex_state = 0},
  [570] = {.lex_state = 0},
  [571] = {.lex_state = 26},
  [572] = {.lex_state = 1127},
  [573] = {.lex_state = 0},
  [574] = {.lex_state = 121},
  [575] = {.lex_state = 0},
  [576] = {.lex_state = 121},
  [577] = {.lex_state = 0},
  [578] = {.lex_state = 0},
  [579] = {.lex_state = 0},
  [580] = {.lex_state = 0},
  [581] = {.lex_state = 0},
  [582] = {(TSStateId)(-1),},
  [583] = {(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),
    [aux_sym_select_statement_token1] = 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_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_sql_keyword_token2] = ACTIONS(1),
    [aux_sym_sql_keyword_token3] = ACTIONS(1),
    [aux_sym_sql_keyword_token4] = ACTIONS(1),
    [aux_sym_sql_keyword_token5] = ACTIONS(1),
    [aux_sym_sql_keyword_token6] = ACTIONS(1),
    [aux_sym_sql_keyword_token7] = ACTIONS(1),
    [aux_sym_sql_keyword_token8] = ACTIONS(1),
    [aux_sym_sql_keyword_token9] = ACTIONS(1),
    [aux_sym_sql_keyword_token10] = ACTIONS(1),
    [aux_sym_sql_keyword_token11] = ACTIONS(1),
    [aux_sym_sql_keyword_token12] = ACTIONS(1),
    [aux_sym_sql_keyword_token13] = ACTIONS(1),
    [aux_sym_sql_keyword_token14] = ACTIONS(1),
    [aux_sym_sql_keyword_token15] = ACTIONS(1),
    [aux_sym_sql_keyword_token16] = ACTIONS(1),
    [aux_sym_sql_keyword_token17] = ACTIONS(1),
    [aux_sym_sql_keyword_token18] = ACTIONS(1),
    [aux_sym_sql_keyword_token19] = ACTIONS(1),
    [aux_sym_sql_keyword_token20] = ACTIONS(1),
    [aux_sym_sql_keyword_token21] = ACTIONS(1),
    [aux_sym_sql_keyword_token22] = ACTIONS(1),
    [aux_sym_sql_keyword_token23] = ACTIONS(1),
    [aux_sym_sql_keyword_token24] = ACTIONS(1),
    [aux_sym_sql_keyword_token25] = ACTIONS(1),
    [aux_sym_sql_keyword_token26] = ACTIONS(1),
    [aux_sym_sql_keyword_token27] = ACTIONS(1),
    [aux_sym_sql_keyword_token28] = ACTIONS(1),
    [aux_sym_sql_keyword_token29] = ACTIONS(1),
    [aux_sym_sql_keyword_token30] = ACTIONS(1),
    [aux_sym_sql_keyword_token31] = ACTIONS(1),
    [aux_sym_sql_keyword_token32] = ACTIONS(1),
    [aux_sym_sql_keyword_token33] = ACTIONS(1),
    [aux_sym_sql_keyword_token34] = ACTIONS(1),
    [aux_sym_sql_keyword_token35] = ACTIONS(1),
    [aux_sym_sql_keyword_token36] = ACTIONS(1),
    [aux_sym_sql_keyword_token37] = ACTIONS(1),
    [aux_sym_sql_keyword_token38] = ACTIONS(1),
    [aux_sym_sql_keyword_token39] = ACTIONS(1),
    [aux_sym_sql_keyword_token40] = ACTIONS(1),
    [aux_sym_sql_keyword_token41] = ACTIONS(1),
    [aux_sym_sql_keyword_token42] = ACTIONS(1),
    [aux_sym_sql_keyword_token43] = ACTIONS(1),
    [aux_sym_sql_keyword_token44] = ACTIONS(1),
    [aux_sym_sql_keyword_token45] = ACTIONS(1),
    [aux_sym_sql_keyword_token46] = ACTIONS(1),
    [aux_sym_sql_keyword_token47] = ACTIONS(1),
    [aux_sym_sql_keyword_token48] = ACTIONS(1),
    [aux_sym_sql_keyword_token49] = ACTIONS(1),
    [aux_sym_sql_keyword_token50] = 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),
    [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_rect] = 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_linear] = ACTIONS(1),
    [anon_sym_errorbar] = 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_coef] = ACTIONS(1),
    [anon_sym_intercept] = ACTIONS(1),
    [anon_sym_panel] = ACTIONS(1),
    [anon_sym_row] = ACTIONS(1),
    [anon_sym_column] = ACTIONS(1),
    [anon_sym_offset] = 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),
    [aux_sym_theme_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(561),
    [sym_sql_portion] = STATE(433),
    [sym_sql_statement] = STATE(452),
    [sym_select_statement] = STATE(487),
    [sym_with_statement] = STATE(487),
    [sym_create_statement] = STATE(487),
    [sym_insert_statement] = STATE(487),
    [sym_update_statement] = STATE(487),
    [sym_delete_statement] = STATE(487),
    [sym_other_sql_statement] = STATE(487),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_visualise_statement] = STATE(511),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(1),
    [aux_sym_query_repeat1] = STATE(402),
    [aux_sym_other_sql_statement_repeat1] = STATE(117),
    [ts_builtin_sym_end] = ACTIONS(7),
    [aux_sym_select_statement_token1] = ACTIONS(9),
    [anon_sym_COMMA] = ACTIONS(11),
    [anon_sym_STAR] = ACTIONS(13),
    [anon_sym_DOT] = ACTIONS(13),
    [anon_sym_EQ] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(11),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_other_sql_statement_token1] = ACTIONS(13),
    [aux_sym_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_sql_keyword_token2] = ACTIONS(29),
    [aux_sym_sql_keyword_token3] = ACTIONS(29),
    [aux_sym_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_sql_keyword_token5] = ACTIONS(29),
    [aux_sym_sql_keyword_token6] = ACTIONS(29),
    [aux_sym_sql_keyword_token7] = ACTIONS(29),
    [aux_sym_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_sql_keyword_token9] = ACTIONS(29),
    [aux_sym_sql_keyword_token10] = ACTIONS(29),
    [aux_sym_sql_keyword_token11] = ACTIONS(29),
    [aux_sym_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_sql_keyword_token13] = ACTIONS(29),
    [aux_sym_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_sql_keyword_token17] = ACTIONS(29),
    [aux_sym_sql_keyword_token18] = ACTIONS(29),
    [aux_sym_sql_keyword_token19] = ACTIONS(29),
    [aux_sym_sql_keyword_token20] = ACTIONS(29),
    [aux_sym_sql_keyword_token21] = ACTIONS(29),
    [aux_sym_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_sql_keyword_token23] = ACTIONS(29),
    [aux_sym_sql_keyword_token24] = ACTIONS(29),
    [aux_sym_sql_keyword_token25] = ACTIONS(29),
    [aux_sym_sql_keyword_token26] = ACTIONS(29),
    [aux_sym_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_sql_keyword_token28] = ACTIONS(29),
    [aux_sym_sql_keyword_token29] = ACTIONS(29),
    [aux_sym_sql_keyword_token30] = ACTIONS(29),
    [aux_sym_sql_keyword_token31] = ACTIONS(29),
    [aux_sym_sql_keyword_token32] = ACTIONS(29),
    [aux_sym_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_sql_keyword_token36] = ACTIONS(29),
    [aux_sym_sql_keyword_token37] = ACTIONS(29),
    [aux_sym_sql_keyword_token38] = ACTIONS(29),
    [aux_sym_sql_keyword_token39] = ACTIONS(29),
    [aux_sym_sql_keyword_token40] = ACTIONS(29),
    [aux_sym_sql_keyword_token41] = ACTIONS(29),
    [aux_sym_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_sql_keyword_token43] = ACTIONS(29),
    [aux_sym_sql_keyword_token44] = ACTIONS(29),
    [aux_sym_sql_keyword_token45] = ACTIONS(29),
    [aux_sym_sql_keyword_token46] = ACTIONS(29),
    [aux_sym_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_sql_keyword_token48] = ACTIONS(29),
    [aux_sym_sql_keyword_token49] = ACTIONS(29),
    [aux_sym_sql_keyword_token50] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(31),
    [sym_number] = ACTIONS(13),
    [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(60),
    [sym_cast_expression] = STATE(60),
    [sym_function_call] = STATE(60),
    [sym_sql_keyword] = STATE(60),
    [sym_window_function] = STATE(60),
    [sym_from_clause] = STATE(60),
    [sym_identifier] = STATE(62),
    [sym_string] = STATE(60),
    [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_sql_keyword_token2] = ACTIONS(53),
    [aux_sym_sql_keyword_token3] = ACTIONS(53),
    [aux_sym_sql_keyword_token4] = ACTIONS(53),
    [aux_sym_sql_keyword_token5] = ACTIONS(53),
    [aux_sym_sql_keyword_token6] = ACTIONS(53),
    [aux_sym_sql_keyword_token7] = ACTIONS(53),
    [aux_sym_sql_keyword_token8] = ACTIONS(53),
    [aux_sym_sql_keyword_token9] = ACTIONS(53),
    [aux_sym_sql_keyword_token10] = ACTIONS(53),
    [aux_sym_sql_keyword_token11] = ACTIONS(53),
    [aux_sym_sql_keyword_token12] = ACTIONS(53),
    [aux_sym_sql_keyword_token13] = ACTIONS(53),
    [aux_sym_sql_keyword_token14] = ACTIONS(53),
    [aux_sym_sql_keyword_token15] = ACTIONS(53),
    [aux_sym_sql_keyword_token16] = ACTIONS(53),
    [aux_sym_sql_keyword_token17] = ACTIONS(53),
    [aux_sym_sql_keyword_token18] = ACTIONS(53),
    [aux_sym_sql_keyword_token19] = ACTIONS(53),
    [aux_sym_sql_keyword_token20] = ACTIONS(53),
    [aux_sym_sql_keyword_token21] = ACTIONS(53),
    [aux_sym_sql_keyword_token22] = ACTIONS(53),
    [aux_sym_sql_keyword_token23] = ACTIONS(53),
    [aux_sym_sql_keyword_token24] = ACTIONS(53),
    [aux_sym_sql_keyword_token25] = ACTIONS(53),
    [aux_sym_sql_keyword_token26] = ACTIONS(53),
    [aux_sym_sql_keyword_token27] = ACTIONS(53),
    [aux_sym_sql_keyword_token28] = ACTIONS(53),
    [aux_sym_sql_keyword_token29] = ACTIONS(53),
    [aux_sym_sql_keyword_token30] = ACTIONS(53),
    [aux_sym_sql_keyword_token31] = ACTIONS(53),
    [aux_sym_sql_keyword_token32] = ACTIONS(53),
    [aux_sym_sql_keyword_token33] = ACTIONS(53),
    [aux_sym_sql_keyword_token34] = ACTIONS(53),
    [aux_sym_sql_keyword_token35] = ACTIONS(53),
    [aux_sym_sql_keyword_token36] = ACTIONS(53),
    [aux_sym_sql_keyword_token37] = ACTIONS(53),
    [aux_sym_sql_keyword_token38] = ACTIONS(53),
    [aux_sym_sql_keyword_token39] = ACTIONS(53),
    [aux_sym_sql_keyword_token40] = ACTIONS(53),
    [aux_sym_sql_keyword_token41] = ACTIONS(53),
    [aux_sym_sql_keyword_token42] = ACTIONS(53),
    [aux_sym_sql_keyword_token43] = ACTIONS(53),
    [aux_sym_sql_keyword_token44] = ACTIONS(53),
    [aux_sym_sql_keyword_token45] = ACTIONS(53),
    [aux_sym_sql_keyword_token46] = ACTIONS(53),
    [aux_sym_sql_keyword_token47] = ACTIONS(53),
    [aux_sym_sql_keyword_token48] = ACTIONS(53),
    [aux_sym_sql_keyword_token49] = ACTIONS(53),
    [aux_sym_sql_keyword_token50] = ACTIONS(53),
    [sym_visualise_keyword] = ACTIONS(39),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(43),
    [anon_sym_SQUOTE] = ACTIONS(57),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(3)] = {
    [sym_subquery] = STATE(60),
    [sym_cast_expression] = STATE(60),
    [sym_function_call] = STATE(60),
    [sym_sql_keyword] = STATE(60),
    [sym_window_function] = STATE(60),
    [sym_from_clause] = STATE(60),
    [sym_identifier] = STATE(62),
    [sym_string] = STATE(60),
    [sym_comment] = STATE(3),
    [aux_sym_select_body_repeat1] = STATE(3),
    [ts_builtin_sym_end] = ACTIONS(59),
    [sym_bare_identifier] = ACTIONS(61),
    [anon_sym_SEMI] = ACTIONS(59),
    [anon_sym_COMMA] = ACTIONS(64),
    [anon_sym_STAR] = ACTIONS(64),
    [anon_sym_DOT] = ACTIONS(67),
    [anon_sym_EQ] = ACTIONS(64),
    [anon_sym_LT] = ACTIONS(64),
    [anon_sym_GT] = ACTIONS(64),
    [anon_sym_BANG] = ACTIONS(64),
    [anon_sym_PLUS] = ACTIONS(64),
    [anon_sym_DASH] = ACTIONS(67),
    [anon_sym_SLASH] = ACTIONS(67),
    [anon_sym_PERCENT] = ACTIONS(64),
    [anon_sym_PIPE] = ACTIONS(64),
    [anon_sym_AMP] = ACTIONS(64),
    [anon_sym_CARET] = ACTIONS(64),
    [anon_sym_TILDE] = ACTIONS(64),
    [anon_sym_COLON_COLON] = ACTIONS(64),
    [anon_sym_LPAREN] = ACTIONS(70),
    [aux_sym_cast_expression_token1] = ACTIONS(73),
    [aux_sym_cast_expression_token2] = ACTIONS(73),
    [aux_sym_sql_keyword_token1] = ACTIONS(76),
    [aux_sym_sql_keyword_token2] = ACTIONS(79),
    [aux_sym_sql_keyword_token3] = ACTIONS(79),
    [aux_sym_sql_keyword_token4] = ACTIONS(79),
    [aux_sym_sql_keyword_token5] = ACTIONS(79),
    [aux_sym_sql_keyword_token6] = ACTIONS(79),
    [aux_sym_sql_keyword_token7] = ACTIONS(79),
    [aux_sym_sql_keyword_token8] = ACTIONS(79),
    [aux_sym_sql_keyword_token9] = ACTIONS(79),
    [aux_sym_sql_keyword_token10] = ACTIONS(79),
    [aux_sym_sql_keyword_token11] = ACTIONS(79),
    [aux_sym_sql_keyword_token12] = ACTIONS(79),
    [aux_sym_sql_keyword_token13] = ACTIONS(79),
    [aux_sym_sql_keyword_token14] = ACTIONS(79),
    [aux_sym_sql_keyword_token15] = ACTIONS(79),
    [aux_sym_sql_keyword_token16] = ACTIONS(79),
    [aux_sym_sql_keyword_token17] = ACTIONS(79),
    [aux_sym_sql_keyword_token18] = ACTIONS(79),
    [aux_sym_sql_keyword_token19] = ACTIONS(79),
    [aux_sym_sql_keyword_token20] = ACTIONS(79),
    [aux_sym_sql_keyword_token21] = ACTIONS(79),
    [aux_sym_sql_keyword_token22] = ACTIONS(79),
    [aux_sym_sql_keyword_token23] = ACTIONS(79),
    [aux_sym_sql_keyword_token24] = ACTIONS(79),
    [aux_sym_sql_keyword_token25] = ACTIONS(79),
    [aux_sym_sql_keyword_token26] = ACTIONS(79),
    [aux_sym_sql_keyword_token27] = ACTIONS(79),
    [aux_sym_sql_keyword_token28] = ACTIONS(79),
    [aux_sym_sql_keyword_token29] = ACTIONS(79),
    [aux_sym_sql_keyword_token30] = ACTIONS(79),
    [aux_sym_sql_keyword_token31] = ACTIONS(79),
    [aux_sym_sql_keyword_token32] = ACTIONS(79),
    [aux_sym_sql_keyword_token33] = ACTIONS(79),
    [aux_sym_sql_keyword_token34] = ACTIONS(79),
    [aux_sym_sql_keyword_token35] = ACTIONS(79),
    [aux_sym_sql_keyword_token36] = ACTIONS(79),
    [aux_sym_sql_keyword_token37] = ACTIONS(79),
    [aux_sym_sql_keyword_token38] = ACTIONS(79),
    [aux_sym_sql_keyword_token39] = ACTIONS(79),
    [aux_sym_sql_keyword_token40] = ACTIONS(79),
    [aux_sym_sql_keyword_token41] = ACTIONS(79),
    [aux_sym_sql_keyword_token42] = ACTIONS(79),
    [aux_sym_sql_keyword_token43] = ACTIONS(79),
    [aux_sym_sql_keyword_token44] = ACTIONS(79),
    [aux_sym_sql_keyword_token45] = ACTIONS(79),
    [aux_sym_sql_keyword_token46] = ACTIONS(79),
    [aux_sym_sql_keyword_token47] = ACTIONS(79),
    [aux_sym_sql_keyword_token48] = ACTIONS(79),
    [aux_sym_sql_keyword_token49] = ACTIONS(79),
    [aux_sym_sql_keyword_token50] = ACTIONS(79),
    [sym_visualise_keyword] = ACTIONS(59),
    [sym_quoted_identifier] = ACTIONS(82),
    [sym_number] = ACTIONS(64),
    [anon_sym_SQUOTE] = ACTIONS(85),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(4)] = {
    [sym_select_statement] = STATE(537),
    [sym_with_statement] = STATE(537),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(537),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(4),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [ts_builtin_sym_end] = ACTIONS(88),
    [sym_bare_identifier] = ACTIONS(90),
    [anon_sym_SEMI] = ACTIONS(88),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [anon_sym_RPAREN] = ACTIONS(88),
    [aux_sym_create_statement_token2] = ACTIONS(102),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_visualise_keyword] = ACTIONS(88),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(5)] = {
    [sym_select_statement] = STATE(564),
    [sym_with_statement] = STATE(564),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(564),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(5),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [ts_builtin_sym_end] = ACTIONS(110),
    [sym_bare_identifier] = ACTIONS(90),
    [anon_sym_SEMI] = ACTIONS(110),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [anon_sym_RPAREN] = ACTIONS(110),
    [aux_sym_other_sql_statement_token1] = ACTIONS(112),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_visualise_keyword] = ACTIONS(110),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(6)] = {
    [sym_select_statement] = STATE(542),
    [sym_with_statement] = STATE(542),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(542),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(6),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [ts_builtin_sym_end] = ACTIONS(88),
    [sym_bare_identifier] = ACTIONS(90),
    [anon_sym_SEMI] = ACTIONS(88),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [anon_sym_RPAREN] = ACTIONS(88),
    [aux_sym_create_statement_token2] = ACTIONS(102),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_visualise_keyword] = ACTIONS(88),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(7)] = {
    [sym_select_body] = STATE(427),
    [sym_subquery] = STATE(60),
    [sym_cast_expression] = STATE(60),
    [sym_function_call] = STATE(60),
    [sym_sql_keyword] = STATE(60),
    [sym_window_function] = STATE(60),
    [sym_from_clause] = STATE(60),
    [sym_identifier] = STATE(62),
    [sym_string] = STATE(60),
    [sym_comment] = STATE(7),
    [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_sql_keyword_token2] = ACTIONS(53),
    [aux_sym_sql_keyword_token3] = ACTIONS(53),
    [aux_sym_sql_keyword_token4] = ACTIONS(53),
    [aux_sym_sql_keyword_token5] = ACTIONS(53),
    [aux_sym_sql_keyword_token6] = ACTIONS(53),
    [aux_sym_sql_keyword_token7] = ACTIONS(53),
    [aux_sym_sql_keyword_token8] = ACTIONS(53),
    [aux_sym_sql_keyword_token9] = ACTIONS(53),
    [aux_sym_sql_keyword_token10] = ACTIONS(53),
    [aux_sym_sql_keyword_token11] = ACTIONS(53),
    [aux_sym_sql_keyword_token12] = ACTIONS(53),
    [aux_sym_sql_keyword_token13] = ACTIONS(53),
    [aux_sym_sql_keyword_token14] = ACTIONS(53),
    [aux_sym_sql_keyword_token15] = ACTIONS(53),
    [aux_sym_sql_keyword_token16] = ACTIONS(53),
    [aux_sym_sql_keyword_token17] = ACTIONS(53),
    [aux_sym_sql_keyword_token18] = ACTIONS(53),
    [aux_sym_sql_keyword_token19] = ACTIONS(53),
    [aux_sym_sql_keyword_token20] = ACTIONS(53),
    [aux_sym_sql_keyword_token21] = ACTIONS(53),
    [aux_sym_sql_keyword_token22] = ACTIONS(53),
    [aux_sym_sql_keyword_token23] = ACTIONS(53),
    [aux_sym_sql_keyword_token24] = ACTIONS(53),
    [aux_sym_sql_keyword_token25] = ACTIONS(53),
    [aux_sym_sql_keyword_token26] = ACTIONS(53),
    [aux_sym_sql_keyword_token27] = ACTIONS(53),
    [aux_sym_sql_keyword_token28] = ACTIONS(53),
    [aux_sym_sql_keyword_token29] = ACTIONS(53),
    [aux_sym_sql_keyword_token30] = ACTIONS(53),
    [aux_sym_sql_keyword_token31] = ACTIONS(53),
    [aux_sym_sql_keyword_token32] = ACTIONS(53),
    [aux_sym_sql_keyword_token33] = ACTIONS(53),
    [aux_sym_sql_keyword_token34] = ACTIONS(53),
    [aux_sym_sql_keyword_token35] = ACTIONS(53),
    [aux_sym_sql_keyword_token36] = ACTIONS(53),
    [aux_sym_sql_keyword_token37] = ACTIONS(53),
    [aux_sym_sql_keyword_token38] = ACTIONS(53),
    [aux_sym_sql_keyword_token39] = ACTIONS(53),
    [aux_sym_sql_keyword_token40] = ACTIONS(53),
    [aux_sym_sql_keyword_token41] = ACTIONS(53),
    [aux_sym_sql_keyword_token42] = ACTIONS(53),
    [aux_sym_sql_keyword_token43] = ACTIONS(53),
    [aux_sym_sql_keyword_token44] = ACTIONS(53),
    [aux_sym_sql_keyword_token45] = ACTIONS(53),
    [aux_sym_sql_keyword_token46] = ACTIONS(53),
    [aux_sym_sql_keyword_token47] = ACTIONS(53),
    [aux_sym_sql_keyword_token48] = ACTIONS(53),
    [aux_sym_sql_keyword_token49] = ACTIONS(53),
    [aux_sym_sql_keyword_token50] = ACTIONS(53),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(43),
    [anon_sym_SQUOTE] = ACTIONS(57),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(8)] = {
    [sym_subquery] = STATE(75),
    [sym_cast_expression] = STATE(75),
    [sym_function_call] = STATE(75),
    [sym_sql_keyword] = STATE(75),
    [sym_window_function] = STATE(75),
    [sym_from_clause] = STATE(75),
    [sym_identifier] = STATE(78),
    [sym_string] = STATE(75),
    [sym_comment] = STATE(8),
    [aux_sym_select_body_repeat1] = STATE(9),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(116),
    [anon_sym_STAR] = ACTIONS(116),
    [anon_sym_DOT] = ACTIONS(118),
    [anon_sym_EQ] = ACTIONS(116),
    [anon_sym_LT] = ACTIONS(116),
    [anon_sym_GT] = ACTIONS(116),
    [anon_sym_BANG] = ACTIONS(116),
    [anon_sym_PLUS] = ACTIONS(116),
    [anon_sym_DASH] = ACTIONS(118),
    [anon_sym_SLASH] = ACTIONS(118),
    [anon_sym_PERCENT] = ACTIONS(116),
    [anon_sym_PIPE] = ACTIONS(116),
    [anon_sym_AMP] = ACTIONS(116),
    [anon_sym_CARET] = ACTIONS(116),
    [anon_sym_TILDE] = ACTIONS(116),
    [anon_sym_COLON_COLON] = ACTIONS(116),
    [anon_sym_LPAREN] = ACTIONS(120),
    [anon_sym_RPAREN] = ACTIONS(39),
    [aux_sym_cast_expression_token1] = ACTIONS(122),
    [aux_sym_cast_expression_token2] = ACTIONS(122),
    [aux_sym_sql_keyword_token1] = ACTIONS(124),
    [aux_sym_sql_keyword_token2] = ACTIONS(126),
    [aux_sym_sql_keyword_token3] = ACTIONS(126),
    [aux_sym_sql_keyword_token4] = ACTIONS(126),
    [aux_sym_sql_keyword_token5] = ACTIONS(126),
    [aux_sym_sql_keyword_token6] = ACTIONS(126),
    [aux_sym_sql_keyword_token7] = ACTIONS(126),
    [aux_sym_sql_keyword_token8] = ACTIONS(126),
    [aux_sym_sql_keyword_token9] = ACTIONS(126),
    [aux_sym_sql_keyword_token10] = ACTIONS(126),
    [aux_sym_sql_keyword_token11] = ACTIONS(126),
    [aux_sym_sql_keyword_token12] = ACTIONS(126),
    [aux_sym_sql_keyword_token13] = ACTIONS(126),
    [aux_sym_sql_keyword_token14] = ACTIONS(126),
    [aux_sym_sql_keyword_token15] = ACTIONS(126),
    [aux_sym_sql_keyword_token16] = ACTIONS(126),
    [aux_sym_sql_keyword_token17] = ACTIONS(126),
    [aux_sym_sql_keyword_token18] = ACTIONS(126),
    [aux_sym_sql_keyword_token19] = ACTIONS(126),
    [aux_sym_sql_keyword_token20] = ACTIONS(126),
    [aux_sym_sql_keyword_token21] = ACTIONS(126),
    [aux_sym_sql_keyword_token22] = ACTIONS(126),
    [aux_sym_sql_keyword_token23] = ACTIONS(126),
    [aux_sym_sql_keyword_token24] = ACTIONS(126),
    [aux_sym_sql_keyword_token25] = ACTIONS(126),
    [aux_sym_sql_keyword_token26] = ACTIONS(126),
    [aux_sym_sql_keyword_token27] = ACTIONS(126),
    [aux_sym_sql_keyword_token28] = ACTIONS(126),
    [aux_sym_sql_keyword_token29] = ACTIONS(126),
    [aux_sym_sql_keyword_token30] = ACTIONS(126),
    [aux_sym_sql_keyword_token31] = ACTIONS(126),
    [aux_sym_sql_keyword_token32] = ACTIONS(126),
    [aux_sym_sql_keyword_token33] = ACTIONS(126),
    [aux_sym_sql_keyword_token34] = ACTIONS(126),
    [aux_sym_sql_keyword_token35] = ACTIONS(126),
    [aux_sym_sql_keyword_token36] = ACTIONS(126),
    [aux_sym_sql_keyword_token37] = ACTIONS(126),
    [aux_sym_sql_keyword_token38] = ACTIONS(126),
    [aux_sym_sql_keyword_token39] = ACTIONS(126),
    [aux_sym_sql_keyword_token40] = ACTIONS(126),
    [aux_sym_sql_keyword_token41] = ACTIONS(126),
    [aux_sym_sql_keyword_token42] = ACTIONS(126),
    [aux_sym_sql_keyword_token43] = ACTIONS(126),
    [aux_sym_sql_keyword_token44] = ACTIONS(126),
    [aux_sym_sql_keyword_token45] = ACTIONS(126),
    [aux_sym_sql_keyword_token46] = ACTIONS(126),
    [aux_sym_sql_keyword_token47] = ACTIONS(126),
    [aux_sym_sql_keyword_token48] = ACTIONS(126),
    [aux_sym_sql_keyword_token49] = ACTIONS(126),
    [aux_sym_sql_keyword_token50] = ACTIONS(126),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(116),
    [anon_sym_SQUOTE] = ACTIONS(130),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(9)] = {
    [sym_subquery] = STATE(75),
    [sym_cast_expression] = STATE(75),
    [sym_function_call] = STATE(75),
    [sym_sql_keyword] = STATE(75),
    [sym_window_function] = STATE(75),
    [sym_from_clause] = STATE(75),
    [sym_identifier] = STATE(78),
    [sym_string] = STATE(75),
    [sym_comment] = STATE(9),
    [aux_sym_select_body_repeat1] = STATE(9),
    [sym_bare_identifier] = ACTIONS(132),
    [anon_sym_COMMA] = ACTIONS(135),
    [anon_sym_STAR] = ACTIONS(135),
    [anon_sym_DOT] = ACTIONS(138),
    [anon_sym_EQ] = ACTIONS(135),
    [anon_sym_LT] = ACTIONS(135),
    [anon_sym_GT] = ACTIONS(135),
    [anon_sym_BANG] = ACTIONS(135),
    [anon_sym_PLUS] = ACTIONS(135),
    [anon_sym_DASH] = ACTIONS(138),
    [anon_sym_SLASH] = ACTIONS(138),
    [anon_sym_PERCENT] = ACTIONS(135),
    [anon_sym_PIPE] = ACTIONS(135),
    [anon_sym_AMP] = ACTIONS(135),
    [anon_sym_CARET] = ACTIONS(135),
    [anon_sym_TILDE] = ACTIONS(135),
    [anon_sym_COLON_COLON] = ACTIONS(135),
    [anon_sym_LPAREN] = ACTIONS(141),
    [anon_sym_RPAREN] = ACTIONS(59),
    [aux_sym_cast_expression_token1] = ACTIONS(144),
    [aux_sym_cast_expression_token2] = ACTIONS(144),
    [aux_sym_sql_keyword_token1] = ACTIONS(147),
    [aux_sym_sql_keyword_token2] = ACTIONS(150),
    [aux_sym_sql_keyword_token3] = ACTIONS(150),
    [aux_sym_sql_keyword_token4] = ACTIONS(150),
    [aux_sym_sql_keyword_token5] = ACTIONS(150),
    [aux_sym_sql_keyword_token6] = ACTIONS(150),
    [aux_sym_sql_keyword_token7] = ACTIONS(150),
    [aux_sym_sql_keyword_token8] = ACTIONS(150),
    [aux_sym_sql_keyword_token9] = ACTIONS(150),
    [aux_sym_sql_keyword_token10] = ACTIONS(150),
    [aux_sym_sql_keyword_token11] = ACTIONS(150),
    [aux_sym_sql_keyword_token12] = ACTIONS(150),
    [aux_sym_sql_keyword_token13] = ACTIONS(150),
    [aux_sym_sql_keyword_token14] = ACTIONS(150),
    [aux_sym_sql_keyword_token15] = ACTIONS(150),
    [aux_sym_sql_keyword_token16] = ACTIONS(150),
    [aux_sym_sql_keyword_token17] = ACTIONS(150),
    [aux_sym_sql_keyword_token18] = ACTIONS(150),
    [aux_sym_sql_keyword_token19] = ACTIONS(150),
    [aux_sym_sql_keyword_token20] = ACTIONS(150),
    [aux_sym_sql_keyword_token21] = ACTIONS(150),
    [aux_sym_sql_keyword_token22] = ACTIONS(150),
    [aux_sym_sql_keyword_token23] = ACTIONS(150),
    [aux_sym_sql_keyword_token24] = ACTIONS(150),
    [aux_sym_sql_keyword_token25] = ACTIONS(150),
    [aux_sym_sql_keyword_token26] = ACTIONS(150),
    [aux_sym_sql_keyword_token27] = ACTIONS(150),
    [aux_sym_sql_keyword_token28] = ACTIONS(150),
    [aux_sym_sql_keyword_token29] = ACTIONS(150),
    [aux_sym_sql_keyword_token30] = ACTIONS(150),
    [aux_sym_sql_keyword_token31] = ACTIONS(150),
    [aux_sym_sql_keyword_token32] = ACTIONS(150),
    [aux_sym_sql_keyword_token33] = ACTIONS(150),
    [aux_sym_sql_keyword_token34] = ACTIONS(150),
    [aux_sym_sql_keyword_token35] = ACTIONS(150),
    [aux_sym_sql_keyword_token36] = ACTIONS(150),
    [aux_sym_sql_keyword_token37] = ACTIONS(150),
    [aux_sym_sql_keyword_token38] = ACTIONS(150),
    [aux_sym_sql_keyword_token39] = ACTIONS(150),
    [aux_sym_sql_keyword_token40] = ACTIONS(150),
    [aux_sym_sql_keyword_token41] = ACTIONS(150),
    [aux_sym_sql_keyword_token42] = ACTIONS(150),
    [aux_sym_sql_keyword_token43] = ACTIONS(150),
    [aux_sym_sql_keyword_token44] = ACTIONS(150),
    [aux_sym_sql_keyword_token45] = ACTIONS(150),
    [aux_sym_sql_keyword_token46] = ACTIONS(150),
    [aux_sym_sql_keyword_token47] = ACTIONS(150),
    [aux_sym_sql_keyword_token48] = ACTIONS(150),
    [aux_sym_sql_keyword_token49] = ACTIONS(150),
    [aux_sym_sql_keyword_token50] = ACTIONS(150),
    [sym_quoted_identifier] = ACTIONS(153),
    [sym_number] = ACTIONS(135),
    [anon_sym_SQUOTE] = ACTIONS(156),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(10)] = {
    [sym_select_body] = STATE(427),
    [sym_subquery] = STATE(75),
    [sym_cast_expression] = STATE(75),
    [sym_function_call] = STATE(75),
    [sym_sql_keyword] = STATE(75),
    [sym_window_function] = STATE(75),
    [sym_from_clause] = STATE(75),
    [sym_identifier] = STATE(78),
    [sym_string] = STATE(75),
    [sym_comment] = STATE(10),
    [aux_sym_select_body_repeat1] = STATE(8),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(116),
    [anon_sym_STAR] = ACTIONS(116),
    [anon_sym_DOT] = ACTIONS(118),
    [anon_sym_EQ] = ACTIONS(116),
    [anon_sym_LT] = ACTIONS(116),
    [anon_sym_GT] = ACTIONS(116),
    [anon_sym_BANG] = ACTIONS(116),
    [anon_sym_PLUS] = ACTIONS(116),
    [anon_sym_DASH] = ACTIONS(118),
    [anon_sym_SLASH] = ACTIONS(118),
    [anon_sym_PERCENT] = ACTIONS(116),
    [anon_sym_PIPE] = ACTIONS(116),
    [anon_sym_AMP] = ACTIONS(116),
    [anon_sym_CARET] = ACTIONS(116),
    [anon_sym_TILDE] = ACTIONS(116),
    [anon_sym_COLON_COLON] = ACTIONS(116),
    [anon_sym_LPAREN] = ACTIONS(120),
    [aux_sym_cast_expression_token1] = ACTIONS(122),
    [aux_sym_cast_expression_token2] = ACTIONS(122),
    [aux_sym_sql_keyword_token1] = ACTIONS(124),
    [aux_sym_sql_keyword_token2] = ACTIONS(126),
    [aux_sym_sql_keyword_token3] = ACTIONS(126),
    [aux_sym_sql_keyword_token4] = ACTIONS(126),
    [aux_sym_sql_keyword_token5] = ACTIONS(126),
    [aux_sym_sql_keyword_token6] = ACTIONS(126),
    [aux_sym_sql_keyword_token7] = ACTIONS(126),
    [aux_sym_sql_keyword_token8] = ACTIONS(126),
    [aux_sym_sql_keyword_token9] = ACTIONS(126),
    [aux_sym_sql_keyword_token10] = ACTIONS(126),
    [aux_sym_sql_keyword_token11] = ACTIONS(126),
    [aux_sym_sql_keyword_token12] = ACTIONS(126),
    [aux_sym_sql_keyword_token13] = ACTIONS(126),
    [aux_sym_sql_keyword_token14] = ACTIONS(126),
    [aux_sym_sql_keyword_token15] = ACTIONS(126),
    [aux_sym_sql_keyword_token16] = ACTIONS(126),
    [aux_sym_sql_keyword_token17] = ACTIONS(126),
    [aux_sym_sql_keyword_token18] = ACTIONS(126),
    [aux_sym_sql_keyword_token19] = ACTIONS(126),
    [aux_sym_sql_keyword_token20] = ACTIONS(126),
    [aux_sym_sql_keyword_token21] = ACTIONS(126),
    [aux_sym_sql_keyword_token22] = ACTIONS(126),
    [aux_sym_sql_keyword_token23] = ACTIONS(126),
    [aux_sym_sql_keyword_token24] = ACTIONS(126),
    [aux_sym_sql_keyword_token25] = ACTIONS(126),
    [aux_sym_sql_keyword_token26] = ACTIONS(126),
    [aux_sym_sql_keyword_token27] = ACTIONS(126),
    [aux_sym_sql_keyword_token28] = ACTIONS(126),
    [aux_sym_sql_keyword_token29] = ACTIONS(126),
    [aux_sym_sql_keyword_token30] = ACTIONS(126),
    [aux_sym_sql_keyword_token31] = ACTIONS(126),
    [aux_sym_sql_keyword_token32] = ACTIONS(126),
    [aux_sym_sql_keyword_token33] = ACTIONS(126),
    [aux_sym_sql_keyword_token34] = ACTIONS(126),
    [aux_sym_sql_keyword_token35] = ACTIONS(126),
    [aux_sym_sql_keyword_token36] = ACTIONS(126),
    [aux_sym_sql_keyword_token37] = ACTIONS(126),
    [aux_sym_sql_keyword_token38] = ACTIONS(126),
    [aux_sym_sql_keyword_token39] = ACTIONS(126),
    [aux_sym_sql_keyword_token40] = ACTIONS(126),
    [aux_sym_sql_keyword_token41] = ACTIONS(126),
    [aux_sym_sql_keyword_token42] = ACTIONS(126),
    [aux_sym_sql_keyword_token43] = ACTIONS(126),
    [aux_sym_sql_keyword_token44] = ACTIONS(126),
    [aux_sym_sql_keyword_token45] = ACTIONS(126),
    [aux_sym_sql_keyword_token46] = ACTIONS(126),
    [aux_sym_sql_keyword_token47] = ACTIONS(126),
    [aux_sym_sql_keyword_token48] = ACTIONS(126),
    [aux_sym_sql_keyword_token49] = ACTIONS(126),
    [aux_sym_sql_keyword_token50] = ACTIONS(126),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(116),
    [anon_sym_SQUOTE] = ACTIONS(130),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(11)] = {
    [sym_subquery] = STATE(26),
    [sym_qualified_name] = STATE(27),
    [sym_table_ref] = STATE(31),
    [sym_identifier] = STATE(25),
    [sym_string] = STATE(27),
    [sym_comment] = STATE(11),
    [ts_builtin_sym_end] = ACTIONS(159),
    [sym_bare_identifier] = ACTIONS(161),
    [anon_sym_SEMI] = ACTIONS(159),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(159),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(159),
    [anon_sym_LT] = ACTIONS(159),
    [anon_sym_GT] = ACTIONS(159),
    [anon_sym_BANG] = ACTIONS(159),
    [anon_sym_PLUS] = ACTIONS(159),
    [anon_sym_DASH] = ACTIONS(163),
    [anon_sym_SLASH] = ACTIONS(163),
    [anon_sym_PERCENT] = ACTIONS(159),
    [anon_sym_PIPE] = ACTIONS(159),
    [anon_sym_AMP] = ACTIONS(159),
    [anon_sym_CARET] = ACTIONS(159),
    [anon_sym_TILDE] = ACTIONS(159),
    [anon_sym_COLON_COLON] = ACTIONS(159),
    [anon_sym_LPAREN] = ACTIONS(165),
    [aux_sym_cast_expression_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_namespaced_identifier] = ACTIONS(167),
    [sym_visualise_keyword] = ACTIONS(159),
    [sym_quoted_identifier] = ACTIONS(161),
    [sym_number] = ACTIONS(159),
    [anon_sym_SQUOTE] = ACTIONS(169),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(12)] = {
    [sym_sql_statement] = STATE(491),
    [sym_select_statement] = STATE(487),
    [sym_with_statement] = STATE(487),
    [sym_create_statement] = STATE(487),
    [sym_insert_statement] = STATE(487),
    [sym_update_statement] = STATE(487),
    [sym_delete_statement] = STATE(487),
    [sym_other_sql_statement] = STATE(487),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(12),
    [aux_sym_other_sql_statement_repeat1] = STATE(117),
    [ts_builtin_sym_end] = ACTIONS(171),
    [anon_sym_SEMI] = ACTIONS(171),
    [aux_sym_select_statement_token1] = ACTIONS(9),
    [anon_sym_COMMA] = ACTIONS(11),
    [anon_sym_STAR] = ACTIONS(13),
    [anon_sym_DOT] = ACTIONS(13),
    [anon_sym_EQ] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(11),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_other_sql_statement_token1] = ACTIONS(13),
    [aux_sym_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_sql_keyword_token2] = ACTIONS(29),
    [aux_sym_sql_keyword_token3] = ACTIONS(29),
    [aux_sym_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_sql_keyword_token5] = ACTIONS(29),
    [aux_sym_sql_keyword_token6] = ACTIONS(29),
    [aux_sym_sql_keyword_token7] = ACTIONS(29),
    [aux_sym_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_sql_keyword_token9] = ACTIONS(29),
    [aux_sym_sql_keyword_token10] = ACTIONS(29),
    [aux_sym_sql_keyword_token11] = ACTIONS(29),
    [aux_sym_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_sql_keyword_token13] = ACTIONS(29),
    [aux_sym_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_sql_keyword_token17] = ACTIONS(29),
    [aux_sym_sql_keyword_token18] = ACTIONS(29),
    [aux_sym_sql_keyword_token19] = ACTIONS(29),
    [aux_sym_sql_keyword_token20] = ACTIONS(29),
    [aux_sym_sql_keyword_token21] = ACTIONS(29),
    [aux_sym_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_sql_keyword_token23] = ACTIONS(29),
    [aux_sym_sql_keyword_token24] = ACTIONS(29),
    [aux_sym_sql_keyword_token25] = ACTIONS(29),
    [aux_sym_sql_keyword_token26] = ACTIONS(29),
    [aux_sym_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_sql_keyword_token28] = ACTIONS(29),
    [aux_sym_sql_keyword_token29] = ACTIONS(29),
    [aux_sym_sql_keyword_token30] = ACTIONS(29),
    [aux_sym_sql_keyword_token31] = ACTIONS(29),
    [aux_sym_sql_keyword_token32] = ACTIONS(29),
    [aux_sym_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_sql_keyword_token36] = ACTIONS(29),
    [aux_sym_sql_keyword_token37] = ACTIONS(29),
    [aux_sym_sql_keyword_token38] = ACTIONS(29),
    [aux_sym_sql_keyword_token39] = ACTIONS(29),
    [aux_sym_sql_keyword_token40] = ACTIONS(29),
    [aux_sym_sql_keyword_token41] = ACTIONS(29),
    [aux_sym_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_sql_keyword_token43] = ACTIONS(29),
    [aux_sym_sql_keyword_token44] = ACTIONS(29),
    [aux_sym_sql_keyword_token45] = ACTIONS(29),
    [aux_sym_sql_keyword_token46] = ACTIONS(29),
    [aux_sym_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_sql_keyword_token48] = ACTIONS(29),
    [aux_sym_sql_keyword_token49] = ACTIONS(29),
    [aux_sym_sql_keyword_token50] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(171),
    [sym_number] = ACTIONS(13),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(13)] = {
    [sym_sql_statement] = STATE(491),
    [sym_select_statement] = STATE(487),
    [sym_with_statement] = STATE(487),
    [sym_create_statement] = STATE(487),
    [sym_insert_statement] = STATE(487),
    [sym_update_statement] = STATE(487),
    [sym_delete_statement] = STATE(487),
    [sym_other_sql_statement] = STATE(487),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(13),
    [aux_sym_other_sql_statement_repeat1] = STATE(117),
    [ts_builtin_sym_end] = ACTIONS(173),
    [anon_sym_SEMI] = ACTIONS(171),
    [aux_sym_select_statement_token1] = ACTIONS(9),
    [anon_sym_COMMA] = ACTIONS(11),
    [anon_sym_STAR] = ACTIONS(13),
    [anon_sym_DOT] = ACTIONS(13),
    [anon_sym_EQ] = ACTIONS(13),
    [aux_sym_with_statement_token1] = ACTIONS(15),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(11),
    [aux_sym_create_statement_token1] = ACTIONS(19),
    [aux_sym_insert_statement_token1] = ACTIONS(21),
    [aux_sym_update_statement_token1] = ACTIONS(23),
    [aux_sym_delete_statement_token1] = ACTIONS(25),
    [aux_sym_other_sql_statement_token1] = ACTIONS(13),
    [aux_sym_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_sql_keyword_token2] = ACTIONS(29),
    [aux_sym_sql_keyword_token3] = ACTIONS(29),
    [aux_sym_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_sql_keyword_token5] = ACTIONS(29),
    [aux_sym_sql_keyword_token6] = ACTIONS(29),
    [aux_sym_sql_keyword_token7] = ACTIONS(29),
    [aux_sym_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_sql_keyword_token9] = ACTIONS(29),
    [aux_sym_sql_keyword_token10] = ACTIONS(29),
    [aux_sym_sql_keyword_token11] = ACTIONS(29),
    [aux_sym_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_sql_keyword_token13] = ACTIONS(29),
    [aux_sym_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_sql_keyword_token17] = ACTIONS(29),
    [aux_sym_sql_keyword_token18] = ACTIONS(29),
    [aux_sym_sql_keyword_token19] = ACTIONS(29),
    [aux_sym_sql_keyword_token20] = ACTIONS(29),
    [aux_sym_sql_keyword_token21] = ACTIONS(29),
    [aux_sym_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_sql_keyword_token23] = ACTIONS(29),
    [aux_sym_sql_keyword_token24] = ACTIONS(29),
    [aux_sym_sql_keyword_token25] = ACTIONS(29),
    [aux_sym_sql_keyword_token26] = ACTIONS(29),
    [aux_sym_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_sql_keyword_token28] = ACTIONS(29),
    [aux_sym_sql_keyword_token29] = ACTIONS(29),
    [aux_sym_sql_keyword_token30] = ACTIONS(29),
    [aux_sym_sql_keyword_token31] = ACTIONS(29),
    [aux_sym_sql_keyword_token32] = ACTIONS(29),
    [aux_sym_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_sql_keyword_token36] = ACTIONS(29),
    [aux_sym_sql_keyword_token37] = ACTIONS(29),
    [aux_sym_sql_keyword_token38] = ACTIONS(29),
    [aux_sym_sql_keyword_token39] = ACTIONS(29),
    [aux_sym_sql_keyword_token40] = ACTIONS(29),
    [aux_sym_sql_keyword_token41] = ACTIONS(29),
    [aux_sym_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_sql_keyword_token43] = ACTIONS(29),
    [aux_sym_sql_keyword_token44] = ACTIONS(29),
    [aux_sym_sql_keyword_token45] = ACTIONS(29),
    [aux_sym_sql_keyword_token46] = ACTIONS(29),
    [aux_sym_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_sql_keyword_token48] = ACTIONS(29),
    [aux_sym_sql_keyword_token49] = ACTIONS(29),
    [aux_sym_sql_keyword_token50] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(173),
    [sym_number] = ACTIONS(13),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(14)] = {
    [sym_subquery] = STATE(54),
    [sym_qualified_name] = STATE(53),
    [sym_table_ref] = STATE(63),
    [sym_identifier] = STATE(55),
    [sym_string] = STATE(53),
    [sym_comment] = STATE(14),
    [sym_bare_identifier] = ACTIONS(176),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(159),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(159),
    [anon_sym_LT] = ACTIONS(159),
    [anon_sym_GT] = ACTIONS(159),
    [anon_sym_BANG] = ACTIONS(159),
    [anon_sym_PLUS] = ACTIONS(159),
    [anon_sym_DASH] = ACTIONS(163),
    [anon_sym_SLASH] = ACTIONS(163),
    [anon_sym_PERCENT] = ACTIONS(159),
    [anon_sym_PIPE] = ACTIONS(159),
    [anon_sym_AMP] = ACTIONS(159),
    [anon_sym_CARET] = ACTIONS(159),
    [anon_sym_TILDE] = ACTIONS(159),
    [anon_sym_COLON_COLON] = ACTIONS(159),
    [anon_sym_LPAREN] = ACTIONS(178),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_cast_expression_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_namespaced_identifier] = ACTIONS(180),
    [sym_quoted_identifier] = ACTIONS(176),
    [sym_number] = ACTIONS(159),
    [anon_sym_SQUOTE] = ACTIONS(182),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(15)] = {
    [sym_select_statement] = STATE(522),
    [sym_with_statement] = STATE(522),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(522),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(15),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(16)] = {
    [sym_select_statement] = STATE(544),
    [sym_with_statement] = STATE(544),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(544),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(16),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(17)] = {
    [sym_select_statement] = STATE(554),
    [sym_with_statement] = STATE(554),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(554),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(17),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(18)] = {
    [sym_select_statement] = STATE(521),
    [sym_with_statement] = STATE(521),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(521),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(18),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(19)] = {
    [sym_select_statement] = STATE(543),
    [sym_with_statement] = STATE(543),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(543),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(19),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(20)] = {
    [sym_select_statement] = STATE(546),
    [sym_with_statement] = STATE(546),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(546),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(20),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(21)] = {
    [sym_select_statement] = STATE(581),
    [sym_with_statement] = STATE(581),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(581),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(21),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(22)] = {
    [sym_select_statement] = STATE(552),
    [sym_with_statement] = STATE(552),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(552),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(22),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(23)] = {
    [sym_select_statement] = STATE(555),
    [sym_with_statement] = STATE(555),
    [sym_subquery] = STATE(104),
    [sym_subquery_body] = STATE(555),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(23),
    [aux_sym_subquery_body_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(90),
    [aux_sym_select_statement_token1] = ACTIONS(92),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [aux_sym_with_statement_token1] = ACTIONS(98),
    [anon_sym_LPAREN] = ACTIONS(100),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(24)] = {
    [sym_comment] = STATE(24),
    [ts_builtin_sym_end] = ACTIONS(184),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_SEMI] = ACTIONS(184),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(184),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(184),
    [anon_sym_LT] = ACTIONS(184),
    [anon_sym_GT] = ACTIONS(184),
    [anon_sym_BANG] = ACTIONS(184),
    [anon_sym_PLUS] = ACTIONS(184),
    [anon_sym_DASH] = ACTIONS(186),
    [anon_sym_SLASH] = ACTIONS(186),
    [anon_sym_PERCENT] = ACTIONS(184),
    [anon_sym_PIPE] = ACTIONS(184),
    [anon_sym_AMP] = ACTIONS(184),
    [anon_sym_CARET] = ACTIONS(184),
    [anon_sym_TILDE] = ACTIONS(184),
    [anon_sym_COLON_COLON] = ACTIONS(184),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_cast_expression_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_visualise_keyword] = ACTIONS(184),
    [aux_sym_scale_to_clause_token1] = ACTIONS(186),
    [sym_quoted_identifier] = ACTIONS(184),
    [sym_number] = ACTIONS(184),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(25)] = {
    [sym_comment] = STATE(25),
    [aux_sym_qualified_name_repeat1] = STATE(28),
    [ts_builtin_sym_end] = ACTIONS(188),
    [sym_bare_identifier] = ACTIONS(190),
    [anon_sym_SEMI] = ACTIONS(188),
    [anon_sym_COMMA] = ACTIONS(188),
    [anon_sym_STAR] = ACTIONS(188),
    [anon_sym_DOT] = ACTIONS(192),
    [anon_sym_EQ] = ACTIONS(188),
    [anon_sym_LT] = ACTIONS(188),
    [anon_sym_GT] = ACTIONS(188),
    [anon_sym_BANG] = ACTIONS(188),
    [anon_sym_PLUS] = ACTIONS(188),
    [anon_sym_DASH] = ACTIONS(190),
    [anon_sym_SLASH] = ACTIONS(190),
    [anon_sym_PERCENT] = ACTIONS(188),
    [anon_sym_PIPE] = ACTIONS(188),
    [anon_sym_AMP] = ACTIONS(188),
    [anon_sym_CARET] = ACTIONS(188),
    [anon_sym_TILDE] = ACTIONS(188),
    [anon_sym_COLON_COLON] = ACTIONS(188),
    [anon_sym_LPAREN] = ACTIONS(188),
    [aux_sym_cte_definition_token1] = ACTIONS(190),
    [aux_sym_cast_expression_token1] = ACTIONS(190),
    [aux_sym_cast_expression_token2] = ACTIONS(190),
    [aux_sym_sql_keyword_token1] = ACTIONS(190),
    [aux_sym_sql_keyword_token2] = ACTIONS(190),
    [aux_sym_sql_keyword_token3] = ACTIONS(190),
    [aux_sym_sql_keyword_token4] = ACTIONS(190),
    [aux_sym_sql_keyword_token5] = ACTIONS(190),
    [aux_sym_sql_keyword_token6] = ACTIONS(190),
    [aux_sym_sql_keyword_token7] = ACTIONS(190),
    [aux_sym_sql_keyword_token8] = ACTIONS(190),
    [aux_sym_sql_keyword_token9] = ACTIONS(190),
    [aux_sym_sql_keyword_token10] = ACTIONS(190),
    [aux_sym_sql_keyword_token11] = ACTIONS(190),
    [aux_sym_sql_keyword_token12] = ACTIONS(190),
    [aux_sym_sql_keyword_token13] = ACTIONS(190),
    [aux_sym_sql_keyword_token14] = ACTIONS(190),
    [aux_sym_sql_keyword_token15] = ACTIONS(190),
    [aux_sym_sql_keyword_token16] = ACTIONS(190),
    [aux_sym_sql_keyword_token17] = ACTIONS(190),
    [aux_sym_sql_keyword_token18] = ACTIONS(190),
    [aux_sym_sql_keyword_token19] = ACTIONS(190),
    [aux_sym_sql_keyword_token20] = ACTIONS(190),
    [aux_sym_sql_keyword_token21] = ACTIONS(190),
    [aux_sym_sql_keyword_token22] = ACTIONS(190),
    [aux_sym_sql_keyword_token23] = ACTIONS(190),
    [aux_sym_sql_keyword_token24] = ACTIONS(190),
    [aux_sym_sql_keyword_token25] = ACTIONS(190),
    [aux_sym_sql_keyword_token26] = ACTIONS(190),
    [aux_sym_sql_keyword_token27] = ACTIONS(190),
    [aux_sym_sql_keyword_token28] = ACTIONS(190),
    [aux_sym_sql_keyword_token29] = ACTIONS(190),
    [aux_sym_sql_keyword_token30] = ACTIONS(190),
    [aux_sym_sql_keyword_token31] = ACTIONS(190),
    [aux_sym_sql_keyword_token32] = ACTIONS(190),
    [aux_sym_sql_keyword_token33] = ACTIONS(190),
    [aux_sym_sql_keyword_token34] = ACTIONS(190),
    [aux_sym_sql_keyword_token35] = ACTIONS(190),
    [aux_sym_sql_keyword_token36] = ACTIONS(190),
    [aux_sym_sql_keyword_token37] = ACTIONS(190),
    [aux_sym_sql_keyword_token38] = ACTIONS(190),
    [aux_sym_sql_keyword_token39] = ACTIONS(190),
    [aux_sym_sql_keyword_token40] = ACTIONS(190),
    [aux_sym_sql_keyword_token41] = ACTIONS(190),
    [aux_sym_sql_keyword_token42] = ACTIONS(190),
    [aux_sym_sql_keyword_token43] = ACTIONS(190),
    [aux_sym_sql_keyword_token44] = ACTIONS(190),
    [aux_sym_sql_keyword_token45] = ACTIONS(190),
    [aux_sym_sql_keyword_token46] = ACTIONS(190),
    [aux_sym_sql_keyword_token47] = ACTIONS(190),
    [aux_sym_sql_keyword_token48] = ACTIONS(190),
    [aux_sym_sql_keyword_token49] = ACTIONS(190),
    [aux_sym_sql_keyword_token50] = ACTIONS(190),
    [sym_visualise_keyword] = ACTIONS(188),
    [sym_quoted_identifier] = ACTIONS(188),
    [sym_number] = ACTIONS(188),
    [anon_sym_SQUOTE] = ACTIONS(188),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(26)] = {
    [sym_identifier] = STATE(41),
    [sym_comment] = STATE(26),
    [ts_builtin_sym_end] = ACTIONS(194),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(194),
    [anon_sym_COMMA] = ACTIONS(194),
    [anon_sym_STAR] = ACTIONS(194),
    [anon_sym_DOT] = ACTIONS(196),
    [anon_sym_EQ] = ACTIONS(194),
    [anon_sym_LT] = ACTIONS(194),
    [anon_sym_GT] = ACTIONS(194),
    [anon_sym_BANG] = ACTIONS(194),
    [anon_sym_PLUS] = ACTIONS(194),
    [anon_sym_DASH] = ACTIONS(196),
    [anon_sym_SLASH] = ACTIONS(196),
    [anon_sym_PERCENT] = ACTIONS(194),
    [anon_sym_PIPE] = ACTIONS(194),
    [anon_sym_AMP] = ACTIONS(194),
    [anon_sym_CARET] = ACTIONS(194),
    [anon_sym_TILDE] = ACTIONS(194),
    [anon_sym_COLON_COLON] = ACTIONS(194),
    [anon_sym_LPAREN] = ACTIONS(194),
    [aux_sym_cte_definition_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token1] = ACTIONS(196),
    [aux_sym_cast_expression_token2] = ACTIONS(196),
    [aux_sym_sql_keyword_token1] = ACTIONS(196),
    [aux_sym_sql_keyword_token2] = ACTIONS(196),
    [aux_sym_sql_keyword_token3] = ACTIONS(196),
    [aux_sym_sql_keyword_token4] = ACTIONS(196),
    [aux_sym_sql_keyword_token5] = ACTIONS(196),
    [aux_sym_sql_keyword_token6] = ACTIONS(196),
    [aux_sym_sql_keyword_token7] = ACTIONS(196),
    [aux_sym_sql_keyword_token8] = ACTIONS(196),
    [aux_sym_sql_keyword_token9] = ACTIONS(196),
    [aux_sym_sql_keyword_token10] = ACTIONS(196),
    [aux_sym_sql_keyword_token11] = ACTIONS(196),
    [aux_sym_sql_keyword_token12] = ACTIONS(196),
    [aux_sym_sql_keyword_token13] = ACTIONS(196),
    [aux_sym_sql_keyword_token14] = ACTIONS(196),
    [aux_sym_sql_keyword_token15] = ACTIONS(196),
    [aux_sym_sql_keyword_token16] = ACTIONS(196),
    [aux_sym_sql_keyword_token17] = ACTIONS(196),
    [aux_sym_sql_keyword_token18] = ACTIONS(196),
    [aux_sym_sql_keyword_token19] = ACTIONS(196),
    [aux_sym_sql_keyword_token20] = ACTIONS(196),
    [aux_sym_sql_keyword_token21] = ACTIONS(196),
    [aux_sym_sql_keyword_token22] = ACTIONS(196),
    [aux_sym_sql_keyword_token23] = ACTIONS(196),
    [aux_sym_sql_keyword_token24] = ACTIONS(196),
    [aux_sym_sql_keyword_token25] = ACTIONS(196),
    [aux_sym_sql_keyword_token26] = ACTIONS(196),
    [aux_sym_sql_keyword_token27] = ACTIONS(196),
    [aux_sym_sql_keyword_token28] = ACTIONS(196),
    [aux_sym_sql_keyword_token29] = ACTIONS(196),
    [aux_sym_sql_keyword_token30] = ACTIONS(196),
    [aux_sym_sql_keyword_token31] = ACTIONS(196),
    [aux_sym_sql_keyword_token32] = ACTIONS(196),
    [aux_sym_sql_keyword_token33] = ACTIONS(196),
    [aux_sym_sql_keyword_token34] = ACTIONS(196),
    [aux_sym_sql_keyword_token35] = ACTIONS(196),
    [aux_sym_sql_keyword_token36] = ACTIONS(196),
    [aux_sym_sql_keyword_token37] = ACTIONS(196),
    [aux_sym_sql_keyword_token38] = ACTIONS(196),
    [aux_sym_sql_keyword_token39] = ACTIONS(196),
    [aux_sym_sql_keyword_token40] = ACTIONS(196),
    [aux_sym_sql_keyword_token41] = ACTIONS(196),
    [aux_sym_sql_keyword_token42] = ACTIONS(196),
    [aux_sym_sql_keyword_token43] = ACTIONS(196),
    [aux_sym_sql_keyword_token44] = ACTIONS(196),
    [aux_sym_sql_keyword_token45] = ACTIONS(196),
    [aux_sym_sql_keyword_token46] = ACTIONS(196),
    [aux_sym_sql_keyword_token47] = ACTIONS(196),
    [aux_sym_sql_keyword_token48] = ACTIONS(196),
    [aux_sym_sql_keyword_token49] = ACTIONS(196),
    [aux_sym_sql_keyword_token50] = ACTIONS(196),
    [sym_visualise_keyword] = ACTIONS(194),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(194),
    [anon_sym_SQUOTE] = ACTIONS(194),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(27)] = {
    [sym_identifier] = STATE(40),
    [sym_comment] = STATE(27),
    [ts_builtin_sym_end] = ACTIONS(200),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(200),
    [anon_sym_COMMA] = ACTIONS(200),
    [anon_sym_STAR] = ACTIONS(200),
    [anon_sym_DOT] = ACTIONS(202),
    [anon_sym_EQ] = ACTIONS(200),
    [anon_sym_LT] = ACTIONS(200),
    [anon_sym_GT] = ACTIONS(200),
    [anon_sym_BANG] = ACTIONS(200),
    [anon_sym_PLUS] = ACTIONS(200),
    [anon_sym_DASH] = ACTIONS(202),
    [anon_sym_SLASH] = ACTIONS(202),
    [anon_sym_PERCENT] = ACTIONS(200),
    [anon_sym_PIPE] = ACTIONS(200),
    [anon_sym_AMP] = ACTIONS(200),
    [anon_sym_CARET] = ACTIONS(200),
    [anon_sym_TILDE] = ACTIONS(200),
    [anon_sym_COLON_COLON] = ACTIONS(200),
    [anon_sym_LPAREN] = ACTIONS(200),
    [aux_sym_cte_definition_token1] = ACTIONS(204),
    [aux_sym_cast_expression_token1] = ACTIONS(202),
    [aux_sym_cast_expression_token2] = ACTIONS(202),
    [aux_sym_sql_keyword_token1] = ACTIONS(202),
    [aux_sym_sql_keyword_token2] = ACTIONS(202),
    [aux_sym_sql_keyword_token3] = ACTIONS(202),
    [aux_sym_sql_keyword_token4] = ACTIONS(202),
    [aux_sym_sql_keyword_token5] = ACTIONS(202),
    [aux_sym_sql_keyword_token6] = ACTIONS(202),
    [aux_sym_sql_keyword_token7] = ACTIONS(202),
    [aux_sym_sql_keyword_token8] = ACTIONS(202),
    [aux_sym_sql_keyword_token9] = ACTIONS(202),
    [aux_sym_sql_keyword_token10] = ACTIONS(202),
    [aux_sym_sql_keyword_token11] = ACTIONS(202),
    [aux_sym_sql_keyword_token12] = ACTIONS(202),
    [aux_sym_sql_keyword_token13] = ACTIONS(202),
    [aux_sym_sql_keyword_token14] = ACTIONS(202),
    [aux_sym_sql_keyword_token15] = ACTIONS(202),
    [aux_sym_sql_keyword_token16] = ACTIONS(202),
    [aux_sym_sql_keyword_token17] = ACTIONS(202),
    [aux_sym_sql_keyword_token18] = ACTIONS(202),
    [aux_sym_sql_keyword_token19] = ACTIONS(202),
    [aux_sym_sql_keyword_token20] = ACTIONS(202),
    [aux_sym_sql_keyword_token21] = ACTIONS(202),
    [aux_sym_sql_keyword_token22] = ACTIONS(202),
    [aux_sym_sql_keyword_token23] = ACTIONS(202),
    [aux_sym_sql_keyword_token24] = ACTIONS(202),
    [aux_sym_sql_keyword_token25] = ACTIONS(202),
    [aux_sym_sql_keyword_token26] = ACTIONS(202),
    [aux_sym_sql_keyword_token27] = ACTIONS(202),
    [aux_sym_sql_keyword_token28] = ACTIONS(202),
    [aux_sym_sql_keyword_token29] = ACTIONS(202),
    [aux_sym_sql_keyword_token30] = ACTIONS(202),
    [aux_sym_sql_keyword_token31] = ACTIONS(202),
    [aux_sym_sql_keyword_token32] = ACTIONS(202),
    [aux_sym_sql_keyword_token33] = ACTIONS(202),
    [aux_sym_sql_keyword_token34] = ACTIONS(202),
    [aux_sym_sql_keyword_token35] = ACTIONS(202),
    [aux_sym_sql_keyword_token36] = ACTIONS(202),
    [aux_sym_sql_keyword_token37] = ACTIONS(202),
    [aux_sym_sql_keyword_token38] = ACTIONS(202),
    [aux_sym_sql_keyword_token39] = ACTIONS(202),
    [aux_sym_sql_keyword_token40] = ACTIONS(202),
    [aux_sym_sql_keyword_token41] = ACTIONS(202),
    [aux_sym_sql_keyword_token42] = ACTIONS(202),
    [aux_sym_sql_keyword_token43] = ACTIONS(202),
    [aux_sym_sql_keyword_token44] = ACTIONS(202),
    [aux_sym_sql_keyword_token45] = ACTIONS(202),
    [aux_sym_sql_keyword_token46] = ACTIONS(202),
    [aux_sym_sql_keyword_token47] = ACTIONS(202),
    [aux_sym_sql_keyword_token48] = ACTIONS(202),
    [aux_sym_sql_keyword_token49] = ACTIONS(202),
    [aux_sym_sql_keyword_token50] = ACTIONS(202),
    [sym_visualise_keyword] = ACTIONS(200),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(200),
    [anon_sym_SQUOTE] = ACTIONS(200),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(28)] = {
    [sym_comment] = STATE(28),
    [aux_sym_qualified_name_repeat1] = STATE(29),
    [ts_builtin_sym_end] = ACTIONS(206),
    [sym_bare_identifier] = ACTIONS(208),
    [anon_sym_SEMI] = ACTIONS(206),
    [anon_sym_COMMA] = ACTIONS(206),
    [anon_sym_STAR] = ACTIONS(206),
    [anon_sym_DOT] = ACTIONS(192),
    [anon_sym_EQ] = ACTIONS(206),
    [anon_sym_LT] = ACTIONS(206),
    [anon_sym_GT] = ACTIONS(206),
    [anon_sym_BANG] = ACTIONS(206),
    [anon_sym_PLUS] = ACTIONS(206),
    [anon_sym_DASH] = ACTIONS(208),
    [anon_sym_SLASH] = ACTIONS(208),
    [anon_sym_PERCENT] = ACTIONS(206),
    [anon_sym_PIPE] = ACTIONS(206),
    [anon_sym_AMP] = ACTIONS(206),
    [anon_sym_CARET] = ACTIONS(206),
    [anon_sym_TILDE] = ACTIONS(206),
    [anon_sym_COLON_COLON] = ACTIONS(206),
    [anon_sym_LPAREN] = ACTIONS(206),
    [aux_sym_cte_definition_token1] = ACTIONS(208),
    [aux_sym_cast_expression_token1] = ACTIONS(208),
    [aux_sym_cast_expression_token2] = ACTIONS(208),
    [aux_sym_sql_keyword_token1] = ACTIONS(208),
    [aux_sym_sql_keyword_token2] = ACTIONS(208),
    [aux_sym_sql_keyword_token3] = ACTIONS(208),
    [aux_sym_sql_keyword_token4] = ACTIONS(208),
    [aux_sym_sql_keyword_token5] = ACTIONS(208),
    [aux_sym_sql_keyword_token6] = ACTIONS(208),
    [aux_sym_sql_keyword_token7] = ACTIONS(208),
    [aux_sym_sql_keyword_token8] = ACTIONS(208),
    [aux_sym_sql_keyword_token9] = ACTIONS(208),
    [aux_sym_sql_keyword_token10] = ACTIONS(208),
    [aux_sym_sql_keyword_token11] = ACTIONS(208),
    [aux_sym_sql_keyword_token12] = ACTIONS(208),
    [aux_sym_sql_keyword_token13] = ACTIONS(208),
    [aux_sym_sql_keyword_token14] = ACTIONS(208),
    [aux_sym_sql_keyword_token15] = ACTIONS(208),
    [aux_sym_sql_keyword_token16] = ACTIONS(208),
    [aux_sym_sql_keyword_token17] = ACTIONS(208),
    [aux_sym_sql_keyword_token18] = ACTIONS(208),
    [aux_sym_sql_keyword_token19] = ACTIONS(208),
    [aux_sym_sql_keyword_token20] = ACTIONS(208),
    [aux_sym_sql_keyword_token21] = ACTIONS(208),
    [aux_sym_sql_keyword_token22] = ACTIONS(208),
    [aux_sym_sql_keyword_token23] = ACTIONS(208),
    [aux_sym_sql_keyword_token24] = ACTIONS(208),
    [aux_sym_sql_keyword_token25] = ACTIONS(208),
    [aux_sym_sql_keyword_token26] = ACTIONS(208),
    [aux_sym_sql_keyword_token27] = ACTIONS(208),
    [aux_sym_sql_keyword_token28] = ACTIONS(208),
    [aux_sym_sql_keyword_token29] = ACTIONS(208),
    [aux_sym_sql_keyword_token30] = ACTIONS(208),
    [aux_sym_sql_keyword_token31] = ACTIONS(208),
    [aux_sym_sql_keyword_token32] = ACTIONS(208),
    [aux_sym_sql_keyword_token33] = ACTIONS(208),
    [aux_sym_sql_keyword_token34] = ACTIONS(208),
    [aux_sym_sql_keyword_token35] = ACTIONS(208),
    [aux_sym_sql_keyword_token36] = ACTIONS(208),
    [aux_sym_sql_keyword_token37] = ACTIONS(208),
    [aux_sym_sql_keyword_token38] = ACTIONS(208),
    [aux_sym_sql_keyword_token39] = ACTIONS(208),
    [aux_sym_sql_keyword_token40] = ACTIONS(208),
    [aux_sym_sql_keyword_token41] = ACTIONS(208),
    [aux_sym_sql_keyword_token42] = ACTIONS(208),
    [aux_sym_sql_keyword_token43] = ACTIONS(208),
    [aux_sym_sql_keyword_token44] = ACTIONS(208),
    [aux_sym_sql_keyword_token45] = ACTIONS(208),
    [aux_sym_sql_keyword_token46] = ACTIONS(208),
    [aux_sym_sql_keyword_token47] = ACTIONS(208),
    [aux_sym_sql_keyword_token48] = ACTIONS(208),
    [aux_sym_sql_keyword_token49] = ACTIONS(208),
    [aux_sym_sql_keyword_token50] = ACTIONS(208),
    [sym_visualise_keyword] = ACTIONS(206),
    [sym_quoted_identifier] = ACTIONS(206),
    [sym_number] = ACTIONS(206),
    [anon_sym_SQUOTE] = ACTIONS(206),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(29)] = {
    [sym_comment] = STATE(29),
    [aux_sym_qualified_name_repeat1] = STATE(29),
    [ts_builtin_sym_end] = ACTIONS(210),
    [sym_bare_identifier] = ACTIONS(212),
    [anon_sym_SEMI] = ACTIONS(210),
    [anon_sym_COMMA] = ACTIONS(210),
    [anon_sym_STAR] = ACTIONS(210),
    [anon_sym_DOT] = ACTIONS(214),
    [anon_sym_EQ] = ACTIONS(210),
    [anon_sym_LT] = ACTIONS(210),
    [anon_sym_GT] = ACTIONS(210),
    [anon_sym_BANG] = ACTIONS(210),
    [anon_sym_PLUS] = ACTIONS(210),
    [anon_sym_DASH] = ACTIONS(212),
    [anon_sym_SLASH] = ACTIONS(212),
    [anon_sym_PERCENT] = ACTIONS(210),
    [anon_sym_PIPE] = ACTIONS(210),
    [anon_sym_AMP] = ACTIONS(210),
    [anon_sym_CARET] = ACTIONS(210),
    [anon_sym_TILDE] = ACTIONS(210),
    [anon_sym_COLON_COLON] = ACTIONS(210),
    [anon_sym_LPAREN] = ACTIONS(210),
    [aux_sym_cte_definition_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token1] = ACTIONS(212),
    [aux_sym_sql_keyword_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token3] = ACTIONS(212),
    [aux_sym_sql_keyword_token4] = ACTIONS(212),
    [aux_sym_sql_keyword_token5] = ACTIONS(212),
    [aux_sym_sql_keyword_token6] = ACTIONS(212),
    [aux_sym_sql_keyword_token7] = ACTIONS(212),
    [aux_sym_sql_keyword_token8] = ACTIONS(212),
    [aux_sym_sql_keyword_token9] = ACTIONS(212),
    [aux_sym_sql_keyword_token10] = ACTIONS(212),
    [aux_sym_sql_keyword_token11] = ACTIONS(212),
    [aux_sym_sql_keyword_token12] = ACTIONS(212),
    [aux_sym_sql_keyword_token13] = ACTIONS(212),
    [aux_sym_sql_keyword_token14] = ACTIONS(212),
    [aux_sym_sql_keyword_token15] = ACTIONS(212),
    [aux_sym_sql_keyword_token16] = ACTIONS(212),
    [aux_sym_sql_keyword_token17] = ACTIONS(212),
    [aux_sym_sql_keyword_token18] = ACTIONS(212),
    [aux_sym_sql_keyword_token19] = ACTIONS(212),
    [aux_sym_sql_keyword_token20] = ACTIONS(212),
    [aux_sym_sql_keyword_token21] = ACTIONS(212),
    [aux_sym_sql_keyword_token22] = ACTIONS(212),
    [aux_sym_sql_keyword_token23] = ACTIONS(212),
    [aux_sym_sql_keyword_token24] = ACTIONS(212),
    [aux_sym_sql_keyword_token25] = ACTIONS(212),
    [aux_sym_sql_keyword_token26] = ACTIONS(212),
    [aux_sym_sql_keyword_token27] = ACTIONS(212),
    [aux_sym_sql_keyword_token28] = ACTIONS(212),
    [aux_sym_sql_keyword_token29] = ACTIONS(212),
    [aux_sym_sql_keyword_token30] = ACTIONS(212),
    [aux_sym_sql_keyword_token31] = ACTIONS(212),
    [aux_sym_sql_keyword_token32] = ACTIONS(212),
    [aux_sym_sql_keyword_token33] = ACTIONS(212),
    [aux_sym_sql_keyword_token34] = ACTIONS(212),
    [aux_sym_sql_keyword_token35] = ACTIONS(212),
    [aux_sym_sql_keyword_token36] = ACTIONS(212),
    [aux_sym_sql_keyword_token37] = ACTIONS(212),
    [aux_sym_sql_keyword_token38] = ACTIONS(212),
    [aux_sym_sql_keyword_token39] = ACTIONS(212),
    [aux_sym_sql_keyword_token40] = ACTIONS(212),
    [aux_sym_sql_keyword_token41] = ACTIONS(212),
    [aux_sym_sql_keyword_token42] = ACTIONS(212),
    [aux_sym_sql_keyword_token43] = ACTIONS(212),
    [aux_sym_sql_keyword_token44] = ACTIONS(212),
    [aux_sym_sql_keyword_token45] = ACTIONS(212),
    [aux_sym_sql_keyword_token46] = ACTIONS(212),
    [aux_sym_sql_keyword_token47] = ACTIONS(212),
    [aux_sym_sql_keyword_token48] = ACTIONS(212),
    [aux_sym_sql_keyword_token49] = ACTIONS(212),
    [aux_sym_sql_keyword_token50] = ACTIONS(212),
    [sym_visualise_keyword] = ACTIONS(210),
    [sym_quoted_identifier] = ACTIONS(210),
    [sym_number] = ACTIONS(210),
    [anon_sym_SQUOTE] = ACTIONS(210),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(30)] = {
    [sym_comment] = STATE(30),
    [ts_builtin_sym_end] = ACTIONS(217),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(217),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(217),
    [anon_sym_LT] = ACTIONS(217),
    [anon_sym_GT] = ACTIONS(217),
    [anon_sym_BANG] = ACTIONS(217),
    [anon_sym_PLUS] = ACTIONS(217),
    [anon_sym_DASH] = ACTIONS(219),
    [anon_sym_SLASH] = ACTIONS(219),
    [anon_sym_PERCENT] = ACTIONS(217),
    [anon_sym_PIPE] = ACTIONS(217),
    [anon_sym_AMP] = ACTIONS(217),
    [anon_sym_CARET] = ACTIONS(217),
    [anon_sym_TILDE] = ACTIONS(217),
    [anon_sym_COLON_COLON] = ACTIONS(217),
    [anon_sym_LPAREN] = ACTIONS(217),
    [aux_sym_cte_definition_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_quoted_identifier] = ACTIONS(217),
    [sym_number] = ACTIONS(217),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(31)] = {
    [sym_comment] = STATE(31),
    [aux_sym_from_clause_repeat1] = STATE(32),
    [ts_builtin_sym_end] = ACTIONS(221),
    [sym_bare_identifier] = ACTIONS(223),
    [anon_sym_SEMI] = ACTIONS(221),
    [anon_sym_COMMA] = ACTIONS(225),
    [anon_sym_STAR] = ACTIONS(221),
    [anon_sym_DOT] = ACTIONS(223),
    [anon_sym_EQ] = ACTIONS(221),
    [anon_sym_LT] = ACTIONS(221),
    [anon_sym_GT] = ACTIONS(221),
    [anon_sym_BANG] = ACTIONS(221),
    [anon_sym_PLUS] = ACTIONS(221),
    [anon_sym_DASH] = ACTIONS(223),
    [anon_sym_SLASH] = ACTIONS(223),
    [anon_sym_PERCENT] = ACTIONS(221),
    [anon_sym_PIPE] = ACTIONS(221),
    [anon_sym_AMP] = ACTIONS(221),
    [anon_sym_CARET] = ACTIONS(221),
    [anon_sym_TILDE] = ACTIONS(221),
    [anon_sym_COLON_COLON] = ACTIONS(221),
    [anon_sym_LPAREN] = ACTIONS(221),
    [aux_sym_cast_expression_token1] = ACTIONS(223),
    [aux_sym_cast_expression_token2] = ACTIONS(223),
    [aux_sym_sql_keyword_token1] = ACTIONS(223),
    [aux_sym_sql_keyword_token2] = ACTIONS(223),
    [aux_sym_sql_keyword_token3] = ACTIONS(223),
    [aux_sym_sql_keyword_token4] = ACTIONS(223),
    [aux_sym_sql_keyword_token5] = ACTIONS(223),
    [aux_sym_sql_keyword_token6] = ACTIONS(223),
    [aux_sym_sql_keyword_token7] = ACTIONS(223),
    [aux_sym_sql_keyword_token8] = ACTIONS(223),
    [aux_sym_sql_keyword_token9] = ACTIONS(223),
    [aux_sym_sql_keyword_token10] = ACTIONS(223),
    [aux_sym_sql_keyword_token11] = ACTIONS(223),
    [aux_sym_sql_keyword_token12] = ACTIONS(223),
    [aux_sym_sql_keyword_token13] = ACTIONS(223),
    [aux_sym_sql_keyword_token14] = ACTIONS(223),
    [aux_sym_sql_keyword_token15] = ACTIONS(223),
    [aux_sym_sql_keyword_token16] = ACTIONS(223),
    [aux_sym_sql_keyword_token17] = ACTIONS(223),
    [aux_sym_sql_keyword_token18] = ACTIONS(223),
    [aux_sym_sql_keyword_token19] = ACTIONS(223),
    [aux_sym_sql_keyword_token20] = ACTIONS(223),
    [aux_sym_sql_keyword_token21] = ACTIONS(223),
    [aux_sym_sql_keyword_token22] = ACTIONS(223),
    [aux_sym_sql_keyword_token23] = ACTIONS(223),
    [aux_sym_sql_keyword_token24] = ACTIONS(223),
    [aux_sym_sql_keyword_token25] = ACTIONS(223),
    [aux_sym_sql_keyword_token26] = ACTIONS(223),
    [aux_sym_sql_keyword_token27] = ACTIONS(223),
    [aux_sym_sql_keyword_token28] = ACTIONS(223),
    [aux_sym_sql_keyword_token29] = ACTIONS(223),
    [aux_sym_sql_keyword_token30] = ACTIONS(223),
    [aux_sym_sql_keyword_token31] = ACTIONS(223),
    [aux_sym_sql_keyword_token32] = ACTIONS(223),
    [aux_sym_sql_keyword_token33] = ACTIONS(223),
    [aux_sym_sql_keyword_token34] = ACTIONS(223),
    [aux_sym_sql_keyword_token35] = ACTIONS(223),
    [aux_sym_sql_keyword_token36] = ACTIONS(223),
    [aux_sym_sql_keyword_token37] = ACTIONS(223),
    [aux_sym_sql_keyword_token38] = ACTIONS(223),
    [aux_sym_sql_keyword_token39] = ACTIONS(223),
    [aux_sym_sql_keyword_token40] = ACTIONS(223),
    [aux_sym_sql_keyword_token41] = ACTIONS(223),
    [aux_sym_sql_keyword_token42] = ACTIONS(223),
    [aux_sym_sql_keyword_token43] = ACTIONS(223),
    [aux_sym_sql_keyword_token44] = ACTIONS(223),
    [aux_sym_sql_keyword_token45] = ACTIONS(223),
    [aux_sym_sql_keyword_token46] = ACTIONS(223),
    [aux_sym_sql_keyword_token47] = ACTIONS(223),
    [aux_sym_sql_keyword_token48] = ACTIONS(223),
    [aux_sym_sql_keyword_token49] = ACTIONS(223),
    [aux_sym_sql_keyword_token50] = ACTIONS(223),
    [sym_visualise_keyword] = ACTIONS(221),
    [sym_quoted_identifier] = ACTIONS(221),
    [sym_number] = ACTIONS(221),
    [anon_sym_SQUOTE] = ACTIONS(221),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(32)] = {
    [sym_comment] = STATE(32),
    [aux_sym_from_clause_repeat1] = STATE(33),
    [ts_builtin_sym_end] = ACTIONS(227),
    [sym_bare_identifier] = ACTIONS(229),
    [anon_sym_SEMI] = ACTIONS(227),
    [anon_sym_COMMA] = ACTIONS(227),
    [anon_sym_STAR] = ACTIONS(227),
    [anon_sym_DOT] = ACTIONS(229),
    [anon_sym_EQ] = ACTIONS(227),
    [anon_sym_LT] = ACTIONS(227),
    [anon_sym_GT] = ACTIONS(227),
    [anon_sym_BANG] = ACTIONS(227),
    [anon_sym_PLUS] = ACTIONS(227),
    [anon_sym_DASH] = ACTIONS(229),
    [anon_sym_SLASH] = ACTIONS(229),
    [anon_sym_PERCENT] = ACTIONS(227),
    [anon_sym_PIPE] = ACTIONS(227),
    [anon_sym_AMP] = ACTIONS(227),
    [anon_sym_CARET] = ACTIONS(227),
    [anon_sym_TILDE] = ACTIONS(227),
    [anon_sym_COLON_COLON] = ACTIONS(227),
    [anon_sym_LPAREN] = ACTIONS(227),
    [aux_sym_cast_expression_token1] = ACTIONS(229),
    [aux_sym_cast_expression_token2] = ACTIONS(229),
    [aux_sym_sql_keyword_token1] = ACTIONS(229),
    [aux_sym_sql_keyword_token2] = ACTIONS(229),
    [aux_sym_sql_keyword_token3] = ACTIONS(229),
    [aux_sym_sql_keyword_token4] = ACTIONS(229),
    [aux_sym_sql_keyword_token5] = ACTIONS(229),
    [aux_sym_sql_keyword_token6] = ACTIONS(229),
    [aux_sym_sql_keyword_token7] = ACTIONS(229),
    [aux_sym_sql_keyword_token8] = ACTIONS(229),
    [aux_sym_sql_keyword_token9] = ACTIONS(229),
    [aux_sym_sql_keyword_token10] = ACTIONS(229),
    [aux_sym_sql_keyword_token11] = ACTIONS(229),
    [aux_sym_sql_keyword_token12] = ACTIONS(229),
    [aux_sym_sql_keyword_token13] = ACTIONS(229),
    [aux_sym_sql_keyword_token14] = ACTIONS(229),
    [aux_sym_sql_keyword_token15] = ACTIONS(229),
    [aux_sym_sql_keyword_token16] = ACTIONS(229),
    [aux_sym_sql_keyword_token17] = ACTIONS(229),
    [aux_sym_sql_keyword_token18] = ACTIONS(229),
    [aux_sym_sql_keyword_token19] = ACTIONS(229),
    [aux_sym_sql_keyword_token20] = ACTIONS(229),
    [aux_sym_sql_keyword_token21] = ACTIONS(229),
    [aux_sym_sql_keyword_token22] = ACTIONS(229),
    [aux_sym_sql_keyword_token23] = ACTIONS(229),
    [aux_sym_sql_keyword_token24] = ACTIONS(229),
    [aux_sym_sql_keyword_token25] = ACTIONS(229),
    [aux_sym_sql_keyword_token26] = ACTIONS(229),
    [aux_sym_sql_keyword_token27] = ACTIONS(229),
    [aux_sym_sql_keyword_token28] = ACTIONS(229),
    [aux_sym_sql_keyword_token29] = ACTIONS(229),
    [aux_sym_sql_keyword_token30] = ACTIONS(229),
    [aux_sym_sql_keyword_token31] = ACTIONS(229),
    [aux_sym_sql_keyword_token32] = ACTIONS(229),
    [aux_sym_sql_keyword_token33] = ACTIONS(229),
    [aux_sym_sql_keyword_token34] = ACTIONS(229),
    [aux_sym_sql_keyword_token35] = ACTIONS(229),
    [aux_sym_sql_keyword_token36] = ACTIONS(229),
    [aux_sym_sql_keyword_token37] = ACTIONS(229),
    [aux_sym_sql_keyword_token38] = ACTIONS(229),
    [aux_sym_sql_keyword_token39] = ACTIONS(229),
    [aux_sym_sql_keyword_token40] = ACTIONS(229),
    [aux_sym_sql_keyword_token41] = ACTIONS(229),
    [aux_sym_sql_keyword_token42] = ACTIONS(229),
    [aux_sym_sql_keyword_token43] = ACTIONS(229),
    [aux_sym_sql_keyword_token44] = ACTIONS(229),
    [aux_sym_sql_keyword_token45] = ACTIONS(229),
    [aux_sym_sql_keyword_token46] = ACTIONS(229),
    [aux_sym_sql_keyword_token47] = ACTIONS(229),
    [aux_sym_sql_keyword_token48] = ACTIONS(229),
    [aux_sym_sql_keyword_token49] = ACTIONS(229),
    [aux_sym_sql_keyword_token50] = ACTIONS(229),
    [sym_visualise_keyword] = ACTIONS(227),
    [sym_quoted_identifier] = ACTIONS(227),
    [sym_number] = ACTIONS(227),
    [anon_sym_SQUOTE] = ACTIONS(227),
    [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_from_clause_repeat1] = STATE(33),
    [ts_builtin_sym_end] = ACTIONS(231),
    [sym_bare_identifier] = ACTIONS(233),
    [anon_sym_SEMI] = ACTIONS(231),
    [anon_sym_COMMA] = ACTIONS(235),
    [anon_sym_STAR] = ACTIONS(231),
    [anon_sym_DOT] = ACTIONS(233),
    [anon_sym_EQ] = ACTIONS(231),
    [anon_sym_LT] = ACTIONS(231),
    [anon_sym_GT] = ACTIONS(231),
    [anon_sym_BANG] = ACTIONS(231),
    [anon_sym_PLUS] = ACTIONS(231),
    [anon_sym_DASH] = ACTIONS(233),
    [anon_sym_SLASH] = ACTIONS(233),
    [anon_sym_PERCENT] = ACTIONS(231),
    [anon_sym_PIPE] = ACTIONS(231),
    [anon_sym_AMP] = ACTIONS(231),
    [anon_sym_CARET] = ACTIONS(231),
    [anon_sym_TILDE] = ACTIONS(231),
    [anon_sym_COLON_COLON] = ACTIONS(231),
    [anon_sym_LPAREN] = ACTIONS(231),
    [aux_sym_cast_expression_token1] = ACTIONS(233),
    [aux_sym_cast_expression_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token1] = ACTIONS(233),
    [aux_sym_sql_keyword_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token3] = ACTIONS(233),
    [aux_sym_sql_keyword_token4] = ACTIONS(233),
    [aux_sym_sql_keyword_token5] = ACTIONS(233),
    [aux_sym_sql_keyword_token6] = ACTIONS(233),
    [aux_sym_sql_keyword_token7] = ACTIONS(233),
    [aux_sym_sql_keyword_token8] = ACTIONS(233),
    [aux_sym_sql_keyword_token9] = ACTIONS(233),
    [aux_sym_sql_keyword_token10] = ACTIONS(233),
    [aux_sym_sql_keyword_token11] = ACTIONS(233),
    [aux_sym_sql_keyword_token12] = ACTIONS(233),
    [aux_sym_sql_keyword_token13] = ACTIONS(233),
    [aux_sym_sql_keyword_token14] = ACTIONS(233),
    [aux_sym_sql_keyword_token15] = ACTIONS(233),
    [aux_sym_sql_keyword_token16] = ACTIONS(233),
    [aux_sym_sql_keyword_token17] = ACTIONS(233),
    [aux_sym_sql_keyword_token18] = ACTIONS(233),
    [aux_sym_sql_keyword_token19] = ACTIONS(233),
    [aux_sym_sql_keyword_token20] = ACTIONS(233),
    [aux_sym_sql_keyword_token21] = ACTIONS(233),
    [aux_sym_sql_keyword_token22] = ACTIONS(233),
    [aux_sym_sql_keyword_token23] = ACTIONS(233),
    [aux_sym_sql_keyword_token24] = ACTIONS(233),
    [aux_sym_sql_keyword_token25] = ACTIONS(233),
    [aux_sym_sql_keyword_token26] = ACTIONS(233),
    [aux_sym_sql_keyword_token27] = ACTIONS(233),
    [aux_sym_sql_keyword_token28] = ACTIONS(233),
    [aux_sym_sql_keyword_token29] = ACTIONS(233),
    [aux_sym_sql_keyword_token30] = ACTIONS(233),
    [aux_sym_sql_keyword_token31] = ACTIONS(233),
    [aux_sym_sql_keyword_token32] = ACTIONS(233),
    [aux_sym_sql_keyword_token33] = ACTIONS(233),
    [aux_sym_sql_keyword_token34] = ACTIONS(233),
    [aux_sym_sql_keyword_token35] = ACTIONS(233),
    [aux_sym_sql_keyword_token36] = ACTIONS(233),
    [aux_sym_sql_keyword_token37] = ACTIONS(233),
    [aux_sym_sql_keyword_token38] = ACTIONS(233),
    [aux_sym_sql_keyword_token39] = ACTIONS(233),
    [aux_sym_sql_keyword_token40] = ACTIONS(233),
    [aux_sym_sql_keyword_token41] = ACTIONS(233),
    [aux_sym_sql_keyword_token42] = ACTIONS(233),
    [aux_sym_sql_keyword_token43] = ACTIONS(233),
    [aux_sym_sql_keyword_token44] = ACTIONS(233),
    [aux_sym_sql_keyword_token45] = ACTIONS(233),
    [aux_sym_sql_keyword_token46] = ACTIONS(233),
    [aux_sym_sql_keyword_token47] = ACTIONS(233),
    [aux_sym_sql_keyword_token48] = ACTIONS(233),
    [aux_sym_sql_keyword_token49] = ACTIONS(233),
    [aux_sym_sql_keyword_token50] = ACTIONS(233),
    [sym_visualise_keyword] = ACTIONS(231),
    [sym_quoted_identifier] = ACTIONS(231),
    [sym_number] = ACTIONS(231),
    [anon_sym_SQUOTE] = ACTIONS(231),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(34)] = {
    [sym_comment] = STATE(34),
    [ts_builtin_sym_end] = ACTIONS(210),
    [sym_bare_identifier] = ACTIONS(212),
    [anon_sym_SEMI] = ACTIONS(210),
    [anon_sym_COMMA] = ACTIONS(210),
    [anon_sym_STAR] = ACTIONS(210),
    [anon_sym_DOT] = ACTIONS(212),
    [anon_sym_EQ] = ACTIONS(210),
    [anon_sym_LT] = ACTIONS(210),
    [anon_sym_GT] = ACTIONS(210),
    [anon_sym_BANG] = ACTIONS(210),
    [anon_sym_PLUS] = ACTIONS(210),
    [anon_sym_DASH] = ACTIONS(212),
    [anon_sym_SLASH] = ACTIONS(212),
    [anon_sym_PERCENT] = ACTIONS(210),
    [anon_sym_PIPE] = ACTIONS(210),
    [anon_sym_AMP] = ACTIONS(210),
    [anon_sym_CARET] = ACTIONS(210),
    [anon_sym_TILDE] = ACTIONS(210),
    [anon_sym_COLON_COLON] = ACTIONS(210),
    [anon_sym_LPAREN] = ACTIONS(210),
    [aux_sym_cte_definition_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token1] = ACTIONS(212),
    [aux_sym_sql_keyword_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token3] = ACTIONS(212),
    [aux_sym_sql_keyword_token4] = ACTIONS(212),
    [aux_sym_sql_keyword_token5] = ACTIONS(212),
    [aux_sym_sql_keyword_token6] = ACTIONS(212),
    [aux_sym_sql_keyword_token7] = ACTIONS(212),
    [aux_sym_sql_keyword_token8] = ACTIONS(212),
    [aux_sym_sql_keyword_token9] = ACTIONS(212),
    [aux_sym_sql_keyword_token10] = ACTIONS(212),
    [aux_sym_sql_keyword_token11] = ACTIONS(212),
    [aux_sym_sql_keyword_token12] = ACTIONS(212),
    [aux_sym_sql_keyword_token13] = ACTIONS(212),
    [aux_sym_sql_keyword_token14] = ACTIONS(212),
    [aux_sym_sql_keyword_token15] = ACTIONS(212),
    [aux_sym_sql_keyword_token16] = ACTIONS(212),
    [aux_sym_sql_keyword_token17] = ACTIONS(212),
    [aux_sym_sql_keyword_token18] = ACTIONS(212),
    [aux_sym_sql_keyword_token19] = ACTIONS(212),
    [aux_sym_sql_keyword_token20] = ACTIONS(212),
    [aux_sym_sql_keyword_token21] = ACTIONS(212),
    [aux_sym_sql_keyword_token22] = ACTIONS(212),
    [aux_sym_sql_keyword_token23] = ACTIONS(212),
    [aux_sym_sql_keyword_token24] = ACTIONS(212),
    [aux_sym_sql_keyword_token25] = ACTIONS(212),
    [aux_sym_sql_keyword_token26] = ACTIONS(212),
    [aux_sym_sql_keyword_token27] = ACTIONS(212),
    [aux_sym_sql_keyword_token28] = ACTIONS(212),
    [aux_sym_sql_keyword_token29] = ACTIONS(212),
    [aux_sym_sql_keyword_token30] = ACTIONS(212),
    [aux_sym_sql_keyword_token31] = ACTIONS(212),
    [aux_sym_sql_keyword_token32] = ACTIONS(212),
    [aux_sym_sql_keyword_token33] = ACTIONS(212),
    [aux_sym_sql_keyword_token34] = ACTIONS(212),
    [aux_sym_sql_keyword_token35] = ACTIONS(212),
    [aux_sym_sql_keyword_token36] = ACTIONS(212),
    [aux_sym_sql_keyword_token37] = ACTIONS(212),
    [aux_sym_sql_keyword_token38] = ACTIONS(212),
    [aux_sym_sql_keyword_token39] = ACTIONS(212),
    [aux_sym_sql_keyword_token40] = ACTIONS(212),
    [aux_sym_sql_keyword_token41] = ACTIONS(212),
    [aux_sym_sql_keyword_token42] = ACTIONS(212),
    [aux_sym_sql_keyword_token43] = ACTIONS(212),
    [aux_sym_sql_keyword_token44] = ACTIONS(212),
    [aux_sym_sql_keyword_token45] = ACTIONS(212),
    [aux_sym_sql_keyword_token46] = ACTIONS(212),
    [aux_sym_sql_keyword_token47] = ACTIONS(212),
    [aux_sym_sql_keyword_token48] = ACTIONS(212),
    [aux_sym_sql_keyword_token49] = ACTIONS(212),
    [aux_sym_sql_keyword_token50] = ACTIONS(212),
    [sym_visualise_keyword] = ACTIONS(210),
    [sym_quoted_identifier] = ACTIONS(210),
    [sym_number] = ACTIONS(210),
    [anon_sym_SQUOTE] = ACTIONS(210),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(35)] = {
    [sym_comment] = STATE(35),
    [ts_builtin_sym_end] = ACTIONS(217),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(217),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(217),
    [anon_sym_LT] = ACTIONS(217),
    [anon_sym_GT] = ACTIONS(217),
    [anon_sym_BANG] = ACTIONS(217),
    [anon_sym_PLUS] = ACTIONS(217),
    [anon_sym_DASH] = ACTIONS(219),
    [anon_sym_SLASH] = ACTIONS(219),
    [anon_sym_PERCENT] = ACTIONS(217),
    [anon_sym_PIPE] = ACTIONS(217),
    [anon_sym_AMP] = ACTIONS(217),
    [anon_sym_CARET] = ACTIONS(217),
    [anon_sym_TILDE] = ACTIONS(217),
    [anon_sym_COLON_COLON] = ACTIONS(217),
    [anon_sym_LPAREN] = ACTIONS(217),
    [aux_sym_cast_expression_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_quoted_identifier] = ACTIONS(217),
    [sym_number] = ACTIONS(217),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_RBRACK] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(36)] = {
    [sym_comment] = STATE(36),
    [ts_builtin_sym_end] = ACTIONS(238),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_SEMI] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(238),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(238),
    [anon_sym_LT] = ACTIONS(238),
    [anon_sym_GT] = ACTIONS(238),
    [anon_sym_BANG] = ACTIONS(238),
    [anon_sym_PLUS] = ACTIONS(238),
    [anon_sym_DASH] = ACTIONS(240),
    [anon_sym_SLASH] = ACTIONS(240),
    [anon_sym_PERCENT] = ACTIONS(238),
    [anon_sym_PIPE] = ACTIONS(238),
    [anon_sym_AMP] = ACTIONS(238),
    [anon_sym_CARET] = ACTIONS(238),
    [anon_sym_TILDE] = ACTIONS(238),
    [anon_sym_COLON_COLON] = ACTIONS(238),
    [anon_sym_LPAREN] = ACTIONS(238),
    [aux_sym_cast_expression_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_visualise_keyword] = ACTIONS(238),
    [sym_quoted_identifier] = ACTIONS(238),
    [sym_number] = ACTIONS(238),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_RBRACK] = ACTIONS(238),
    [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(184),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_SEMI] = ACTIONS(184),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(184),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(184),
    [anon_sym_LT] = ACTIONS(184),
    [anon_sym_GT] = ACTIONS(184),
    [anon_sym_BANG] = ACTIONS(184),
    [anon_sym_PLUS] = ACTIONS(184),
    [anon_sym_DASH] = ACTIONS(186),
    [anon_sym_SLASH] = ACTIONS(186),
    [anon_sym_PERCENT] = ACTIONS(184),
    [anon_sym_PIPE] = ACTIONS(184),
    [anon_sym_AMP] = ACTIONS(184),
    [anon_sym_CARET] = ACTIONS(184),
    [anon_sym_TILDE] = ACTIONS(184),
    [anon_sym_COLON_COLON] = ACTIONS(184),
    [anon_sym_LPAREN] = ACTIONS(184),
    [aux_sym_cte_definition_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_visualise_keyword] = ACTIONS(184),
    [sym_quoted_identifier] = ACTIONS(184),
    [sym_number] = ACTIONS(184),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [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(242),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_SEMI] = ACTIONS(242),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(242),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(242),
    [anon_sym_LT] = ACTIONS(242),
    [anon_sym_GT] = ACTIONS(242),
    [anon_sym_BANG] = ACTIONS(242),
    [anon_sym_PLUS] = ACTIONS(242),
    [anon_sym_DASH] = ACTIONS(244),
    [anon_sym_SLASH] = ACTIONS(244),
    [anon_sym_PERCENT] = ACTIONS(242),
    [anon_sym_PIPE] = ACTIONS(242),
    [anon_sym_AMP] = ACTIONS(242),
    [anon_sym_CARET] = ACTIONS(242),
    [anon_sym_TILDE] = ACTIONS(242),
    [anon_sym_COLON_COLON] = ACTIONS(242),
    [anon_sym_LPAREN] = ACTIONS(242),
    [aux_sym_cte_definition_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_visualise_keyword] = ACTIONS(242),
    [sym_quoted_identifier] = ACTIONS(242),
    [sym_number] = ACTIONS(242),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(39)] = {
    [sym_comment] = STATE(39),
    [ts_builtin_sym_end] = ACTIONS(238),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_SEMI] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(238),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(238),
    [anon_sym_LT] = ACTIONS(238),
    [anon_sym_GT] = ACTIONS(238),
    [anon_sym_BANG] = ACTIONS(238),
    [anon_sym_PLUS] = ACTIONS(238),
    [anon_sym_DASH] = ACTIONS(240),
    [anon_sym_SLASH] = ACTIONS(240),
    [anon_sym_PERCENT] = ACTIONS(238),
    [anon_sym_PIPE] = ACTIONS(238),
    [anon_sym_AMP] = ACTIONS(238),
    [anon_sym_CARET] = ACTIONS(238),
    [anon_sym_TILDE] = ACTIONS(238),
    [anon_sym_COLON_COLON] = ACTIONS(238),
    [anon_sym_LPAREN] = ACTIONS(238),
    [aux_sym_cte_definition_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_visualise_keyword] = ACTIONS(238),
    [sym_quoted_identifier] = ACTIONS(238),
    [sym_number] = ACTIONS(238),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [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(246),
    [sym_bare_identifier] = ACTIONS(248),
    [anon_sym_SEMI] = ACTIONS(246),
    [anon_sym_COMMA] = ACTIONS(246),
    [anon_sym_STAR] = ACTIONS(246),
    [anon_sym_DOT] = ACTIONS(248),
    [anon_sym_EQ] = ACTIONS(246),
    [anon_sym_LT] = ACTIONS(246),
    [anon_sym_GT] = ACTIONS(246),
    [anon_sym_BANG] = ACTIONS(246),
    [anon_sym_PLUS] = ACTIONS(246),
    [anon_sym_DASH] = ACTIONS(248),
    [anon_sym_SLASH] = ACTIONS(248),
    [anon_sym_PERCENT] = ACTIONS(246),
    [anon_sym_PIPE] = ACTIONS(246),
    [anon_sym_AMP] = ACTIONS(246),
    [anon_sym_CARET] = ACTIONS(246),
    [anon_sym_TILDE] = ACTIONS(246),
    [anon_sym_COLON_COLON] = ACTIONS(246),
    [anon_sym_LPAREN] = ACTIONS(246),
    [aux_sym_cast_expression_token1] = ACTIONS(248),
    [aux_sym_cast_expression_token2] = ACTIONS(248),
    [aux_sym_sql_keyword_token1] = ACTIONS(248),
    [aux_sym_sql_keyword_token2] = ACTIONS(248),
    [aux_sym_sql_keyword_token3] = ACTIONS(248),
    [aux_sym_sql_keyword_token4] = ACTIONS(248),
    [aux_sym_sql_keyword_token5] = ACTIONS(248),
    [aux_sym_sql_keyword_token6] = ACTIONS(248),
    [aux_sym_sql_keyword_token7] = ACTIONS(248),
    [aux_sym_sql_keyword_token8] = ACTIONS(248),
    [aux_sym_sql_keyword_token9] = ACTIONS(248),
    [aux_sym_sql_keyword_token10] = ACTIONS(248),
    [aux_sym_sql_keyword_token11] = ACTIONS(248),
    [aux_sym_sql_keyword_token12] = ACTIONS(248),
    [aux_sym_sql_keyword_token13] = ACTIONS(248),
    [aux_sym_sql_keyword_token14] = ACTIONS(248),
    [aux_sym_sql_keyword_token15] = ACTIONS(248),
    [aux_sym_sql_keyword_token16] = ACTIONS(248),
    [aux_sym_sql_keyword_token17] = ACTIONS(248),
    [aux_sym_sql_keyword_token18] = ACTIONS(248),
    [aux_sym_sql_keyword_token19] = ACTIONS(248),
    [aux_sym_sql_keyword_token20] = ACTIONS(248),
    [aux_sym_sql_keyword_token21] = ACTIONS(248),
    [aux_sym_sql_keyword_token22] = ACTIONS(248),
    [aux_sym_sql_keyword_token23] = ACTIONS(248),
    [aux_sym_sql_keyword_token24] = ACTIONS(248),
    [aux_sym_sql_keyword_token25] = ACTIONS(248),
    [aux_sym_sql_keyword_token26] = ACTIONS(248),
    [aux_sym_sql_keyword_token27] = ACTIONS(248),
    [aux_sym_sql_keyword_token28] = ACTIONS(248),
    [aux_sym_sql_keyword_token29] = ACTIONS(248),
    [aux_sym_sql_keyword_token30] = ACTIONS(248),
    [aux_sym_sql_keyword_token31] = ACTIONS(248),
    [aux_sym_sql_keyword_token32] = ACTIONS(248),
    [aux_sym_sql_keyword_token33] = ACTIONS(248),
    [aux_sym_sql_keyword_token34] = ACTIONS(248),
    [aux_sym_sql_keyword_token35] = ACTIONS(248),
    [aux_sym_sql_keyword_token36] = ACTIONS(248),
    [aux_sym_sql_keyword_token37] = ACTIONS(248),
    [aux_sym_sql_keyword_token38] = ACTIONS(248),
    [aux_sym_sql_keyword_token39] = ACTIONS(248),
    [aux_sym_sql_keyword_token40] = ACTIONS(248),
    [aux_sym_sql_keyword_token41] = ACTIONS(248),
    [aux_sym_sql_keyword_token42] = ACTIONS(248),
    [aux_sym_sql_keyword_token43] = ACTIONS(248),
    [aux_sym_sql_keyword_token44] = ACTIONS(248),
    [aux_sym_sql_keyword_token45] = ACTIONS(248),
    [aux_sym_sql_keyword_token46] = ACTIONS(248),
    [aux_sym_sql_keyword_token47] = ACTIONS(248),
    [aux_sym_sql_keyword_token48] = ACTIONS(248),
    [aux_sym_sql_keyword_token49] = ACTIONS(248),
    [aux_sym_sql_keyword_token50] = ACTIONS(248),
    [sym_visualise_keyword] = ACTIONS(246),
    [sym_quoted_identifier] = ACTIONS(246),
    [sym_number] = ACTIONS(246),
    [anon_sym_SQUOTE] = ACTIONS(246),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(41)] = {
    [sym_comment] = STATE(41),
    [ts_builtin_sym_end] = ACTIONS(250),
    [sym_bare_identifier] = ACTIONS(252),
    [anon_sym_SEMI] = ACTIONS(250),
    [anon_sym_COMMA] = ACTIONS(250),
    [anon_sym_STAR] = ACTIONS(250),
    [anon_sym_DOT] = ACTIONS(252),
    [anon_sym_EQ] = ACTIONS(250),
    [anon_sym_LT] = ACTIONS(250),
    [anon_sym_GT] = ACTIONS(250),
    [anon_sym_BANG] = ACTIONS(250),
    [anon_sym_PLUS] = ACTIONS(250),
    [anon_sym_DASH] = ACTIONS(252),
    [anon_sym_SLASH] = ACTIONS(252),
    [anon_sym_PERCENT] = ACTIONS(250),
    [anon_sym_PIPE] = ACTIONS(250),
    [anon_sym_AMP] = ACTIONS(250),
    [anon_sym_CARET] = ACTIONS(250),
    [anon_sym_TILDE] = ACTIONS(250),
    [anon_sym_COLON_COLON] = ACTIONS(250),
    [anon_sym_LPAREN] = ACTIONS(250),
    [aux_sym_cast_expression_token1] = ACTIONS(252),
    [aux_sym_cast_expression_token2] = ACTIONS(252),
    [aux_sym_sql_keyword_token1] = ACTIONS(252),
    [aux_sym_sql_keyword_token2] = ACTIONS(252),
    [aux_sym_sql_keyword_token3] = ACTIONS(252),
    [aux_sym_sql_keyword_token4] = ACTIONS(252),
    [aux_sym_sql_keyword_token5] = ACTIONS(252),
    [aux_sym_sql_keyword_token6] = ACTIONS(252),
    [aux_sym_sql_keyword_token7] = ACTIONS(252),
    [aux_sym_sql_keyword_token8] = ACTIONS(252),
    [aux_sym_sql_keyword_token9] = ACTIONS(252),
    [aux_sym_sql_keyword_token10] = ACTIONS(252),
    [aux_sym_sql_keyword_token11] = ACTIONS(252),
    [aux_sym_sql_keyword_token12] = ACTIONS(252),
    [aux_sym_sql_keyword_token13] = ACTIONS(252),
    [aux_sym_sql_keyword_token14] = ACTIONS(252),
    [aux_sym_sql_keyword_token15] = ACTIONS(252),
    [aux_sym_sql_keyword_token16] = ACTIONS(252),
    [aux_sym_sql_keyword_token17] = ACTIONS(252),
    [aux_sym_sql_keyword_token18] = ACTIONS(252),
    [aux_sym_sql_keyword_token19] = ACTIONS(252),
    [aux_sym_sql_keyword_token20] = ACTIONS(252),
    [aux_sym_sql_keyword_token21] = ACTIONS(252),
    [aux_sym_sql_keyword_token22] = ACTIONS(252),
    [aux_sym_sql_keyword_token23] = ACTIONS(252),
    [aux_sym_sql_keyword_token24] = ACTIONS(252),
    [aux_sym_sql_keyword_token25] = ACTIONS(252),
    [aux_sym_sql_keyword_token26] = ACTIONS(252),
    [aux_sym_sql_keyword_token27] = ACTIONS(252),
    [aux_sym_sql_keyword_token28] = ACTIONS(252),
    [aux_sym_sql_keyword_token29] = ACTIONS(252),
    [aux_sym_sql_keyword_token30] = ACTIONS(252),
    [aux_sym_sql_keyword_token31] = ACTIONS(252),
    [aux_sym_sql_keyword_token32] = ACTIONS(252),
    [aux_sym_sql_keyword_token33] = ACTIONS(252),
    [aux_sym_sql_keyword_token34] = ACTIONS(252),
    [aux_sym_sql_keyword_token35] = ACTIONS(252),
    [aux_sym_sql_keyword_token36] = ACTIONS(252),
    [aux_sym_sql_keyword_token37] = ACTIONS(252),
    [aux_sym_sql_keyword_token38] = ACTIONS(252),
    [aux_sym_sql_keyword_token39] = ACTIONS(252),
    [aux_sym_sql_keyword_token40] = ACTIONS(252),
    [aux_sym_sql_keyword_token41] = ACTIONS(252),
    [aux_sym_sql_keyword_token42] = ACTIONS(252),
    [aux_sym_sql_keyword_token43] = ACTIONS(252),
    [aux_sym_sql_keyword_token44] = ACTIONS(252),
    [aux_sym_sql_keyword_token45] = ACTIONS(252),
    [aux_sym_sql_keyword_token46] = ACTIONS(252),
    [aux_sym_sql_keyword_token47] = ACTIONS(252),
    [aux_sym_sql_keyword_token48] = ACTIONS(252),
    [aux_sym_sql_keyword_token49] = ACTIONS(252),
    [aux_sym_sql_keyword_token50] = ACTIONS(252),
    [sym_visualise_keyword] = ACTIONS(250),
    [sym_quoted_identifier] = ACTIONS(250),
    [sym_number] = ACTIONS(250),
    [anon_sym_SQUOTE] = ACTIONS(250),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(42)] = {
    [sym_comment] = STATE(42),
    [ts_builtin_sym_end] = ACTIONS(254),
    [sym_bare_identifier] = ACTIONS(256),
    [anon_sym_SEMI] = ACTIONS(254),
    [anon_sym_COMMA] = ACTIONS(254),
    [anon_sym_STAR] = ACTIONS(254),
    [anon_sym_DOT] = ACTIONS(256),
    [anon_sym_EQ] = ACTIONS(254),
    [anon_sym_LT] = ACTIONS(254),
    [anon_sym_GT] = ACTIONS(254),
    [anon_sym_BANG] = ACTIONS(254),
    [anon_sym_PLUS] = ACTIONS(254),
    [anon_sym_DASH] = ACTIONS(256),
    [anon_sym_SLASH] = ACTIONS(256),
    [anon_sym_PERCENT] = ACTIONS(254),
    [anon_sym_PIPE] = ACTIONS(254),
    [anon_sym_AMP] = ACTIONS(254),
    [anon_sym_CARET] = ACTIONS(254),
    [anon_sym_TILDE] = ACTIONS(254),
    [anon_sym_COLON_COLON] = ACTIONS(254),
    [anon_sym_LPAREN] = ACTIONS(254),
    [aux_sym_cast_expression_token1] = ACTIONS(256),
    [aux_sym_cast_expression_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token1] = ACTIONS(256),
    [aux_sym_sql_keyword_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token3] = ACTIONS(256),
    [aux_sym_sql_keyword_token4] = ACTIONS(256),
    [aux_sym_sql_keyword_token5] = ACTIONS(256),
    [aux_sym_sql_keyword_token6] = ACTIONS(256),
    [aux_sym_sql_keyword_token7] = ACTIONS(256),
    [aux_sym_sql_keyword_token8] = ACTIONS(256),
    [aux_sym_sql_keyword_token9] = ACTIONS(256),
    [aux_sym_sql_keyword_token10] = ACTIONS(256),
    [aux_sym_sql_keyword_token11] = ACTIONS(256),
    [aux_sym_sql_keyword_token12] = ACTIONS(256),
    [aux_sym_sql_keyword_token13] = ACTIONS(256),
    [aux_sym_sql_keyword_token14] = ACTIONS(256),
    [aux_sym_sql_keyword_token15] = ACTIONS(256),
    [aux_sym_sql_keyword_token16] = ACTIONS(256),
    [aux_sym_sql_keyword_token17] = ACTIONS(256),
    [aux_sym_sql_keyword_token18] = ACTIONS(256),
    [aux_sym_sql_keyword_token19] = ACTIONS(256),
    [aux_sym_sql_keyword_token20] = ACTIONS(256),
    [aux_sym_sql_keyword_token21] = ACTIONS(256),
    [aux_sym_sql_keyword_token22] = ACTIONS(256),
    [aux_sym_sql_keyword_token23] = ACTIONS(256),
    [aux_sym_sql_keyword_token24] = ACTIONS(256),
    [aux_sym_sql_keyword_token25] = ACTIONS(256),
    [aux_sym_sql_keyword_token26] = ACTIONS(256),
    [aux_sym_sql_keyword_token27] = ACTIONS(256),
    [aux_sym_sql_keyword_token28] = ACTIONS(256),
    [aux_sym_sql_keyword_token29] = ACTIONS(256),
    [aux_sym_sql_keyword_token30] = ACTIONS(256),
    [aux_sym_sql_keyword_token31] = ACTIONS(256),
    [aux_sym_sql_keyword_token32] = ACTIONS(256),
    [aux_sym_sql_keyword_token33] = ACTIONS(256),
    [aux_sym_sql_keyword_token34] = ACTIONS(256),
    [aux_sym_sql_keyword_token35] = ACTIONS(256),
    [aux_sym_sql_keyword_token36] = ACTIONS(256),
    [aux_sym_sql_keyword_token37] = ACTIONS(256),
    [aux_sym_sql_keyword_token38] = ACTIONS(256),
    [aux_sym_sql_keyword_token39] = ACTIONS(256),
    [aux_sym_sql_keyword_token40] = ACTIONS(256),
    [aux_sym_sql_keyword_token41] = ACTIONS(256),
    [aux_sym_sql_keyword_token42] = ACTIONS(256),
    [aux_sym_sql_keyword_token43] = ACTIONS(256),
    [aux_sym_sql_keyword_token44] = ACTIONS(256),
    [aux_sym_sql_keyword_token45] = ACTIONS(256),
    [aux_sym_sql_keyword_token46] = ACTIONS(256),
    [aux_sym_sql_keyword_token47] = ACTIONS(256),
    [aux_sym_sql_keyword_token48] = ACTIONS(256),
    [aux_sym_sql_keyword_token49] = ACTIONS(256),
    [aux_sym_sql_keyword_token50] = ACTIONS(256),
    [sym_visualise_keyword] = ACTIONS(254),
    [sym_quoted_identifier] = ACTIONS(254),
    [sym_number] = ACTIONS(254),
    [anon_sym_SQUOTE] = ACTIONS(254),
    [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(258),
    [sym_bare_identifier] = ACTIONS(260),
    [anon_sym_SEMI] = ACTIONS(258),
    [anon_sym_COMMA] = ACTIONS(258),
    [anon_sym_STAR] = ACTIONS(258),
    [anon_sym_DOT] = ACTIONS(260),
    [anon_sym_EQ] = ACTIONS(258),
    [anon_sym_LT] = ACTIONS(258),
    [anon_sym_GT] = ACTIONS(258),
    [anon_sym_BANG] = ACTIONS(258),
    [anon_sym_PLUS] = ACTIONS(258),
    [anon_sym_DASH] = ACTIONS(260),
    [anon_sym_SLASH] = ACTIONS(260),
    [anon_sym_PERCENT] = ACTIONS(258),
    [anon_sym_PIPE] = ACTIONS(258),
    [anon_sym_AMP] = ACTIONS(258),
    [anon_sym_CARET] = ACTIONS(258),
    [anon_sym_TILDE] = ACTIONS(258),
    [anon_sym_COLON_COLON] = ACTIONS(258),
    [anon_sym_LPAREN] = ACTIONS(258),
    [aux_sym_cast_expression_token1] = ACTIONS(260),
    [aux_sym_cast_expression_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token1] = ACTIONS(260),
    [aux_sym_sql_keyword_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token3] = ACTIONS(260),
    [aux_sym_sql_keyword_token4] = ACTIONS(260),
    [aux_sym_sql_keyword_token5] = ACTIONS(260),
    [aux_sym_sql_keyword_token6] = ACTIONS(260),
    [aux_sym_sql_keyword_token7] = ACTIONS(260),
    [aux_sym_sql_keyword_token8] = ACTIONS(260),
    [aux_sym_sql_keyword_token9] = ACTIONS(260),
    [aux_sym_sql_keyword_token10] = ACTIONS(260),
    [aux_sym_sql_keyword_token11] = ACTIONS(260),
    [aux_sym_sql_keyword_token12] = ACTIONS(260),
    [aux_sym_sql_keyword_token13] = ACTIONS(260),
    [aux_sym_sql_keyword_token14] = ACTIONS(260),
    [aux_sym_sql_keyword_token15] = ACTIONS(260),
    [aux_sym_sql_keyword_token16] = ACTIONS(260),
    [aux_sym_sql_keyword_token17] = ACTIONS(260),
    [aux_sym_sql_keyword_token18] = ACTIONS(260),
    [aux_sym_sql_keyword_token19] = ACTIONS(260),
    [aux_sym_sql_keyword_token20] = ACTIONS(260),
    [aux_sym_sql_keyword_token21] = ACTIONS(260),
    [aux_sym_sql_keyword_token22] = ACTIONS(260),
    [aux_sym_sql_keyword_token23] = ACTIONS(260),
    [aux_sym_sql_keyword_token24] = ACTIONS(260),
    [aux_sym_sql_keyword_token25] = ACTIONS(260),
    [aux_sym_sql_keyword_token26] = ACTIONS(260),
    [aux_sym_sql_keyword_token27] = ACTIONS(260),
    [aux_sym_sql_keyword_token28] = ACTIONS(260),
    [aux_sym_sql_keyword_token29] = ACTIONS(260),
    [aux_sym_sql_keyword_token30] = ACTIONS(260),
    [aux_sym_sql_keyword_token31] = ACTIONS(260),
    [aux_sym_sql_keyword_token32] = ACTIONS(260),
    [aux_sym_sql_keyword_token33] = ACTIONS(260),
    [aux_sym_sql_keyword_token34] = ACTIONS(260),
    [aux_sym_sql_keyword_token35] = ACTIONS(260),
    [aux_sym_sql_keyword_token36] = ACTIONS(260),
    [aux_sym_sql_keyword_token37] = ACTIONS(260),
    [aux_sym_sql_keyword_token38] = ACTIONS(260),
    [aux_sym_sql_keyword_token39] = ACTIONS(260),
    [aux_sym_sql_keyword_token40] = ACTIONS(260),
    [aux_sym_sql_keyword_token41] = ACTIONS(260),
    [aux_sym_sql_keyword_token42] = ACTIONS(260),
    [aux_sym_sql_keyword_token43] = ACTIONS(260),
    [aux_sym_sql_keyword_token44] = ACTIONS(260),
    [aux_sym_sql_keyword_token45] = ACTIONS(260),
    [aux_sym_sql_keyword_token46] = ACTIONS(260),
    [aux_sym_sql_keyword_token47] = ACTIONS(260),
    [aux_sym_sql_keyword_token48] = ACTIONS(260),
    [aux_sym_sql_keyword_token49] = ACTIONS(260),
    [aux_sym_sql_keyword_token50] = ACTIONS(260),
    [sym_visualise_keyword] = ACTIONS(258),
    [sym_quoted_identifier] = ACTIONS(258),
    [sym_number] = ACTIONS(258),
    [anon_sym_SQUOTE] = ACTIONS(258),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(44)] = {
    [sym_comment] = STATE(44),
    [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_sql_keyword_token1] = ACTIONS(264),
    [aux_sym_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_sql_keyword_token50] = 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(45)] = {
    [sym_comment] = STATE(45),
    [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(268),
    [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_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_sql_keyword_token50] = 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(46)] = {
    [sym_comment] = STATE(46),
    [ts_builtin_sym_end] = ACTIONS(270),
    [sym_bare_identifier] = ACTIONS(272),
    [anon_sym_SEMI] = ACTIONS(270),
    [anon_sym_COMMA] = ACTIONS(270),
    [anon_sym_STAR] = ACTIONS(270),
    [anon_sym_DOT] = ACTIONS(272),
    [anon_sym_EQ] = ACTIONS(270),
    [anon_sym_LT] = ACTIONS(270),
    [anon_sym_GT] = ACTIONS(270),
    [anon_sym_BANG] = ACTIONS(270),
    [anon_sym_PLUS] = ACTIONS(270),
    [anon_sym_DASH] = ACTIONS(272),
    [anon_sym_SLASH] = ACTIONS(272),
    [anon_sym_PERCENT] = ACTIONS(270),
    [anon_sym_PIPE] = ACTIONS(270),
    [anon_sym_AMP] = ACTIONS(270),
    [anon_sym_CARET] = ACTIONS(270),
    [anon_sym_TILDE] = ACTIONS(270),
    [anon_sym_COLON_COLON] = ACTIONS(270),
    [anon_sym_LPAREN] = ACTIONS(270),
    [aux_sym_cast_expression_token1] = ACTIONS(272),
    [aux_sym_cast_expression_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token1] = ACTIONS(272),
    [aux_sym_sql_keyword_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token3] = ACTIONS(272),
    [aux_sym_sql_keyword_token4] = ACTIONS(272),
    [aux_sym_sql_keyword_token5] = ACTIONS(272),
    [aux_sym_sql_keyword_token6] = ACTIONS(272),
    [aux_sym_sql_keyword_token7] = ACTIONS(272),
    [aux_sym_sql_keyword_token8] = ACTIONS(272),
    [aux_sym_sql_keyword_token9] = ACTIONS(272),
    [aux_sym_sql_keyword_token10] = ACTIONS(272),
    [aux_sym_sql_keyword_token11] = ACTIONS(272),
    [aux_sym_sql_keyword_token12] = ACTIONS(272),
    [aux_sym_sql_keyword_token13] = ACTIONS(272),
    [aux_sym_sql_keyword_token14] = ACTIONS(272),
    [aux_sym_sql_keyword_token15] = ACTIONS(272),
    [aux_sym_sql_keyword_token16] = ACTIONS(272),
    [aux_sym_sql_keyword_token17] = ACTIONS(272),
    [aux_sym_sql_keyword_token18] = ACTIONS(272),
    [aux_sym_sql_keyword_token19] = ACTIONS(272),
    [aux_sym_sql_keyword_token20] = ACTIONS(272),
    [aux_sym_sql_keyword_token21] = ACTIONS(272),
    [aux_sym_sql_keyword_token22] = ACTIONS(272),
    [aux_sym_sql_keyword_token23] = ACTIONS(272),
    [aux_sym_sql_keyword_token24] = ACTIONS(272),
    [aux_sym_sql_keyword_token25] = ACTIONS(272),
    [aux_sym_sql_keyword_token26] = ACTIONS(272),
    [aux_sym_sql_keyword_token27] = ACTIONS(272),
    [aux_sym_sql_keyword_token28] = ACTIONS(272),
    [aux_sym_sql_keyword_token29] = ACTIONS(272),
    [aux_sym_sql_keyword_token30] = ACTIONS(272),
    [aux_sym_sql_keyword_token31] = ACTIONS(272),
    [aux_sym_sql_keyword_token32] = ACTIONS(272),
    [aux_sym_sql_keyword_token33] = ACTIONS(272),
    [aux_sym_sql_keyword_token34] = ACTIONS(272),
    [aux_sym_sql_keyword_token35] = ACTIONS(272),
    [aux_sym_sql_keyword_token36] = ACTIONS(272),
    [aux_sym_sql_keyword_token37] = ACTIONS(272),
    [aux_sym_sql_keyword_token38] = ACTIONS(272),
    [aux_sym_sql_keyword_token39] = ACTIONS(272),
    [aux_sym_sql_keyword_token40] = ACTIONS(272),
    [aux_sym_sql_keyword_token41] = ACTIONS(272),
    [aux_sym_sql_keyword_token42] = ACTIONS(272),
    [aux_sym_sql_keyword_token43] = ACTIONS(272),
    [aux_sym_sql_keyword_token44] = ACTIONS(272),
    [aux_sym_sql_keyword_token45] = ACTIONS(272),
    [aux_sym_sql_keyword_token46] = ACTIONS(272),
    [aux_sym_sql_keyword_token47] = ACTIONS(272),
    [aux_sym_sql_keyword_token48] = ACTIONS(272),
    [aux_sym_sql_keyword_token49] = ACTIONS(272),
    [aux_sym_sql_keyword_token50] = ACTIONS(272),
    [sym_visualise_keyword] = ACTIONS(270),
    [sym_quoted_identifier] = ACTIONS(270),
    [sym_number] = ACTIONS(270),
    [anon_sym_SQUOTE] = ACTIONS(270),
    [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(274),
    [sym_bare_identifier] = ACTIONS(276),
    [anon_sym_SEMI] = ACTIONS(274),
    [anon_sym_COMMA] = ACTIONS(274),
    [anon_sym_STAR] = ACTIONS(274),
    [anon_sym_DOT] = ACTIONS(276),
    [anon_sym_EQ] = ACTIONS(274),
    [anon_sym_LT] = ACTIONS(274),
    [anon_sym_GT] = ACTIONS(274),
    [anon_sym_BANG] = ACTIONS(274),
    [anon_sym_PLUS] = ACTIONS(274),
    [anon_sym_DASH] = ACTIONS(276),
    [anon_sym_SLASH] = ACTIONS(276),
    [anon_sym_PERCENT] = ACTIONS(274),
    [anon_sym_PIPE] = ACTIONS(274),
    [anon_sym_AMP] = ACTIONS(274),
    [anon_sym_CARET] = ACTIONS(274),
    [anon_sym_TILDE] = ACTIONS(274),
    [anon_sym_COLON_COLON] = ACTIONS(274),
    [anon_sym_LPAREN] = ACTIONS(274),
    [aux_sym_cast_expression_token1] = ACTIONS(276),
    [aux_sym_cast_expression_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token1] = ACTIONS(276),
    [aux_sym_sql_keyword_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token3] = ACTIONS(276),
    [aux_sym_sql_keyword_token4] = ACTIONS(276),
    [aux_sym_sql_keyword_token5] = ACTIONS(276),
    [aux_sym_sql_keyword_token6] = ACTIONS(276),
    [aux_sym_sql_keyword_token7] = ACTIONS(276),
    [aux_sym_sql_keyword_token8] = ACTIONS(276),
    [aux_sym_sql_keyword_token9] = ACTIONS(276),
    [aux_sym_sql_keyword_token10] = ACTIONS(276),
    [aux_sym_sql_keyword_token11] = ACTIONS(276),
    [aux_sym_sql_keyword_token12] = ACTIONS(276),
    [aux_sym_sql_keyword_token13] = ACTIONS(276),
    [aux_sym_sql_keyword_token14] = ACTIONS(276),
    [aux_sym_sql_keyword_token15] = ACTIONS(276),
    [aux_sym_sql_keyword_token16] = ACTIONS(276),
    [aux_sym_sql_keyword_token17] = ACTIONS(276),
    [aux_sym_sql_keyword_token18] = ACTIONS(276),
    [aux_sym_sql_keyword_token19] = ACTIONS(276),
    [aux_sym_sql_keyword_token20] = ACTIONS(276),
    [aux_sym_sql_keyword_token21] = ACTIONS(276),
    [aux_sym_sql_keyword_token22] = ACTIONS(276),
    [aux_sym_sql_keyword_token23] = ACTIONS(276),
    [aux_sym_sql_keyword_token24] = ACTIONS(276),
    [aux_sym_sql_keyword_token25] = ACTIONS(276),
    [aux_sym_sql_keyword_token26] = ACTIONS(276),
    [aux_sym_sql_keyword_token27] = ACTIONS(276),
    [aux_sym_sql_keyword_token28] = ACTIONS(276),
    [aux_sym_sql_keyword_token29] = ACTIONS(276),
    [aux_sym_sql_keyword_token30] = ACTIONS(276),
    [aux_sym_sql_keyword_token31] = ACTIONS(276),
    [aux_sym_sql_keyword_token32] = ACTIONS(276),
    [aux_sym_sql_keyword_token33] = ACTIONS(276),
    [aux_sym_sql_keyword_token34] = ACTIONS(276),
    [aux_sym_sql_keyword_token35] = ACTIONS(276),
    [aux_sym_sql_keyword_token36] = ACTIONS(276),
    [aux_sym_sql_keyword_token37] = ACTIONS(276),
    [aux_sym_sql_keyword_token38] = ACTIONS(276),
    [aux_sym_sql_keyword_token39] = ACTIONS(276),
    [aux_sym_sql_keyword_token40] = ACTIONS(276),
    [aux_sym_sql_keyword_token41] = ACTIONS(276),
    [aux_sym_sql_keyword_token42] = ACTIONS(276),
    [aux_sym_sql_keyword_token43] = ACTIONS(276),
    [aux_sym_sql_keyword_token44] = ACTIONS(276),
    [aux_sym_sql_keyword_token45] = ACTIONS(276),
    [aux_sym_sql_keyword_token46] = ACTIONS(276),
    [aux_sym_sql_keyword_token47] = ACTIONS(276),
    [aux_sym_sql_keyword_token48] = ACTIONS(276),
    [aux_sym_sql_keyword_token49] = ACTIONS(276),
    [aux_sym_sql_keyword_token50] = ACTIONS(276),
    [sym_visualise_keyword] = ACTIONS(274),
    [sym_quoted_identifier] = ACTIONS(274),
    [sym_number] = ACTIONS(274),
    [anon_sym_SQUOTE] = ACTIONS(274),
    [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(278),
    [sym_bare_identifier] = ACTIONS(280),
    [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_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_sql_keyword_token50] = ACTIONS(280),
    [sym_visualise_keyword] = ACTIONS(278),
    [sym_quoted_identifier] = ACTIONS(278),
    [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(49)] = {
    [sym_comment] = STATE(49),
    [ts_builtin_sym_end] = ACTIONS(159),
    [sym_bare_identifier] = ACTIONS(163),
    [anon_sym_SEMI] = ACTIONS(159),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(159),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(159),
    [anon_sym_LT] = ACTIONS(159),
    [anon_sym_GT] = ACTIONS(159),
    [anon_sym_BANG] = ACTIONS(159),
    [anon_sym_PLUS] = ACTIONS(159),
    [anon_sym_DASH] = ACTIONS(163),
    [anon_sym_SLASH] = ACTIONS(163),
    [anon_sym_PERCENT] = ACTIONS(159),
    [anon_sym_PIPE] = ACTIONS(159),
    [anon_sym_AMP] = ACTIONS(159),
    [anon_sym_CARET] = ACTIONS(159),
    [anon_sym_TILDE] = ACTIONS(159),
    [anon_sym_COLON_COLON] = ACTIONS(159),
    [anon_sym_LPAREN] = ACTIONS(159),
    [aux_sym_cast_expression_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_visualise_keyword] = ACTIONS(159),
    [sym_quoted_identifier] = ACTIONS(159),
    [sym_number] = ACTIONS(159),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [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(282),
    [sym_bare_identifier] = ACTIONS(284),
    [anon_sym_SEMI] = ACTIONS(282),
    [anon_sym_COMMA] = ACTIONS(282),
    [anon_sym_STAR] = ACTIONS(282),
    [anon_sym_DOT] = ACTIONS(284),
    [anon_sym_EQ] = ACTIONS(282),
    [anon_sym_LT] = ACTIONS(282),
    [anon_sym_GT] = ACTIONS(282),
    [anon_sym_BANG] = ACTIONS(282),
    [anon_sym_PLUS] = ACTIONS(282),
    [anon_sym_DASH] = ACTIONS(284),
    [anon_sym_SLASH] = ACTIONS(284),
    [anon_sym_PERCENT] = ACTIONS(282),
    [anon_sym_PIPE] = ACTIONS(282),
    [anon_sym_AMP] = ACTIONS(282),
    [anon_sym_CARET] = ACTIONS(282),
    [anon_sym_TILDE] = ACTIONS(282),
    [anon_sym_COLON_COLON] = ACTIONS(282),
    [anon_sym_LPAREN] = ACTIONS(282),
    [aux_sym_cast_expression_token1] = ACTIONS(284),
    [aux_sym_cast_expression_token2] = ACTIONS(284),
    [aux_sym_sql_keyword_token1] = ACTIONS(284),
    [aux_sym_sql_keyword_token2] = ACTIONS(284),
    [aux_sym_sql_keyword_token3] = ACTIONS(284),
    [aux_sym_sql_keyword_token4] = ACTIONS(284),
    [aux_sym_sql_keyword_token5] = ACTIONS(284),
    [aux_sym_sql_keyword_token6] = ACTIONS(284),
    [aux_sym_sql_keyword_token7] = ACTIONS(284),
    [aux_sym_sql_keyword_token8] = ACTIONS(284),
    [aux_sym_sql_keyword_token9] = ACTIONS(284),
    [aux_sym_sql_keyword_token10] = ACTIONS(284),
    [aux_sym_sql_keyword_token11] = ACTIONS(284),
    [aux_sym_sql_keyword_token12] = ACTIONS(284),
    [aux_sym_sql_keyword_token13] = ACTIONS(284),
    [aux_sym_sql_keyword_token14] = ACTIONS(284),
    [aux_sym_sql_keyword_token15] = ACTIONS(284),
    [aux_sym_sql_keyword_token16] = ACTIONS(284),
    [aux_sym_sql_keyword_token17] = ACTIONS(284),
    [aux_sym_sql_keyword_token18] = ACTIONS(284),
    [aux_sym_sql_keyword_token19] = ACTIONS(284),
    [aux_sym_sql_keyword_token20] = ACTIONS(284),
    [aux_sym_sql_keyword_token21] = ACTIONS(284),
    [aux_sym_sql_keyword_token22] = ACTIONS(284),
    [aux_sym_sql_keyword_token23] = ACTIONS(284),
    [aux_sym_sql_keyword_token24] = ACTIONS(284),
    [aux_sym_sql_keyword_token25] = ACTIONS(284),
    [aux_sym_sql_keyword_token26] = ACTIONS(284),
    [aux_sym_sql_keyword_token27] = ACTIONS(284),
    [aux_sym_sql_keyword_token28] = ACTIONS(284),
    [aux_sym_sql_keyword_token29] = ACTIONS(284),
    [aux_sym_sql_keyword_token30] = ACTIONS(284),
    [aux_sym_sql_keyword_token31] = ACTIONS(284),
    [aux_sym_sql_keyword_token32] = ACTIONS(284),
    [aux_sym_sql_keyword_token33] = ACTIONS(284),
    [aux_sym_sql_keyword_token34] = ACTIONS(284),
    [aux_sym_sql_keyword_token35] = ACTIONS(284),
    [aux_sym_sql_keyword_token36] = ACTIONS(284),
    [aux_sym_sql_keyword_token37] = ACTIONS(284),
    [aux_sym_sql_keyword_token38] = ACTIONS(284),
    [aux_sym_sql_keyword_token39] = ACTIONS(284),
    [aux_sym_sql_keyword_token40] = ACTIONS(284),
    [aux_sym_sql_keyword_token41] = ACTIONS(284),
    [aux_sym_sql_keyword_token42] = ACTIONS(284),
    [aux_sym_sql_keyword_token43] = ACTIONS(284),
    [aux_sym_sql_keyword_token44] = ACTIONS(284),
    [aux_sym_sql_keyword_token45] = ACTIONS(284),
    [aux_sym_sql_keyword_token46] = ACTIONS(284),
    [aux_sym_sql_keyword_token47] = ACTIONS(284),
    [aux_sym_sql_keyword_token48] = ACTIONS(284),
    [aux_sym_sql_keyword_token49] = ACTIONS(284),
    [aux_sym_sql_keyword_token50] = ACTIONS(284),
    [sym_visualise_keyword] = ACTIONS(282),
    [sym_quoted_identifier] = ACTIONS(282),
    [sym_number] = ACTIONS(282),
    [anon_sym_SQUOTE] = ACTIONS(282),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(51)] = {
    [sym_comment] = STATE(51),
    [ts_builtin_sym_end] = ACTIONS(242),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_SEMI] = ACTIONS(242),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(242),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(242),
    [anon_sym_LT] = ACTIONS(242),
    [anon_sym_GT] = ACTIONS(242),
    [anon_sym_BANG] = ACTIONS(242),
    [anon_sym_PLUS] = ACTIONS(242),
    [anon_sym_DASH] = ACTIONS(244),
    [anon_sym_SLASH] = ACTIONS(244),
    [anon_sym_PERCENT] = ACTIONS(242),
    [anon_sym_PIPE] = ACTIONS(242),
    [anon_sym_AMP] = ACTIONS(242),
    [anon_sym_CARET] = ACTIONS(242),
    [anon_sym_TILDE] = ACTIONS(242),
    [anon_sym_COLON_COLON] = ACTIONS(242),
    [anon_sym_LPAREN] = ACTIONS(242),
    [aux_sym_cast_expression_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_visualise_keyword] = ACTIONS(242),
    [sym_quoted_identifier] = ACTIONS(242),
    [sym_number] = ACTIONS(242),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [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(231),
    [sym_bare_identifier] = ACTIONS(233),
    [anon_sym_SEMI] = ACTIONS(231),
    [anon_sym_COMMA] = ACTIONS(231),
    [anon_sym_STAR] = ACTIONS(231),
    [anon_sym_DOT] = ACTIONS(233),
    [anon_sym_EQ] = ACTIONS(231),
    [anon_sym_LT] = ACTIONS(231),
    [anon_sym_GT] = ACTIONS(231),
    [anon_sym_BANG] = ACTIONS(231),
    [anon_sym_PLUS] = ACTIONS(231),
    [anon_sym_DASH] = ACTIONS(233),
    [anon_sym_SLASH] = ACTIONS(233),
    [anon_sym_PERCENT] = ACTIONS(231),
    [anon_sym_PIPE] = ACTIONS(231),
    [anon_sym_AMP] = ACTIONS(231),
    [anon_sym_CARET] = ACTIONS(231),
    [anon_sym_TILDE] = ACTIONS(231),
    [anon_sym_COLON_COLON] = ACTIONS(231),
    [anon_sym_LPAREN] = ACTIONS(231),
    [aux_sym_cast_expression_token1] = ACTIONS(233),
    [aux_sym_cast_expression_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token1] = ACTIONS(233),
    [aux_sym_sql_keyword_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token3] = ACTIONS(233),
    [aux_sym_sql_keyword_token4] = ACTIONS(233),
    [aux_sym_sql_keyword_token5] = ACTIONS(233),
    [aux_sym_sql_keyword_token6] = ACTIONS(233),
    [aux_sym_sql_keyword_token7] = ACTIONS(233),
    [aux_sym_sql_keyword_token8] = ACTIONS(233),
    [aux_sym_sql_keyword_token9] = ACTIONS(233),
    [aux_sym_sql_keyword_token10] = ACTIONS(233),
    [aux_sym_sql_keyword_token11] = ACTIONS(233),
    [aux_sym_sql_keyword_token12] = ACTIONS(233),
    [aux_sym_sql_keyword_token13] = ACTIONS(233),
    [aux_sym_sql_keyword_token14] = ACTIONS(233),
    [aux_sym_sql_keyword_token15] = ACTIONS(233),
    [aux_sym_sql_keyword_token16] = ACTIONS(233),
    [aux_sym_sql_keyword_token17] = ACTIONS(233),
    [aux_sym_sql_keyword_token18] = ACTIONS(233),
    [aux_sym_sql_keyword_token19] = ACTIONS(233),
    [aux_sym_sql_keyword_token20] = ACTIONS(233),
    [aux_sym_sql_keyword_token21] = ACTIONS(233),
    [aux_sym_sql_keyword_token22] = ACTIONS(233),
    [aux_sym_sql_keyword_token23] = ACTIONS(233),
    [aux_sym_sql_keyword_token24] = ACTIONS(233),
    [aux_sym_sql_keyword_token25] = ACTIONS(233),
    [aux_sym_sql_keyword_token26] = ACTIONS(233),
    [aux_sym_sql_keyword_token27] = ACTIONS(233),
    [aux_sym_sql_keyword_token28] = ACTIONS(233),
    [aux_sym_sql_keyword_token29] = ACTIONS(233),
    [aux_sym_sql_keyword_token30] = ACTIONS(233),
    [aux_sym_sql_keyword_token31] = ACTIONS(233),
    [aux_sym_sql_keyword_token32] = ACTIONS(233),
    [aux_sym_sql_keyword_token33] = ACTIONS(233),
    [aux_sym_sql_keyword_token34] = ACTIONS(233),
    [aux_sym_sql_keyword_token35] = ACTIONS(233),
    [aux_sym_sql_keyword_token36] = ACTIONS(233),
    [aux_sym_sql_keyword_token37] = ACTIONS(233),
    [aux_sym_sql_keyword_token38] = ACTIONS(233),
    [aux_sym_sql_keyword_token39] = ACTIONS(233),
    [aux_sym_sql_keyword_token40] = ACTIONS(233),
    [aux_sym_sql_keyword_token41] = ACTIONS(233),
    [aux_sym_sql_keyword_token42] = ACTIONS(233),
    [aux_sym_sql_keyword_token43] = ACTIONS(233),
    [aux_sym_sql_keyword_token44] = ACTIONS(233),
    [aux_sym_sql_keyword_token45] = ACTIONS(233),
    [aux_sym_sql_keyword_token46] = ACTIONS(233),
    [aux_sym_sql_keyword_token47] = ACTIONS(233),
    [aux_sym_sql_keyword_token48] = ACTIONS(233),
    [aux_sym_sql_keyword_token49] = ACTIONS(233),
    [aux_sym_sql_keyword_token50] = ACTIONS(233),
    [sym_visualise_keyword] = ACTIONS(231),
    [sym_quoted_identifier] = ACTIONS(231),
    [sym_number] = ACTIONS(231),
    [anon_sym_SQUOTE] = ACTIONS(231),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(53)] = {
    [sym_identifier] = STATE(76),
    [sym_comment] = STATE(53),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(200),
    [anon_sym_STAR] = ACTIONS(200),
    [anon_sym_DOT] = ACTIONS(202),
    [anon_sym_EQ] = ACTIONS(200),
    [anon_sym_LT] = ACTIONS(200),
    [anon_sym_GT] = ACTIONS(200),
    [anon_sym_BANG] = ACTIONS(200),
    [anon_sym_PLUS] = ACTIONS(200),
    [anon_sym_DASH] = ACTIONS(202),
    [anon_sym_SLASH] = ACTIONS(202),
    [anon_sym_PERCENT] = ACTIONS(200),
    [anon_sym_PIPE] = ACTIONS(200),
    [anon_sym_AMP] = ACTIONS(200),
    [anon_sym_CARET] = ACTIONS(200),
    [anon_sym_TILDE] = ACTIONS(200),
    [anon_sym_COLON_COLON] = ACTIONS(200),
    [anon_sym_LPAREN] = ACTIONS(200),
    [anon_sym_RPAREN] = ACTIONS(200),
    [aux_sym_cte_definition_token1] = ACTIONS(286),
    [aux_sym_cast_expression_token1] = ACTIONS(202),
    [aux_sym_cast_expression_token2] = ACTIONS(202),
    [aux_sym_sql_keyword_token1] = ACTIONS(202),
    [aux_sym_sql_keyword_token2] = ACTIONS(202),
    [aux_sym_sql_keyword_token3] = ACTIONS(202),
    [aux_sym_sql_keyword_token4] = ACTIONS(202),
    [aux_sym_sql_keyword_token5] = ACTIONS(202),
    [aux_sym_sql_keyword_token6] = ACTIONS(202),
    [aux_sym_sql_keyword_token7] = ACTIONS(202),
    [aux_sym_sql_keyword_token8] = ACTIONS(202),
    [aux_sym_sql_keyword_token9] = ACTIONS(202),
    [aux_sym_sql_keyword_token10] = ACTIONS(202),
    [aux_sym_sql_keyword_token11] = ACTIONS(202),
    [aux_sym_sql_keyword_token12] = ACTIONS(202),
    [aux_sym_sql_keyword_token13] = ACTIONS(202),
    [aux_sym_sql_keyword_token14] = ACTIONS(202),
    [aux_sym_sql_keyword_token15] = ACTIONS(202),
    [aux_sym_sql_keyword_token16] = ACTIONS(202),
    [aux_sym_sql_keyword_token17] = ACTIONS(202),
    [aux_sym_sql_keyword_token18] = ACTIONS(202),
    [aux_sym_sql_keyword_token19] = ACTIONS(202),
    [aux_sym_sql_keyword_token20] = ACTIONS(202),
    [aux_sym_sql_keyword_token21] = ACTIONS(202),
    [aux_sym_sql_keyword_token22] = ACTIONS(202),
    [aux_sym_sql_keyword_token23] = ACTIONS(202),
    [aux_sym_sql_keyword_token24] = ACTIONS(202),
    [aux_sym_sql_keyword_token25] = ACTIONS(202),
    [aux_sym_sql_keyword_token26] = ACTIONS(202),
    [aux_sym_sql_keyword_token27] = ACTIONS(202),
    [aux_sym_sql_keyword_token28] = ACTIONS(202),
    [aux_sym_sql_keyword_token29] = ACTIONS(202),
    [aux_sym_sql_keyword_token30] = ACTIONS(202),
    [aux_sym_sql_keyword_token31] = ACTIONS(202),
    [aux_sym_sql_keyword_token32] = ACTIONS(202),
    [aux_sym_sql_keyword_token33] = ACTIONS(202),
    [aux_sym_sql_keyword_token34] = ACTIONS(202),
    [aux_sym_sql_keyword_token35] = ACTIONS(202),
    [aux_sym_sql_keyword_token36] = ACTIONS(202),
    [aux_sym_sql_keyword_token37] = ACTIONS(202),
    [aux_sym_sql_keyword_token38] = ACTIONS(202),
    [aux_sym_sql_keyword_token39] = ACTIONS(202),
    [aux_sym_sql_keyword_token40] = ACTIONS(202),
    [aux_sym_sql_keyword_token41] = ACTIONS(202),
    [aux_sym_sql_keyword_token42] = ACTIONS(202),
    [aux_sym_sql_keyword_token43] = ACTIONS(202),
    [aux_sym_sql_keyword_token44] = ACTIONS(202),
    [aux_sym_sql_keyword_token45] = ACTIONS(202),
    [aux_sym_sql_keyword_token46] = ACTIONS(202),
    [aux_sym_sql_keyword_token47] = ACTIONS(202),
    [aux_sym_sql_keyword_token48] = ACTIONS(202),
    [aux_sym_sql_keyword_token49] = ACTIONS(202),
    [aux_sym_sql_keyword_token50] = ACTIONS(202),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(200),
    [anon_sym_SQUOTE] = ACTIONS(200),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(54)] = {
    [sym_identifier] = STATE(77),
    [sym_comment] = STATE(54),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(194),
    [anon_sym_STAR] = ACTIONS(194),
    [anon_sym_DOT] = ACTIONS(196),
    [anon_sym_EQ] = ACTIONS(194),
    [anon_sym_LT] = ACTIONS(194),
    [anon_sym_GT] = ACTIONS(194),
    [anon_sym_BANG] = ACTIONS(194),
    [anon_sym_PLUS] = ACTIONS(194),
    [anon_sym_DASH] = ACTIONS(196),
    [anon_sym_SLASH] = ACTIONS(196),
    [anon_sym_PERCENT] = ACTIONS(194),
    [anon_sym_PIPE] = ACTIONS(194),
    [anon_sym_AMP] = ACTIONS(194),
    [anon_sym_CARET] = ACTIONS(194),
    [anon_sym_TILDE] = ACTIONS(194),
    [anon_sym_COLON_COLON] = ACTIONS(194),
    [anon_sym_LPAREN] = ACTIONS(194),
    [anon_sym_RPAREN] = ACTIONS(194),
    [aux_sym_cte_definition_token1] = ACTIONS(288),
    [aux_sym_cast_expression_token1] = ACTIONS(196),
    [aux_sym_cast_expression_token2] = ACTIONS(196),
    [aux_sym_sql_keyword_token1] = ACTIONS(196),
    [aux_sym_sql_keyword_token2] = ACTIONS(196),
    [aux_sym_sql_keyword_token3] = ACTIONS(196),
    [aux_sym_sql_keyword_token4] = ACTIONS(196),
    [aux_sym_sql_keyword_token5] = ACTIONS(196),
    [aux_sym_sql_keyword_token6] = ACTIONS(196),
    [aux_sym_sql_keyword_token7] = ACTIONS(196),
    [aux_sym_sql_keyword_token8] = ACTIONS(196),
    [aux_sym_sql_keyword_token9] = ACTIONS(196),
    [aux_sym_sql_keyword_token10] = ACTIONS(196),
    [aux_sym_sql_keyword_token11] = ACTIONS(196),
    [aux_sym_sql_keyword_token12] = ACTIONS(196),
    [aux_sym_sql_keyword_token13] = ACTIONS(196),
    [aux_sym_sql_keyword_token14] = ACTIONS(196),
    [aux_sym_sql_keyword_token15] = ACTIONS(196),
    [aux_sym_sql_keyword_token16] = ACTIONS(196),
    [aux_sym_sql_keyword_token17] = ACTIONS(196),
    [aux_sym_sql_keyword_token18] = ACTIONS(196),
    [aux_sym_sql_keyword_token19] = ACTIONS(196),
    [aux_sym_sql_keyword_token20] = ACTIONS(196),
    [aux_sym_sql_keyword_token21] = ACTIONS(196),
    [aux_sym_sql_keyword_token22] = ACTIONS(196),
    [aux_sym_sql_keyword_token23] = ACTIONS(196),
    [aux_sym_sql_keyword_token24] = ACTIONS(196),
    [aux_sym_sql_keyword_token25] = ACTIONS(196),
    [aux_sym_sql_keyword_token26] = ACTIONS(196),
    [aux_sym_sql_keyword_token27] = ACTIONS(196),
    [aux_sym_sql_keyword_token28] = ACTIONS(196),
    [aux_sym_sql_keyword_token29] = ACTIONS(196),
    [aux_sym_sql_keyword_token30] = ACTIONS(196),
    [aux_sym_sql_keyword_token31] = ACTIONS(196),
    [aux_sym_sql_keyword_token32] = ACTIONS(196),
    [aux_sym_sql_keyword_token33] = ACTIONS(196),
    [aux_sym_sql_keyword_token34] = ACTIONS(196),
    [aux_sym_sql_keyword_token35] = ACTIONS(196),
    [aux_sym_sql_keyword_token36] = ACTIONS(196),
    [aux_sym_sql_keyword_token37] = ACTIONS(196),
    [aux_sym_sql_keyword_token38] = ACTIONS(196),
    [aux_sym_sql_keyword_token39] = ACTIONS(196),
    [aux_sym_sql_keyword_token40] = ACTIONS(196),
    [aux_sym_sql_keyword_token41] = ACTIONS(196),
    [aux_sym_sql_keyword_token42] = ACTIONS(196),
    [aux_sym_sql_keyword_token43] = ACTIONS(196),
    [aux_sym_sql_keyword_token44] = ACTIONS(196),
    [aux_sym_sql_keyword_token45] = ACTIONS(196),
    [aux_sym_sql_keyword_token46] = ACTIONS(196),
    [aux_sym_sql_keyword_token47] = ACTIONS(196),
    [aux_sym_sql_keyword_token48] = ACTIONS(196),
    [aux_sym_sql_keyword_token49] = ACTIONS(196),
    [aux_sym_sql_keyword_token50] = ACTIONS(196),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(194),
    [anon_sym_SQUOTE] = ACTIONS(194),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(55)] = {
    [sym_comment] = STATE(55),
    [aux_sym_qualified_name_repeat1] = STATE(58),
    [sym_bare_identifier] = ACTIONS(190),
    [anon_sym_COMMA] = ACTIONS(188),
    [anon_sym_STAR] = ACTIONS(188),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(188),
    [anon_sym_LT] = ACTIONS(188),
    [anon_sym_GT] = ACTIONS(188),
    [anon_sym_BANG] = ACTIONS(188),
    [anon_sym_PLUS] = ACTIONS(188),
    [anon_sym_DASH] = ACTIONS(190),
    [anon_sym_SLASH] = ACTIONS(190),
    [anon_sym_PERCENT] = ACTIONS(188),
    [anon_sym_PIPE] = ACTIONS(188),
    [anon_sym_AMP] = ACTIONS(188),
    [anon_sym_CARET] = ACTIONS(188),
    [anon_sym_TILDE] = ACTIONS(188),
    [anon_sym_COLON_COLON] = ACTIONS(188),
    [anon_sym_LPAREN] = ACTIONS(188),
    [anon_sym_RPAREN] = ACTIONS(188),
    [aux_sym_cte_definition_token1] = ACTIONS(190),
    [aux_sym_cast_expression_token1] = ACTIONS(190),
    [aux_sym_cast_expression_token2] = ACTIONS(190),
    [aux_sym_sql_keyword_token1] = ACTIONS(190),
    [aux_sym_sql_keyword_token2] = ACTIONS(190),
    [aux_sym_sql_keyword_token3] = ACTIONS(190),
    [aux_sym_sql_keyword_token4] = ACTIONS(190),
    [aux_sym_sql_keyword_token5] = ACTIONS(190),
    [aux_sym_sql_keyword_token6] = ACTIONS(190),
    [aux_sym_sql_keyword_token7] = ACTIONS(190),
    [aux_sym_sql_keyword_token8] = ACTIONS(190),
    [aux_sym_sql_keyword_token9] = ACTIONS(190),
    [aux_sym_sql_keyword_token10] = ACTIONS(190),
    [aux_sym_sql_keyword_token11] = ACTIONS(190),
    [aux_sym_sql_keyword_token12] = ACTIONS(190),
    [aux_sym_sql_keyword_token13] = ACTIONS(190),
    [aux_sym_sql_keyword_token14] = ACTIONS(190),
    [aux_sym_sql_keyword_token15] = ACTIONS(190),
    [aux_sym_sql_keyword_token16] = ACTIONS(190),
    [aux_sym_sql_keyword_token17] = ACTIONS(190),
    [aux_sym_sql_keyword_token18] = ACTIONS(190),
    [aux_sym_sql_keyword_token19] = ACTIONS(190),
    [aux_sym_sql_keyword_token20] = ACTIONS(190),
    [aux_sym_sql_keyword_token21] = ACTIONS(190),
    [aux_sym_sql_keyword_token22] = ACTIONS(190),
    [aux_sym_sql_keyword_token23] = ACTIONS(190),
    [aux_sym_sql_keyword_token24] = ACTIONS(190),
    [aux_sym_sql_keyword_token25] = ACTIONS(190),
    [aux_sym_sql_keyword_token26] = ACTIONS(190),
    [aux_sym_sql_keyword_token27] = ACTIONS(190),
    [aux_sym_sql_keyword_token28] = ACTIONS(190),
    [aux_sym_sql_keyword_token29] = ACTIONS(190),
    [aux_sym_sql_keyword_token30] = ACTIONS(190),
    [aux_sym_sql_keyword_token31] = ACTIONS(190),
    [aux_sym_sql_keyword_token32] = ACTIONS(190),
    [aux_sym_sql_keyword_token33] = ACTIONS(190),
    [aux_sym_sql_keyword_token34] = ACTIONS(190),
    [aux_sym_sql_keyword_token35] = ACTIONS(190),
    [aux_sym_sql_keyword_token36] = ACTIONS(190),
    [aux_sym_sql_keyword_token37] = ACTIONS(190),
    [aux_sym_sql_keyword_token38] = ACTIONS(190),
    [aux_sym_sql_keyword_token39] = ACTIONS(190),
    [aux_sym_sql_keyword_token40] = ACTIONS(190),
    [aux_sym_sql_keyword_token41] = ACTIONS(190),
    [aux_sym_sql_keyword_token42] = ACTIONS(190),
    [aux_sym_sql_keyword_token43] = ACTIONS(190),
    [aux_sym_sql_keyword_token44] = ACTIONS(190),
    [aux_sym_sql_keyword_token45] = ACTIONS(190),
    [aux_sym_sql_keyword_token46] = ACTIONS(190),
    [aux_sym_sql_keyword_token47] = ACTIONS(190),
    [aux_sym_sql_keyword_token48] = ACTIONS(190),
    [aux_sym_sql_keyword_token49] = ACTIONS(190),
    [aux_sym_sql_keyword_token50] = ACTIONS(190),
    [sym_quoted_identifier] = ACTIONS(188),
    [sym_number] = ACTIONS(188),
    [anon_sym_SQUOTE] = ACTIONS(188),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(56)] = {
    [sym_comment] = STATE(56),
    [aux_sym_qualified_name_repeat1] = STATE(56),
    [sym_bare_identifier] = ACTIONS(212),
    [anon_sym_COMMA] = ACTIONS(210),
    [anon_sym_STAR] = ACTIONS(210),
    [anon_sym_DOT] = ACTIONS(292),
    [anon_sym_EQ] = ACTIONS(210),
    [anon_sym_LT] = ACTIONS(210),
    [anon_sym_GT] = ACTIONS(210),
    [anon_sym_BANG] = ACTIONS(210),
    [anon_sym_PLUS] = ACTIONS(210),
    [anon_sym_DASH] = ACTIONS(212),
    [anon_sym_SLASH] = ACTIONS(212),
    [anon_sym_PERCENT] = ACTIONS(210),
    [anon_sym_PIPE] = ACTIONS(210),
    [anon_sym_AMP] = ACTIONS(210),
    [anon_sym_CARET] = ACTIONS(210),
    [anon_sym_TILDE] = ACTIONS(210),
    [anon_sym_COLON_COLON] = ACTIONS(210),
    [anon_sym_LPAREN] = ACTIONS(210),
    [anon_sym_RPAREN] = ACTIONS(210),
    [aux_sym_cte_definition_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token1] = ACTIONS(212),
    [aux_sym_sql_keyword_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token3] = ACTIONS(212),
    [aux_sym_sql_keyword_token4] = ACTIONS(212),
    [aux_sym_sql_keyword_token5] = ACTIONS(212),
    [aux_sym_sql_keyword_token6] = ACTIONS(212),
    [aux_sym_sql_keyword_token7] = ACTIONS(212),
    [aux_sym_sql_keyword_token8] = ACTIONS(212),
    [aux_sym_sql_keyword_token9] = ACTIONS(212),
    [aux_sym_sql_keyword_token10] = ACTIONS(212),
    [aux_sym_sql_keyword_token11] = ACTIONS(212),
    [aux_sym_sql_keyword_token12] = ACTIONS(212),
    [aux_sym_sql_keyword_token13] = ACTIONS(212),
    [aux_sym_sql_keyword_token14] = ACTIONS(212),
    [aux_sym_sql_keyword_token15] = ACTIONS(212),
    [aux_sym_sql_keyword_token16] = ACTIONS(212),
    [aux_sym_sql_keyword_token17] = ACTIONS(212),
    [aux_sym_sql_keyword_token18] = ACTIONS(212),
    [aux_sym_sql_keyword_token19] = ACTIONS(212),
    [aux_sym_sql_keyword_token20] = ACTIONS(212),
    [aux_sym_sql_keyword_token21] = ACTIONS(212),
    [aux_sym_sql_keyword_token22] = ACTIONS(212),
    [aux_sym_sql_keyword_token23] = ACTIONS(212),
    [aux_sym_sql_keyword_token24] = ACTIONS(212),
    [aux_sym_sql_keyword_token25] = ACTIONS(212),
    [aux_sym_sql_keyword_token26] = ACTIONS(212),
    [aux_sym_sql_keyword_token27] = ACTIONS(212),
    [aux_sym_sql_keyword_token28] = ACTIONS(212),
    [aux_sym_sql_keyword_token29] = ACTIONS(212),
    [aux_sym_sql_keyword_token30] = ACTIONS(212),
    [aux_sym_sql_keyword_token31] = ACTIONS(212),
    [aux_sym_sql_keyword_token32] = ACTIONS(212),
    [aux_sym_sql_keyword_token33] = ACTIONS(212),
    [aux_sym_sql_keyword_token34] = ACTIONS(212),
    [aux_sym_sql_keyword_token35] = ACTIONS(212),
    [aux_sym_sql_keyword_token36] = ACTIONS(212),
    [aux_sym_sql_keyword_token37] = ACTIONS(212),
    [aux_sym_sql_keyword_token38] = ACTIONS(212),
    [aux_sym_sql_keyword_token39] = ACTIONS(212),
    [aux_sym_sql_keyword_token40] = ACTIONS(212),
    [aux_sym_sql_keyword_token41] = ACTIONS(212),
    [aux_sym_sql_keyword_token42] = ACTIONS(212),
    [aux_sym_sql_keyword_token43] = ACTIONS(212),
    [aux_sym_sql_keyword_token44] = ACTIONS(212),
    [aux_sym_sql_keyword_token45] = ACTIONS(212),
    [aux_sym_sql_keyword_token46] = ACTIONS(212),
    [aux_sym_sql_keyword_token47] = ACTIONS(212),
    [aux_sym_sql_keyword_token48] = ACTIONS(212),
    [aux_sym_sql_keyword_token49] = ACTIONS(212),
    [aux_sym_sql_keyword_token50] = ACTIONS(212),
    [sym_quoted_identifier] = ACTIONS(210),
    [sym_number] = ACTIONS(210),
    [anon_sym_SQUOTE] = ACTIONS(210),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(57)] = {
    [sym_comment] = STATE(57),
    [ts_builtin_sym_end] = ACTIONS(295),
    [sym_bare_identifier] = ACTIONS(297),
    [anon_sym_SEMI] = ACTIONS(295),
    [anon_sym_COMMA] = ACTIONS(295),
    [anon_sym_STAR] = ACTIONS(295),
    [anon_sym_DOT] = ACTIONS(297),
    [anon_sym_EQ] = ACTIONS(295),
    [anon_sym_LT] = ACTIONS(295),
    [anon_sym_GT] = ACTIONS(295),
    [anon_sym_BANG] = ACTIONS(295),
    [anon_sym_PLUS] = ACTIONS(295),
    [anon_sym_DASH] = ACTIONS(297),
    [anon_sym_SLASH] = ACTIONS(297),
    [anon_sym_PERCENT] = ACTIONS(295),
    [anon_sym_PIPE] = ACTIONS(295),
    [anon_sym_AMP] = ACTIONS(295),
    [anon_sym_CARET] = ACTIONS(295),
    [anon_sym_TILDE] = ACTIONS(295),
    [anon_sym_COLON_COLON] = ACTIONS(295),
    [anon_sym_LPAREN] = ACTIONS(295),
    [aux_sym_cast_expression_token1] = ACTIONS(297),
    [aux_sym_cast_expression_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token1] = ACTIONS(297),
    [aux_sym_sql_keyword_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token3] = ACTIONS(297),
    [aux_sym_sql_keyword_token4] = ACTIONS(297),
    [aux_sym_sql_keyword_token5] = ACTIONS(297),
    [aux_sym_sql_keyword_token6] = ACTIONS(297),
    [aux_sym_sql_keyword_token7] = ACTIONS(297),
    [aux_sym_sql_keyword_token8] = ACTIONS(297),
    [aux_sym_sql_keyword_token9] = ACTIONS(297),
    [aux_sym_sql_keyword_token10] = ACTIONS(297),
    [aux_sym_sql_keyword_token11] = ACTIONS(297),
    [aux_sym_sql_keyword_token12] = ACTIONS(297),
    [aux_sym_sql_keyword_token13] = ACTIONS(297),
    [aux_sym_sql_keyword_token14] = ACTIONS(297),
    [aux_sym_sql_keyword_token15] = ACTIONS(297),
    [aux_sym_sql_keyword_token16] = ACTIONS(297),
    [aux_sym_sql_keyword_token17] = ACTIONS(297),
    [aux_sym_sql_keyword_token18] = ACTIONS(297),
    [aux_sym_sql_keyword_token19] = ACTIONS(297),
    [aux_sym_sql_keyword_token20] = ACTIONS(297),
    [aux_sym_sql_keyword_token21] = ACTIONS(297),
    [aux_sym_sql_keyword_token22] = ACTIONS(297),
    [aux_sym_sql_keyword_token23] = ACTIONS(297),
    [aux_sym_sql_keyword_token24] = ACTIONS(297),
    [aux_sym_sql_keyword_token25] = ACTIONS(297),
    [aux_sym_sql_keyword_token26] = ACTIONS(297),
    [aux_sym_sql_keyword_token27] = ACTIONS(297),
    [aux_sym_sql_keyword_token28] = ACTIONS(297),
    [aux_sym_sql_keyword_token29] = ACTIONS(297),
    [aux_sym_sql_keyword_token30] = ACTIONS(297),
    [aux_sym_sql_keyword_token31] = ACTIONS(297),
    [aux_sym_sql_keyword_token32] = ACTIONS(297),
    [aux_sym_sql_keyword_token33] = ACTIONS(297),
    [aux_sym_sql_keyword_token34] = ACTIONS(297),
    [aux_sym_sql_keyword_token35] = ACTIONS(297),
    [aux_sym_sql_keyword_token36] = ACTIONS(297),
    [aux_sym_sql_keyword_token37] = ACTIONS(297),
    [aux_sym_sql_keyword_token38] = ACTIONS(297),
    [aux_sym_sql_keyword_token39] = ACTIONS(297),
    [aux_sym_sql_keyword_token40] = ACTIONS(299),
    [aux_sym_sql_keyword_token41] = ACTIONS(297),
    [aux_sym_sql_keyword_token42] = ACTIONS(297),
    [aux_sym_sql_keyword_token43] = ACTIONS(297),
    [aux_sym_sql_keyword_token44] = ACTIONS(297),
    [aux_sym_sql_keyword_token45] = ACTIONS(297),
    [aux_sym_sql_keyword_token46] = ACTIONS(297),
    [aux_sym_sql_keyword_token47] = ACTIONS(297),
    [aux_sym_sql_keyword_token48] = ACTIONS(297),
    [aux_sym_sql_keyword_token49] = ACTIONS(297),
    [aux_sym_sql_keyword_token50] = ACTIONS(297),
    [sym_visualise_keyword] = ACTIONS(295),
    [sym_quoted_identifier] = ACTIONS(295),
    [sym_number] = ACTIONS(295),
    [anon_sym_SQUOTE] = ACTIONS(295),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(58)] = {
    [sym_comment] = STATE(58),
    [aux_sym_qualified_name_repeat1] = STATE(56),
    [sym_bare_identifier] = ACTIONS(208),
    [anon_sym_COMMA] = ACTIONS(206),
    [anon_sym_STAR] = ACTIONS(206),
    [anon_sym_DOT] = ACTIONS(290),
    [anon_sym_EQ] = ACTIONS(206),
    [anon_sym_LT] = ACTIONS(206),
    [anon_sym_GT] = ACTIONS(206),
    [anon_sym_BANG] = ACTIONS(206),
    [anon_sym_PLUS] = ACTIONS(206),
    [anon_sym_DASH] = ACTIONS(208),
    [anon_sym_SLASH] = ACTIONS(208),
    [anon_sym_PERCENT] = ACTIONS(206),
    [anon_sym_PIPE] = ACTIONS(206),
    [anon_sym_AMP] = ACTIONS(206),
    [anon_sym_CARET] = ACTIONS(206),
    [anon_sym_TILDE] = ACTIONS(206),
    [anon_sym_COLON_COLON] = ACTIONS(206),
    [anon_sym_LPAREN] = ACTIONS(206),
    [anon_sym_RPAREN] = ACTIONS(206),
    [aux_sym_cte_definition_token1] = ACTIONS(208),
    [aux_sym_cast_expression_token1] = ACTIONS(208),
    [aux_sym_cast_expression_token2] = ACTIONS(208),
    [aux_sym_sql_keyword_token1] = ACTIONS(208),
    [aux_sym_sql_keyword_token2] = ACTIONS(208),
    [aux_sym_sql_keyword_token3] = ACTIONS(208),
    [aux_sym_sql_keyword_token4] = ACTIONS(208),
    [aux_sym_sql_keyword_token5] = ACTIONS(208),
    [aux_sym_sql_keyword_token6] = ACTIONS(208),
    [aux_sym_sql_keyword_token7] = ACTIONS(208),
    [aux_sym_sql_keyword_token8] = ACTIONS(208),
    [aux_sym_sql_keyword_token9] = ACTIONS(208),
    [aux_sym_sql_keyword_token10] = ACTIONS(208),
    [aux_sym_sql_keyword_token11] = ACTIONS(208),
    [aux_sym_sql_keyword_token12] = ACTIONS(208),
    [aux_sym_sql_keyword_token13] = ACTIONS(208),
    [aux_sym_sql_keyword_token14] = ACTIONS(208),
    [aux_sym_sql_keyword_token15] = ACTIONS(208),
    [aux_sym_sql_keyword_token16] = ACTIONS(208),
    [aux_sym_sql_keyword_token17] = ACTIONS(208),
    [aux_sym_sql_keyword_token18] = ACTIONS(208),
    [aux_sym_sql_keyword_token19] = ACTIONS(208),
    [aux_sym_sql_keyword_token20] = ACTIONS(208),
    [aux_sym_sql_keyword_token21] = ACTIONS(208),
    [aux_sym_sql_keyword_token22] = ACTIONS(208),
    [aux_sym_sql_keyword_token23] = ACTIONS(208),
    [aux_sym_sql_keyword_token24] = ACTIONS(208),
    [aux_sym_sql_keyword_token25] = ACTIONS(208),
    [aux_sym_sql_keyword_token26] = ACTIONS(208),
    [aux_sym_sql_keyword_token27] = ACTIONS(208),
    [aux_sym_sql_keyword_token28] = ACTIONS(208),
    [aux_sym_sql_keyword_token29] = ACTIONS(208),
    [aux_sym_sql_keyword_token30] = ACTIONS(208),
    [aux_sym_sql_keyword_token31] = ACTIONS(208),
    [aux_sym_sql_keyword_token32] = ACTIONS(208),
    [aux_sym_sql_keyword_token33] = ACTIONS(208),
    [aux_sym_sql_keyword_token34] = ACTIONS(208),
    [aux_sym_sql_keyword_token35] = ACTIONS(208),
    [aux_sym_sql_keyword_token36] = ACTIONS(208),
    [aux_sym_sql_keyword_token37] = ACTIONS(208),
    [aux_sym_sql_keyword_token38] = ACTIONS(208),
    [aux_sym_sql_keyword_token39] = ACTIONS(208),
    [aux_sym_sql_keyword_token40] = ACTIONS(208),
    [aux_sym_sql_keyword_token41] = ACTIONS(208),
    [aux_sym_sql_keyword_token42] = ACTIONS(208),
    [aux_sym_sql_keyword_token43] = ACTIONS(208),
    [aux_sym_sql_keyword_token44] = ACTIONS(208),
    [aux_sym_sql_keyword_token45] = ACTIONS(208),
    [aux_sym_sql_keyword_token46] = ACTIONS(208),
    [aux_sym_sql_keyword_token47] = ACTIONS(208),
    [aux_sym_sql_keyword_token48] = ACTIONS(208),
    [aux_sym_sql_keyword_token49] = ACTIONS(208),
    [aux_sym_sql_keyword_token50] = ACTIONS(208),
    [sym_quoted_identifier] = ACTIONS(206),
    [sym_number] = ACTIONS(206),
    [anon_sym_SQUOTE] = ACTIONS(206),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(59)] = {
    [sym_comment] = STATE(59),
    [ts_builtin_sym_end] = ACTIONS(301),
    [sym_bare_identifier] = ACTIONS(303),
    [anon_sym_SEMI] = ACTIONS(301),
    [anon_sym_COMMA] = ACTIONS(301),
    [anon_sym_STAR] = ACTIONS(301),
    [anon_sym_DOT] = ACTIONS(303),
    [anon_sym_EQ] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(301),
    [anon_sym_GT] = ACTIONS(301),
    [anon_sym_BANG] = ACTIONS(301),
    [anon_sym_PLUS] = ACTIONS(301),
    [anon_sym_DASH] = ACTIONS(303),
    [anon_sym_SLASH] = ACTIONS(303),
    [anon_sym_PERCENT] = ACTIONS(301),
    [anon_sym_PIPE] = ACTIONS(301),
    [anon_sym_AMP] = ACTIONS(301),
    [anon_sym_CARET] = ACTIONS(301),
    [anon_sym_TILDE] = ACTIONS(301),
    [anon_sym_COLON_COLON] = ACTIONS(301),
    [anon_sym_LPAREN] = ACTIONS(301),
    [aux_sym_cast_expression_token1] = ACTIONS(303),
    [aux_sym_cast_expression_token2] = ACTIONS(303),
    [aux_sym_sql_keyword_token1] = ACTIONS(303),
    [aux_sym_sql_keyword_token2] = ACTIONS(303),
    [aux_sym_sql_keyword_token3] = ACTIONS(303),
    [aux_sym_sql_keyword_token4] = ACTIONS(303),
    [aux_sym_sql_keyword_token5] = ACTIONS(303),
    [aux_sym_sql_keyword_token6] = ACTIONS(303),
    [aux_sym_sql_keyword_token7] = ACTIONS(303),
    [aux_sym_sql_keyword_token8] = ACTIONS(303),
    [aux_sym_sql_keyword_token9] = ACTIONS(303),
    [aux_sym_sql_keyword_token10] = ACTIONS(303),
    [aux_sym_sql_keyword_token11] = ACTIONS(303),
    [aux_sym_sql_keyword_token12] = ACTIONS(303),
    [aux_sym_sql_keyword_token13] = ACTIONS(303),
    [aux_sym_sql_keyword_token14] = ACTIONS(303),
    [aux_sym_sql_keyword_token15] = ACTIONS(303),
    [aux_sym_sql_keyword_token16] = ACTIONS(303),
    [aux_sym_sql_keyword_token17] = ACTIONS(303),
    [aux_sym_sql_keyword_token18] = ACTIONS(303),
    [aux_sym_sql_keyword_token19] = ACTIONS(303),
    [aux_sym_sql_keyword_token20] = ACTIONS(303),
    [aux_sym_sql_keyword_token21] = ACTIONS(303),
    [aux_sym_sql_keyword_token22] = ACTIONS(303),
    [aux_sym_sql_keyword_token23] = ACTIONS(303),
    [aux_sym_sql_keyword_token24] = ACTIONS(303),
    [aux_sym_sql_keyword_token25] = ACTIONS(303),
    [aux_sym_sql_keyword_token26] = ACTIONS(303),
    [aux_sym_sql_keyword_token27] = ACTIONS(303),
    [aux_sym_sql_keyword_token28] = ACTIONS(303),
    [aux_sym_sql_keyword_token29] = ACTIONS(303),
    [aux_sym_sql_keyword_token30] = ACTIONS(303),
    [aux_sym_sql_keyword_token31] = ACTIONS(303),
    [aux_sym_sql_keyword_token32] = ACTIONS(303),
    [aux_sym_sql_keyword_token33] = ACTIONS(303),
    [aux_sym_sql_keyword_token34] = ACTIONS(303),
    [aux_sym_sql_keyword_token35] = ACTIONS(303),
    [aux_sym_sql_keyword_token36] = ACTIONS(303),
    [aux_sym_sql_keyword_token37] = ACTIONS(303),
    [aux_sym_sql_keyword_token38] = ACTIONS(303),
    [aux_sym_sql_keyword_token39] = ACTIONS(303),
    [aux_sym_sql_keyword_token40] = ACTIONS(303),
    [aux_sym_sql_keyword_token41] = ACTIONS(303),
    [aux_sym_sql_keyword_token42] = ACTIONS(303),
    [aux_sym_sql_keyword_token43] = ACTIONS(303),
    [aux_sym_sql_keyword_token44] = ACTIONS(303),
    [aux_sym_sql_keyword_token45] = ACTIONS(303),
    [aux_sym_sql_keyword_token46] = ACTIONS(303),
    [aux_sym_sql_keyword_token47] = ACTIONS(303),
    [aux_sym_sql_keyword_token48] = ACTIONS(303),
    [aux_sym_sql_keyword_token49] = ACTIONS(303),
    [aux_sym_sql_keyword_token50] = ACTIONS(303),
    [sym_visualise_keyword] = ACTIONS(301),
    [sym_quoted_identifier] = ACTIONS(301),
    [sym_number] = ACTIONS(301),
    [anon_sym_SQUOTE] = ACTIONS(301),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(60)] = {
    [sym_comment] = STATE(60),
    [ts_builtin_sym_end] = ACTIONS(305),
    [sym_bare_identifier] = ACTIONS(307),
    [anon_sym_SEMI] = ACTIONS(305),
    [anon_sym_COMMA] = ACTIONS(305),
    [anon_sym_STAR] = ACTIONS(305),
    [anon_sym_DOT] = ACTIONS(307),
    [anon_sym_EQ] = ACTIONS(305),
    [anon_sym_LT] = ACTIONS(305),
    [anon_sym_GT] = ACTIONS(305),
    [anon_sym_BANG] = ACTIONS(305),
    [anon_sym_PLUS] = ACTIONS(305),
    [anon_sym_DASH] = ACTIONS(307),
    [anon_sym_SLASH] = ACTIONS(307),
    [anon_sym_PERCENT] = ACTIONS(305),
    [anon_sym_PIPE] = ACTIONS(305),
    [anon_sym_AMP] = ACTIONS(305),
    [anon_sym_CARET] = ACTIONS(305),
    [anon_sym_TILDE] = ACTIONS(305),
    [anon_sym_COLON_COLON] = ACTIONS(305),
    [anon_sym_LPAREN] = ACTIONS(305),
    [aux_sym_cast_expression_token1] = ACTIONS(307),
    [aux_sym_cast_expression_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token1] = ACTIONS(307),
    [aux_sym_sql_keyword_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token3] = ACTIONS(307),
    [aux_sym_sql_keyword_token4] = ACTIONS(307),
    [aux_sym_sql_keyword_token5] = ACTIONS(307),
    [aux_sym_sql_keyword_token6] = ACTIONS(307),
    [aux_sym_sql_keyword_token7] = ACTIONS(307),
    [aux_sym_sql_keyword_token8] = ACTIONS(307),
    [aux_sym_sql_keyword_token9] = ACTIONS(307),
    [aux_sym_sql_keyword_token10] = ACTIONS(307),
    [aux_sym_sql_keyword_token11] = ACTIONS(307),
    [aux_sym_sql_keyword_token12] = ACTIONS(307),
    [aux_sym_sql_keyword_token13] = ACTIONS(307),
    [aux_sym_sql_keyword_token14] = ACTIONS(307),
    [aux_sym_sql_keyword_token15] = ACTIONS(307),
    [aux_sym_sql_keyword_token16] = ACTIONS(307),
    [aux_sym_sql_keyword_token17] = ACTIONS(307),
    [aux_sym_sql_keyword_token18] = ACTIONS(307),
    [aux_sym_sql_keyword_token19] = ACTIONS(307),
    [aux_sym_sql_keyword_token20] = ACTIONS(307),
    [aux_sym_sql_keyword_token21] = ACTIONS(307),
    [aux_sym_sql_keyword_token22] = ACTIONS(307),
    [aux_sym_sql_keyword_token23] = ACTIONS(307),
    [aux_sym_sql_keyword_token24] = ACTIONS(307),
    [aux_sym_sql_keyword_token25] = ACTIONS(307),
    [aux_sym_sql_keyword_token26] = ACTIONS(307),
    [aux_sym_sql_keyword_token27] = ACTIONS(307),
    [aux_sym_sql_keyword_token28] = ACTIONS(307),
    [aux_sym_sql_keyword_token29] = ACTIONS(307),
    [aux_sym_sql_keyword_token30] = ACTIONS(307),
    [aux_sym_sql_keyword_token31] = ACTIONS(307),
    [aux_sym_sql_keyword_token32] = ACTIONS(307),
    [aux_sym_sql_keyword_token33] = ACTIONS(307),
    [aux_sym_sql_keyword_token34] = ACTIONS(307),
    [aux_sym_sql_keyword_token35] = ACTIONS(307),
    [aux_sym_sql_keyword_token36] = ACTIONS(307),
    [aux_sym_sql_keyword_token37] = ACTIONS(307),
    [aux_sym_sql_keyword_token38] = ACTIONS(307),
    [aux_sym_sql_keyword_token39] = ACTIONS(307),
    [aux_sym_sql_keyword_token40] = ACTIONS(307),
    [aux_sym_sql_keyword_token41] = ACTIONS(307),
    [aux_sym_sql_keyword_token42] = ACTIONS(307),
    [aux_sym_sql_keyword_token43] = ACTIONS(307),
    [aux_sym_sql_keyword_token44] = ACTIONS(307),
    [aux_sym_sql_keyword_token45] = ACTIONS(307),
    [aux_sym_sql_keyword_token46] = ACTIONS(307),
    [aux_sym_sql_keyword_token47] = ACTIONS(307),
    [aux_sym_sql_keyword_token48] = ACTIONS(307),
    [aux_sym_sql_keyword_token49] = ACTIONS(307),
    [aux_sym_sql_keyword_token50] = ACTIONS(307),
    [sym_visualise_keyword] = ACTIONS(305),
    [sym_quoted_identifier] = ACTIONS(305),
    [sym_number] = ACTIONS(305),
    [anon_sym_SQUOTE] = ACTIONS(305),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(61)] = {
    [sym_comment] = STATE(61),
    [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_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_sql_keyword_token40] = ACTIONS(313),
    [aux_sym_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_sql_keyword_token50] = 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(62)] = {
    [sym_comment] = STATE(62),
    [ts_builtin_sym_end] = ACTIONS(305),
    [sym_bare_identifier] = ACTIONS(307),
    [anon_sym_SEMI] = ACTIONS(305),
    [anon_sym_COMMA] = ACTIONS(305),
    [anon_sym_STAR] = ACTIONS(305),
    [anon_sym_DOT] = ACTIONS(307),
    [anon_sym_EQ] = ACTIONS(305),
    [anon_sym_LT] = ACTIONS(305),
    [anon_sym_GT] = ACTIONS(305),
    [anon_sym_BANG] = ACTIONS(305),
    [anon_sym_PLUS] = ACTIONS(305),
    [anon_sym_DASH] = ACTIONS(307),
    [anon_sym_SLASH] = ACTIONS(307),
    [anon_sym_PERCENT] = ACTIONS(305),
    [anon_sym_PIPE] = ACTIONS(305),
    [anon_sym_AMP] = ACTIONS(305),
    [anon_sym_CARET] = ACTIONS(305),
    [anon_sym_TILDE] = ACTIONS(305),
    [anon_sym_COLON_COLON] = ACTIONS(305),
    [anon_sym_LPAREN] = ACTIONS(315),
    [aux_sym_cast_expression_token1] = ACTIONS(307),
    [aux_sym_cast_expression_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token1] = ACTIONS(307),
    [aux_sym_sql_keyword_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token3] = ACTIONS(307),
    [aux_sym_sql_keyword_token4] = ACTIONS(307),
    [aux_sym_sql_keyword_token5] = ACTIONS(307),
    [aux_sym_sql_keyword_token6] = ACTIONS(307),
    [aux_sym_sql_keyword_token7] = ACTIONS(307),
    [aux_sym_sql_keyword_token8] = ACTIONS(307),
    [aux_sym_sql_keyword_token9] = ACTIONS(307),
    [aux_sym_sql_keyword_token10] = ACTIONS(307),
    [aux_sym_sql_keyword_token11] = ACTIONS(307),
    [aux_sym_sql_keyword_token12] = ACTIONS(307),
    [aux_sym_sql_keyword_token13] = ACTIONS(307),
    [aux_sym_sql_keyword_token14] = ACTIONS(307),
    [aux_sym_sql_keyword_token15] = ACTIONS(307),
    [aux_sym_sql_keyword_token16] = ACTIONS(307),
    [aux_sym_sql_keyword_token17] = ACTIONS(307),
    [aux_sym_sql_keyword_token18] = ACTIONS(307),
    [aux_sym_sql_keyword_token19] = ACTIONS(307),
    [aux_sym_sql_keyword_token20] = ACTIONS(307),
    [aux_sym_sql_keyword_token21] = ACTIONS(307),
    [aux_sym_sql_keyword_token22] = ACTIONS(307),
    [aux_sym_sql_keyword_token23] = ACTIONS(307),
    [aux_sym_sql_keyword_token24] = ACTIONS(307),
    [aux_sym_sql_keyword_token25] = ACTIONS(307),
    [aux_sym_sql_keyword_token26] = ACTIONS(307),
    [aux_sym_sql_keyword_token27] = ACTIONS(307),
    [aux_sym_sql_keyword_token28] = ACTIONS(307),
    [aux_sym_sql_keyword_token29] = ACTIONS(307),
    [aux_sym_sql_keyword_token30] = ACTIONS(307),
    [aux_sym_sql_keyword_token31] = ACTIONS(307),
    [aux_sym_sql_keyword_token32] = ACTIONS(307),
    [aux_sym_sql_keyword_token33] = ACTIONS(307),
    [aux_sym_sql_keyword_token34] = ACTIONS(307),
    [aux_sym_sql_keyword_token35] = ACTIONS(307),
    [aux_sym_sql_keyword_token36] = ACTIONS(307),
    [aux_sym_sql_keyword_token37] = ACTIONS(307),
    [aux_sym_sql_keyword_token38] = ACTIONS(307),
    [aux_sym_sql_keyword_token39] = ACTIONS(307),
    [aux_sym_sql_keyword_token40] = ACTIONS(307),
    [aux_sym_sql_keyword_token41] = ACTIONS(307),
    [aux_sym_sql_keyword_token42] = ACTIONS(307),
    [aux_sym_sql_keyword_token43] = ACTIONS(307),
    [aux_sym_sql_keyword_token44] = ACTIONS(307),
    [aux_sym_sql_keyword_token45] = ACTIONS(307),
    [aux_sym_sql_keyword_token46] = ACTIONS(307),
    [aux_sym_sql_keyword_token47] = ACTIONS(307),
    [aux_sym_sql_keyword_token48] = ACTIONS(307),
    [aux_sym_sql_keyword_token49] = ACTIONS(307),
    [aux_sym_sql_keyword_token50] = ACTIONS(307),
    [sym_visualise_keyword] = ACTIONS(305),
    [sym_quoted_identifier] = ACTIONS(305),
    [sym_number] = ACTIONS(305),
    [anon_sym_SQUOTE] = ACTIONS(305),
    [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_from_clause_repeat1] = STATE(64),
    [sym_bare_identifier] = ACTIONS(223),
    [anon_sym_COMMA] = ACTIONS(317),
    [anon_sym_STAR] = ACTIONS(221),
    [anon_sym_DOT] = ACTIONS(223),
    [anon_sym_EQ] = ACTIONS(221),
    [anon_sym_LT] = ACTIONS(221),
    [anon_sym_GT] = ACTIONS(221),
    [anon_sym_BANG] = ACTIONS(221),
    [anon_sym_PLUS] = ACTIONS(221),
    [anon_sym_DASH] = ACTIONS(223),
    [anon_sym_SLASH] = ACTIONS(223),
    [anon_sym_PERCENT] = ACTIONS(221),
    [anon_sym_PIPE] = ACTIONS(221),
    [anon_sym_AMP] = ACTIONS(221),
    [anon_sym_CARET] = ACTIONS(221),
    [anon_sym_TILDE] = ACTIONS(221),
    [anon_sym_COLON_COLON] = ACTIONS(221),
    [anon_sym_LPAREN] = ACTIONS(221),
    [anon_sym_RPAREN] = ACTIONS(221),
    [aux_sym_cast_expression_token1] = ACTIONS(223),
    [aux_sym_cast_expression_token2] = ACTIONS(223),
    [aux_sym_sql_keyword_token1] = ACTIONS(223),
    [aux_sym_sql_keyword_token2] = ACTIONS(223),
    [aux_sym_sql_keyword_token3] = ACTIONS(223),
    [aux_sym_sql_keyword_token4] = ACTIONS(223),
    [aux_sym_sql_keyword_token5] = ACTIONS(223),
    [aux_sym_sql_keyword_token6] = ACTIONS(223),
    [aux_sym_sql_keyword_token7] = ACTIONS(223),
    [aux_sym_sql_keyword_token8] = ACTIONS(223),
    [aux_sym_sql_keyword_token9] = ACTIONS(223),
    [aux_sym_sql_keyword_token10] = ACTIONS(223),
    [aux_sym_sql_keyword_token11] = ACTIONS(223),
    [aux_sym_sql_keyword_token12] = ACTIONS(223),
    [aux_sym_sql_keyword_token13] = ACTIONS(223),
    [aux_sym_sql_keyword_token14] = ACTIONS(223),
    [aux_sym_sql_keyword_token15] = ACTIONS(223),
    [aux_sym_sql_keyword_token16] = ACTIONS(223),
    [aux_sym_sql_keyword_token17] = ACTIONS(223),
    [aux_sym_sql_keyword_token18] = ACTIONS(223),
    [aux_sym_sql_keyword_token19] = ACTIONS(223),
    [aux_sym_sql_keyword_token20] = ACTIONS(223),
    [aux_sym_sql_keyword_token21] = ACTIONS(223),
    [aux_sym_sql_keyword_token22] = ACTIONS(223),
    [aux_sym_sql_keyword_token23] = ACTIONS(223),
    [aux_sym_sql_keyword_token24] = ACTIONS(223),
    [aux_sym_sql_keyword_token25] = ACTIONS(223),
    [aux_sym_sql_keyword_token26] = ACTIONS(223),
    [aux_sym_sql_keyword_token27] = ACTIONS(223),
    [aux_sym_sql_keyword_token28] = ACTIONS(223),
    [aux_sym_sql_keyword_token29] = ACTIONS(223),
    [aux_sym_sql_keyword_token30] = ACTIONS(223),
    [aux_sym_sql_keyword_token31] = ACTIONS(223),
    [aux_sym_sql_keyword_token32] = ACTIONS(223),
    [aux_sym_sql_keyword_token33] = ACTIONS(223),
    [aux_sym_sql_keyword_token34] = ACTIONS(223),
    [aux_sym_sql_keyword_token35] = ACTIONS(223),
    [aux_sym_sql_keyword_token36] = ACTIONS(223),
    [aux_sym_sql_keyword_token37] = ACTIONS(223),
    [aux_sym_sql_keyword_token38] = ACTIONS(223),
    [aux_sym_sql_keyword_token39] = ACTIONS(223),
    [aux_sym_sql_keyword_token40] = ACTIONS(223),
    [aux_sym_sql_keyword_token41] = ACTIONS(223),
    [aux_sym_sql_keyword_token42] = ACTIONS(223),
    [aux_sym_sql_keyword_token43] = ACTIONS(223),
    [aux_sym_sql_keyword_token44] = ACTIONS(223),
    [aux_sym_sql_keyword_token45] = ACTIONS(223),
    [aux_sym_sql_keyword_token46] = ACTIONS(223),
    [aux_sym_sql_keyword_token47] = ACTIONS(223),
    [aux_sym_sql_keyword_token48] = ACTIONS(223),
    [aux_sym_sql_keyword_token49] = ACTIONS(223),
    [aux_sym_sql_keyword_token50] = ACTIONS(223),
    [sym_quoted_identifier] = ACTIONS(221),
    [sym_number] = ACTIONS(221),
    [anon_sym_SQUOTE] = ACTIONS(221),
    [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_from_clause_repeat1] = STATE(65),
    [sym_bare_identifier] = ACTIONS(229),
    [anon_sym_COMMA] = ACTIONS(227),
    [anon_sym_STAR] = ACTIONS(227),
    [anon_sym_DOT] = ACTIONS(229),
    [anon_sym_EQ] = ACTIONS(227),
    [anon_sym_LT] = ACTIONS(227),
    [anon_sym_GT] = ACTIONS(227),
    [anon_sym_BANG] = ACTIONS(227),
    [anon_sym_PLUS] = ACTIONS(227),
    [anon_sym_DASH] = ACTIONS(229),
    [anon_sym_SLASH] = ACTIONS(229),
    [anon_sym_PERCENT] = ACTIONS(227),
    [anon_sym_PIPE] = ACTIONS(227),
    [anon_sym_AMP] = ACTIONS(227),
    [anon_sym_CARET] = ACTIONS(227),
    [anon_sym_TILDE] = ACTIONS(227),
    [anon_sym_COLON_COLON] = ACTIONS(227),
    [anon_sym_LPAREN] = ACTIONS(227),
    [anon_sym_RPAREN] = ACTIONS(227),
    [aux_sym_cast_expression_token1] = ACTIONS(229),
    [aux_sym_cast_expression_token2] = ACTIONS(229),
    [aux_sym_sql_keyword_token1] = ACTIONS(229),
    [aux_sym_sql_keyword_token2] = ACTIONS(229),
    [aux_sym_sql_keyword_token3] = ACTIONS(229),
    [aux_sym_sql_keyword_token4] = ACTIONS(229),
    [aux_sym_sql_keyword_token5] = ACTIONS(229),
    [aux_sym_sql_keyword_token6] = ACTIONS(229),
    [aux_sym_sql_keyword_token7] = ACTIONS(229),
    [aux_sym_sql_keyword_token8] = ACTIONS(229),
    [aux_sym_sql_keyword_token9] = ACTIONS(229),
    [aux_sym_sql_keyword_token10] = ACTIONS(229),
    [aux_sym_sql_keyword_token11] = ACTIONS(229),
    [aux_sym_sql_keyword_token12] = ACTIONS(229),
    [aux_sym_sql_keyword_token13] = ACTIONS(229),
    [aux_sym_sql_keyword_token14] = ACTIONS(229),
    [aux_sym_sql_keyword_token15] = ACTIONS(229),
    [aux_sym_sql_keyword_token16] = ACTIONS(229),
    [aux_sym_sql_keyword_token17] = ACTIONS(229),
    [aux_sym_sql_keyword_token18] = ACTIONS(229),
    [aux_sym_sql_keyword_token19] = ACTIONS(229),
    [aux_sym_sql_keyword_token20] = ACTIONS(229),
    [aux_sym_sql_keyword_token21] = ACTIONS(229),
    [aux_sym_sql_keyword_token22] = ACTIONS(229),
    [aux_sym_sql_keyword_token23] = ACTIONS(229),
    [aux_sym_sql_keyword_token24] = ACTIONS(229),
    [aux_sym_sql_keyword_token25] = ACTIONS(229),
    [aux_sym_sql_keyword_token26] = ACTIONS(229),
    [aux_sym_sql_keyword_token27] = ACTIONS(229),
    [aux_sym_sql_keyword_token28] = ACTIONS(229),
    [aux_sym_sql_keyword_token29] = ACTIONS(229),
    [aux_sym_sql_keyword_token30] = ACTIONS(229),
    [aux_sym_sql_keyword_token31] = ACTIONS(229),
    [aux_sym_sql_keyword_token32] = ACTIONS(229),
    [aux_sym_sql_keyword_token33] = ACTIONS(229),
    [aux_sym_sql_keyword_token34] = ACTIONS(229),
    [aux_sym_sql_keyword_token35] = ACTIONS(229),
    [aux_sym_sql_keyword_token36] = ACTIONS(229),
    [aux_sym_sql_keyword_token37] = ACTIONS(229),
    [aux_sym_sql_keyword_token38] = ACTIONS(229),
    [aux_sym_sql_keyword_token39] = ACTIONS(229),
    [aux_sym_sql_keyword_token40] = ACTIONS(229),
    [aux_sym_sql_keyword_token41] = ACTIONS(229),
    [aux_sym_sql_keyword_token42] = ACTIONS(229),
    [aux_sym_sql_keyword_token43] = ACTIONS(229),
    [aux_sym_sql_keyword_token44] = ACTIONS(229),
    [aux_sym_sql_keyword_token45] = ACTIONS(229),
    [aux_sym_sql_keyword_token46] = ACTIONS(229),
    [aux_sym_sql_keyword_token47] = ACTIONS(229),
    [aux_sym_sql_keyword_token48] = ACTIONS(229),
    [aux_sym_sql_keyword_token49] = ACTIONS(229),
    [aux_sym_sql_keyword_token50] = ACTIONS(229),
    [sym_quoted_identifier] = ACTIONS(227),
    [sym_number] = ACTIONS(227),
    [anon_sym_SQUOTE] = ACTIONS(227),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(65)] = {
    [sym_comment] = STATE(65),
    [aux_sym_from_clause_repeat1] = STATE(65),
    [sym_bare_identifier] = ACTIONS(233),
    [anon_sym_COMMA] = ACTIONS(319),
    [anon_sym_STAR] = ACTIONS(231),
    [anon_sym_DOT] = ACTIONS(233),
    [anon_sym_EQ] = ACTIONS(231),
    [anon_sym_LT] = ACTIONS(231),
    [anon_sym_GT] = ACTIONS(231),
    [anon_sym_BANG] = ACTIONS(231),
    [anon_sym_PLUS] = ACTIONS(231),
    [anon_sym_DASH] = ACTIONS(233),
    [anon_sym_SLASH] = ACTIONS(233),
    [anon_sym_PERCENT] = ACTIONS(231),
    [anon_sym_PIPE] = ACTIONS(231),
    [anon_sym_AMP] = ACTIONS(231),
    [anon_sym_CARET] = ACTIONS(231),
    [anon_sym_TILDE] = ACTIONS(231),
    [anon_sym_COLON_COLON] = ACTIONS(231),
    [anon_sym_LPAREN] = ACTIONS(231),
    [anon_sym_RPAREN] = ACTIONS(231),
    [aux_sym_cast_expression_token1] = ACTIONS(233),
    [aux_sym_cast_expression_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token1] = ACTIONS(233),
    [aux_sym_sql_keyword_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token3] = ACTIONS(233),
    [aux_sym_sql_keyword_token4] = ACTIONS(233),
    [aux_sym_sql_keyword_token5] = ACTIONS(233),
    [aux_sym_sql_keyword_token6] = ACTIONS(233),
    [aux_sym_sql_keyword_token7] = ACTIONS(233),
    [aux_sym_sql_keyword_token8] = ACTIONS(233),
    [aux_sym_sql_keyword_token9] = ACTIONS(233),
    [aux_sym_sql_keyword_token10] = ACTIONS(233),
    [aux_sym_sql_keyword_token11] = ACTIONS(233),
    [aux_sym_sql_keyword_token12] = ACTIONS(233),
    [aux_sym_sql_keyword_token13] = ACTIONS(233),
    [aux_sym_sql_keyword_token14] = ACTIONS(233),
    [aux_sym_sql_keyword_token15] = ACTIONS(233),
    [aux_sym_sql_keyword_token16] = ACTIONS(233),
    [aux_sym_sql_keyword_token17] = ACTIONS(233),
    [aux_sym_sql_keyword_token18] = ACTIONS(233),
    [aux_sym_sql_keyword_token19] = ACTIONS(233),
    [aux_sym_sql_keyword_token20] = ACTIONS(233),
    [aux_sym_sql_keyword_token21] = ACTIONS(233),
    [aux_sym_sql_keyword_token22] = ACTIONS(233),
    [aux_sym_sql_keyword_token23] = ACTIONS(233),
    [aux_sym_sql_keyword_token24] = ACTIONS(233),
    [aux_sym_sql_keyword_token25] = ACTIONS(233),
    [aux_sym_sql_keyword_token26] = ACTIONS(233),
    [aux_sym_sql_keyword_token27] = ACTIONS(233),
    [aux_sym_sql_keyword_token28] = ACTIONS(233),
    [aux_sym_sql_keyword_token29] = ACTIONS(233),
    [aux_sym_sql_keyword_token30] = ACTIONS(233),
    [aux_sym_sql_keyword_token31] = ACTIONS(233),
    [aux_sym_sql_keyword_token32] = ACTIONS(233),
    [aux_sym_sql_keyword_token33] = ACTIONS(233),
    [aux_sym_sql_keyword_token34] = ACTIONS(233),
    [aux_sym_sql_keyword_token35] = ACTIONS(233),
    [aux_sym_sql_keyword_token36] = ACTIONS(233),
    [aux_sym_sql_keyword_token37] = ACTIONS(233),
    [aux_sym_sql_keyword_token38] = ACTIONS(233),
    [aux_sym_sql_keyword_token39] = ACTIONS(233),
    [aux_sym_sql_keyword_token40] = ACTIONS(233),
    [aux_sym_sql_keyword_token41] = ACTIONS(233),
    [aux_sym_sql_keyword_token42] = ACTIONS(233),
    [aux_sym_sql_keyword_token43] = ACTIONS(233),
    [aux_sym_sql_keyword_token44] = ACTIONS(233),
    [aux_sym_sql_keyword_token45] = ACTIONS(233),
    [aux_sym_sql_keyword_token46] = ACTIONS(233),
    [aux_sym_sql_keyword_token47] = ACTIONS(233),
    [aux_sym_sql_keyword_token48] = ACTIONS(233),
    [aux_sym_sql_keyword_token49] = ACTIONS(233),
    [aux_sym_sql_keyword_token50] = ACTIONS(233),
    [sym_quoted_identifier] = ACTIONS(231),
    [sym_number] = ACTIONS(231),
    [anon_sym_SQUOTE] = ACTIONS(231),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(66)] = {
    [sym_comment] = STATE(66),
    [sym_bare_identifier] = ACTIONS(212),
    [anon_sym_COMMA] = ACTIONS(210),
    [anon_sym_STAR] = ACTIONS(210),
    [anon_sym_DOT] = ACTIONS(212),
    [anon_sym_EQ] = ACTIONS(210),
    [anon_sym_LT] = ACTIONS(210),
    [anon_sym_GT] = ACTIONS(210),
    [anon_sym_BANG] = ACTIONS(210),
    [anon_sym_PLUS] = ACTIONS(210),
    [anon_sym_DASH] = ACTIONS(212),
    [anon_sym_SLASH] = ACTIONS(212),
    [anon_sym_PERCENT] = ACTIONS(210),
    [anon_sym_PIPE] = ACTIONS(210),
    [anon_sym_AMP] = ACTIONS(210),
    [anon_sym_CARET] = ACTIONS(210),
    [anon_sym_TILDE] = ACTIONS(210),
    [anon_sym_COLON_COLON] = ACTIONS(210),
    [anon_sym_LPAREN] = ACTIONS(210),
    [anon_sym_RPAREN] = ACTIONS(210),
    [aux_sym_cte_definition_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token1] = ACTIONS(212),
    [aux_sym_cast_expression_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token1] = ACTIONS(212),
    [aux_sym_sql_keyword_token2] = ACTIONS(212),
    [aux_sym_sql_keyword_token3] = ACTIONS(212),
    [aux_sym_sql_keyword_token4] = ACTIONS(212),
    [aux_sym_sql_keyword_token5] = ACTIONS(212),
    [aux_sym_sql_keyword_token6] = ACTIONS(212),
    [aux_sym_sql_keyword_token7] = ACTIONS(212),
    [aux_sym_sql_keyword_token8] = ACTIONS(212),
    [aux_sym_sql_keyword_token9] = ACTIONS(212),
    [aux_sym_sql_keyword_token10] = ACTIONS(212),
    [aux_sym_sql_keyword_token11] = ACTIONS(212),
    [aux_sym_sql_keyword_token12] = ACTIONS(212),
    [aux_sym_sql_keyword_token13] = ACTIONS(212),
    [aux_sym_sql_keyword_token14] = ACTIONS(212),
    [aux_sym_sql_keyword_token15] = ACTIONS(212),
    [aux_sym_sql_keyword_token16] = ACTIONS(212),
    [aux_sym_sql_keyword_token17] = ACTIONS(212),
    [aux_sym_sql_keyword_token18] = ACTIONS(212),
    [aux_sym_sql_keyword_token19] = ACTIONS(212),
    [aux_sym_sql_keyword_token20] = ACTIONS(212),
    [aux_sym_sql_keyword_token21] = ACTIONS(212),
    [aux_sym_sql_keyword_token22] = ACTIONS(212),
    [aux_sym_sql_keyword_token23] = ACTIONS(212),
    [aux_sym_sql_keyword_token24] = ACTIONS(212),
    [aux_sym_sql_keyword_token25] = ACTIONS(212),
    [aux_sym_sql_keyword_token26] = ACTIONS(212),
    [aux_sym_sql_keyword_token27] = ACTIONS(212),
    [aux_sym_sql_keyword_token28] = ACTIONS(212),
    [aux_sym_sql_keyword_token29] = ACTIONS(212),
    [aux_sym_sql_keyword_token30] = ACTIONS(212),
    [aux_sym_sql_keyword_token31] = ACTIONS(212),
    [aux_sym_sql_keyword_token32] = ACTIONS(212),
    [aux_sym_sql_keyword_token33] = ACTIONS(212),
    [aux_sym_sql_keyword_token34] = ACTIONS(212),
    [aux_sym_sql_keyword_token35] = ACTIONS(212),
    [aux_sym_sql_keyword_token36] = ACTIONS(212),
    [aux_sym_sql_keyword_token37] = ACTIONS(212),
    [aux_sym_sql_keyword_token38] = ACTIONS(212),
    [aux_sym_sql_keyword_token39] = ACTIONS(212),
    [aux_sym_sql_keyword_token40] = ACTIONS(212),
    [aux_sym_sql_keyword_token41] = ACTIONS(212),
    [aux_sym_sql_keyword_token42] = ACTIONS(212),
    [aux_sym_sql_keyword_token43] = ACTIONS(212),
    [aux_sym_sql_keyword_token44] = ACTIONS(212),
    [aux_sym_sql_keyword_token45] = ACTIONS(212),
    [aux_sym_sql_keyword_token46] = ACTIONS(212),
    [aux_sym_sql_keyword_token47] = ACTIONS(212),
    [aux_sym_sql_keyword_token48] = ACTIONS(212),
    [aux_sym_sql_keyword_token49] = ACTIONS(212),
    [aux_sym_sql_keyword_token50] = ACTIONS(212),
    [sym_quoted_identifier] = ACTIONS(210),
    [sym_number] = ACTIONS(210),
    [anon_sym_SQUOTE] = ACTIONS(210),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(67)] = {
    [sym_subquery] = STATE(104),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(67),
    [aux_sym_subquery_body_repeat1] = STATE(72),
    [sym_bare_identifier] = ACTIONS(90),
    [anon_sym_COMMA] = ACTIONS(94),
    [anon_sym_STAR] = ACTIONS(96),
    [anon_sym_DOT] = ACTIONS(96),
    [anon_sym_EQ] = ACTIONS(96),
    [anon_sym_LT] = ACTIONS(96),
    [anon_sym_GT] = ACTIONS(96),
    [anon_sym_BANG] = ACTIONS(96),
    [anon_sym_COLON_COLON] = ACTIONS(96),
    [anon_sym_LPAREN] = ACTIONS(100),
    [anon_sym_RPAREN] = ACTIONS(322),
    [aux_sym_subquery_body_token1] = ACTIONS(96),
    [aux_sym_cast_expression_token1] = ACTIONS(104),
    [aux_sym_cast_expression_token2] = ACTIONS(104),
    [aux_sym_sql_keyword_token1] = ACTIONS(106),
    [aux_sym_sql_keyword_token2] = ACTIONS(106),
    [aux_sym_sql_keyword_token3] = ACTIONS(106),
    [aux_sym_sql_keyword_token4] = ACTIONS(106),
    [aux_sym_sql_keyword_token5] = ACTIONS(106),
    [aux_sym_sql_keyword_token6] = ACTIONS(106),
    [aux_sym_sql_keyword_token7] = ACTIONS(106),
    [aux_sym_sql_keyword_token8] = ACTIONS(106),
    [aux_sym_sql_keyword_token9] = ACTIONS(106),
    [aux_sym_sql_keyword_token10] = ACTIONS(106),
    [aux_sym_sql_keyword_token11] = ACTIONS(106),
    [aux_sym_sql_keyword_token12] = ACTIONS(106),
    [aux_sym_sql_keyword_token13] = ACTIONS(106),
    [aux_sym_sql_keyword_token14] = ACTIONS(106),
    [aux_sym_sql_keyword_token15] = ACTIONS(106),
    [aux_sym_sql_keyword_token16] = ACTIONS(106),
    [aux_sym_sql_keyword_token17] = ACTIONS(106),
    [aux_sym_sql_keyword_token18] = ACTIONS(106),
    [aux_sym_sql_keyword_token19] = ACTIONS(106),
    [aux_sym_sql_keyword_token20] = ACTIONS(106),
    [aux_sym_sql_keyword_token21] = ACTIONS(106),
    [aux_sym_sql_keyword_token22] = ACTIONS(106),
    [aux_sym_sql_keyword_token23] = ACTIONS(106),
    [aux_sym_sql_keyword_token24] = ACTIONS(106),
    [aux_sym_sql_keyword_token25] = ACTIONS(106),
    [aux_sym_sql_keyword_token26] = ACTIONS(106),
    [aux_sym_sql_keyword_token27] = ACTIONS(106),
    [aux_sym_sql_keyword_token28] = ACTIONS(106),
    [aux_sym_sql_keyword_token29] = ACTIONS(106),
    [aux_sym_sql_keyword_token30] = ACTIONS(106),
    [aux_sym_sql_keyword_token31] = ACTIONS(106),
    [aux_sym_sql_keyword_token32] = ACTIONS(106),
    [aux_sym_sql_keyword_token33] = ACTIONS(106),
    [aux_sym_sql_keyword_token34] = ACTIONS(106),
    [aux_sym_sql_keyword_token35] = ACTIONS(106),
    [aux_sym_sql_keyword_token36] = ACTIONS(106),
    [aux_sym_sql_keyword_token37] = ACTIONS(106),
    [aux_sym_sql_keyword_token38] = ACTIONS(106),
    [aux_sym_sql_keyword_token39] = ACTIONS(106),
    [aux_sym_sql_keyword_token40] = ACTIONS(106),
    [aux_sym_sql_keyword_token41] = ACTIONS(106),
    [aux_sym_sql_keyword_token42] = ACTIONS(106),
    [aux_sym_sql_keyword_token43] = ACTIONS(106),
    [aux_sym_sql_keyword_token44] = ACTIONS(106),
    [aux_sym_sql_keyword_token45] = ACTIONS(106),
    [aux_sym_sql_keyword_token46] = ACTIONS(106),
    [aux_sym_sql_keyword_token47] = ACTIONS(106),
    [aux_sym_sql_keyword_token48] = ACTIONS(106),
    [aux_sym_sql_keyword_token49] = ACTIONS(106),
    [aux_sym_sql_keyword_token50] = ACTIONS(106),
    [sym_quoted_identifier] = ACTIONS(90),
    [sym_number] = ACTIONS(96),
    [anon_sym_SQUOTE] = ACTIONS(108),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(68)] = {
    [sym_comment] = STATE(68),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(184),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(184),
    [anon_sym_LT] = ACTIONS(184),
    [anon_sym_GT] = ACTIONS(184),
    [anon_sym_BANG] = ACTIONS(184),
    [anon_sym_PLUS] = ACTIONS(184),
    [anon_sym_DASH] = ACTIONS(186),
    [anon_sym_SLASH] = ACTIONS(186),
    [anon_sym_PERCENT] = ACTIONS(184),
    [anon_sym_PIPE] = ACTIONS(184),
    [anon_sym_AMP] = ACTIONS(184),
    [anon_sym_CARET] = ACTIONS(184),
    [anon_sym_TILDE] = ACTIONS(184),
    [anon_sym_COLON_COLON] = ACTIONS(184),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_cte_definition_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_quoted_identifier] = ACTIONS(184),
    [sym_number] = ACTIONS(184),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(69)] = {
    [sym_comment] = STATE(69),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(242),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(242),
    [anon_sym_LT] = ACTIONS(242),
    [anon_sym_GT] = ACTIONS(242),
    [anon_sym_BANG] = ACTIONS(242),
    [anon_sym_PLUS] = ACTIONS(242),
    [anon_sym_DASH] = ACTIONS(244),
    [anon_sym_SLASH] = ACTIONS(244),
    [anon_sym_PERCENT] = ACTIONS(242),
    [anon_sym_PIPE] = ACTIONS(242),
    [anon_sym_AMP] = ACTIONS(242),
    [anon_sym_CARET] = ACTIONS(242),
    [anon_sym_TILDE] = ACTIONS(242),
    [anon_sym_COLON_COLON] = ACTIONS(242),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_cte_definition_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_quoted_identifier] = ACTIONS(242),
    [sym_number] = ACTIONS(242),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(70)] = {
    [sym_comment] = STATE(70),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(217),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(217),
    [anon_sym_LT] = ACTIONS(217),
    [anon_sym_GT] = ACTIONS(217),
    [anon_sym_BANG] = ACTIONS(217),
    [anon_sym_PLUS] = ACTIONS(217),
    [anon_sym_DASH] = ACTIONS(219),
    [anon_sym_SLASH] = ACTIONS(219),
    [anon_sym_PERCENT] = ACTIONS(217),
    [anon_sym_PIPE] = ACTIONS(217),
    [anon_sym_AMP] = ACTIONS(217),
    [anon_sym_CARET] = ACTIONS(217),
    [anon_sym_TILDE] = ACTIONS(217),
    [anon_sym_COLON_COLON] = ACTIONS(217),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_cte_definition_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_quoted_identifier] = ACTIONS(217),
    [sym_number] = ACTIONS(217),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(71)] = {
    [sym_comment] = STATE(71),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(238),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(238),
    [anon_sym_LT] = ACTIONS(238),
    [anon_sym_GT] = ACTIONS(238),
    [anon_sym_BANG] = ACTIONS(238),
    [anon_sym_PLUS] = ACTIONS(238),
    [anon_sym_DASH] = ACTIONS(240),
    [anon_sym_SLASH] = ACTIONS(240),
    [anon_sym_PERCENT] = ACTIONS(238),
    [anon_sym_PIPE] = ACTIONS(238),
    [anon_sym_AMP] = ACTIONS(238),
    [anon_sym_CARET] = ACTIONS(238),
    [anon_sym_TILDE] = ACTIONS(238),
    [anon_sym_COLON_COLON] = ACTIONS(238),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_cte_definition_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_quoted_identifier] = ACTIONS(238),
    [sym_number] = ACTIONS(238),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(72)] = {
    [sym_subquery] = STATE(104),
    [sym_cast_expression] = STATE(104),
    [sym_function_call] = STATE(104),
    [sym_sql_keyword] = STATE(104),
    [sym_window_function] = STATE(104),
    [sym_identifier] = STATE(105),
    [sym_string] = STATE(104),
    [sym_comment] = STATE(72),
    [aux_sym_subquery_body_repeat1] = STATE(72),
    [sym_bare_identifier] = ACTIONS(324),
    [anon_sym_COMMA] = ACTIONS(327),
    [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(333),
    [anon_sym_RPAREN] = ACTIONS(336),
    [aux_sym_subquery_body_token1] = ACTIONS(330),
    [aux_sym_cast_expression_token1] = ACTIONS(338),
    [aux_sym_cast_expression_token2] = ACTIONS(338),
    [aux_sym_sql_keyword_token1] = ACTIONS(341),
    [aux_sym_sql_keyword_token2] = ACTIONS(341),
    [aux_sym_sql_keyword_token3] = ACTIONS(341),
    [aux_sym_sql_keyword_token4] = ACTIONS(341),
    [aux_sym_sql_keyword_token5] = ACTIONS(341),
    [aux_sym_sql_keyword_token6] = ACTIONS(341),
    [aux_sym_sql_keyword_token7] = ACTIONS(341),
    [aux_sym_sql_keyword_token8] = ACTIONS(341),
    [aux_sym_sql_keyword_token9] = ACTIONS(341),
    [aux_sym_sql_keyword_token10] = ACTIONS(341),
    [aux_sym_sql_keyword_token11] = ACTIONS(341),
    [aux_sym_sql_keyword_token12] = ACTIONS(341),
    [aux_sym_sql_keyword_token13] = ACTIONS(341),
    [aux_sym_sql_keyword_token14] = ACTIONS(341),
    [aux_sym_sql_keyword_token15] = ACTIONS(341),
    [aux_sym_sql_keyword_token16] = ACTIONS(341),
    [aux_sym_sql_keyword_token17] = ACTIONS(341),
    [aux_sym_sql_keyword_token18] = ACTIONS(341),
    [aux_sym_sql_keyword_token19] = ACTIONS(341),
    [aux_sym_sql_keyword_token20] = ACTIONS(341),
    [aux_sym_sql_keyword_token21] = ACTIONS(341),
    [aux_sym_sql_keyword_token22] = ACTIONS(341),
    [aux_sym_sql_keyword_token23] = ACTIONS(341),
    [aux_sym_sql_keyword_token24] = ACTIONS(341),
    [aux_sym_sql_keyword_token25] = ACTIONS(341),
    [aux_sym_sql_keyword_token26] = ACTIONS(341),
    [aux_sym_sql_keyword_token27] = ACTIONS(341),
    [aux_sym_sql_keyword_token28] = ACTIONS(341),
    [aux_sym_sql_keyword_token29] = ACTIONS(341),
    [aux_sym_sql_keyword_token30] = ACTIONS(341),
    [aux_sym_sql_keyword_token31] = ACTIONS(341),
    [aux_sym_sql_keyword_token32] = ACTIONS(341),
    [aux_sym_sql_keyword_token33] = ACTIONS(341),
    [aux_sym_sql_keyword_token34] = ACTIONS(341),
    [aux_sym_sql_keyword_token35] = ACTIONS(341),
    [aux_sym_sql_keyword_token36] = ACTIONS(341),
    [aux_sym_sql_keyword_token37] = ACTIONS(341),
    [aux_sym_sql_keyword_token38] = ACTIONS(341),
    [aux_sym_sql_keyword_token39] = ACTIONS(341),
    [aux_sym_sql_keyword_token40] = ACTIONS(341),
    [aux_sym_sql_keyword_token41] = ACTIONS(341),
    [aux_sym_sql_keyword_token42] = ACTIONS(341),
    [aux_sym_sql_keyword_token43] = ACTIONS(341),
    [aux_sym_sql_keyword_token44] = ACTIONS(341),
    [aux_sym_sql_keyword_token45] = ACTIONS(341),
    [aux_sym_sql_keyword_token46] = ACTIONS(341),
    [aux_sym_sql_keyword_token47] = ACTIONS(341),
    [aux_sym_sql_keyword_token48] = ACTIONS(341),
    [aux_sym_sql_keyword_token49] = ACTIONS(341),
    [aux_sym_sql_keyword_token50] = ACTIONS(341),
    [sym_quoted_identifier] = ACTIONS(324),
    [sym_number] = ACTIONS(330),
    [anon_sym_SQUOTE] = ACTIONS(344),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(73)] = {
    [sym_comment] = STATE(73),
    [sym_bare_identifier] = ACTIONS(297),
    [anon_sym_COMMA] = ACTIONS(295),
    [anon_sym_STAR] = ACTIONS(295),
    [anon_sym_DOT] = ACTIONS(297),
    [anon_sym_EQ] = ACTIONS(295),
    [anon_sym_LT] = ACTIONS(295),
    [anon_sym_GT] = ACTIONS(295),
    [anon_sym_BANG] = ACTIONS(295),
    [anon_sym_PLUS] = ACTIONS(295),
    [anon_sym_DASH] = ACTIONS(297),
    [anon_sym_SLASH] = ACTIONS(297),
    [anon_sym_PERCENT] = ACTIONS(295),
    [anon_sym_PIPE] = ACTIONS(295),
    [anon_sym_AMP] = ACTIONS(295),
    [anon_sym_CARET] = ACTIONS(295),
    [anon_sym_TILDE] = ACTIONS(295),
    [anon_sym_COLON_COLON] = ACTIONS(295),
    [anon_sym_LPAREN] = ACTIONS(295),
    [anon_sym_RPAREN] = ACTIONS(295),
    [aux_sym_cast_expression_token1] = ACTIONS(297),
    [aux_sym_cast_expression_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token1] = ACTIONS(297),
    [aux_sym_sql_keyword_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token3] = ACTIONS(297),
    [aux_sym_sql_keyword_token4] = ACTIONS(297),
    [aux_sym_sql_keyword_token5] = ACTIONS(297),
    [aux_sym_sql_keyword_token6] = ACTIONS(297),
    [aux_sym_sql_keyword_token7] = ACTIONS(297),
    [aux_sym_sql_keyword_token8] = ACTIONS(297),
    [aux_sym_sql_keyword_token9] = ACTIONS(297),
    [aux_sym_sql_keyword_token10] = ACTIONS(297),
    [aux_sym_sql_keyword_token11] = ACTIONS(297),
    [aux_sym_sql_keyword_token12] = ACTIONS(297),
    [aux_sym_sql_keyword_token13] = ACTIONS(297),
    [aux_sym_sql_keyword_token14] = ACTIONS(297),
    [aux_sym_sql_keyword_token15] = ACTIONS(297),
    [aux_sym_sql_keyword_token16] = ACTIONS(297),
    [aux_sym_sql_keyword_token17] = ACTIONS(297),
    [aux_sym_sql_keyword_token18] = ACTIONS(297),
    [aux_sym_sql_keyword_token19] = ACTIONS(297),
    [aux_sym_sql_keyword_token20] = ACTIONS(297),
    [aux_sym_sql_keyword_token21] = ACTIONS(297),
    [aux_sym_sql_keyword_token22] = ACTIONS(297),
    [aux_sym_sql_keyword_token23] = ACTIONS(297),
    [aux_sym_sql_keyword_token24] = ACTIONS(297),
    [aux_sym_sql_keyword_token25] = ACTIONS(297),
    [aux_sym_sql_keyword_token26] = ACTIONS(297),
    [aux_sym_sql_keyword_token27] = ACTIONS(297),
    [aux_sym_sql_keyword_token28] = ACTIONS(297),
    [aux_sym_sql_keyword_token29] = ACTIONS(297),
    [aux_sym_sql_keyword_token30] = ACTIONS(297),
    [aux_sym_sql_keyword_token31] = ACTIONS(297),
    [aux_sym_sql_keyword_token32] = ACTIONS(297),
    [aux_sym_sql_keyword_token33] = ACTIONS(297),
    [aux_sym_sql_keyword_token34] = ACTIONS(297),
    [aux_sym_sql_keyword_token35] = ACTIONS(297),
    [aux_sym_sql_keyword_token36] = ACTIONS(297),
    [aux_sym_sql_keyword_token37] = ACTIONS(297),
    [aux_sym_sql_keyword_token38] = ACTIONS(297),
    [aux_sym_sql_keyword_token39] = ACTIONS(297),
    [aux_sym_sql_keyword_token40] = ACTIONS(347),
    [aux_sym_sql_keyword_token41] = ACTIONS(297),
    [aux_sym_sql_keyword_token42] = ACTIONS(297),
    [aux_sym_sql_keyword_token43] = ACTIONS(297),
    [aux_sym_sql_keyword_token44] = ACTIONS(297),
    [aux_sym_sql_keyword_token45] = ACTIONS(297),
    [aux_sym_sql_keyword_token46] = ACTIONS(297),
    [aux_sym_sql_keyword_token47] = ACTIONS(297),
    [aux_sym_sql_keyword_token48] = ACTIONS(297),
    [aux_sym_sql_keyword_token49] = ACTIONS(297),
    [aux_sym_sql_keyword_token50] = ACTIONS(297),
    [sym_quoted_identifier] = ACTIONS(295),
    [sym_number] = ACTIONS(295),
    [anon_sym_SQUOTE] = ACTIONS(295),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(74)] = {
    [sym_comment] = STATE(74),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(238),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(238),
    [anon_sym_LT] = ACTIONS(238),
    [anon_sym_GT] = ACTIONS(238),
    [anon_sym_BANG] = ACTIONS(238),
    [anon_sym_PLUS] = ACTIONS(238),
    [anon_sym_DASH] = ACTIONS(240),
    [anon_sym_SLASH] = ACTIONS(240),
    [anon_sym_PERCENT] = ACTIONS(238),
    [anon_sym_PIPE] = ACTIONS(238),
    [anon_sym_AMP] = ACTIONS(238),
    [anon_sym_CARET] = ACTIONS(238),
    [anon_sym_TILDE] = ACTIONS(238),
    [anon_sym_COLON_COLON] = ACTIONS(238),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_cast_expression_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_quoted_identifier] = ACTIONS(238),
    [sym_number] = ACTIONS(238),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(75)] = {
    [sym_comment] = STATE(75),
    [sym_bare_identifier] = ACTIONS(307),
    [anon_sym_COMMA] = ACTIONS(305),
    [anon_sym_STAR] = ACTIONS(305),
    [anon_sym_DOT] = ACTIONS(307),
    [anon_sym_EQ] = ACTIONS(305),
    [anon_sym_LT] = ACTIONS(305),
    [anon_sym_GT] = ACTIONS(305),
    [anon_sym_BANG] = ACTIONS(305),
    [anon_sym_PLUS] = ACTIONS(305),
    [anon_sym_DASH] = ACTIONS(307),
    [anon_sym_SLASH] = ACTIONS(307),
    [anon_sym_PERCENT] = ACTIONS(305),
    [anon_sym_PIPE] = ACTIONS(305),
    [anon_sym_AMP] = ACTIONS(305),
    [anon_sym_CARET] = ACTIONS(305),
    [anon_sym_TILDE] = ACTIONS(305),
    [anon_sym_COLON_COLON] = ACTIONS(305),
    [anon_sym_LPAREN] = ACTIONS(305),
    [anon_sym_RPAREN] = ACTIONS(305),
    [aux_sym_cast_expression_token1] = ACTIONS(307),
    [aux_sym_cast_expression_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token1] = ACTIONS(307),
    [aux_sym_sql_keyword_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token3] = ACTIONS(307),
    [aux_sym_sql_keyword_token4] = ACTIONS(307),
    [aux_sym_sql_keyword_token5] = ACTIONS(307),
    [aux_sym_sql_keyword_token6] = ACTIONS(307),
    [aux_sym_sql_keyword_token7] = ACTIONS(307),
    [aux_sym_sql_keyword_token8] = ACTIONS(307),
    [aux_sym_sql_keyword_token9] = ACTIONS(307),
    [aux_sym_sql_keyword_token10] = ACTIONS(307),
    [aux_sym_sql_keyword_token11] = ACTIONS(307),
    [aux_sym_sql_keyword_token12] = ACTIONS(307),
    [aux_sym_sql_keyword_token13] = ACTIONS(307),
    [aux_sym_sql_keyword_token14] = ACTIONS(307),
    [aux_sym_sql_keyword_token15] = ACTIONS(307),
    [aux_sym_sql_keyword_token16] = ACTIONS(307),
    [aux_sym_sql_keyword_token17] = ACTIONS(307),
    [aux_sym_sql_keyword_token18] = ACTIONS(307),
    [aux_sym_sql_keyword_token19] = ACTIONS(307),
    [aux_sym_sql_keyword_token20] = ACTIONS(307),
    [aux_sym_sql_keyword_token21] = ACTIONS(307),
    [aux_sym_sql_keyword_token22] = ACTIONS(307),
    [aux_sym_sql_keyword_token23] = ACTIONS(307),
    [aux_sym_sql_keyword_token24] = ACTIONS(307),
    [aux_sym_sql_keyword_token25] = ACTIONS(307),
    [aux_sym_sql_keyword_token26] = ACTIONS(307),
    [aux_sym_sql_keyword_token27] = ACTIONS(307),
    [aux_sym_sql_keyword_token28] = ACTIONS(307),
    [aux_sym_sql_keyword_token29] = ACTIONS(307),
    [aux_sym_sql_keyword_token30] = ACTIONS(307),
    [aux_sym_sql_keyword_token31] = ACTIONS(307),
    [aux_sym_sql_keyword_token32] = ACTIONS(307),
    [aux_sym_sql_keyword_token33] = ACTIONS(307),
    [aux_sym_sql_keyword_token34] = ACTIONS(307),
    [aux_sym_sql_keyword_token35] = ACTIONS(307),
    [aux_sym_sql_keyword_token36] = ACTIONS(307),
    [aux_sym_sql_keyword_token37] = ACTIONS(307),
    [aux_sym_sql_keyword_token38] = ACTIONS(307),
    [aux_sym_sql_keyword_token39] = ACTIONS(307),
    [aux_sym_sql_keyword_token40] = ACTIONS(307),
    [aux_sym_sql_keyword_token41] = ACTIONS(307),
    [aux_sym_sql_keyword_token42] = ACTIONS(307),
    [aux_sym_sql_keyword_token43] = ACTIONS(307),
    [aux_sym_sql_keyword_token44] = ACTIONS(307),
    [aux_sym_sql_keyword_token45] = ACTIONS(307),
    [aux_sym_sql_keyword_token46] = ACTIONS(307),
    [aux_sym_sql_keyword_token47] = ACTIONS(307),
    [aux_sym_sql_keyword_token48] = ACTIONS(307),
    [aux_sym_sql_keyword_token49] = ACTIONS(307),
    [aux_sym_sql_keyword_token50] = ACTIONS(307),
    [sym_quoted_identifier] = ACTIONS(305),
    [sym_number] = ACTIONS(305),
    [anon_sym_SQUOTE] = ACTIONS(305),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(76)] = {
    [sym_comment] = STATE(76),
    [sym_bare_identifier] = ACTIONS(248),
    [anon_sym_COMMA] = ACTIONS(246),
    [anon_sym_STAR] = ACTIONS(246),
    [anon_sym_DOT] = ACTIONS(248),
    [anon_sym_EQ] = ACTIONS(246),
    [anon_sym_LT] = ACTIONS(246),
    [anon_sym_GT] = ACTIONS(246),
    [anon_sym_BANG] = ACTIONS(246),
    [anon_sym_PLUS] = ACTIONS(246),
    [anon_sym_DASH] = ACTIONS(248),
    [anon_sym_SLASH] = ACTIONS(248),
    [anon_sym_PERCENT] = ACTIONS(246),
    [anon_sym_PIPE] = ACTIONS(246),
    [anon_sym_AMP] = ACTIONS(246),
    [anon_sym_CARET] = ACTIONS(246),
    [anon_sym_TILDE] = ACTIONS(246),
    [anon_sym_COLON_COLON] = ACTIONS(246),
    [anon_sym_LPAREN] = ACTIONS(246),
    [anon_sym_RPAREN] = ACTIONS(246),
    [aux_sym_cast_expression_token1] = ACTIONS(248),
    [aux_sym_cast_expression_token2] = ACTIONS(248),
    [aux_sym_sql_keyword_token1] = ACTIONS(248),
    [aux_sym_sql_keyword_token2] = ACTIONS(248),
    [aux_sym_sql_keyword_token3] = ACTIONS(248),
    [aux_sym_sql_keyword_token4] = ACTIONS(248),
    [aux_sym_sql_keyword_token5] = ACTIONS(248),
    [aux_sym_sql_keyword_token6] = ACTIONS(248),
    [aux_sym_sql_keyword_token7] = ACTIONS(248),
    [aux_sym_sql_keyword_token8] = ACTIONS(248),
    [aux_sym_sql_keyword_token9] = ACTIONS(248),
    [aux_sym_sql_keyword_token10] = ACTIONS(248),
    [aux_sym_sql_keyword_token11] = ACTIONS(248),
    [aux_sym_sql_keyword_token12] = ACTIONS(248),
    [aux_sym_sql_keyword_token13] = ACTIONS(248),
    [aux_sym_sql_keyword_token14] = ACTIONS(248),
    [aux_sym_sql_keyword_token15] = ACTIONS(248),
    [aux_sym_sql_keyword_token16] = ACTIONS(248),
    [aux_sym_sql_keyword_token17] = ACTIONS(248),
    [aux_sym_sql_keyword_token18] = ACTIONS(248),
    [aux_sym_sql_keyword_token19] = ACTIONS(248),
    [aux_sym_sql_keyword_token20] = ACTIONS(248),
    [aux_sym_sql_keyword_token21] = ACTIONS(248),
    [aux_sym_sql_keyword_token22] = ACTIONS(248),
    [aux_sym_sql_keyword_token23] = ACTIONS(248),
    [aux_sym_sql_keyword_token24] = ACTIONS(248),
    [aux_sym_sql_keyword_token25] = ACTIONS(248),
    [aux_sym_sql_keyword_token26] = ACTIONS(248),
    [aux_sym_sql_keyword_token27] = ACTIONS(248),
    [aux_sym_sql_keyword_token28] = ACTIONS(248),
    [aux_sym_sql_keyword_token29] = ACTIONS(248),
    [aux_sym_sql_keyword_token30] = ACTIONS(248),
    [aux_sym_sql_keyword_token31] = ACTIONS(248),
    [aux_sym_sql_keyword_token32] = ACTIONS(248),
    [aux_sym_sql_keyword_token33] = ACTIONS(248),
    [aux_sym_sql_keyword_token34] = ACTIONS(248),
    [aux_sym_sql_keyword_token35] = ACTIONS(248),
    [aux_sym_sql_keyword_token36] = ACTIONS(248),
    [aux_sym_sql_keyword_token37] = ACTIONS(248),
    [aux_sym_sql_keyword_token38] = ACTIONS(248),
    [aux_sym_sql_keyword_token39] = ACTIONS(248),
    [aux_sym_sql_keyword_token40] = ACTIONS(248),
    [aux_sym_sql_keyword_token41] = ACTIONS(248),
    [aux_sym_sql_keyword_token42] = ACTIONS(248),
    [aux_sym_sql_keyword_token43] = ACTIONS(248),
    [aux_sym_sql_keyword_token44] = ACTIONS(248),
    [aux_sym_sql_keyword_token45] = ACTIONS(248),
    [aux_sym_sql_keyword_token46] = ACTIONS(248),
    [aux_sym_sql_keyword_token47] = ACTIONS(248),
    [aux_sym_sql_keyword_token48] = ACTIONS(248),
    [aux_sym_sql_keyword_token49] = ACTIONS(248),
    [aux_sym_sql_keyword_token50] = ACTIONS(248),
    [sym_quoted_identifier] = ACTIONS(246),
    [sym_number] = ACTIONS(246),
    [anon_sym_SQUOTE] = ACTIONS(246),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(77)] = {
    [sym_comment] = STATE(77),
    [sym_bare_identifier] = ACTIONS(252),
    [anon_sym_COMMA] = ACTIONS(250),
    [anon_sym_STAR] = ACTIONS(250),
    [anon_sym_DOT] = ACTIONS(252),
    [anon_sym_EQ] = ACTIONS(250),
    [anon_sym_LT] = ACTIONS(250),
    [anon_sym_GT] = ACTIONS(250),
    [anon_sym_BANG] = ACTIONS(250),
    [anon_sym_PLUS] = ACTIONS(250),
    [anon_sym_DASH] = ACTIONS(252),
    [anon_sym_SLASH] = ACTIONS(252),
    [anon_sym_PERCENT] = ACTIONS(250),
    [anon_sym_PIPE] = ACTIONS(250),
    [anon_sym_AMP] = ACTIONS(250),
    [anon_sym_CARET] = ACTIONS(250),
    [anon_sym_TILDE] = ACTIONS(250),
    [anon_sym_COLON_COLON] = ACTIONS(250),
    [anon_sym_LPAREN] = ACTIONS(250),
    [anon_sym_RPAREN] = ACTIONS(250),
    [aux_sym_cast_expression_token1] = ACTIONS(252),
    [aux_sym_cast_expression_token2] = ACTIONS(252),
    [aux_sym_sql_keyword_token1] = ACTIONS(252),
    [aux_sym_sql_keyword_token2] = ACTIONS(252),
    [aux_sym_sql_keyword_token3] = ACTIONS(252),
    [aux_sym_sql_keyword_token4] = ACTIONS(252),
    [aux_sym_sql_keyword_token5] = ACTIONS(252),
    [aux_sym_sql_keyword_token6] = ACTIONS(252),
    [aux_sym_sql_keyword_token7] = ACTIONS(252),
    [aux_sym_sql_keyword_token8] = ACTIONS(252),
    [aux_sym_sql_keyword_token9] = ACTIONS(252),
    [aux_sym_sql_keyword_token10] = ACTIONS(252),
    [aux_sym_sql_keyword_token11] = ACTIONS(252),
    [aux_sym_sql_keyword_token12] = ACTIONS(252),
    [aux_sym_sql_keyword_token13] = ACTIONS(252),
    [aux_sym_sql_keyword_token14] = ACTIONS(252),
    [aux_sym_sql_keyword_token15] = ACTIONS(252),
    [aux_sym_sql_keyword_token16] = ACTIONS(252),
    [aux_sym_sql_keyword_token17] = ACTIONS(252),
    [aux_sym_sql_keyword_token18] = ACTIONS(252),
    [aux_sym_sql_keyword_token19] = ACTIONS(252),
    [aux_sym_sql_keyword_token20] = ACTIONS(252),
    [aux_sym_sql_keyword_token21] = ACTIONS(252),
    [aux_sym_sql_keyword_token22] = ACTIONS(252),
    [aux_sym_sql_keyword_token23] = ACTIONS(252),
    [aux_sym_sql_keyword_token24] = ACTIONS(252),
    [aux_sym_sql_keyword_token25] = ACTIONS(252),
    [aux_sym_sql_keyword_token26] = ACTIONS(252),
    [aux_sym_sql_keyword_token27] = ACTIONS(252),
    [aux_sym_sql_keyword_token28] = ACTIONS(252),
    [aux_sym_sql_keyword_token29] = ACTIONS(252),
    [aux_sym_sql_keyword_token30] = ACTIONS(252),
    [aux_sym_sql_keyword_token31] = ACTIONS(252),
    [aux_sym_sql_keyword_token32] = ACTIONS(252),
    [aux_sym_sql_keyword_token33] = ACTIONS(252),
    [aux_sym_sql_keyword_token34] = ACTIONS(252),
    [aux_sym_sql_keyword_token35] = ACTIONS(252),
    [aux_sym_sql_keyword_token36] = ACTIONS(252),
    [aux_sym_sql_keyword_token37] = ACTIONS(252),
    [aux_sym_sql_keyword_token38] = ACTIONS(252),
    [aux_sym_sql_keyword_token39] = ACTIONS(252),
    [aux_sym_sql_keyword_token40] = ACTIONS(252),
    [aux_sym_sql_keyword_token41] = ACTIONS(252),
    [aux_sym_sql_keyword_token42] = ACTIONS(252),
    [aux_sym_sql_keyword_token43] = ACTIONS(252),
    [aux_sym_sql_keyword_token44] = ACTIONS(252),
    [aux_sym_sql_keyword_token45] = ACTIONS(252),
    [aux_sym_sql_keyword_token46] = ACTIONS(252),
    [aux_sym_sql_keyword_token47] = ACTIONS(252),
    [aux_sym_sql_keyword_token48] = ACTIONS(252),
    [aux_sym_sql_keyword_token49] = ACTIONS(252),
    [aux_sym_sql_keyword_token50] = ACTIONS(252),
    [sym_quoted_identifier] = ACTIONS(250),
    [sym_number] = ACTIONS(250),
    [anon_sym_SQUOTE] = ACTIONS(250),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(78)] = {
    [sym_comment] = STATE(78),
    [sym_bare_identifier] = ACTIONS(307),
    [anon_sym_COMMA] = ACTIONS(305),
    [anon_sym_STAR] = ACTIONS(305),
    [anon_sym_DOT] = ACTIONS(307),
    [anon_sym_EQ] = ACTIONS(305),
    [anon_sym_LT] = ACTIONS(305),
    [anon_sym_GT] = ACTIONS(305),
    [anon_sym_BANG] = ACTIONS(305),
    [anon_sym_PLUS] = ACTIONS(305),
    [anon_sym_DASH] = ACTIONS(307),
    [anon_sym_SLASH] = ACTIONS(307),
    [anon_sym_PERCENT] = ACTIONS(305),
    [anon_sym_PIPE] = ACTIONS(305),
    [anon_sym_AMP] = ACTIONS(305),
    [anon_sym_CARET] = ACTIONS(305),
    [anon_sym_TILDE] = ACTIONS(305),
    [anon_sym_COLON_COLON] = ACTIONS(305),
    [anon_sym_LPAREN] = ACTIONS(349),
    [anon_sym_RPAREN] = ACTIONS(305),
    [aux_sym_cast_expression_token1] = ACTIONS(307),
    [aux_sym_cast_expression_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token1] = ACTIONS(307),
    [aux_sym_sql_keyword_token2] = ACTIONS(307),
    [aux_sym_sql_keyword_token3] = ACTIONS(307),
    [aux_sym_sql_keyword_token4] = ACTIONS(307),
    [aux_sym_sql_keyword_token5] = ACTIONS(307),
    [aux_sym_sql_keyword_token6] = ACTIONS(307),
    [aux_sym_sql_keyword_token7] = ACTIONS(307),
    [aux_sym_sql_keyword_token8] = ACTIONS(307),
    [aux_sym_sql_keyword_token9] = ACTIONS(307),
    [aux_sym_sql_keyword_token10] = ACTIONS(307),
    [aux_sym_sql_keyword_token11] = ACTIONS(307),
    [aux_sym_sql_keyword_token12] = ACTIONS(307),
    [aux_sym_sql_keyword_token13] = ACTIONS(307),
    [aux_sym_sql_keyword_token14] = ACTIONS(307),
    [aux_sym_sql_keyword_token15] = ACTIONS(307),
    [aux_sym_sql_keyword_token16] = ACTIONS(307),
    [aux_sym_sql_keyword_token17] = ACTIONS(307),
    [aux_sym_sql_keyword_token18] = ACTIONS(307),
    [aux_sym_sql_keyword_token19] = ACTIONS(307),
    [aux_sym_sql_keyword_token20] = ACTIONS(307),
    [aux_sym_sql_keyword_token21] = ACTIONS(307),
    [aux_sym_sql_keyword_token22] = ACTIONS(307),
    [aux_sym_sql_keyword_token23] = ACTIONS(307),
    [aux_sym_sql_keyword_token24] = ACTIONS(307),
    [aux_sym_sql_keyword_token25] = ACTIONS(307),
    [aux_sym_sql_keyword_token26] = ACTIONS(307),
    [aux_sym_sql_keyword_token27] = ACTIONS(307),
    [aux_sym_sql_keyword_token28] = ACTIONS(307),
    [aux_sym_sql_keyword_token29] = ACTIONS(307),
    [aux_sym_sql_keyword_token30] = ACTIONS(307),
    [aux_sym_sql_keyword_token31] = ACTIONS(307),
    [aux_sym_sql_keyword_token32] = ACTIONS(307),
    [aux_sym_sql_keyword_token33] = ACTIONS(307),
    [aux_sym_sql_keyword_token34] = ACTIONS(307),
    [aux_sym_sql_keyword_token35] = ACTIONS(307),
    [aux_sym_sql_keyword_token36] = ACTIONS(307),
    [aux_sym_sql_keyword_token37] = ACTIONS(307),
    [aux_sym_sql_keyword_token38] = ACTIONS(307),
    [aux_sym_sql_keyword_token39] = ACTIONS(307),
    [aux_sym_sql_keyword_token40] = ACTIONS(307),
    [aux_sym_sql_keyword_token41] = ACTIONS(307),
    [aux_sym_sql_keyword_token42] = ACTIONS(307),
    [aux_sym_sql_keyword_token43] = ACTIONS(307),
    [aux_sym_sql_keyword_token44] = ACTIONS(307),
    [aux_sym_sql_keyword_token45] = ACTIONS(307),
    [aux_sym_sql_keyword_token46] = ACTIONS(307),
    [aux_sym_sql_keyword_token47] = ACTIONS(307),
    [aux_sym_sql_keyword_token48] = ACTIONS(307),
    [aux_sym_sql_keyword_token49] = ACTIONS(307),
    [aux_sym_sql_keyword_token50] = ACTIONS(307),
    [sym_quoted_identifier] = ACTIONS(305),
    [sym_number] = ACTIONS(305),
    [anon_sym_SQUOTE] = ACTIONS(305),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(79)] = {
    [sym_comment] = STATE(79),
    [sym_bare_identifier] = ACTIONS(303),
    [anon_sym_COMMA] = ACTIONS(301),
    [anon_sym_STAR] = ACTIONS(301),
    [anon_sym_DOT] = ACTIONS(303),
    [anon_sym_EQ] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(301),
    [anon_sym_GT] = ACTIONS(301),
    [anon_sym_BANG] = ACTIONS(301),
    [anon_sym_PLUS] = ACTIONS(301),
    [anon_sym_DASH] = ACTIONS(303),
    [anon_sym_SLASH] = ACTIONS(303),
    [anon_sym_PERCENT] = ACTIONS(301),
    [anon_sym_PIPE] = ACTIONS(301),
    [anon_sym_AMP] = ACTIONS(301),
    [anon_sym_CARET] = ACTIONS(301),
    [anon_sym_TILDE] = ACTIONS(301),
    [anon_sym_COLON_COLON] = ACTIONS(301),
    [anon_sym_LPAREN] = ACTIONS(301),
    [anon_sym_RPAREN] = ACTIONS(301),
    [aux_sym_cast_expression_token1] = ACTIONS(303),
    [aux_sym_cast_expression_token2] = ACTIONS(303),
    [aux_sym_sql_keyword_token1] = ACTIONS(303),
    [aux_sym_sql_keyword_token2] = ACTIONS(303),
    [aux_sym_sql_keyword_token3] = ACTIONS(303),
    [aux_sym_sql_keyword_token4] = ACTIONS(303),
    [aux_sym_sql_keyword_token5] = ACTIONS(303),
    [aux_sym_sql_keyword_token6] = ACTIONS(303),
    [aux_sym_sql_keyword_token7] = ACTIONS(303),
    [aux_sym_sql_keyword_token8] = ACTIONS(303),
    [aux_sym_sql_keyword_token9] = ACTIONS(303),
    [aux_sym_sql_keyword_token10] = ACTIONS(303),
    [aux_sym_sql_keyword_token11] = ACTIONS(303),
    [aux_sym_sql_keyword_token12] = ACTIONS(303),
    [aux_sym_sql_keyword_token13] = ACTIONS(303),
    [aux_sym_sql_keyword_token14] = ACTIONS(303),
    [aux_sym_sql_keyword_token15] = ACTIONS(303),
    [aux_sym_sql_keyword_token16] = ACTIONS(303),
    [aux_sym_sql_keyword_token17] = ACTIONS(303),
    [aux_sym_sql_keyword_token18] = ACTIONS(303),
    [aux_sym_sql_keyword_token19] = ACTIONS(303),
    [aux_sym_sql_keyword_token20] = ACTIONS(303),
    [aux_sym_sql_keyword_token21] = ACTIONS(303),
    [aux_sym_sql_keyword_token22] = ACTIONS(303),
    [aux_sym_sql_keyword_token23] = ACTIONS(303),
    [aux_sym_sql_keyword_token24] = ACTIONS(303),
    [aux_sym_sql_keyword_token25] = ACTIONS(303),
    [aux_sym_sql_keyword_token26] = ACTIONS(303),
    [aux_sym_sql_keyword_token27] = ACTIONS(303),
    [aux_sym_sql_keyword_token28] = ACTIONS(303),
    [aux_sym_sql_keyword_token29] = ACTIONS(303),
    [aux_sym_sql_keyword_token30] = ACTIONS(303),
    [aux_sym_sql_keyword_token31] = ACTIONS(303),
    [aux_sym_sql_keyword_token32] = ACTIONS(303),
    [aux_sym_sql_keyword_token33] = ACTIONS(303),
    [aux_sym_sql_keyword_token34] = ACTIONS(303),
    [aux_sym_sql_keyword_token35] = ACTIONS(303),
    [aux_sym_sql_keyword_token36] = ACTIONS(303),
    [aux_sym_sql_keyword_token37] = ACTIONS(303),
    [aux_sym_sql_keyword_token38] = ACTIONS(303),
    [aux_sym_sql_keyword_token39] = ACTIONS(303),
    [aux_sym_sql_keyword_token40] = ACTIONS(303),
    [aux_sym_sql_keyword_token41] = ACTIONS(303),
    [aux_sym_sql_keyword_token42] = ACTIONS(303),
    [aux_sym_sql_keyword_token43] = ACTIONS(303),
    [aux_sym_sql_keyword_token44] = ACTIONS(303),
    [aux_sym_sql_keyword_token45] = ACTIONS(303),
    [aux_sym_sql_keyword_token46] = ACTIONS(303),
    [aux_sym_sql_keyword_token47] = ACTIONS(303),
    [aux_sym_sql_keyword_token48] = ACTIONS(303),
    [aux_sym_sql_keyword_token49] = ACTIONS(303),
    [aux_sym_sql_keyword_token50] = ACTIONS(303),
    [sym_quoted_identifier] = ACTIONS(301),
    [sym_number] = ACTIONS(301),
    [anon_sym_SQUOTE] = ACTIONS(301),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(80)] = {
    [sym_comment] = STATE(80),
    [sym_bare_identifier] = ACTIONS(284),
    [anon_sym_COMMA] = ACTIONS(282),
    [anon_sym_STAR] = ACTIONS(282),
    [anon_sym_DOT] = ACTIONS(284),
    [anon_sym_EQ] = ACTIONS(282),
    [anon_sym_LT] = ACTIONS(282),
    [anon_sym_GT] = ACTIONS(282),
    [anon_sym_BANG] = ACTIONS(282),
    [anon_sym_PLUS] = ACTIONS(282),
    [anon_sym_DASH] = ACTIONS(284),
    [anon_sym_SLASH] = ACTIONS(284),
    [anon_sym_PERCENT] = ACTIONS(282),
    [anon_sym_PIPE] = ACTIONS(282),
    [anon_sym_AMP] = ACTIONS(282),
    [anon_sym_CARET] = ACTIONS(282),
    [anon_sym_TILDE] = ACTIONS(282),
    [anon_sym_COLON_COLON] = ACTIONS(282),
    [anon_sym_LPAREN] = ACTIONS(282),
    [anon_sym_RPAREN] = ACTIONS(282),
    [aux_sym_cast_expression_token1] = ACTIONS(284),
    [aux_sym_cast_expression_token2] = ACTIONS(284),
    [aux_sym_sql_keyword_token1] = ACTIONS(284),
    [aux_sym_sql_keyword_token2] = ACTIONS(284),
    [aux_sym_sql_keyword_token3] = ACTIONS(284),
    [aux_sym_sql_keyword_token4] = ACTIONS(284),
    [aux_sym_sql_keyword_token5] = ACTIONS(284),
    [aux_sym_sql_keyword_token6] = ACTIONS(284),
    [aux_sym_sql_keyword_token7] = ACTIONS(284),
    [aux_sym_sql_keyword_token8] = ACTIONS(284),
    [aux_sym_sql_keyword_token9] = ACTIONS(284),
    [aux_sym_sql_keyword_token10] = ACTIONS(284),
    [aux_sym_sql_keyword_token11] = ACTIONS(284),
    [aux_sym_sql_keyword_token12] = ACTIONS(284),
    [aux_sym_sql_keyword_token13] = ACTIONS(284),
    [aux_sym_sql_keyword_token14] = ACTIONS(284),
    [aux_sym_sql_keyword_token15] = ACTIONS(284),
    [aux_sym_sql_keyword_token16] = ACTIONS(284),
    [aux_sym_sql_keyword_token17] = ACTIONS(284),
    [aux_sym_sql_keyword_token18] = ACTIONS(284),
    [aux_sym_sql_keyword_token19] = ACTIONS(284),
    [aux_sym_sql_keyword_token20] = ACTIONS(284),
    [aux_sym_sql_keyword_token21] = ACTIONS(284),
    [aux_sym_sql_keyword_token22] = ACTIONS(284),
    [aux_sym_sql_keyword_token23] = ACTIONS(284),
    [aux_sym_sql_keyword_token24] = ACTIONS(284),
    [aux_sym_sql_keyword_token25] = ACTIONS(284),
    [aux_sym_sql_keyword_token26] = ACTIONS(284),
    [aux_sym_sql_keyword_token27] = ACTIONS(284),
    [aux_sym_sql_keyword_token28] = ACTIONS(284),
    [aux_sym_sql_keyword_token29] = ACTIONS(284),
    [aux_sym_sql_keyword_token30] = ACTIONS(284),
    [aux_sym_sql_keyword_token31] = ACTIONS(284),
    [aux_sym_sql_keyword_token32] = ACTIONS(284),
    [aux_sym_sql_keyword_token33] = ACTIONS(284),
    [aux_sym_sql_keyword_token34] = ACTIONS(284),
    [aux_sym_sql_keyword_token35] = ACTIONS(284),
    [aux_sym_sql_keyword_token36] = ACTIONS(284),
    [aux_sym_sql_keyword_token37] = ACTIONS(284),
    [aux_sym_sql_keyword_token38] = ACTIONS(284),
    [aux_sym_sql_keyword_token39] = ACTIONS(284),
    [aux_sym_sql_keyword_token40] = ACTIONS(284),
    [aux_sym_sql_keyword_token41] = ACTIONS(284),
    [aux_sym_sql_keyword_token42] = ACTIONS(284),
    [aux_sym_sql_keyword_token43] = ACTIONS(284),
    [aux_sym_sql_keyword_token44] = ACTIONS(284),
    [aux_sym_sql_keyword_token45] = ACTIONS(284),
    [aux_sym_sql_keyword_token46] = ACTIONS(284),
    [aux_sym_sql_keyword_token47] = ACTIONS(284),
    [aux_sym_sql_keyword_token48] = ACTIONS(284),
    [aux_sym_sql_keyword_token49] = ACTIONS(284),
    [aux_sym_sql_keyword_token50] = ACTIONS(284),
    [sym_quoted_identifier] = ACTIONS(282),
    [sym_number] = ACTIONS(282),
    [anon_sym_SQUOTE] = ACTIONS(282),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(81)] = {
    [sym_comment] = STATE(81),
    [sym_bare_identifier] = ACTIONS(233),
    [anon_sym_COMMA] = ACTIONS(231),
    [anon_sym_STAR] = ACTIONS(231),
    [anon_sym_DOT] = ACTIONS(233),
    [anon_sym_EQ] = ACTIONS(231),
    [anon_sym_LT] = ACTIONS(231),
    [anon_sym_GT] = ACTIONS(231),
    [anon_sym_BANG] = ACTIONS(231),
    [anon_sym_PLUS] = ACTIONS(231),
    [anon_sym_DASH] = ACTIONS(233),
    [anon_sym_SLASH] = ACTIONS(233),
    [anon_sym_PERCENT] = ACTIONS(231),
    [anon_sym_PIPE] = ACTIONS(231),
    [anon_sym_AMP] = ACTIONS(231),
    [anon_sym_CARET] = ACTIONS(231),
    [anon_sym_TILDE] = ACTIONS(231),
    [anon_sym_COLON_COLON] = ACTIONS(231),
    [anon_sym_LPAREN] = ACTIONS(231),
    [anon_sym_RPAREN] = ACTIONS(231),
    [aux_sym_cast_expression_token1] = ACTIONS(233),
    [aux_sym_cast_expression_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token1] = ACTIONS(233),
    [aux_sym_sql_keyword_token2] = ACTIONS(233),
    [aux_sym_sql_keyword_token3] = ACTIONS(233),
    [aux_sym_sql_keyword_token4] = ACTIONS(233),
    [aux_sym_sql_keyword_token5] = ACTIONS(233),
    [aux_sym_sql_keyword_token6] = ACTIONS(233),
    [aux_sym_sql_keyword_token7] = ACTIONS(233),
    [aux_sym_sql_keyword_token8] = ACTIONS(233),
    [aux_sym_sql_keyword_token9] = ACTIONS(233),
    [aux_sym_sql_keyword_token10] = ACTIONS(233),
    [aux_sym_sql_keyword_token11] = ACTIONS(233),
    [aux_sym_sql_keyword_token12] = ACTIONS(233),
    [aux_sym_sql_keyword_token13] = ACTIONS(233),
    [aux_sym_sql_keyword_token14] = ACTIONS(233),
    [aux_sym_sql_keyword_token15] = ACTIONS(233),
    [aux_sym_sql_keyword_token16] = ACTIONS(233),
    [aux_sym_sql_keyword_token17] = ACTIONS(233),
    [aux_sym_sql_keyword_token18] = ACTIONS(233),
    [aux_sym_sql_keyword_token19] = ACTIONS(233),
    [aux_sym_sql_keyword_token20] = ACTIONS(233),
    [aux_sym_sql_keyword_token21] = ACTIONS(233),
    [aux_sym_sql_keyword_token22] = ACTIONS(233),
    [aux_sym_sql_keyword_token23] = ACTIONS(233),
    [aux_sym_sql_keyword_token24] = ACTIONS(233),
    [aux_sym_sql_keyword_token25] = ACTIONS(233),
    [aux_sym_sql_keyword_token26] = ACTIONS(233),
    [aux_sym_sql_keyword_token27] = ACTIONS(233),
    [aux_sym_sql_keyword_token28] = ACTIONS(233),
    [aux_sym_sql_keyword_token29] = ACTIONS(233),
    [aux_sym_sql_keyword_token30] = ACTIONS(233),
    [aux_sym_sql_keyword_token31] = ACTIONS(233),
    [aux_sym_sql_keyword_token32] = ACTIONS(233),
    [aux_sym_sql_keyword_token33] = ACTIONS(233),
    [aux_sym_sql_keyword_token34] = ACTIONS(233),
    [aux_sym_sql_keyword_token35] = ACTIONS(233),
    [aux_sym_sql_keyword_token36] = ACTIONS(233),
    [aux_sym_sql_keyword_token37] = ACTIONS(233),
    [aux_sym_sql_keyword_token38] = ACTIONS(233),
    [aux_sym_sql_keyword_token39] = ACTIONS(233),
    [aux_sym_sql_keyword_token40] = ACTIONS(233),
    [aux_sym_sql_keyword_token41] = ACTIONS(233),
    [aux_sym_sql_keyword_token42] = ACTIONS(233),
    [aux_sym_sql_keyword_token43] = ACTIONS(233),
    [aux_sym_sql_keyword_token44] = ACTIONS(233),
    [aux_sym_sql_keyword_token45] = ACTIONS(233),
    [aux_sym_sql_keyword_token46] = ACTIONS(233),
    [aux_sym_sql_keyword_token47] = ACTIONS(233),
    [aux_sym_sql_keyword_token48] = ACTIONS(233),
    [aux_sym_sql_keyword_token49] = ACTIONS(233),
    [aux_sym_sql_keyword_token50] = ACTIONS(233),
    [sym_quoted_identifier] = ACTIONS(231),
    [sym_number] = ACTIONS(231),
    [anon_sym_SQUOTE] = ACTIONS(231),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(82)] = {
    [sym_comment] = STATE(82),
    [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_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_sql_keyword_token40] = ACTIONS(351),
    [aux_sym_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_sql_keyword_token50] = 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(83)] = {
    [sym_comment] = STATE(83),
    [sym_bare_identifier] = ACTIONS(256),
    [anon_sym_COMMA] = ACTIONS(254),
    [anon_sym_STAR] = ACTIONS(254),
    [anon_sym_DOT] = ACTIONS(256),
    [anon_sym_EQ] = ACTIONS(254),
    [anon_sym_LT] = ACTIONS(254),
    [anon_sym_GT] = ACTIONS(254),
    [anon_sym_BANG] = ACTIONS(254),
    [anon_sym_PLUS] = ACTIONS(254),
    [anon_sym_DASH] = ACTIONS(256),
    [anon_sym_SLASH] = ACTIONS(256),
    [anon_sym_PERCENT] = ACTIONS(254),
    [anon_sym_PIPE] = ACTIONS(254),
    [anon_sym_AMP] = ACTIONS(254),
    [anon_sym_CARET] = ACTIONS(254),
    [anon_sym_TILDE] = ACTIONS(254),
    [anon_sym_COLON_COLON] = ACTIONS(254),
    [anon_sym_LPAREN] = ACTIONS(254),
    [anon_sym_RPAREN] = ACTIONS(254),
    [aux_sym_cast_expression_token1] = ACTIONS(256),
    [aux_sym_cast_expression_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token1] = ACTIONS(256),
    [aux_sym_sql_keyword_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token3] = ACTIONS(256),
    [aux_sym_sql_keyword_token4] = ACTIONS(256),
    [aux_sym_sql_keyword_token5] = ACTIONS(256),
    [aux_sym_sql_keyword_token6] = ACTIONS(256),
    [aux_sym_sql_keyword_token7] = ACTIONS(256),
    [aux_sym_sql_keyword_token8] = ACTIONS(256),
    [aux_sym_sql_keyword_token9] = ACTIONS(256),
    [aux_sym_sql_keyword_token10] = ACTIONS(256),
    [aux_sym_sql_keyword_token11] = ACTIONS(256),
    [aux_sym_sql_keyword_token12] = ACTIONS(256),
    [aux_sym_sql_keyword_token13] = ACTIONS(256),
    [aux_sym_sql_keyword_token14] = ACTIONS(256),
    [aux_sym_sql_keyword_token15] = ACTIONS(256),
    [aux_sym_sql_keyword_token16] = ACTIONS(256),
    [aux_sym_sql_keyword_token17] = ACTIONS(256),
    [aux_sym_sql_keyword_token18] = ACTIONS(256),
    [aux_sym_sql_keyword_token19] = ACTIONS(256),
    [aux_sym_sql_keyword_token20] = ACTIONS(256),
    [aux_sym_sql_keyword_token21] = ACTIONS(256),
    [aux_sym_sql_keyword_token22] = ACTIONS(256),
    [aux_sym_sql_keyword_token23] = ACTIONS(256),
    [aux_sym_sql_keyword_token24] = ACTIONS(256),
    [aux_sym_sql_keyword_token25] = ACTIONS(256),
    [aux_sym_sql_keyword_token26] = ACTIONS(256),
    [aux_sym_sql_keyword_token27] = ACTIONS(256),
    [aux_sym_sql_keyword_token28] = ACTIONS(256),
    [aux_sym_sql_keyword_token29] = ACTIONS(256),
    [aux_sym_sql_keyword_token30] = ACTIONS(256),
    [aux_sym_sql_keyword_token31] = ACTIONS(256),
    [aux_sym_sql_keyword_token32] = ACTIONS(256),
    [aux_sym_sql_keyword_token33] = ACTIONS(256),
    [aux_sym_sql_keyword_token34] = ACTIONS(256),
    [aux_sym_sql_keyword_token35] = ACTIONS(256),
    [aux_sym_sql_keyword_token36] = ACTIONS(256),
    [aux_sym_sql_keyword_token37] = ACTIONS(256),
    [aux_sym_sql_keyword_token38] = ACTIONS(256),
    [aux_sym_sql_keyword_token39] = ACTIONS(256),
    [aux_sym_sql_keyword_token40] = ACTIONS(256),
    [aux_sym_sql_keyword_token41] = ACTIONS(256),
    [aux_sym_sql_keyword_token42] = ACTIONS(256),
    [aux_sym_sql_keyword_token43] = ACTIONS(256),
    [aux_sym_sql_keyword_token44] = ACTIONS(256),
    [aux_sym_sql_keyword_token45] = ACTIONS(256),
    [aux_sym_sql_keyword_token46] = ACTIONS(256),
    [aux_sym_sql_keyword_token47] = ACTIONS(256),
    [aux_sym_sql_keyword_token48] = ACTIONS(256),
    [aux_sym_sql_keyword_token49] = ACTIONS(256),
    [aux_sym_sql_keyword_token50] = ACTIONS(256),
    [sym_quoted_identifier] = ACTIONS(254),
    [sym_number] = ACTIONS(254),
    [anon_sym_SQUOTE] = ACTIONS(254),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(84)] = {
    [sym_comment] = STATE(84),
    [sym_bare_identifier] = ACTIONS(260),
    [anon_sym_COMMA] = ACTIONS(258),
    [anon_sym_STAR] = ACTIONS(258),
    [anon_sym_DOT] = ACTIONS(260),
    [anon_sym_EQ] = ACTIONS(258),
    [anon_sym_LT] = ACTIONS(258),
    [anon_sym_GT] = ACTIONS(258),
    [anon_sym_BANG] = ACTIONS(258),
    [anon_sym_PLUS] = ACTIONS(258),
    [anon_sym_DASH] = ACTIONS(260),
    [anon_sym_SLASH] = ACTIONS(260),
    [anon_sym_PERCENT] = ACTIONS(258),
    [anon_sym_PIPE] = ACTIONS(258),
    [anon_sym_AMP] = ACTIONS(258),
    [anon_sym_CARET] = ACTIONS(258),
    [anon_sym_TILDE] = ACTIONS(258),
    [anon_sym_COLON_COLON] = ACTIONS(258),
    [anon_sym_LPAREN] = ACTIONS(258),
    [anon_sym_RPAREN] = ACTIONS(258),
    [aux_sym_cast_expression_token1] = ACTIONS(260),
    [aux_sym_cast_expression_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token1] = ACTIONS(260),
    [aux_sym_sql_keyword_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token3] = ACTIONS(260),
    [aux_sym_sql_keyword_token4] = ACTIONS(260),
    [aux_sym_sql_keyword_token5] = ACTIONS(260),
    [aux_sym_sql_keyword_token6] = ACTIONS(260),
    [aux_sym_sql_keyword_token7] = ACTIONS(260),
    [aux_sym_sql_keyword_token8] = ACTIONS(260),
    [aux_sym_sql_keyword_token9] = ACTIONS(260),
    [aux_sym_sql_keyword_token10] = ACTIONS(260),
    [aux_sym_sql_keyword_token11] = ACTIONS(260),
    [aux_sym_sql_keyword_token12] = ACTIONS(260),
    [aux_sym_sql_keyword_token13] = ACTIONS(260),
    [aux_sym_sql_keyword_token14] = ACTIONS(260),
    [aux_sym_sql_keyword_token15] = ACTIONS(260),
    [aux_sym_sql_keyword_token16] = ACTIONS(260),
    [aux_sym_sql_keyword_token17] = ACTIONS(260),
    [aux_sym_sql_keyword_token18] = ACTIONS(260),
    [aux_sym_sql_keyword_token19] = ACTIONS(260),
    [aux_sym_sql_keyword_token20] = ACTIONS(260),
    [aux_sym_sql_keyword_token21] = ACTIONS(260),
    [aux_sym_sql_keyword_token22] = ACTIONS(260),
    [aux_sym_sql_keyword_token23] = ACTIONS(260),
    [aux_sym_sql_keyword_token24] = ACTIONS(260),
    [aux_sym_sql_keyword_token25] = ACTIONS(260),
    [aux_sym_sql_keyword_token26] = ACTIONS(260),
    [aux_sym_sql_keyword_token27] = ACTIONS(260),
    [aux_sym_sql_keyword_token28] = ACTIONS(260),
    [aux_sym_sql_keyword_token29] = ACTIONS(260),
    [aux_sym_sql_keyword_token30] = ACTIONS(260),
    [aux_sym_sql_keyword_token31] = ACTIONS(260),
    [aux_sym_sql_keyword_token32] = ACTIONS(260),
    [aux_sym_sql_keyword_token33] = ACTIONS(260),
    [aux_sym_sql_keyword_token34] = ACTIONS(260),
    [aux_sym_sql_keyword_token35] = ACTIONS(260),
    [aux_sym_sql_keyword_token36] = ACTIONS(260),
    [aux_sym_sql_keyword_token37] = ACTIONS(260),
    [aux_sym_sql_keyword_token38] = ACTIONS(260),
    [aux_sym_sql_keyword_token39] = ACTIONS(260),
    [aux_sym_sql_keyword_token40] = ACTIONS(260),
    [aux_sym_sql_keyword_token41] = ACTIONS(260),
    [aux_sym_sql_keyword_token42] = ACTIONS(260),
    [aux_sym_sql_keyword_token43] = ACTIONS(260),
    [aux_sym_sql_keyword_token44] = ACTIONS(260),
    [aux_sym_sql_keyword_token45] = ACTIONS(260),
    [aux_sym_sql_keyword_token46] = ACTIONS(260),
    [aux_sym_sql_keyword_token47] = ACTIONS(260),
    [aux_sym_sql_keyword_token48] = ACTIONS(260),
    [aux_sym_sql_keyword_token49] = ACTIONS(260),
    [aux_sym_sql_keyword_token50] = ACTIONS(260),
    [sym_quoted_identifier] = ACTIONS(258),
    [sym_number] = ACTIONS(258),
    [anon_sym_SQUOTE] = ACTIONS(258),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(85)] = {
    [sym_comment] = STATE(85),
    [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_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_sql_keyword_token50] = 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(86)] = {
    [sym_comment] = STATE(86),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(266),
    [anon_sym_DOT] = ACTIONS(268),
    [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_cast_expression_token1] = ACTIONS(268),
    [aux_sym_cast_expression_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token1] = ACTIONS(268),
    [aux_sym_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_sql_keyword_token50] = 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(87)] = {
    [sym_comment] = STATE(87),
    [sym_bare_identifier] = ACTIONS(272),
    [anon_sym_COMMA] = ACTIONS(270),
    [anon_sym_STAR] = ACTIONS(270),
    [anon_sym_DOT] = ACTIONS(272),
    [anon_sym_EQ] = ACTIONS(270),
    [anon_sym_LT] = ACTIONS(270),
    [anon_sym_GT] = ACTIONS(270),
    [anon_sym_BANG] = ACTIONS(270),
    [anon_sym_PLUS] = ACTIONS(270),
    [anon_sym_DASH] = ACTIONS(272),
    [anon_sym_SLASH] = ACTIONS(272),
    [anon_sym_PERCENT] = ACTIONS(270),
    [anon_sym_PIPE] = ACTIONS(270),
    [anon_sym_AMP] = ACTIONS(270),
    [anon_sym_CARET] = ACTIONS(270),
    [anon_sym_TILDE] = ACTIONS(270),
    [anon_sym_COLON_COLON] = ACTIONS(270),
    [anon_sym_LPAREN] = ACTIONS(270),
    [anon_sym_RPAREN] = ACTIONS(270),
    [aux_sym_cast_expression_token1] = ACTIONS(272),
    [aux_sym_cast_expression_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token1] = ACTIONS(272),
    [aux_sym_sql_keyword_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token3] = ACTIONS(272),
    [aux_sym_sql_keyword_token4] = ACTIONS(272),
    [aux_sym_sql_keyword_token5] = ACTIONS(272),
    [aux_sym_sql_keyword_token6] = ACTIONS(272),
    [aux_sym_sql_keyword_token7] = ACTIONS(272),
    [aux_sym_sql_keyword_token8] = ACTIONS(272),
    [aux_sym_sql_keyword_token9] = ACTIONS(272),
    [aux_sym_sql_keyword_token10] = ACTIONS(272),
    [aux_sym_sql_keyword_token11] = ACTIONS(272),
    [aux_sym_sql_keyword_token12] = ACTIONS(272),
    [aux_sym_sql_keyword_token13] = ACTIONS(272),
    [aux_sym_sql_keyword_token14] = ACTIONS(272),
    [aux_sym_sql_keyword_token15] = ACTIONS(272),
    [aux_sym_sql_keyword_token16] = ACTIONS(272),
    [aux_sym_sql_keyword_token17] = ACTIONS(272),
    [aux_sym_sql_keyword_token18] = ACTIONS(272),
    [aux_sym_sql_keyword_token19] = ACTIONS(272),
    [aux_sym_sql_keyword_token20] = ACTIONS(272),
    [aux_sym_sql_keyword_token21] = ACTIONS(272),
    [aux_sym_sql_keyword_token22] = ACTIONS(272),
    [aux_sym_sql_keyword_token23] = ACTIONS(272),
    [aux_sym_sql_keyword_token24] = ACTIONS(272),
    [aux_sym_sql_keyword_token25] = ACTIONS(272),
    [aux_sym_sql_keyword_token26] = ACTIONS(272),
    [aux_sym_sql_keyword_token27] = ACTIONS(272),
    [aux_sym_sql_keyword_token28] = ACTIONS(272),
    [aux_sym_sql_keyword_token29] = ACTIONS(272),
    [aux_sym_sql_keyword_token30] = ACTIONS(272),
    [aux_sym_sql_keyword_token31] = ACTIONS(272),
    [aux_sym_sql_keyword_token32] = ACTIONS(272),
    [aux_sym_sql_keyword_token33] = ACTIONS(272),
    [aux_sym_sql_keyword_token34] = ACTIONS(272),
    [aux_sym_sql_keyword_token35] = ACTIONS(272),
    [aux_sym_sql_keyword_token36] = ACTIONS(272),
    [aux_sym_sql_keyword_token37] = ACTIONS(272),
    [aux_sym_sql_keyword_token38] = ACTIONS(272),
    [aux_sym_sql_keyword_token39] = ACTIONS(272),
    [aux_sym_sql_keyword_token40] = ACTIONS(272),
    [aux_sym_sql_keyword_token41] = ACTIONS(272),
    [aux_sym_sql_keyword_token42] = ACTIONS(272),
    [aux_sym_sql_keyword_token43] = ACTIONS(272),
    [aux_sym_sql_keyword_token44] = ACTIONS(272),
    [aux_sym_sql_keyword_token45] = ACTIONS(272),
    [aux_sym_sql_keyword_token46] = ACTIONS(272),
    [aux_sym_sql_keyword_token47] = ACTIONS(272),
    [aux_sym_sql_keyword_token48] = ACTIONS(272),
    [aux_sym_sql_keyword_token49] = ACTIONS(272),
    [aux_sym_sql_keyword_token50] = ACTIONS(272),
    [sym_quoted_identifier] = ACTIONS(270),
    [sym_number] = ACTIONS(270),
    [anon_sym_SQUOTE] = ACTIONS(270),
    [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(276),
    [anon_sym_COMMA] = ACTIONS(274),
    [anon_sym_STAR] = ACTIONS(274),
    [anon_sym_DOT] = ACTIONS(276),
    [anon_sym_EQ] = ACTIONS(274),
    [anon_sym_LT] = ACTIONS(274),
    [anon_sym_GT] = ACTIONS(274),
    [anon_sym_BANG] = ACTIONS(274),
    [anon_sym_PLUS] = ACTIONS(274),
    [anon_sym_DASH] = ACTIONS(276),
    [anon_sym_SLASH] = ACTIONS(276),
    [anon_sym_PERCENT] = ACTIONS(274),
    [anon_sym_PIPE] = ACTIONS(274),
    [anon_sym_AMP] = ACTIONS(274),
    [anon_sym_CARET] = ACTIONS(274),
    [anon_sym_TILDE] = ACTIONS(274),
    [anon_sym_COLON_COLON] = ACTIONS(274),
    [anon_sym_LPAREN] = ACTIONS(274),
    [anon_sym_RPAREN] = ACTIONS(274),
    [aux_sym_cast_expression_token1] = ACTIONS(276),
    [aux_sym_cast_expression_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token1] = ACTIONS(276),
    [aux_sym_sql_keyword_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token3] = ACTIONS(276),
    [aux_sym_sql_keyword_token4] = ACTIONS(276),
    [aux_sym_sql_keyword_token5] = ACTIONS(276),
    [aux_sym_sql_keyword_token6] = ACTIONS(276),
    [aux_sym_sql_keyword_token7] = ACTIONS(276),
    [aux_sym_sql_keyword_token8] = ACTIONS(276),
    [aux_sym_sql_keyword_token9] = ACTIONS(276),
    [aux_sym_sql_keyword_token10] = ACTIONS(276),
    [aux_sym_sql_keyword_token11] = ACTIONS(276),
    [aux_sym_sql_keyword_token12] = ACTIONS(276),
    [aux_sym_sql_keyword_token13] = ACTIONS(276),
    [aux_sym_sql_keyword_token14] = ACTIONS(276),
    [aux_sym_sql_keyword_token15] = ACTIONS(276),
    [aux_sym_sql_keyword_token16] = ACTIONS(276),
    [aux_sym_sql_keyword_token17] = ACTIONS(276),
    [aux_sym_sql_keyword_token18] = ACTIONS(276),
    [aux_sym_sql_keyword_token19] = ACTIONS(276),
    [aux_sym_sql_keyword_token20] = ACTIONS(276),
    [aux_sym_sql_keyword_token21] = ACTIONS(276),
    [aux_sym_sql_keyword_token22] = ACTIONS(276),
    [aux_sym_sql_keyword_token23] = ACTIONS(276),
    [aux_sym_sql_keyword_token24] = ACTIONS(276),
    [aux_sym_sql_keyword_token25] = ACTIONS(276),
    [aux_sym_sql_keyword_token26] = ACTIONS(276),
    [aux_sym_sql_keyword_token27] = ACTIONS(276),
    [aux_sym_sql_keyword_token28] = ACTIONS(276),
    [aux_sym_sql_keyword_token29] = ACTIONS(276),
    [aux_sym_sql_keyword_token30] = ACTIONS(276),
    [aux_sym_sql_keyword_token31] = ACTIONS(276),
    [aux_sym_sql_keyword_token32] = ACTIONS(276),
    [aux_sym_sql_keyword_token33] = ACTIONS(276),
    [aux_sym_sql_keyword_token34] = ACTIONS(276),
    [aux_sym_sql_keyword_token35] = ACTIONS(276),
    [aux_sym_sql_keyword_token36] = ACTIONS(276),
    [aux_sym_sql_keyword_token37] = ACTIONS(276),
    [aux_sym_sql_keyword_token38] = ACTIONS(276),
    [aux_sym_sql_keyword_token39] = ACTIONS(276),
    [aux_sym_sql_keyword_token40] = ACTIONS(276),
    [aux_sym_sql_keyword_token41] = ACTIONS(276),
    [aux_sym_sql_keyword_token42] = ACTIONS(276),
    [aux_sym_sql_keyword_token43] = ACTIONS(276),
    [aux_sym_sql_keyword_token44] = ACTIONS(276),
    [aux_sym_sql_keyword_token45] = ACTIONS(276),
    [aux_sym_sql_keyword_token46] = ACTIONS(276),
    [aux_sym_sql_keyword_token47] = ACTIONS(276),
    [aux_sym_sql_keyword_token48] = ACTIONS(276),
    [aux_sym_sql_keyword_token49] = ACTIONS(276),
    [aux_sym_sql_keyword_token50] = ACTIONS(276),
    [sym_quoted_identifier] = ACTIONS(274),
    [sym_number] = ACTIONS(274),
    [anon_sym_SQUOTE] = ACTIONS(274),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(89)] = {
    [sym_comment] = STATE(89),
    [sym_bare_identifier] = ACTIONS(163),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(159),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(159),
    [anon_sym_LT] = ACTIONS(159),
    [anon_sym_GT] = ACTIONS(159),
    [anon_sym_BANG] = ACTIONS(159),
    [anon_sym_PLUS] = ACTIONS(159),
    [anon_sym_DASH] = ACTIONS(163),
    [anon_sym_SLASH] = ACTIONS(163),
    [anon_sym_PERCENT] = ACTIONS(159),
    [anon_sym_PIPE] = ACTIONS(159),
    [anon_sym_AMP] = ACTIONS(159),
    [anon_sym_CARET] = ACTIONS(159),
    [anon_sym_TILDE] = ACTIONS(159),
    [anon_sym_COLON_COLON] = ACTIONS(159),
    [anon_sym_LPAREN] = ACTIONS(159),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_cast_expression_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_quoted_identifier] = ACTIONS(159),
    [sym_number] = ACTIONS(159),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(90)] = {
    [sym_comment] = STATE(90),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(184),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(184),
    [anon_sym_LT] = ACTIONS(184),
    [anon_sym_GT] = ACTIONS(184),
    [anon_sym_BANG] = ACTIONS(184),
    [anon_sym_PLUS] = ACTIONS(184),
    [anon_sym_DASH] = ACTIONS(186),
    [anon_sym_SLASH] = ACTIONS(186),
    [anon_sym_PERCENT] = ACTIONS(184),
    [anon_sym_PIPE] = ACTIONS(184),
    [anon_sym_AMP] = ACTIONS(184),
    [anon_sym_CARET] = ACTIONS(184),
    [anon_sym_TILDE] = ACTIONS(184),
    [anon_sym_COLON_COLON] = ACTIONS(184),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_cast_expression_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_quoted_identifier] = ACTIONS(184),
    [sym_number] = ACTIONS(184),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(91)] = {
    [sym_comment] = STATE(91),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(242),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(242),
    [anon_sym_LT] = ACTIONS(242),
    [anon_sym_GT] = ACTIONS(242),
    [anon_sym_BANG] = ACTIONS(242),
    [anon_sym_PLUS] = ACTIONS(242),
    [anon_sym_DASH] = ACTIONS(244),
    [anon_sym_SLASH] = ACTIONS(244),
    [anon_sym_PERCENT] = ACTIONS(242),
    [anon_sym_PIPE] = ACTIONS(242),
    [anon_sym_AMP] = ACTIONS(242),
    [anon_sym_CARET] = ACTIONS(242),
    [anon_sym_TILDE] = ACTIONS(242),
    [anon_sym_COLON_COLON] = ACTIONS(242),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_cast_expression_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_quoted_identifier] = ACTIONS(242),
    [sym_number] = ACTIONS(242),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(92)] = {
    [sym_comment] = STATE(92),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(217),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(217),
    [anon_sym_LT] = ACTIONS(217),
    [anon_sym_GT] = ACTIONS(217),
    [anon_sym_BANG] = ACTIONS(217),
    [anon_sym_PLUS] = ACTIONS(217),
    [anon_sym_DASH] = ACTIONS(219),
    [anon_sym_SLASH] = ACTIONS(219),
    [anon_sym_PERCENT] = ACTIONS(217),
    [anon_sym_PIPE] = ACTIONS(217),
    [anon_sym_AMP] = ACTIONS(217),
    [anon_sym_CARET] = ACTIONS(217),
    [anon_sym_TILDE] = ACTIONS(217),
    [anon_sym_COLON_COLON] = ACTIONS(217),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_cast_expression_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_quoted_identifier] = ACTIONS(217),
    [sym_number] = ACTIONS(217),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [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(280),
    [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_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_sql_keyword_token50] = ACTIONS(280),
    [sym_quoted_identifier] = ACTIONS(278),
    [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(94)] = {
    [sym_select_statement] = STATE(475),
    [sym_subquery] = STATE(124),
    [sym_sql_keyword] = STATE(124),
    [sym_identifier] = STATE(124),
    [sym_string] = STATE(124),
    [sym_comment] = STATE(94),
    [aux_sym_create_statement_repeat1] = STATE(95),
    [ts_builtin_sym_end] = ACTIONS(353),
    [sym_bare_identifier] = ACTIONS(355),
    [anon_sym_SEMI] = ACTIONS(353),
    [aux_sym_select_statement_token1] = ACTIONS(357),
    [anon_sym_COMMA] = ACTIONS(359),
    [anon_sym_STAR] = ACTIONS(361),
    [anon_sym_DOT] = ACTIONS(361),
    [anon_sym_EQ] = ACTIONS(361),
    [anon_sym_LPAREN] = ACTIONS(363),
    [anon_sym_RPAREN] = ACTIONS(359),
    [aux_sym_create_statement_token2] = ACTIONS(361),
    [aux_sym_sql_keyword_token1] = ACTIONS(365),
    [aux_sym_sql_keyword_token2] = ACTIONS(365),
    [aux_sym_sql_keyword_token3] = ACTIONS(365),
    [aux_sym_sql_keyword_token4] = ACTIONS(365),
    [aux_sym_sql_keyword_token5] = ACTIONS(365),
    [aux_sym_sql_keyword_token6] = ACTIONS(365),
    [aux_sym_sql_keyword_token7] = ACTIONS(365),
    [aux_sym_sql_keyword_token8] = ACTIONS(365),
    [aux_sym_sql_keyword_token9] = ACTIONS(365),
    [aux_sym_sql_keyword_token10] = ACTIONS(365),
    [aux_sym_sql_keyword_token11] = ACTIONS(365),
    [aux_sym_sql_keyword_token12] = ACTIONS(365),
    [aux_sym_sql_keyword_token13] = ACTIONS(365),
    [aux_sym_sql_keyword_token14] = ACTIONS(365),
    [aux_sym_sql_keyword_token15] = ACTIONS(365),
    [aux_sym_sql_keyword_token16] = ACTIONS(365),
    [aux_sym_sql_keyword_token17] = ACTIONS(365),
    [aux_sym_sql_keyword_token18] = ACTIONS(365),
    [aux_sym_sql_keyword_token19] = ACTIONS(365),
    [aux_sym_sql_keyword_token20] = ACTIONS(365),
    [aux_sym_sql_keyword_token21] = ACTIONS(365),
    [aux_sym_sql_keyword_token22] = ACTIONS(365),
    [aux_sym_sql_keyword_token23] = ACTIONS(365),
    [aux_sym_sql_keyword_token24] = ACTIONS(365),
    [aux_sym_sql_keyword_token25] = ACTIONS(365),
    [aux_sym_sql_keyword_token26] = ACTIONS(365),
    [aux_sym_sql_keyword_token27] = ACTIONS(365),
    [aux_sym_sql_keyword_token28] = ACTIONS(365),
    [aux_sym_sql_keyword_token29] = ACTIONS(365),
    [aux_sym_sql_keyword_token30] = ACTIONS(365),
    [aux_sym_sql_keyword_token31] = ACTIONS(365),
    [aux_sym_sql_keyword_token32] = ACTIONS(365),
    [aux_sym_sql_keyword_token33] = ACTIONS(365),
    [aux_sym_sql_keyword_token34] = ACTIONS(365),
    [aux_sym_sql_keyword_token35] = ACTIONS(365),
    [aux_sym_sql_keyword_token36] = ACTIONS(365),
    [aux_sym_sql_keyword_token37] = ACTIONS(365),
    [aux_sym_sql_keyword_token38] = ACTIONS(365),
    [aux_sym_sql_keyword_token39] = ACTIONS(365),
    [aux_sym_sql_keyword_token40] = ACTIONS(365),
    [aux_sym_sql_keyword_token41] = ACTIONS(365),
    [aux_sym_sql_keyword_token42] = ACTIONS(365),
    [aux_sym_sql_keyword_token43] = ACTIONS(365),
    [aux_sym_sql_keyword_token44] = ACTIONS(365),
    [aux_sym_sql_keyword_token45] = ACTIONS(365),
    [aux_sym_sql_keyword_token46] = ACTIONS(365),
    [aux_sym_sql_keyword_token47] = ACTIONS(365),
    [aux_sym_sql_keyword_token48] = ACTIONS(365),
    [aux_sym_sql_keyword_token49] = ACTIONS(365),
    [aux_sym_sql_keyword_token50] = ACTIONS(365),
    [sym_visualise_keyword] = ACTIONS(353),
    [sym_quoted_identifier] = ACTIONS(355),
    [sym_number] = ACTIONS(361),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(95)] = {
    [sym_subquery] = STATE(124),
    [sym_sql_keyword] = STATE(124),
    [sym_identifier] = STATE(124),
    [sym_string] = STATE(124),
    [sym_comment] = STATE(95),
    [aux_sym_create_statement_repeat1] = STATE(95),
    [ts_builtin_sym_end] = ACTIONS(369),
    [sym_bare_identifier] = ACTIONS(371),
    [anon_sym_SEMI] = ACTIONS(369),
    [aux_sym_select_statement_token1] = ACTIONS(374),
    [anon_sym_COMMA] = ACTIONS(376),
    [anon_sym_STAR] = ACTIONS(379),
    [anon_sym_DOT] = ACTIONS(379),
    [anon_sym_EQ] = ACTIONS(379),
    [anon_sym_LPAREN] = ACTIONS(382),
    [anon_sym_RPAREN] = ACTIONS(376),
    [aux_sym_create_statement_token2] = ACTIONS(379),
    [aux_sym_sql_keyword_token1] = ACTIONS(385),
    [aux_sym_sql_keyword_token2] = ACTIONS(385),
    [aux_sym_sql_keyword_token3] = ACTIONS(385),
    [aux_sym_sql_keyword_token4] = ACTIONS(385),
    [aux_sym_sql_keyword_token5] = ACTIONS(385),
    [aux_sym_sql_keyword_token6] = ACTIONS(385),
    [aux_sym_sql_keyword_token7] = ACTIONS(385),
    [aux_sym_sql_keyword_token8] = ACTIONS(385),
    [aux_sym_sql_keyword_token9] = ACTIONS(385),
    [aux_sym_sql_keyword_token10] = ACTIONS(385),
    [aux_sym_sql_keyword_token11] = ACTIONS(385),
    [aux_sym_sql_keyword_token12] = ACTIONS(385),
    [aux_sym_sql_keyword_token13] = ACTIONS(385),
    [aux_sym_sql_keyword_token14] = ACTIONS(385),
    [aux_sym_sql_keyword_token15] = ACTIONS(385),
    [aux_sym_sql_keyword_token16] = ACTIONS(385),
    [aux_sym_sql_keyword_token17] = ACTIONS(385),
    [aux_sym_sql_keyword_token18] = ACTIONS(385),
    [aux_sym_sql_keyword_token19] = ACTIONS(385),
    [aux_sym_sql_keyword_token20] = ACTIONS(385),
    [aux_sym_sql_keyword_token21] = ACTIONS(385),
    [aux_sym_sql_keyword_token22] = ACTIONS(385),
    [aux_sym_sql_keyword_token23] = ACTIONS(385),
    [aux_sym_sql_keyword_token24] = ACTIONS(385),
    [aux_sym_sql_keyword_token25] = ACTIONS(385),
    [aux_sym_sql_keyword_token26] = ACTIONS(385),
    [aux_sym_sql_keyword_token27] = ACTIONS(385),
    [aux_sym_sql_keyword_token28] = ACTIONS(385),
    [aux_sym_sql_keyword_token29] = ACTIONS(385),
    [aux_sym_sql_keyword_token30] = ACTIONS(385),
    [aux_sym_sql_keyword_token31] = ACTIONS(385),
    [aux_sym_sql_keyword_token32] = ACTIONS(385),
    [aux_sym_sql_keyword_token33] = ACTIONS(385),
    [aux_sym_sql_keyword_token34] = ACTIONS(385),
    [aux_sym_sql_keyword_token35] = ACTIONS(385),
    [aux_sym_sql_keyword_token36] = ACTIONS(385),
    [aux_sym_sql_keyword_token37] = ACTIONS(385),
    [aux_sym_sql_keyword_token38] = ACTIONS(385),
    [aux_sym_sql_keyword_token39] = ACTIONS(385),
    [aux_sym_sql_keyword_token40] = ACTIONS(385),
    [aux_sym_sql_keyword_token41] = ACTIONS(385),
    [aux_sym_sql_keyword_token42] = ACTIONS(385),
    [aux_sym_sql_keyword_token43] = ACTIONS(385),
    [aux_sym_sql_keyword_token44] = ACTIONS(385),
    [aux_sym_sql_keyword_token45] = ACTIONS(385),
    [aux_sym_sql_keyword_token46] = ACTIONS(385),
    [aux_sym_sql_keyword_token47] = ACTIONS(385),
    [aux_sym_sql_keyword_token48] = ACTIONS(385),
    [aux_sym_sql_keyword_token49] = ACTIONS(385),
    [aux_sym_sql_keyword_token50] = ACTIONS(385),
    [sym_visualise_keyword] = ACTIONS(369),
    [sym_quoted_identifier] = ACTIONS(371),
    [sym_number] = ACTIONS(379),
    [anon_sym_SQUOTE] = ACTIONS(388),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(96)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(96),
    [aux_sym_create_statement_repeat1] = STATE(98),
    [ts_builtin_sym_end] = ACTIONS(391),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_SEMI] = ACTIONS(391),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_visualise_keyword] = ACTIONS(391),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(97)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(97),
    [aux_sym_create_statement_repeat1] = STATE(98),
    [ts_builtin_sym_end] = ACTIONS(405),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_SEMI] = ACTIONS(405),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_visualise_keyword] = ACTIONS(405),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(98)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(98),
    [aux_sym_create_statement_repeat1] = STATE(98),
    [ts_builtin_sym_end] = ACTIONS(369),
    [sym_bare_identifier] = ACTIONS(407),
    [anon_sym_SEMI] = ACTIONS(369),
    [anon_sym_COMMA] = ACTIONS(410),
    [anon_sym_STAR] = ACTIONS(413),
    [anon_sym_DOT] = ACTIONS(413),
    [anon_sym_EQ] = ACTIONS(413),
    [anon_sym_LPAREN] = ACTIONS(416),
    [anon_sym_RPAREN] = ACTIONS(410),
    [aux_sym_create_statement_token2] = ACTIONS(413),
    [aux_sym_sql_keyword_token1] = ACTIONS(419),
    [aux_sym_sql_keyword_token2] = ACTIONS(419),
    [aux_sym_sql_keyword_token3] = ACTIONS(419),
    [aux_sym_sql_keyword_token4] = ACTIONS(419),
    [aux_sym_sql_keyword_token5] = ACTIONS(419),
    [aux_sym_sql_keyword_token6] = ACTIONS(419),
    [aux_sym_sql_keyword_token7] = ACTIONS(419),
    [aux_sym_sql_keyword_token8] = ACTIONS(419),
    [aux_sym_sql_keyword_token9] = ACTIONS(419),
    [aux_sym_sql_keyword_token10] = ACTIONS(419),
    [aux_sym_sql_keyword_token11] = ACTIONS(419),
    [aux_sym_sql_keyword_token12] = ACTIONS(419),
    [aux_sym_sql_keyword_token13] = ACTIONS(419),
    [aux_sym_sql_keyword_token14] = ACTIONS(419),
    [aux_sym_sql_keyword_token15] = ACTIONS(419),
    [aux_sym_sql_keyword_token16] = ACTIONS(419),
    [aux_sym_sql_keyword_token17] = ACTIONS(419),
    [aux_sym_sql_keyword_token18] = ACTIONS(419),
    [aux_sym_sql_keyword_token19] = ACTIONS(419),
    [aux_sym_sql_keyword_token20] = ACTIONS(419),
    [aux_sym_sql_keyword_token21] = ACTIONS(419),
    [aux_sym_sql_keyword_token22] = ACTIONS(419),
    [aux_sym_sql_keyword_token23] = ACTIONS(419),
    [aux_sym_sql_keyword_token24] = ACTIONS(419),
    [aux_sym_sql_keyword_token25] = ACTIONS(419),
    [aux_sym_sql_keyword_token26] = ACTIONS(419),
    [aux_sym_sql_keyword_token27] = ACTIONS(419),
    [aux_sym_sql_keyword_token28] = ACTIONS(419),
    [aux_sym_sql_keyword_token29] = ACTIONS(419),
    [aux_sym_sql_keyword_token30] = ACTIONS(419),
    [aux_sym_sql_keyword_token31] = ACTIONS(419),
    [aux_sym_sql_keyword_token32] = ACTIONS(419),
    [aux_sym_sql_keyword_token33] = ACTIONS(419),
    [aux_sym_sql_keyword_token34] = ACTIONS(419),
    [aux_sym_sql_keyword_token35] = ACTIONS(419),
    [aux_sym_sql_keyword_token36] = ACTIONS(419),
    [aux_sym_sql_keyword_token37] = ACTIONS(419),
    [aux_sym_sql_keyword_token38] = ACTIONS(419),
    [aux_sym_sql_keyword_token39] = ACTIONS(419),
    [aux_sym_sql_keyword_token40] = ACTIONS(419),
    [aux_sym_sql_keyword_token41] = ACTIONS(419),
    [aux_sym_sql_keyword_token42] = ACTIONS(419),
    [aux_sym_sql_keyword_token43] = ACTIONS(419),
    [aux_sym_sql_keyword_token44] = ACTIONS(419),
    [aux_sym_sql_keyword_token45] = ACTIONS(419),
    [aux_sym_sql_keyword_token46] = ACTIONS(419),
    [aux_sym_sql_keyword_token47] = ACTIONS(419),
    [aux_sym_sql_keyword_token48] = ACTIONS(419),
    [aux_sym_sql_keyword_token49] = ACTIONS(419),
    [aux_sym_sql_keyword_token50] = ACTIONS(419),
    [sym_visualise_keyword] = ACTIONS(369),
    [sym_quoted_identifier] = ACTIONS(407),
    [sym_number] = ACTIONS(413),
    [anon_sym_SQUOTE] = ACTIONS(422),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(99)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(99),
    [aux_sym_create_statement_repeat1] = STATE(98),
    [ts_builtin_sym_end] = ACTIONS(425),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_SEMI] = ACTIONS(425),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_visualise_keyword] = ACTIONS(425),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(100)] = {
    [sym_comment] = STATE(100),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(186),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(186),
    [anon_sym_LT] = ACTIONS(186),
    [anon_sym_GT] = ACTIONS(186),
    [anon_sym_BANG] = ACTIONS(186),
    [anon_sym_COLON_COLON] = ACTIONS(186),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_subquery_body_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token1] = ACTIONS(186),
    [aux_sym_cast_expression_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_quoted_identifier] = ACTIONS(186),
    [sym_number] = ACTIONS(186),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(101)] = {
    [sym_comment] = STATE(101),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(244),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(244),
    [anon_sym_LT] = ACTIONS(244),
    [anon_sym_GT] = ACTIONS(244),
    [anon_sym_BANG] = ACTIONS(244),
    [anon_sym_COLON_COLON] = ACTIONS(244),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_subquery_body_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token1] = ACTIONS(244),
    [aux_sym_cast_expression_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_quoted_identifier] = ACTIONS(244),
    [sym_number] = ACTIONS(244),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(102)] = {
    [sym_comment] = STATE(102),
    [sym_bare_identifier] = ACTIONS(163),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(163),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(163),
    [anon_sym_LT] = ACTIONS(163),
    [anon_sym_GT] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(163),
    [anon_sym_COLON_COLON] = ACTIONS(163),
    [anon_sym_LPAREN] = ACTIONS(159),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_subquery_body_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token1] = ACTIONS(163),
    [aux_sym_cast_expression_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_quoted_identifier] = ACTIONS(163),
    [sym_number] = ACTIONS(163),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(103)] = {
    [sym_comment] = STATE(103),
    [sym_bare_identifier] = ACTIONS(297),
    [anon_sym_COMMA] = ACTIONS(295),
    [anon_sym_STAR] = ACTIONS(297),
    [anon_sym_DOT] = ACTIONS(297),
    [anon_sym_EQ] = ACTIONS(297),
    [anon_sym_LT] = ACTIONS(297),
    [anon_sym_GT] = ACTIONS(297),
    [anon_sym_BANG] = ACTIONS(297),
    [anon_sym_COLON_COLON] = ACTIONS(297),
    [anon_sym_LPAREN] = ACTIONS(295),
    [anon_sym_RPAREN] = ACTIONS(295),
    [aux_sym_subquery_body_token1] = ACTIONS(297),
    [aux_sym_cast_expression_token1] = ACTIONS(297),
    [aux_sym_cast_expression_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token1] = ACTIONS(297),
    [aux_sym_sql_keyword_token2] = ACTIONS(297),
    [aux_sym_sql_keyword_token3] = ACTIONS(297),
    [aux_sym_sql_keyword_token4] = ACTIONS(297),
    [aux_sym_sql_keyword_token5] = ACTIONS(297),
    [aux_sym_sql_keyword_token6] = ACTIONS(297),
    [aux_sym_sql_keyword_token7] = ACTIONS(297),
    [aux_sym_sql_keyword_token8] = ACTIONS(297),
    [aux_sym_sql_keyword_token9] = ACTIONS(297),
    [aux_sym_sql_keyword_token10] = ACTIONS(297),
    [aux_sym_sql_keyword_token11] = ACTIONS(297),
    [aux_sym_sql_keyword_token12] = ACTIONS(297),
    [aux_sym_sql_keyword_token13] = ACTIONS(297),
    [aux_sym_sql_keyword_token14] = ACTIONS(297),
    [aux_sym_sql_keyword_token15] = ACTIONS(297),
    [aux_sym_sql_keyword_token16] = ACTIONS(297),
    [aux_sym_sql_keyword_token17] = ACTIONS(297),
    [aux_sym_sql_keyword_token18] = ACTIONS(297),
    [aux_sym_sql_keyword_token19] = ACTIONS(297),
    [aux_sym_sql_keyword_token20] = ACTIONS(297),
    [aux_sym_sql_keyword_token21] = ACTIONS(297),
    [aux_sym_sql_keyword_token22] = ACTIONS(297),
    [aux_sym_sql_keyword_token23] = ACTIONS(297),
    [aux_sym_sql_keyword_token24] = ACTIONS(297),
    [aux_sym_sql_keyword_token25] = ACTIONS(297),
    [aux_sym_sql_keyword_token26] = ACTIONS(297),
    [aux_sym_sql_keyword_token27] = ACTIONS(297),
    [aux_sym_sql_keyword_token28] = ACTIONS(297),
    [aux_sym_sql_keyword_token29] = ACTIONS(297),
    [aux_sym_sql_keyword_token30] = ACTIONS(297),
    [aux_sym_sql_keyword_token31] = ACTIONS(297),
    [aux_sym_sql_keyword_token32] = ACTIONS(297),
    [aux_sym_sql_keyword_token33] = ACTIONS(297),
    [aux_sym_sql_keyword_token34] = ACTIONS(297),
    [aux_sym_sql_keyword_token35] = ACTIONS(297),
    [aux_sym_sql_keyword_token36] = ACTIONS(297),
    [aux_sym_sql_keyword_token37] = ACTIONS(297),
    [aux_sym_sql_keyword_token38] = ACTIONS(297),
    [aux_sym_sql_keyword_token39] = ACTIONS(297),
    [aux_sym_sql_keyword_token40] = ACTIONS(427),
    [aux_sym_sql_keyword_token41] = ACTIONS(297),
    [aux_sym_sql_keyword_token42] = ACTIONS(297),
    [aux_sym_sql_keyword_token43] = ACTIONS(297),
    [aux_sym_sql_keyword_token44] = ACTIONS(297),
    [aux_sym_sql_keyword_token45] = ACTIONS(297),
    [aux_sym_sql_keyword_token46] = ACTIONS(297),
    [aux_sym_sql_keyword_token47] = ACTIONS(297),
    [aux_sym_sql_keyword_token48] = ACTIONS(297),
    [aux_sym_sql_keyword_token49] = ACTIONS(297),
    [aux_sym_sql_keyword_token50] = ACTIONS(297),
    [sym_quoted_identifier] = ACTIONS(297),
    [sym_number] = ACTIONS(297),
    [anon_sym_SQUOTE] = ACTIONS(295),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(104)] = {
    [sym_comment] = STATE(104),
    [sym_bare_identifier] = ACTIONS(429),
    [anon_sym_COMMA] = ACTIONS(431),
    [anon_sym_STAR] = ACTIONS(429),
    [anon_sym_DOT] = ACTIONS(429),
    [anon_sym_EQ] = ACTIONS(429),
    [anon_sym_LT] = ACTIONS(429),
    [anon_sym_GT] = ACTIONS(429),
    [anon_sym_BANG] = ACTIONS(429),
    [anon_sym_COLON_COLON] = ACTIONS(429),
    [anon_sym_LPAREN] = ACTIONS(431),
    [anon_sym_RPAREN] = ACTIONS(431),
    [aux_sym_subquery_body_token1] = ACTIONS(429),
    [aux_sym_cast_expression_token1] = ACTIONS(429),
    [aux_sym_cast_expression_token2] = ACTIONS(429),
    [aux_sym_sql_keyword_token1] = ACTIONS(429),
    [aux_sym_sql_keyword_token2] = ACTIONS(429),
    [aux_sym_sql_keyword_token3] = ACTIONS(429),
    [aux_sym_sql_keyword_token4] = ACTIONS(429),
    [aux_sym_sql_keyword_token5] = ACTIONS(429),
    [aux_sym_sql_keyword_token6] = ACTIONS(429),
    [aux_sym_sql_keyword_token7] = ACTIONS(429),
    [aux_sym_sql_keyword_token8] = ACTIONS(429),
    [aux_sym_sql_keyword_token9] = ACTIONS(429),
    [aux_sym_sql_keyword_token10] = ACTIONS(429),
    [aux_sym_sql_keyword_token11] = ACTIONS(429),
    [aux_sym_sql_keyword_token12] = ACTIONS(429),
    [aux_sym_sql_keyword_token13] = ACTIONS(429),
    [aux_sym_sql_keyword_token14] = ACTIONS(429),
    [aux_sym_sql_keyword_token15] = ACTIONS(429),
    [aux_sym_sql_keyword_token16] = ACTIONS(429),
    [aux_sym_sql_keyword_token17] = ACTIONS(429),
    [aux_sym_sql_keyword_token18] = ACTIONS(429),
    [aux_sym_sql_keyword_token19] = ACTIONS(429),
    [aux_sym_sql_keyword_token20] = ACTIONS(429),
    [aux_sym_sql_keyword_token21] = ACTIONS(429),
    [aux_sym_sql_keyword_token22] = ACTIONS(429),
    [aux_sym_sql_keyword_token23] = ACTIONS(429),
    [aux_sym_sql_keyword_token24] = ACTIONS(429),
    [aux_sym_sql_keyword_token25] = ACTIONS(429),
    [aux_sym_sql_keyword_token26] = ACTIONS(429),
    [aux_sym_sql_keyword_token27] = ACTIONS(429),
    [aux_sym_sql_keyword_token28] = ACTIONS(429),
    [aux_sym_sql_keyword_token29] = ACTIONS(429),
    [aux_sym_sql_keyword_token30] = ACTIONS(429),
    [aux_sym_sql_keyword_token31] = ACTIONS(429),
    [aux_sym_sql_keyword_token32] = ACTIONS(429),
    [aux_sym_sql_keyword_token33] = ACTIONS(429),
    [aux_sym_sql_keyword_token34] = ACTIONS(429),
    [aux_sym_sql_keyword_token35] = ACTIONS(429),
    [aux_sym_sql_keyword_token36] = ACTIONS(429),
    [aux_sym_sql_keyword_token37] = ACTIONS(429),
    [aux_sym_sql_keyword_token38] = ACTIONS(429),
    [aux_sym_sql_keyword_token39] = ACTIONS(429),
    [aux_sym_sql_keyword_token40] = ACTIONS(429),
    [aux_sym_sql_keyword_token41] = ACTIONS(429),
    [aux_sym_sql_keyword_token42] = ACTIONS(429),
    [aux_sym_sql_keyword_token43] = ACTIONS(429),
    [aux_sym_sql_keyword_token44] = ACTIONS(429),
    [aux_sym_sql_keyword_token45] = ACTIONS(429),
    [aux_sym_sql_keyword_token46] = ACTIONS(429),
    [aux_sym_sql_keyword_token47] = ACTIONS(429),
    [aux_sym_sql_keyword_token48] = ACTIONS(429),
    [aux_sym_sql_keyword_token49] = ACTIONS(429),
    [aux_sym_sql_keyword_token50] = ACTIONS(429),
    [sym_quoted_identifier] = ACTIONS(429),
    [sym_number] = ACTIONS(429),
    [anon_sym_SQUOTE] = ACTIONS(431),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(105)] = {
    [sym_comment] = STATE(105),
    [sym_bare_identifier] = ACTIONS(429),
    [anon_sym_COMMA] = ACTIONS(431),
    [anon_sym_STAR] = ACTIONS(429),
    [anon_sym_DOT] = ACTIONS(429),
    [anon_sym_EQ] = ACTIONS(429),
    [anon_sym_LT] = ACTIONS(429),
    [anon_sym_GT] = ACTIONS(429),
    [anon_sym_BANG] = ACTIONS(429),
    [anon_sym_COLON_COLON] = ACTIONS(429),
    [anon_sym_LPAREN] = ACTIONS(433),
    [anon_sym_RPAREN] = ACTIONS(431),
    [aux_sym_subquery_body_token1] = ACTIONS(429),
    [aux_sym_cast_expression_token1] = ACTIONS(429),
    [aux_sym_cast_expression_token2] = ACTIONS(429),
    [aux_sym_sql_keyword_token1] = ACTIONS(429),
    [aux_sym_sql_keyword_token2] = ACTIONS(429),
    [aux_sym_sql_keyword_token3] = ACTIONS(429),
    [aux_sym_sql_keyword_token4] = ACTIONS(429),
    [aux_sym_sql_keyword_token5] = ACTIONS(429),
    [aux_sym_sql_keyword_token6] = ACTIONS(429),
    [aux_sym_sql_keyword_token7] = ACTIONS(429),
    [aux_sym_sql_keyword_token8] = ACTIONS(429),
    [aux_sym_sql_keyword_token9] = ACTIONS(429),
    [aux_sym_sql_keyword_token10] = ACTIONS(429),
    [aux_sym_sql_keyword_token11] = ACTIONS(429),
    [aux_sym_sql_keyword_token12] = ACTIONS(429),
    [aux_sym_sql_keyword_token13] = ACTIONS(429),
    [aux_sym_sql_keyword_token14] = ACTIONS(429),
    [aux_sym_sql_keyword_token15] = ACTIONS(429),
    [aux_sym_sql_keyword_token16] = ACTIONS(429),
    [aux_sym_sql_keyword_token17] = ACTIONS(429),
    [aux_sym_sql_keyword_token18] = ACTIONS(429),
    [aux_sym_sql_keyword_token19] = ACTIONS(429),
    [aux_sym_sql_keyword_token20] = ACTIONS(429),
    [aux_sym_sql_keyword_token21] = ACTIONS(429),
    [aux_sym_sql_keyword_token22] = ACTIONS(429),
    [aux_sym_sql_keyword_token23] = ACTIONS(429),
    [aux_sym_sql_keyword_token24] = ACTIONS(429),
    [aux_sym_sql_keyword_token25] = ACTIONS(429),
    [aux_sym_sql_keyword_token26] = ACTIONS(429),
    [aux_sym_sql_keyword_token27] = ACTIONS(429),
    [aux_sym_sql_keyword_token28] = ACTIONS(429),
    [aux_sym_sql_keyword_token29] = ACTIONS(429),
    [aux_sym_sql_keyword_token30] = ACTIONS(429),
    [aux_sym_sql_keyword_token31] = ACTIONS(429),
    [aux_sym_sql_keyword_token32] = ACTIONS(429),
    [aux_sym_sql_keyword_token33] = ACTIONS(429),
    [aux_sym_sql_keyword_token34] = ACTIONS(429),
    [aux_sym_sql_keyword_token35] = ACTIONS(429),
    [aux_sym_sql_keyword_token36] = ACTIONS(429),
    [aux_sym_sql_keyword_token37] = ACTIONS(429),
    [aux_sym_sql_keyword_token38] = ACTIONS(429),
    [aux_sym_sql_keyword_token39] = ACTIONS(429),
    [aux_sym_sql_keyword_token40] = ACTIONS(429),
    [aux_sym_sql_keyword_token41] = ACTIONS(429),
    [aux_sym_sql_keyword_token42] = ACTIONS(429),
    [aux_sym_sql_keyword_token43] = ACTIONS(429),
    [aux_sym_sql_keyword_token44] = ACTIONS(429),
    [aux_sym_sql_keyword_token45] = ACTIONS(429),
    [aux_sym_sql_keyword_token46] = ACTIONS(429),
    [aux_sym_sql_keyword_token47] = ACTIONS(429),
    [aux_sym_sql_keyword_token48] = ACTIONS(429),
    [aux_sym_sql_keyword_token49] = ACTIONS(429),
    [aux_sym_sql_keyword_token50] = ACTIONS(429),
    [sym_quoted_identifier] = ACTIONS(429),
    [sym_number] = ACTIONS(429),
    [anon_sym_SQUOTE] = ACTIONS(431),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(106)] = {
    [sym_comment] = STATE(106),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(240),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(240),
    [anon_sym_LT] = ACTIONS(240),
    [anon_sym_GT] = ACTIONS(240),
    [anon_sym_BANG] = ACTIONS(240),
    [anon_sym_COLON_COLON] = ACTIONS(240),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_subquery_body_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token1] = ACTIONS(240),
    [aux_sym_cast_expression_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_quoted_identifier] = ACTIONS(240),
    [sym_number] = ACTIONS(240),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(107)] = {
    [sym_comment] = STATE(107),
    [sym_bare_identifier] = ACTIONS(311),
    [anon_sym_COMMA] = ACTIONS(309),
    [anon_sym_STAR] = ACTIONS(311),
    [anon_sym_DOT] = ACTIONS(311),
    [anon_sym_EQ] = ACTIONS(311),
    [anon_sym_LT] = ACTIONS(311),
    [anon_sym_GT] = ACTIONS(311),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_COLON_COLON] = ACTIONS(311),
    [anon_sym_LPAREN] = ACTIONS(309),
    [anon_sym_RPAREN] = ACTIONS(309),
    [aux_sym_subquery_body_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token1] = ACTIONS(311),
    [aux_sym_cast_expression_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token1] = ACTIONS(311),
    [aux_sym_sql_keyword_token2] = ACTIONS(311),
    [aux_sym_sql_keyword_token3] = ACTIONS(311),
    [aux_sym_sql_keyword_token4] = ACTIONS(311),
    [aux_sym_sql_keyword_token5] = ACTIONS(311),
    [aux_sym_sql_keyword_token6] = ACTIONS(311),
    [aux_sym_sql_keyword_token7] = ACTIONS(311),
    [aux_sym_sql_keyword_token8] = ACTIONS(311),
    [aux_sym_sql_keyword_token9] = ACTIONS(311),
    [aux_sym_sql_keyword_token10] = ACTIONS(311),
    [aux_sym_sql_keyword_token11] = ACTIONS(311),
    [aux_sym_sql_keyword_token12] = ACTIONS(311),
    [aux_sym_sql_keyword_token13] = ACTIONS(311),
    [aux_sym_sql_keyword_token14] = ACTIONS(311),
    [aux_sym_sql_keyword_token15] = ACTIONS(311),
    [aux_sym_sql_keyword_token16] = ACTIONS(311),
    [aux_sym_sql_keyword_token17] = ACTIONS(311),
    [aux_sym_sql_keyword_token18] = ACTIONS(311),
    [aux_sym_sql_keyword_token19] = ACTIONS(311),
    [aux_sym_sql_keyword_token20] = ACTIONS(311),
    [aux_sym_sql_keyword_token21] = ACTIONS(311),
    [aux_sym_sql_keyword_token22] = ACTIONS(311),
    [aux_sym_sql_keyword_token23] = ACTIONS(311),
    [aux_sym_sql_keyword_token24] = ACTIONS(311),
    [aux_sym_sql_keyword_token25] = ACTIONS(311),
    [aux_sym_sql_keyword_token26] = ACTIONS(311),
    [aux_sym_sql_keyword_token27] = ACTIONS(311),
    [aux_sym_sql_keyword_token28] = ACTIONS(311),
    [aux_sym_sql_keyword_token29] = ACTIONS(311),
    [aux_sym_sql_keyword_token30] = ACTIONS(311),
    [aux_sym_sql_keyword_token31] = ACTIONS(311),
    [aux_sym_sql_keyword_token32] = ACTIONS(311),
    [aux_sym_sql_keyword_token33] = ACTIONS(311),
    [aux_sym_sql_keyword_token34] = ACTIONS(311),
    [aux_sym_sql_keyword_token35] = ACTIONS(311),
    [aux_sym_sql_keyword_token36] = ACTIONS(311),
    [aux_sym_sql_keyword_token37] = ACTIONS(311),
    [aux_sym_sql_keyword_token38] = ACTIONS(311),
    [aux_sym_sql_keyword_token39] = ACTIONS(311),
    [aux_sym_sql_keyword_token40] = ACTIONS(435),
    [aux_sym_sql_keyword_token41] = ACTIONS(311),
    [aux_sym_sql_keyword_token42] = ACTIONS(311),
    [aux_sym_sql_keyword_token43] = ACTIONS(311),
    [aux_sym_sql_keyword_token44] = ACTIONS(311),
    [aux_sym_sql_keyword_token45] = ACTIONS(311),
    [aux_sym_sql_keyword_token46] = ACTIONS(311),
    [aux_sym_sql_keyword_token47] = ACTIONS(311),
    [aux_sym_sql_keyword_token48] = ACTIONS(311),
    [aux_sym_sql_keyword_token49] = ACTIONS(311),
    [aux_sym_sql_keyword_token50] = ACTIONS(311),
    [sym_quoted_identifier] = ACTIONS(311),
    [sym_number] = ACTIONS(311),
    [anon_sym_SQUOTE] = ACTIONS(309),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(108)] = {
    [sym_comment] = STATE(108),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(219),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(219),
    [anon_sym_LT] = ACTIONS(219),
    [anon_sym_GT] = ACTIONS(219),
    [anon_sym_BANG] = ACTIONS(219),
    [anon_sym_COLON_COLON] = ACTIONS(219),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_subquery_body_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token1] = ACTIONS(219),
    [aux_sym_cast_expression_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_quoted_identifier] = ACTIONS(219),
    [sym_number] = ACTIONS(219),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(109)] = {
    [sym_comment] = STATE(109),
    [sym_bare_identifier] = ACTIONS(272),
    [anon_sym_COMMA] = ACTIONS(270),
    [anon_sym_STAR] = ACTIONS(272),
    [anon_sym_DOT] = ACTIONS(272),
    [anon_sym_EQ] = ACTIONS(272),
    [anon_sym_LT] = ACTIONS(272),
    [anon_sym_GT] = ACTIONS(272),
    [anon_sym_BANG] = ACTIONS(272),
    [anon_sym_COLON_COLON] = ACTIONS(272),
    [anon_sym_LPAREN] = ACTIONS(270),
    [anon_sym_RPAREN] = ACTIONS(270),
    [aux_sym_subquery_body_token1] = ACTIONS(272),
    [aux_sym_cast_expression_token1] = ACTIONS(272),
    [aux_sym_cast_expression_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token1] = ACTIONS(272),
    [aux_sym_sql_keyword_token2] = ACTIONS(272),
    [aux_sym_sql_keyword_token3] = ACTIONS(272),
    [aux_sym_sql_keyword_token4] = ACTIONS(272),
    [aux_sym_sql_keyword_token5] = ACTIONS(272),
    [aux_sym_sql_keyword_token6] = ACTIONS(272),
    [aux_sym_sql_keyword_token7] = ACTIONS(272),
    [aux_sym_sql_keyword_token8] = ACTIONS(272),
    [aux_sym_sql_keyword_token9] = ACTIONS(272),
    [aux_sym_sql_keyword_token10] = ACTIONS(272),
    [aux_sym_sql_keyword_token11] = ACTIONS(272),
    [aux_sym_sql_keyword_token12] = ACTIONS(272),
    [aux_sym_sql_keyword_token13] = ACTIONS(272),
    [aux_sym_sql_keyword_token14] = ACTIONS(272),
    [aux_sym_sql_keyword_token15] = ACTIONS(272),
    [aux_sym_sql_keyword_token16] = ACTIONS(272),
    [aux_sym_sql_keyword_token17] = ACTIONS(272),
    [aux_sym_sql_keyword_token18] = ACTIONS(272),
    [aux_sym_sql_keyword_token19] = ACTIONS(272),
    [aux_sym_sql_keyword_token20] = ACTIONS(272),
    [aux_sym_sql_keyword_token21] = ACTIONS(272),
    [aux_sym_sql_keyword_token22] = ACTIONS(272),
    [aux_sym_sql_keyword_token23] = ACTIONS(272),
    [aux_sym_sql_keyword_token24] = ACTIONS(272),
    [aux_sym_sql_keyword_token25] = ACTIONS(272),
    [aux_sym_sql_keyword_token26] = ACTIONS(272),
    [aux_sym_sql_keyword_token27] = ACTIONS(272),
    [aux_sym_sql_keyword_token28] = ACTIONS(272),
    [aux_sym_sql_keyword_token29] = ACTIONS(272),
    [aux_sym_sql_keyword_token30] = ACTIONS(272),
    [aux_sym_sql_keyword_token31] = ACTIONS(272),
    [aux_sym_sql_keyword_token32] = ACTIONS(272),
    [aux_sym_sql_keyword_token33] = ACTIONS(272),
    [aux_sym_sql_keyword_token34] = ACTIONS(272),
    [aux_sym_sql_keyword_token35] = ACTIONS(272),
    [aux_sym_sql_keyword_token36] = ACTIONS(272),
    [aux_sym_sql_keyword_token37] = ACTIONS(272),
    [aux_sym_sql_keyword_token38] = ACTIONS(272),
    [aux_sym_sql_keyword_token39] = ACTIONS(272),
    [aux_sym_sql_keyword_token40] = ACTIONS(272),
    [aux_sym_sql_keyword_token41] = ACTIONS(272),
    [aux_sym_sql_keyword_token42] = ACTIONS(272),
    [aux_sym_sql_keyword_token43] = ACTIONS(272),
    [aux_sym_sql_keyword_token44] = ACTIONS(272),
    [aux_sym_sql_keyword_token45] = ACTIONS(272),
    [aux_sym_sql_keyword_token46] = ACTIONS(272),
    [aux_sym_sql_keyword_token47] = ACTIONS(272),
    [aux_sym_sql_keyword_token48] = ACTIONS(272),
    [aux_sym_sql_keyword_token49] = ACTIONS(272),
    [aux_sym_sql_keyword_token50] = ACTIONS(272),
    [sym_quoted_identifier] = ACTIONS(272),
    [sym_number] = ACTIONS(272),
    [anon_sym_SQUOTE] = ACTIONS(270),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(110)] = {
    [sym_comment] = STATE(110),
    [sym_bare_identifier] = ACTIONS(256),
    [anon_sym_COMMA] = ACTIONS(254),
    [anon_sym_STAR] = ACTIONS(256),
    [anon_sym_DOT] = ACTIONS(256),
    [anon_sym_EQ] = ACTIONS(256),
    [anon_sym_LT] = ACTIONS(256),
    [anon_sym_GT] = ACTIONS(256),
    [anon_sym_BANG] = ACTIONS(256),
    [anon_sym_COLON_COLON] = ACTIONS(256),
    [anon_sym_LPAREN] = ACTIONS(254),
    [anon_sym_RPAREN] = ACTIONS(254),
    [aux_sym_subquery_body_token1] = ACTIONS(256),
    [aux_sym_cast_expression_token1] = ACTIONS(256),
    [aux_sym_cast_expression_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token1] = ACTIONS(256),
    [aux_sym_sql_keyword_token2] = ACTIONS(256),
    [aux_sym_sql_keyword_token3] = ACTIONS(256),
    [aux_sym_sql_keyword_token4] = ACTIONS(256),
    [aux_sym_sql_keyword_token5] = ACTIONS(256),
    [aux_sym_sql_keyword_token6] = ACTIONS(256),
    [aux_sym_sql_keyword_token7] = ACTIONS(256),
    [aux_sym_sql_keyword_token8] = ACTIONS(256),
    [aux_sym_sql_keyword_token9] = ACTIONS(256),
    [aux_sym_sql_keyword_token10] = ACTIONS(256),
    [aux_sym_sql_keyword_token11] = ACTIONS(256),
    [aux_sym_sql_keyword_token12] = ACTIONS(256),
    [aux_sym_sql_keyword_token13] = ACTIONS(256),
    [aux_sym_sql_keyword_token14] = ACTIONS(256),
    [aux_sym_sql_keyword_token15] = ACTIONS(256),
    [aux_sym_sql_keyword_token16] = ACTIONS(256),
    [aux_sym_sql_keyword_token17] = ACTIONS(256),
    [aux_sym_sql_keyword_token18] = ACTIONS(256),
    [aux_sym_sql_keyword_token19] = ACTIONS(256),
    [aux_sym_sql_keyword_token20] = ACTIONS(256),
    [aux_sym_sql_keyword_token21] = ACTIONS(256),
    [aux_sym_sql_keyword_token22] = ACTIONS(256),
    [aux_sym_sql_keyword_token23] = ACTIONS(256),
    [aux_sym_sql_keyword_token24] = ACTIONS(256),
    [aux_sym_sql_keyword_token25] = ACTIONS(256),
    [aux_sym_sql_keyword_token26] = ACTIONS(256),
    [aux_sym_sql_keyword_token27] = ACTIONS(256),
    [aux_sym_sql_keyword_token28] = ACTIONS(256),
    [aux_sym_sql_keyword_token29] = ACTIONS(256),
    [aux_sym_sql_keyword_token30] = ACTIONS(256),
    [aux_sym_sql_keyword_token31] = ACTIONS(256),
    [aux_sym_sql_keyword_token32] = ACTIONS(256),
    [aux_sym_sql_keyword_token33] = ACTIONS(256),
    [aux_sym_sql_keyword_token34] = ACTIONS(256),
    [aux_sym_sql_keyword_token35] = ACTIONS(256),
    [aux_sym_sql_keyword_token36] = ACTIONS(256),
    [aux_sym_sql_keyword_token37] = ACTIONS(256),
    [aux_sym_sql_keyword_token38] = ACTIONS(256),
    [aux_sym_sql_keyword_token39] = ACTIONS(256),
    [aux_sym_sql_keyword_token40] = ACTIONS(256),
    [aux_sym_sql_keyword_token41] = ACTIONS(256),
    [aux_sym_sql_keyword_token42] = ACTIONS(256),
    [aux_sym_sql_keyword_token43] = ACTIONS(256),
    [aux_sym_sql_keyword_token44] = ACTIONS(256),
    [aux_sym_sql_keyword_token45] = ACTIONS(256),
    [aux_sym_sql_keyword_token46] = ACTIONS(256),
    [aux_sym_sql_keyword_token47] = ACTIONS(256),
    [aux_sym_sql_keyword_token48] = ACTIONS(256),
    [aux_sym_sql_keyword_token49] = ACTIONS(256),
    [aux_sym_sql_keyword_token50] = ACTIONS(256),
    [sym_quoted_identifier] = ACTIONS(256),
    [sym_number] = ACTIONS(256),
    [anon_sym_SQUOTE] = ACTIONS(254),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(111)] = {
    [sym_comment] = STATE(111),
    [sym_bare_identifier] = ACTIONS(260),
    [anon_sym_COMMA] = ACTIONS(258),
    [anon_sym_STAR] = ACTIONS(260),
    [anon_sym_DOT] = ACTIONS(260),
    [anon_sym_EQ] = ACTIONS(260),
    [anon_sym_LT] = ACTIONS(260),
    [anon_sym_GT] = ACTIONS(260),
    [anon_sym_BANG] = ACTIONS(260),
    [anon_sym_COLON_COLON] = ACTIONS(260),
    [anon_sym_LPAREN] = ACTIONS(258),
    [anon_sym_RPAREN] = ACTIONS(258),
    [aux_sym_subquery_body_token1] = ACTIONS(260),
    [aux_sym_cast_expression_token1] = ACTIONS(260),
    [aux_sym_cast_expression_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token1] = ACTIONS(260),
    [aux_sym_sql_keyword_token2] = ACTIONS(260),
    [aux_sym_sql_keyword_token3] = ACTIONS(260),
    [aux_sym_sql_keyword_token4] = ACTIONS(260),
    [aux_sym_sql_keyword_token5] = ACTIONS(260),
    [aux_sym_sql_keyword_token6] = ACTIONS(260),
    [aux_sym_sql_keyword_token7] = ACTIONS(260),
    [aux_sym_sql_keyword_token8] = ACTIONS(260),
    [aux_sym_sql_keyword_token9] = ACTIONS(260),
    [aux_sym_sql_keyword_token10] = ACTIONS(260),
    [aux_sym_sql_keyword_token11] = ACTIONS(260),
    [aux_sym_sql_keyword_token12] = ACTIONS(260),
    [aux_sym_sql_keyword_token13] = ACTIONS(260),
    [aux_sym_sql_keyword_token14] = ACTIONS(260),
    [aux_sym_sql_keyword_token15] = ACTIONS(260),
    [aux_sym_sql_keyword_token16] = ACTIONS(260),
    [aux_sym_sql_keyword_token17] = ACTIONS(260),
    [aux_sym_sql_keyword_token18] = ACTIONS(260),
    [aux_sym_sql_keyword_token19] = ACTIONS(260),
    [aux_sym_sql_keyword_token20] = ACTIONS(260),
    [aux_sym_sql_keyword_token21] = ACTIONS(260),
    [aux_sym_sql_keyword_token22] = ACTIONS(260),
    [aux_sym_sql_keyword_token23] = ACTIONS(260),
    [aux_sym_sql_keyword_token24] = ACTIONS(260),
    [aux_sym_sql_keyword_token25] = ACTIONS(260),
    [aux_sym_sql_keyword_token26] = ACTIONS(260),
    [aux_sym_sql_keyword_token27] = ACTIONS(260),
    [aux_sym_sql_keyword_token28] = ACTIONS(260),
    [aux_sym_sql_keyword_token29] = ACTIONS(260),
    [aux_sym_sql_keyword_token30] = ACTIONS(260),
    [aux_sym_sql_keyword_token31] = ACTIONS(260),
    [aux_sym_sql_keyword_token32] = ACTIONS(260),
    [aux_sym_sql_keyword_token33] = ACTIONS(260),
    [aux_sym_sql_keyword_token34] = ACTIONS(260),
    [aux_sym_sql_keyword_token35] = ACTIONS(260),
    [aux_sym_sql_keyword_token36] = ACTIONS(260),
    [aux_sym_sql_keyword_token37] = ACTIONS(260),
    [aux_sym_sql_keyword_token38] = ACTIONS(260),
    [aux_sym_sql_keyword_token39] = ACTIONS(260),
    [aux_sym_sql_keyword_token40] = ACTIONS(260),
    [aux_sym_sql_keyword_token41] = ACTIONS(260),
    [aux_sym_sql_keyword_token42] = ACTIONS(260),
    [aux_sym_sql_keyword_token43] = ACTIONS(260),
    [aux_sym_sql_keyword_token44] = ACTIONS(260),
    [aux_sym_sql_keyword_token45] = ACTIONS(260),
    [aux_sym_sql_keyword_token46] = ACTIONS(260),
    [aux_sym_sql_keyword_token47] = ACTIONS(260),
    [aux_sym_sql_keyword_token48] = ACTIONS(260),
    [aux_sym_sql_keyword_token49] = ACTIONS(260),
    [aux_sym_sql_keyword_token50] = ACTIONS(260),
    [sym_quoted_identifier] = ACTIONS(260),
    [sym_number] = ACTIONS(260),
    [anon_sym_SQUOTE] = ACTIONS(258),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(112)] = {
    [sym_comment] = STATE(112),
    [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_sql_keyword_token2] = ACTIONS(264),
    [aux_sym_sql_keyword_token3] = ACTIONS(264),
    [aux_sym_sql_keyword_token4] = ACTIONS(264),
    [aux_sym_sql_keyword_token5] = ACTIONS(264),
    [aux_sym_sql_keyword_token6] = ACTIONS(264),
    [aux_sym_sql_keyword_token7] = ACTIONS(264),
    [aux_sym_sql_keyword_token8] = ACTIONS(264),
    [aux_sym_sql_keyword_token9] = ACTIONS(264),
    [aux_sym_sql_keyword_token10] = ACTIONS(264),
    [aux_sym_sql_keyword_token11] = ACTIONS(264),
    [aux_sym_sql_keyword_token12] = ACTIONS(264),
    [aux_sym_sql_keyword_token13] = ACTIONS(264),
    [aux_sym_sql_keyword_token14] = ACTIONS(264),
    [aux_sym_sql_keyword_token15] = ACTIONS(264),
    [aux_sym_sql_keyword_token16] = ACTIONS(264),
    [aux_sym_sql_keyword_token17] = ACTIONS(264),
    [aux_sym_sql_keyword_token18] = ACTIONS(264),
    [aux_sym_sql_keyword_token19] = ACTIONS(264),
    [aux_sym_sql_keyword_token20] = ACTIONS(264),
    [aux_sym_sql_keyword_token21] = ACTIONS(264),
    [aux_sym_sql_keyword_token22] = ACTIONS(264),
    [aux_sym_sql_keyword_token23] = ACTIONS(264),
    [aux_sym_sql_keyword_token24] = ACTIONS(264),
    [aux_sym_sql_keyword_token25] = ACTIONS(264),
    [aux_sym_sql_keyword_token26] = ACTIONS(264),
    [aux_sym_sql_keyword_token27] = ACTIONS(264),
    [aux_sym_sql_keyword_token28] = ACTIONS(264),
    [aux_sym_sql_keyword_token29] = ACTIONS(264),
    [aux_sym_sql_keyword_token30] = ACTIONS(264),
    [aux_sym_sql_keyword_token31] = ACTIONS(264),
    [aux_sym_sql_keyword_token32] = ACTIONS(264),
    [aux_sym_sql_keyword_token33] = ACTIONS(264),
    [aux_sym_sql_keyword_token34] = ACTIONS(264),
    [aux_sym_sql_keyword_token35] = ACTIONS(264),
    [aux_sym_sql_keyword_token36] = ACTIONS(264),
    [aux_sym_sql_keyword_token37] = ACTIONS(264),
    [aux_sym_sql_keyword_token38] = ACTIONS(264),
    [aux_sym_sql_keyword_token39] = ACTIONS(264),
    [aux_sym_sql_keyword_token40] = ACTIONS(264),
    [aux_sym_sql_keyword_token41] = ACTIONS(264),
    [aux_sym_sql_keyword_token42] = ACTIONS(264),
    [aux_sym_sql_keyword_token43] = ACTIONS(264),
    [aux_sym_sql_keyword_token44] = ACTIONS(264),
    [aux_sym_sql_keyword_token45] = ACTIONS(264),
    [aux_sym_sql_keyword_token46] = ACTIONS(264),
    [aux_sym_sql_keyword_token47] = ACTIONS(264),
    [aux_sym_sql_keyword_token48] = ACTIONS(264),
    [aux_sym_sql_keyword_token49] = ACTIONS(264),
    [aux_sym_sql_keyword_token50] = 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(113)] = {
    [sym_comment] = STATE(113),
    [sym_bare_identifier] = ACTIONS(268),
    [anon_sym_COMMA] = ACTIONS(266),
    [anon_sym_STAR] = ACTIONS(268),
    [anon_sym_DOT] = ACTIONS(268),
    [anon_sym_EQ] = ACTIONS(268),
    [anon_sym_LT] = ACTIONS(268),
    [anon_sym_GT] = ACTIONS(268),
    [anon_sym_BANG] = ACTIONS(268),
    [anon_sym_COLON_COLON] = ACTIONS(268),
    [anon_sym_LPAREN] = ACTIONS(266),
    [anon_sym_RPAREN] = ACTIONS(266),
    [aux_sym_subquery_body_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_sql_keyword_token2] = ACTIONS(268),
    [aux_sym_sql_keyword_token3] = ACTIONS(268),
    [aux_sym_sql_keyword_token4] = ACTIONS(268),
    [aux_sym_sql_keyword_token5] = ACTIONS(268),
    [aux_sym_sql_keyword_token6] = ACTIONS(268),
    [aux_sym_sql_keyword_token7] = ACTIONS(268),
    [aux_sym_sql_keyword_token8] = ACTIONS(268),
    [aux_sym_sql_keyword_token9] = ACTIONS(268),
    [aux_sym_sql_keyword_token10] = ACTIONS(268),
    [aux_sym_sql_keyword_token11] = ACTIONS(268),
    [aux_sym_sql_keyword_token12] = ACTIONS(268),
    [aux_sym_sql_keyword_token13] = ACTIONS(268),
    [aux_sym_sql_keyword_token14] = ACTIONS(268),
    [aux_sym_sql_keyword_token15] = ACTIONS(268),
    [aux_sym_sql_keyword_token16] = ACTIONS(268),
    [aux_sym_sql_keyword_token17] = ACTIONS(268),
    [aux_sym_sql_keyword_token18] = ACTIONS(268),
    [aux_sym_sql_keyword_token19] = ACTIONS(268),
    [aux_sym_sql_keyword_token20] = ACTIONS(268),
    [aux_sym_sql_keyword_token21] = ACTIONS(268),
    [aux_sym_sql_keyword_token22] = ACTIONS(268),
    [aux_sym_sql_keyword_token23] = ACTIONS(268),
    [aux_sym_sql_keyword_token24] = ACTIONS(268),
    [aux_sym_sql_keyword_token25] = ACTIONS(268),
    [aux_sym_sql_keyword_token26] = ACTIONS(268),
    [aux_sym_sql_keyword_token27] = ACTIONS(268),
    [aux_sym_sql_keyword_token28] = ACTIONS(268),
    [aux_sym_sql_keyword_token29] = ACTIONS(268),
    [aux_sym_sql_keyword_token30] = ACTIONS(268),
    [aux_sym_sql_keyword_token31] = ACTIONS(268),
    [aux_sym_sql_keyword_token32] = ACTIONS(268),
    [aux_sym_sql_keyword_token33] = ACTIONS(268),
    [aux_sym_sql_keyword_token34] = ACTIONS(268),
    [aux_sym_sql_keyword_token35] = ACTIONS(268),
    [aux_sym_sql_keyword_token36] = ACTIONS(268),
    [aux_sym_sql_keyword_token37] = ACTIONS(268),
    [aux_sym_sql_keyword_token38] = ACTIONS(268),
    [aux_sym_sql_keyword_token39] = ACTIONS(268),
    [aux_sym_sql_keyword_token40] = ACTIONS(268),
    [aux_sym_sql_keyword_token41] = ACTIONS(268),
    [aux_sym_sql_keyword_token42] = ACTIONS(268),
    [aux_sym_sql_keyword_token43] = ACTIONS(268),
    [aux_sym_sql_keyword_token44] = ACTIONS(268),
    [aux_sym_sql_keyword_token45] = ACTIONS(268),
    [aux_sym_sql_keyword_token46] = ACTIONS(268),
    [aux_sym_sql_keyword_token47] = ACTIONS(268),
    [aux_sym_sql_keyword_token48] = ACTIONS(268),
    [aux_sym_sql_keyword_token49] = ACTIONS(268),
    [aux_sym_sql_keyword_token50] = ACTIONS(268),
    [sym_quoted_identifier] = ACTIONS(268),
    [sym_number] = ACTIONS(268),
    [anon_sym_SQUOTE] = ACTIONS(266),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(114)] = {
    [sym_comment] = STATE(114),
    [sym_bare_identifier] = ACTIONS(276),
    [anon_sym_COMMA] = ACTIONS(274),
    [anon_sym_STAR] = ACTIONS(276),
    [anon_sym_DOT] = ACTIONS(276),
    [anon_sym_EQ] = ACTIONS(276),
    [anon_sym_LT] = ACTIONS(276),
    [anon_sym_GT] = ACTIONS(276),
    [anon_sym_BANG] = ACTIONS(276),
    [anon_sym_COLON_COLON] = ACTIONS(276),
    [anon_sym_LPAREN] = ACTIONS(274),
    [anon_sym_RPAREN] = ACTIONS(274),
    [aux_sym_subquery_body_token1] = ACTIONS(276),
    [aux_sym_cast_expression_token1] = ACTIONS(276),
    [aux_sym_cast_expression_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token1] = ACTIONS(276),
    [aux_sym_sql_keyword_token2] = ACTIONS(276),
    [aux_sym_sql_keyword_token3] = ACTIONS(276),
    [aux_sym_sql_keyword_token4] = ACTIONS(276),
    [aux_sym_sql_keyword_token5] = ACTIONS(276),
    [aux_sym_sql_keyword_token6] = ACTIONS(276),
    [aux_sym_sql_keyword_token7] = ACTIONS(276),
    [aux_sym_sql_keyword_token8] = ACTIONS(276),
    [aux_sym_sql_keyword_token9] = ACTIONS(276),
    [aux_sym_sql_keyword_token10] = ACTIONS(276),
    [aux_sym_sql_keyword_token11] = ACTIONS(276),
    [aux_sym_sql_keyword_token12] = ACTIONS(276),
    [aux_sym_sql_keyword_token13] = ACTIONS(276),
    [aux_sym_sql_keyword_token14] = ACTIONS(276),
    [aux_sym_sql_keyword_token15] = ACTIONS(276),
    [aux_sym_sql_keyword_token16] = ACTIONS(276),
    [aux_sym_sql_keyword_token17] = ACTIONS(276),
    [aux_sym_sql_keyword_token18] = ACTIONS(276),
    [aux_sym_sql_keyword_token19] = ACTIONS(276),
    [aux_sym_sql_keyword_token20] = ACTIONS(276),
    [aux_sym_sql_keyword_token21] = ACTIONS(276),
    [aux_sym_sql_keyword_token22] = ACTIONS(276),
    [aux_sym_sql_keyword_token23] = ACTIONS(276),
    [aux_sym_sql_keyword_token24] = ACTIONS(276),
    [aux_sym_sql_keyword_token25] = ACTIONS(276),
    [aux_sym_sql_keyword_token26] = ACTIONS(276),
    [aux_sym_sql_keyword_token27] = ACTIONS(276),
    [aux_sym_sql_keyword_token28] = ACTIONS(276),
    [aux_sym_sql_keyword_token29] = ACTIONS(276),
    [aux_sym_sql_keyword_token30] = ACTIONS(276),
    [aux_sym_sql_keyword_token31] = ACTIONS(276),
    [aux_sym_sql_keyword_token32] = ACTIONS(276),
    [aux_sym_sql_keyword_token33] = ACTIONS(276),
    [aux_sym_sql_keyword_token34] = ACTIONS(276),
    [aux_sym_sql_keyword_token35] = ACTIONS(276),
    [aux_sym_sql_keyword_token36] = ACTIONS(276),
    [aux_sym_sql_keyword_token37] = ACTIONS(276),
    [aux_sym_sql_keyword_token38] = ACTIONS(276),
    [aux_sym_sql_keyword_token39] = ACTIONS(276),
    [aux_sym_sql_keyword_token40] = ACTIONS(276),
    [aux_sym_sql_keyword_token41] = ACTIONS(276),
    [aux_sym_sql_keyword_token42] = ACTIONS(276),
    [aux_sym_sql_keyword_token43] = ACTIONS(276),
    [aux_sym_sql_keyword_token44] = ACTIONS(276),
    [aux_sym_sql_keyword_token45] = ACTIONS(276),
    [aux_sym_sql_keyword_token46] = ACTIONS(276),
    [aux_sym_sql_keyword_token47] = ACTIONS(276),
    [aux_sym_sql_keyword_token48] = ACTIONS(276),
    [aux_sym_sql_keyword_token49] = ACTIONS(276),
    [aux_sym_sql_keyword_token50] = ACTIONS(276),
    [sym_quoted_identifier] = ACTIONS(276),
    [sym_number] = ACTIONS(276),
    [anon_sym_SQUOTE] = ACTIONS(274),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(115)] = {
    [sym_comment] = STATE(115),
    [sym_bare_identifier] = ACTIONS(280),
    [anon_sym_COMMA] = ACTIONS(278),
    [anon_sym_STAR] = ACTIONS(280),
    [anon_sym_DOT] = ACTIONS(280),
    [anon_sym_EQ] = ACTIONS(280),
    [anon_sym_LT] = ACTIONS(280),
    [anon_sym_GT] = ACTIONS(280),
    [anon_sym_BANG] = ACTIONS(280),
    [anon_sym_COLON_COLON] = ACTIONS(280),
    [anon_sym_LPAREN] = ACTIONS(278),
    [anon_sym_RPAREN] = ACTIONS(278),
    [aux_sym_subquery_body_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token1] = ACTIONS(280),
    [aux_sym_cast_expression_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token1] = ACTIONS(280),
    [aux_sym_sql_keyword_token2] = ACTIONS(280),
    [aux_sym_sql_keyword_token3] = ACTIONS(280),
    [aux_sym_sql_keyword_token4] = ACTIONS(280),
    [aux_sym_sql_keyword_token5] = ACTIONS(280),
    [aux_sym_sql_keyword_token6] = ACTIONS(280),
    [aux_sym_sql_keyword_token7] = ACTIONS(280),
    [aux_sym_sql_keyword_token8] = ACTIONS(280),
    [aux_sym_sql_keyword_token9] = ACTIONS(280),
    [aux_sym_sql_keyword_token10] = ACTIONS(280),
    [aux_sym_sql_keyword_token11] = ACTIONS(280),
    [aux_sym_sql_keyword_token12] = ACTIONS(280),
    [aux_sym_sql_keyword_token13] = ACTIONS(280),
    [aux_sym_sql_keyword_token14] = ACTIONS(280),
    [aux_sym_sql_keyword_token15] = ACTIONS(280),
    [aux_sym_sql_keyword_token16] = ACTIONS(280),
    [aux_sym_sql_keyword_token17] = ACTIONS(280),
    [aux_sym_sql_keyword_token18] = ACTIONS(280),
    [aux_sym_sql_keyword_token19] = ACTIONS(280),
    [aux_sym_sql_keyword_token20] = ACTIONS(280),
    [aux_sym_sql_keyword_token21] = ACTIONS(280),
    [aux_sym_sql_keyword_token22] = ACTIONS(280),
    [aux_sym_sql_keyword_token23] = ACTIONS(280),
    [aux_sym_sql_keyword_token24] = ACTIONS(280),
    [aux_sym_sql_keyword_token25] = ACTIONS(280),
    [aux_sym_sql_keyword_token26] = ACTIONS(280),
    [aux_sym_sql_keyword_token27] = ACTIONS(280),
    [aux_sym_sql_keyword_token28] = ACTIONS(280),
    [aux_sym_sql_keyword_token29] = ACTIONS(280),
    [aux_sym_sql_keyword_token30] = ACTIONS(280),
    [aux_sym_sql_keyword_token31] = ACTIONS(280),
    [aux_sym_sql_keyword_token32] = ACTIONS(280),
    [aux_sym_sql_keyword_token33] = ACTIONS(280),
    [aux_sym_sql_keyword_token34] = ACTIONS(280),
    [aux_sym_sql_keyword_token35] = ACTIONS(280),
    [aux_sym_sql_keyword_token36] = ACTIONS(280),
    [aux_sym_sql_keyword_token37] = ACTIONS(280),
    [aux_sym_sql_keyword_token38] = ACTIONS(280),
    [aux_sym_sql_keyword_token39] = ACTIONS(280),
    [aux_sym_sql_keyword_token40] = ACTIONS(280),
    [aux_sym_sql_keyword_token41] = ACTIONS(280),
    [aux_sym_sql_keyword_token42] = ACTIONS(280),
    [aux_sym_sql_keyword_token43] = ACTIONS(280),
    [aux_sym_sql_keyword_token44] = ACTIONS(280),
    [aux_sym_sql_keyword_token45] = ACTIONS(280),
    [aux_sym_sql_keyword_token46] = ACTIONS(280),
    [aux_sym_sql_keyword_token47] = ACTIONS(280),
    [aux_sym_sql_keyword_token48] = ACTIONS(280),
    [aux_sym_sql_keyword_token49] = ACTIONS(280),
    [aux_sym_sql_keyword_token50] = ACTIONS(280),
    [sym_quoted_identifier] = ACTIONS(280),
    [sym_number] = ACTIONS(280),
    [anon_sym_SQUOTE] = ACTIONS(278),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(116)] = {
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(116),
    [aux_sym_other_sql_statement_repeat1] = STATE(116),
    [ts_builtin_sym_end] = ACTIONS(437),
    [anon_sym_SEMI] = ACTIONS(437),
    [anon_sym_COMMA] = ACTIONS(439),
    [anon_sym_STAR] = ACTIONS(442),
    [anon_sym_DOT] = ACTIONS(442),
    [anon_sym_EQ] = ACTIONS(442),
    [anon_sym_LPAREN] = ACTIONS(445),
    [anon_sym_RPAREN] = ACTIONS(439),
    [aux_sym_other_sql_statement_token1] = ACTIONS(442),
    [aux_sym_sql_keyword_token1] = ACTIONS(448),
    [aux_sym_sql_keyword_token2] = ACTIONS(451),
    [aux_sym_sql_keyword_token3] = ACTIONS(451),
    [aux_sym_sql_keyword_token4] = ACTIONS(448),
    [aux_sym_sql_keyword_token5] = ACTIONS(451),
    [aux_sym_sql_keyword_token6] = ACTIONS(451),
    [aux_sym_sql_keyword_token7] = ACTIONS(451),
    [aux_sym_sql_keyword_token8] = ACTIONS(448),
    [aux_sym_sql_keyword_token9] = ACTIONS(451),
    [aux_sym_sql_keyword_token10] = ACTIONS(451),
    [aux_sym_sql_keyword_token11] = ACTIONS(451),
    [aux_sym_sql_keyword_token12] = ACTIONS(448),
    [aux_sym_sql_keyword_token13] = ACTIONS(451),
    [aux_sym_sql_keyword_token14] = ACTIONS(448),
    [aux_sym_sql_keyword_token15] = ACTIONS(448),
    [aux_sym_sql_keyword_token16] = ACTIONS(448),
    [aux_sym_sql_keyword_token17] = ACTIONS(451),
    [aux_sym_sql_keyword_token18] = ACTIONS(451),
    [aux_sym_sql_keyword_token19] = ACTIONS(451),
    [aux_sym_sql_keyword_token20] = ACTIONS(451),
    [aux_sym_sql_keyword_token21] = ACTIONS(451),
    [aux_sym_sql_keyword_token22] = ACTIONS(448),
    [aux_sym_sql_keyword_token23] = ACTIONS(451),
    [aux_sym_sql_keyword_token24] = ACTIONS(451),
    [aux_sym_sql_keyword_token25] = ACTIONS(451),
    [aux_sym_sql_keyword_token26] = ACTIONS(451),
    [aux_sym_sql_keyword_token27] = ACTIONS(448),
    [aux_sym_sql_keyword_token28] = ACTIONS(451),
    [aux_sym_sql_keyword_token29] = ACTIONS(451),
    [aux_sym_sql_keyword_token30] = ACTIONS(451),
    [aux_sym_sql_keyword_token31] = ACTIONS(451),
    [aux_sym_sql_keyword_token32] = ACTIONS(451),
    [aux_sym_sql_keyword_token33] = ACTIONS(448),
    [aux_sym_sql_keyword_token34] = ACTIONS(448),
    [aux_sym_sql_keyword_token35] = ACTIONS(448),
    [aux_sym_sql_keyword_token36] = ACTIONS(451),
    [aux_sym_sql_keyword_token37] = ACTIONS(451),
    [aux_sym_sql_keyword_token38] = ACTIONS(451),
    [aux_sym_sql_keyword_token39] = ACTIONS(451),
    [aux_sym_sql_keyword_token40] = ACTIONS(451),
    [aux_sym_sql_keyword_token41] = ACTIONS(451),
    [aux_sym_sql_keyword_token42] = ACTIONS(448),
    [aux_sym_sql_keyword_token43] = ACTIONS(451),
    [aux_sym_sql_keyword_token44] = ACTIONS(451),
    [aux_sym_sql_keyword_token45] = ACTIONS(451),
    [aux_sym_sql_keyword_token46] = ACTIONS(451),
    [aux_sym_sql_keyword_token47] = ACTIONS(448),
    [aux_sym_sql_keyword_token48] = ACTIONS(451),
    [aux_sym_sql_keyword_token49] = ACTIONS(451),
    [aux_sym_sql_keyword_token50] = ACTIONS(451),
    [sym_visualise_keyword] = ACTIONS(437),
    [sym_number] = ACTIONS(442),
    [anon_sym_SQUOTE] = ACTIONS(454),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(117)] = {
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(117),
    [aux_sym_other_sql_statement_repeat1] = STATE(116),
    [ts_builtin_sym_end] = ACTIONS(457),
    [anon_sym_SEMI] = ACTIONS(457),
    [anon_sym_COMMA] = ACTIONS(11),
    [anon_sym_STAR] = ACTIONS(13),
    [anon_sym_DOT] = ACTIONS(13),
    [anon_sym_EQ] = ACTIONS(13),
    [anon_sym_LPAREN] = ACTIONS(17),
    [anon_sym_RPAREN] = ACTIONS(11),
    [aux_sym_other_sql_statement_token1] = ACTIONS(13),
    [aux_sym_sql_keyword_token1] = ACTIONS(27),
    [aux_sym_sql_keyword_token2] = ACTIONS(29),
    [aux_sym_sql_keyword_token3] = ACTIONS(29),
    [aux_sym_sql_keyword_token4] = ACTIONS(27),
    [aux_sym_sql_keyword_token5] = ACTIONS(29),
    [aux_sym_sql_keyword_token6] = ACTIONS(29),
    [aux_sym_sql_keyword_token7] = ACTIONS(29),
    [aux_sym_sql_keyword_token8] = ACTIONS(27),
    [aux_sym_sql_keyword_token9] = ACTIONS(29),
    [aux_sym_sql_keyword_token10] = ACTIONS(29),
    [aux_sym_sql_keyword_token11] = ACTIONS(29),
    [aux_sym_sql_keyword_token12] = ACTIONS(27),
    [aux_sym_sql_keyword_token13] = ACTIONS(29),
    [aux_sym_sql_keyword_token14] = ACTIONS(27),
    [aux_sym_sql_keyword_token15] = ACTIONS(27),
    [aux_sym_sql_keyword_token16] = ACTIONS(27),
    [aux_sym_sql_keyword_token17] = ACTIONS(29),
    [aux_sym_sql_keyword_token18] = ACTIONS(29),
    [aux_sym_sql_keyword_token19] = ACTIONS(29),
    [aux_sym_sql_keyword_token20] = ACTIONS(29),
    [aux_sym_sql_keyword_token21] = ACTIONS(29),
    [aux_sym_sql_keyword_token22] = ACTIONS(27),
    [aux_sym_sql_keyword_token23] = ACTIONS(29),
    [aux_sym_sql_keyword_token24] = ACTIONS(29),
    [aux_sym_sql_keyword_token25] = ACTIONS(29),
    [aux_sym_sql_keyword_token26] = ACTIONS(29),
    [aux_sym_sql_keyword_token27] = ACTIONS(27),
    [aux_sym_sql_keyword_token28] = ACTIONS(29),
    [aux_sym_sql_keyword_token29] = ACTIONS(29),
    [aux_sym_sql_keyword_token30] = ACTIONS(29),
    [aux_sym_sql_keyword_token31] = ACTIONS(29),
    [aux_sym_sql_keyword_token32] = ACTIONS(29),
    [aux_sym_sql_keyword_token33] = ACTIONS(27),
    [aux_sym_sql_keyword_token34] = ACTIONS(27),
    [aux_sym_sql_keyword_token35] = ACTIONS(27),
    [aux_sym_sql_keyword_token36] = ACTIONS(29),
    [aux_sym_sql_keyword_token37] = ACTIONS(29),
    [aux_sym_sql_keyword_token38] = ACTIONS(29),
    [aux_sym_sql_keyword_token39] = ACTIONS(29),
    [aux_sym_sql_keyword_token40] = ACTIONS(29),
    [aux_sym_sql_keyword_token41] = ACTIONS(29),
    [aux_sym_sql_keyword_token42] = ACTIONS(27),
    [aux_sym_sql_keyword_token43] = ACTIONS(29),
    [aux_sym_sql_keyword_token44] = ACTIONS(29),
    [aux_sym_sql_keyword_token45] = ACTIONS(29),
    [aux_sym_sql_keyword_token46] = ACTIONS(29),
    [aux_sym_sql_keyword_token47] = ACTIONS(27),
    [aux_sym_sql_keyword_token48] = ACTIONS(29),
    [aux_sym_sql_keyword_token49] = ACTIONS(29),
    [aux_sym_sql_keyword_token50] = ACTIONS(29),
    [sym_visualise_keyword] = ACTIONS(457),
    [sym_number] = ACTIONS(13),
    [anon_sym_SQUOTE] = ACTIONS(33),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(118)] = {
    [sym_subquery] = STATE(124),
    [sym_sql_keyword] = STATE(124),
    [sym_identifier] = STATE(124),
    [sym_string] = STATE(124),
    [sym_comment] = STATE(118),
    [aux_sym_create_statement_repeat1] = STATE(94),
    [sym_bare_identifier] = ACTIONS(355),
    [anon_sym_COMMA] = ACTIONS(359),
    [anon_sym_STAR] = ACTIONS(361),
    [anon_sym_DOT] = ACTIONS(361),
    [anon_sym_EQ] = ACTIONS(361),
    [anon_sym_LPAREN] = ACTIONS(363),
    [anon_sym_RPAREN] = ACTIONS(359),
    [aux_sym_create_statement_token2] = ACTIONS(361),
    [aux_sym_sql_keyword_token1] = ACTIONS(365),
    [aux_sym_sql_keyword_token2] = ACTIONS(365),
    [aux_sym_sql_keyword_token3] = ACTIONS(365),
    [aux_sym_sql_keyword_token4] = ACTIONS(365),
    [aux_sym_sql_keyword_token5] = ACTIONS(365),
    [aux_sym_sql_keyword_token6] = ACTIONS(365),
    [aux_sym_sql_keyword_token7] = ACTIONS(365),
    [aux_sym_sql_keyword_token8] = ACTIONS(365),
    [aux_sym_sql_keyword_token9] = ACTIONS(365),
    [aux_sym_sql_keyword_token10] = ACTIONS(365),
    [aux_sym_sql_keyword_token11] = ACTIONS(365),
    [aux_sym_sql_keyword_token12] = ACTIONS(365),
    [aux_sym_sql_keyword_token13] = ACTIONS(365),
    [aux_sym_sql_keyword_token14] = ACTIONS(365),
    [aux_sym_sql_keyword_token15] = ACTIONS(365),
    [aux_sym_sql_keyword_token16] = ACTIONS(365),
    [aux_sym_sql_keyword_token17] = ACTIONS(365),
    [aux_sym_sql_keyword_token18] = ACTIONS(365),
    [aux_sym_sql_keyword_token19] = ACTIONS(365),
    [aux_sym_sql_keyword_token20] = ACTIONS(365),
    [aux_sym_sql_keyword_token21] = ACTIONS(365),
    [aux_sym_sql_keyword_token22] = ACTIONS(365),
    [aux_sym_sql_keyword_token23] = ACTIONS(365),
    [aux_sym_sql_keyword_token24] = ACTIONS(365),
    [aux_sym_sql_keyword_token25] = ACTIONS(365),
    [aux_sym_sql_keyword_token26] = ACTIONS(365),
    [aux_sym_sql_keyword_token27] = ACTIONS(365),
    [aux_sym_sql_keyword_token28] = ACTIONS(365),
    [aux_sym_sql_keyword_token29] = ACTIONS(365),
    [aux_sym_sql_keyword_token30] = ACTIONS(365),
    [aux_sym_sql_keyword_token31] = ACTIONS(365),
    [aux_sym_sql_keyword_token32] = ACTIONS(365),
    [aux_sym_sql_keyword_token33] = ACTIONS(365),
    [aux_sym_sql_keyword_token34] = ACTIONS(365),
    [aux_sym_sql_keyword_token35] = ACTIONS(365),
    [aux_sym_sql_keyword_token36] = ACTIONS(365),
    [aux_sym_sql_keyword_token37] = ACTIONS(365),
    [aux_sym_sql_keyword_token38] = ACTIONS(365),
    [aux_sym_sql_keyword_token39] = ACTIONS(365),
    [aux_sym_sql_keyword_token40] = ACTIONS(365),
    [aux_sym_sql_keyword_token41] = ACTIONS(365),
    [aux_sym_sql_keyword_token42] = ACTIONS(365),
    [aux_sym_sql_keyword_token43] = ACTIONS(365),
    [aux_sym_sql_keyword_token44] = ACTIONS(365),
    [aux_sym_sql_keyword_token45] = ACTIONS(365),
    [aux_sym_sql_keyword_token46] = ACTIONS(365),
    [aux_sym_sql_keyword_token47] = ACTIONS(365),
    [aux_sym_sql_keyword_token48] = ACTIONS(365),
    [aux_sym_sql_keyword_token49] = ACTIONS(365),
    [aux_sym_sql_keyword_token50] = ACTIONS(365),
    [sym_quoted_identifier] = ACTIONS(355),
    [sym_number] = ACTIONS(361),
    [anon_sym_SQUOTE] = ACTIONS(367),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(119)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(119),
    [aux_sym_create_statement_repeat1] = STATE(97),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(120)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(120),
    [aux_sym_create_statement_repeat1] = STATE(96),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(121)] = {
    [sym_subquery] = STATE(129),
    [sym_sql_keyword] = STATE(129),
    [sym_identifier] = STATE(129),
    [sym_string] = STATE(129),
    [sym_comment] = STATE(121),
    [aux_sym_create_statement_repeat1] = STATE(99),
    [sym_bare_identifier] = ACTIONS(393),
    [anon_sym_COMMA] = ACTIONS(395),
    [anon_sym_STAR] = ACTIONS(397),
    [anon_sym_DOT] = ACTIONS(397),
    [anon_sym_EQ] = ACTIONS(397),
    [anon_sym_LPAREN] = ACTIONS(399),
    [anon_sym_RPAREN] = ACTIONS(395),
    [aux_sym_create_statement_token2] = ACTIONS(397),
    [aux_sym_sql_keyword_token1] = ACTIONS(401),
    [aux_sym_sql_keyword_token2] = ACTIONS(401),
    [aux_sym_sql_keyword_token3] = ACTIONS(401),
    [aux_sym_sql_keyword_token4] = ACTIONS(401),
    [aux_sym_sql_keyword_token5] = ACTIONS(401),
    [aux_sym_sql_keyword_token6] = ACTIONS(401),
    [aux_sym_sql_keyword_token7] = ACTIONS(401),
    [aux_sym_sql_keyword_token8] = ACTIONS(401),
    [aux_sym_sql_keyword_token9] = ACTIONS(401),
    [aux_sym_sql_keyword_token10] = ACTIONS(401),
    [aux_sym_sql_keyword_token11] = ACTIONS(401),
    [aux_sym_sql_keyword_token12] = ACTIONS(401),
    [aux_sym_sql_keyword_token13] = ACTIONS(401),
    [aux_sym_sql_keyword_token14] = ACTIONS(401),
    [aux_sym_sql_keyword_token15] = ACTIONS(401),
    [aux_sym_sql_keyword_token16] = ACTIONS(401),
    [aux_sym_sql_keyword_token17] = ACTIONS(401),
    [aux_sym_sql_keyword_token18] = ACTIONS(401),
    [aux_sym_sql_keyword_token19] = ACTIONS(401),
    [aux_sym_sql_keyword_token20] = ACTIONS(401),
    [aux_sym_sql_keyword_token21] = ACTIONS(401),
    [aux_sym_sql_keyword_token22] = ACTIONS(401),
    [aux_sym_sql_keyword_token23] = ACTIONS(401),
    [aux_sym_sql_keyword_token24] = ACTIONS(401),
    [aux_sym_sql_keyword_token25] = ACTIONS(401),
    [aux_sym_sql_keyword_token26] = ACTIONS(401),
    [aux_sym_sql_keyword_token27] = ACTIONS(401),
    [aux_sym_sql_keyword_token28] = ACTIONS(401),
    [aux_sym_sql_keyword_token29] = ACTIONS(401),
    [aux_sym_sql_keyword_token30] = ACTIONS(401),
    [aux_sym_sql_keyword_token31] = ACTIONS(401),
    [aux_sym_sql_keyword_token32] = ACTIONS(401),
    [aux_sym_sql_keyword_token33] = ACTIONS(401),
    [aux_sym_sql_keyword_token34] = ACTIONS(401),
    [aux_sym_sql_keyword_token35] = ACTIONS(401),
    [aux_sym_sql_keyword_token36] = ACTIONS(401),
    [aux_sym_sql_keyword_token37] = ACTIONS(401),
    [aux_sym_sql_keyword_token38] = ACTIONS(401),
    [aux_sym_sql_keyword_token39] = ACTIONS(401),
    [aux_sym_sql_keyword_token40] = ACTIONS(401),
    [aux_sym_sql_keyword_token41] = ACTIONS(401),
    [aux_sym_sql_keyword_token42] = ACTIONS(401),
    [aux_sym_sql_keyword_token43] = ACTIONS(401),
    [aux_sym_sql_keyword_token44] = ACTIONS(401),
    [aux_sym_sql_keyword_token45] = ACTIONS(401),
    [aux_sym_sql_keyword_token46] = ACTIONS(401),
    [aux_sym_sql_keyword_token47] = ACTIONS(401),
    [aux_sym_sql_keyword_token48] = ACTIONS(401),
    [aux_sym_sql_keyword_token49] = ACTIONS(401),
    [aux_sym_sql_keyword_token50] = ACTIONS(401),
    [sym_quoted_identifier] = ACTIONS(393),
    [sym_number] = ACTIONS(397),
    [anon_sym_SQUOTE] = ACTIONS(403),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(122)] = {
    [sym_comment] = STATE(122),
    [ts_builtin_sym_end] = ACTIONS(242),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_SEMI] = ACTIONS(242),
    [aux_sym_select_statement_token1] = ACTIONS(244),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(244),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(244),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_create_statement_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_visualise_keyword] = ACTIONS(242),
    [sym_quoted_identifier] = ACTIONS(244),
    [sym_number] = ACTIONS(244),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(123)] = {
    [sym_comment] = STATE(123),
    [ts_builtin_sym_end] = ACTIONS(238),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_SEMI] = ACTIONS(238),
    [aux_sym_select_statement_token1] = ACTIONS(240),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(240),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(240),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_create_statement_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_visualise_keyword] = ACTIONS(238),
    [sym_quoted_identifier] = ACTIONS(240),
    [sym_number] = ACTIONS(240),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(124)] = {
    [sym_comment] = STATE(124),
    [ts_builtin_sym_end] = ACTIONS(88),
    [sym_bare_identifier] = ACTIONS(102),
    [anon_sym_SEMI] = ACTIONS(88),
    [aux_sym_select_statement_token1] = ACTIONS(102),
    [anon_sym_COMMA] = ACTIONS(88),
    [anon_sym_STAR] = ACTIONS(102),
    [anon_sym_DOT] = ACTIONS(102),
    [anon_sym_EQ] = ACTIONS(102),
    [anon_sym_LPAREN] = ACTIONS(88),
    [anon_sym_RPAREN] = ACTIONS(88),
    [aux_sym_create_statement_token2] = ACTIONS(102),
    [aux_sym_sql_keyword_token1] = ACTIONS(102),
    [aux_sym_sql_keyword_token2] = ACTIONS(102),
    [aux_sym_sql_keyword_token3] = ACTIONS(102),
    [aux_sym_sql_keyword_token4] = ACTIONS(102),
    [aux_sym_sql_keyword_token5] = ACTIONS(102),
    [aux_sym_sql_keyword_token6] = ACTIONS(102),
    [aux_sym_sql_keyword_token7] = ACTIONS(102),
    [aux_sym_sql_keyword_token8] = ACTIONS(102),
    [aux_sym_sql_keyword_token9] = ACTIONS(102),
    [aux_sym_sql_keyword_token10] = ACTIONS(102),
    [aux_sym_sql_keyword_token11] = ACTIONS(102),
    [aux_sym_sql_keyword_token12] = ACTIONS(102),
    [aux_sym_sql_keyword_token13] = ACTIONS(102),
    [aux_sym_sql_keyword_token14] = ACTIONS(102),
    [aux_sym_sql_keyword_token15] = ACTIONS(102),
    [aux_sym_sql_keyword_token16] = ACTIONS(102),
    [aux_sym_sql_keyword_token17] = ACTIONS(102),
    [aux_sym_sql_keyword_token18] = ACTIONS(102),
    [aux_sym_sql_keyword_token19] = ACTIONS(102),
    [aux_sym_sql_keyword_token20] = ACTIONS(102),
    [aux_sym_sql_keyword_token21] = ACTIONS(102),
    [aux_sym_sql_keyword_token22] = ACTIONS(102),
    [aux_sym_sql_keyword_token23] = ACTIONS(102),
    [aux_sym_sql_keyword_token24] = ACTIONS(102),
    [aux_sym_sql_keyword_token25] = ACTIONS(102),
    [aux_sym_sql_keyword_token26] = ACTIONS(102),
    [aux_sym_sql_keyword_token27] = ACTIONS(102),
    [aux_sym_sql_keyword_token28] = ACTIONS(102),
    [aux_sym_sql_keyword_token29] = ACTIONS(102),
    [aux_sym_sql_keyword_token30] = ACTIONS(102),
    [aux_sym_sql_keyword_token31] = ACTIONS(102),
    [aux_sym_sql_keyword_token32] = ACTIONS(102),
    [aux_sym_sql_keyword_token33] = ACTIONS(102),
    [aux_sym_sql_keyword_token34] = ACTIONS(102),
    [aux_sym_sql_keyword_token35] = ACTIONS(102),
    [aux_sym_sql_keyword_token36] = ACTIONS(102),
    [aux_sym_sql_keyword_token37] = ACTIONS(102),
    [aux_sym_sql_keyword_token38] = ACTIONS(102),
    [aux_sym_sql_keyword_token39] = ACTIONS(102),
    [aux_sym_sql_keyword_token40] = ACTIONS(102),
    [aux_sym_sql_keyword_token41] = ACTIONS(102),
    [aux_sym_sql_keyword_token42] = ACTIONS(102),
    [aux_sym_sql_keyword_token43] = ACTIONS(102),
    [aux_sym_sql_keyword_token44] = ACTIONS(102),
    [aux_sym_sql_keyword_token45] = ACTIONS(102),
    [aux_sym_sql_keyword_token46] = ACTIONS(102),
    [aux_sym_sql_keyword_token47] = ACTIONS(102),
    [aux_sym_sql_keyword_token48] = ACTIONS(102),
    [aux_sym_sql_keyword_token49] = ACTIONS(102),
    [aux_sym_sql_keyword_token50] = ACTIONS(102),
    [sym_visualise_keyword] = ACTIONS(88),
    [sym_quoted_identifier] = ACTIONS(102),
    [sym_number] = ACTIONS(102),
    [anon_sym_SQUOTE] = ACTIONS(88),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(125)] = {
    [sym_comment] = STATE(125),
    [ts_builtin_sym_end] = ACTIONS(159),
    [sym_bare_identifier] = ACTIONS(163),
    [anon_sym_SEMI] = ACTIONS(159),
    [aux_sym_select_statement_token1] = ACTIONS(163),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(163),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(163),
    [anon_sym_LPAREN] = ACTIONS(159),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_create_statement_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_visualise_keyword] = ACTIONS(159),
    [sym_quoted_identifier] = ACTIONS(163),
    [sym_number] = ACTIONS(163),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(126)] = {
    [sym_comment] = STATE(126),
    [ts_builtin_sym_end] = ACTIONS(217),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [aux_sym_select_statement_token1] = ACTIONS(219),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(219),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(219),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_create_statement_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_quoted_identifier] = ACTIONS(219),
    [sym_number] = ACTIONS(219),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(127)] = {
    [sym_comment] = STATE(127),
    [ts_builtin_sym_end] = ACTIONS(184),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_SEMI] = ACTIONS(184),
    [aux_sym_select_statement_token1] = ACTIONS(186),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(186),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(186),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_create_statement_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_visualise_keyword] = ACTIONS(184),
    [sym_quoted_identifier] = ACTIONS(186),
    [sym_number] = ACTIONS(186),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(128)] = {
    [sym_comment] = STATE(128),
    [ts_builtin_sym_end] = ACTIONS(159),
    [sym_bare_identifier] = ACTIONS(163),
    [anon_sym_SEMI] = ACTIONS(159),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(163),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(163),
    [anon_sym_LPAREN] = ACTIONS(159),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_create_statement_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(163),
    [aux_sym_sql_keyword_token3] = ACTIONS(163),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(163),
    [aux_sym_sql_keyword_token6] = ACTIONS(163),
    [aux_sym_sql_keyword_token7] = ACTIONS(163),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(163),
    [aux_sym_sql_keyword_token10] = ACTIONS(163),
    [aux_sym_sql_keyword_token11] = ACTIONS(163),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(163),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(163),
    [aux_sym_sql_keyword_token18] = ACTIONS(163),
    [aux_sym_sql_keyword_token19] = ACTIONS(163),
    [aux_sym_sql_keyword_token20] = ACTIONS(163),
    [aux_sym_sql_keyword_token21] = ACTIONS(163),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(163),
    [aux_sym_sql_keyword_token24] = ACTIONS(163),
    [aux_sym_sql_keyword_token25] = ACTIONS(163),
    [aux_sym_sql_keyword_token26] = ACTIONS(163),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(163),
    [aux_sym_sql_keyword_token29] = ACTIONS(163),
    [aux_sym_sql_keyword_token30] = ACTIONS(163),
    [aux_sym_sql_keyword_token31] = ACTIONS(163),
    [aux_sym_sql_keyword_token32] = ACTIONS(163),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(163),
    [aux_sym_sql_keyword_token37] = ACTIONS(163),
    [aux_sym_sql_keyword_token38] = ACTIONS(163),
    [aux_sym_sql_keyword_token39] = ACTIONS(163),
    [aux_sym_sql_keyword_token40] = ACTIONS(163),
    [aux_sym_sql_keyword_token41] = ACTIONS(163),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(163),
    [aux_sym_sql_keyword_token44] = ACTIONS(163),
    [aux_sym_sql_keyword_token45] = ACTIONS(163),
    [aux_sym_sql_keyword_token46] = ACTIONS(163),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(163),
    [aux_sym_sql_keyword_token49] = ACTIONS(163),
    [aux_sym_sql_keyword_token50] = ACTIONS(163),
    [sym_visualise_keyword] = ACTIONS(159),
    [sym_quoted_identifier] = ACTIONS(163),
    [sym_number] = ACTIONS(163),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(129)] = {
    [sym_comment] = STATE(129),
    [ts_builtin_sym_end] = ACTIONS(88),
    [sym_bare_identifier] = ACTIONS(102),
    [anon_sym_SEMI] = ACTIONS(88),
    [anon_sym_COMMA] = ACTIONS(88),
    [anon_sym_STAR] = ACTIONS(102),
    [anon_sym_DOT] = ACTIONS(102),
    [anon_sym_EQ] = ACTIONS(102),
    [anon_sym_LPAREN] = ACTIONS(88),
    [anon_sym_RPAREN] = ACTIONS(88),
    [aux_sym_create_statement_token2] = ACTIONS(102),
    [aux_sym_sql_keyword_token1] = ACTIONS(102),
    [aux_sym_sql_keyword_token2] = ACTIONS(102),
    [aux_sym_sql_keyword_token3] = ACTIONS(102),
    [aux_sym_sql_keyword_token4] = ACTIONS(102),
    [aux_sym_sql_keyword_token5] = ACTIONS(102),
    [aux_sym_sql_keyword_token6] = ACTIONS(102),
    [aux_sym_sql_keyword_token7] = ACTIONS(102),
    [aux_sym_sql_keyword_token8] = ACTIONS(102),
    [aux_sym_sql_keyword_token9] = ACTIONS(102),
    [aux_sym_sql_keyword_token10] = ACTIONS(102),
    [aux_sym_sql_keyword_token11] = ACTIONS(102),
    [aux_sym_sql_keyword_token12] = ACTIONS(102),
    [aux_sym_sql_keyword_token13] = ACTIONS(102),
    [aux_sym_sql_keyword_token14] = ACTIONS(102),
    [aux_sym_sql_keyword_token15] = ACTIONS(102),
    [aux_sym_sql_keyword_token16] = ACTIONS(102),
    [aux_sym_sql_keyword_token17] = ACTIONS(102),
    [aux_sym_sql_keyword_token18] = ACTIONS(102),
    [aux_sym_sql_keyword_token19] = ACTIONS(102),
    [aux_sym_sql_keyword_token20] = ACTIONS(102),
    [aux_sym_sql_keyword_token21] = ACTIONS(102),
    [aux_sym_sql_keyword_token22] = ACTIONS(102),
    [aux_sym_sql_keyword_token23] = ACTIONS(102),
    [aux_sym_sql_keyword_token24] = ACTIONS(102),
    [aux_sym_sql_keyword_token25] = ACTIONS(102),
    [aux_sym_sql_keyword_token26] = ACTIONS(102),
    [aux_sym_sql_keyword_token27] = ACTIONS(102),
    [aux_sym_sql_keyword_token28] = ACTIONS(102),
    [aux_sym_sql_keyword_token29] = ACTIONS(102),
    [aux_sym_sql_keyword_token30] = ACTIONS(102),
    [aux_sym_sql_keyword_token31] = ACTIONS(102),
    [aux_sym_sql_keyword_token32] = ACTIONS(102),
    [aux_sym_sql_keyword_token33] = ACTIONS(102),
    [aux_sym_sql_keyword_token34] = ACTIONS(102),
    [aux_sym_sql_keyword_token35] = ACTIONS(102),
    [aux_sym_sql_keyword_token36] = ACTIONS(102),
    [aux_sym_sql_keyword_token37] = ACTIONS(102),
    [aux_sym_sql_keyword_token38] = ACTIONS(102),
    [aux_sym_sql_keyword_token39] = ACTIONS(102),
    [aux_sym_sql_keyword_token40] = ACTIONS(102),
    [aux_sym_sql_keyword_token41] = ACTIONS(102),
    [aux_sym_sql_keyword_token42] = ACTIONS(102),
    [aux_sym_sql_keyword_token43] = ACTIONS(102),
    [aux_sym_sql_keyword_token44] = ACTIONS(102),
    [aux_sym_sql_keyword_token45] = ACTIONS(102),
    [aux_sym_sql_keyword_token46] = ACTIONS(102),
    [aux_sym_sql_keyword_token47] = ACTIONS(102),
    [aux_sym_sql_keyword_token48] = ACTIONS(102),
    [aux_sym_sql_keyword_token49] = ACTIONS(102),
    [aux_sym_sql_keyword_token50] = ACTIONS(102),
    [sym_visualise_keyword] = ACTIONS(88),
    [sym_quoted_identifier] = ACTIONS(102),
    [sym_number] = ACTIONS(102),
    [anon_sym_SQUOTE] = ACTIONS(88),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(130)] = {
    [sym_comment] = STATE(130),
    [ts_builtin_sym_end] = ACTIONS(184),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_SEMI] = ACTIONS(184),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(186),
    [anon_sym_DOT] = ACTIONS(186),
    [anon_sym_EQ] = ACTIONS(186),
    [anon_sym_LPAREN] = ACTIONS(184),
    [anon_sym_RPAREN] = ACTIONS(184),
    [aux_sym_create_statement_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token1] = ACTIONS(186),
    [aux_sym_sql_keyword_token2] = ACTIONS(186),
    [aux_sym_sql_keyword_token3] = ACTIONS(186),
    [aux_sym_sql_keyword_token4] = ACTIONS(186),
    [aux_sym_sql_keyword_token5] = ACTIONS(186),
    [aux_sym_sql_keyword_token6] = ACTIONS(186),
    [aux_sym_sql_keyword_token7] = ACTIONS(186),
    [aux_sym_sql_keyword_token8] = ACTIONS(186),
    [aux_sym_sql_keyword_token9] = ACTIONS(186),
    [aux_sym_sql_keyword_token10] = ACTIONS(186),
    [aux_sym_sql_keyword_token11] = ACTIONS(186),
    [aux_sym_sql_keyword_token12] = ACTIONS(186),
    [aux_sym_sql_keyword_token13] = ACTIONS(186),
    [aux_sym_sql_keyword_token14] = ACTIONS(186),
    [aux_sym_sql_keyword_token15] = ACTIONS(186),
    [aux_sym_sql_keyword_token16] = ACTIONS(186),
    [aux_sym_sql_keyword_token17] = ACTIONS(186),
    [aux_sym_sql_keyword_token18] = ACTIONS(186),
    [aux_sym_sql_keyword_token19] = ACTIONS(186),
    [aux_sym_sql_keyword_token20] = ACTIONS(186),
    [aux_sym_sql_keyword_token21] = ACTIONS(186),
    [aux_sym_sql_keyword_token22] = ACTIONS(186),
    [aux_sym_sql_keyword_token23] = ACTIONS(186),
    [aux_sym_sql_keyword_token24] = ACTIONS(186),
    [aux_sym_sql_keyword_token25] = ACTIONS(186),
    [aux_sym_sql_keyword_token26] = ACTIONS(186),
    [aux_sym_sql_keyword_token27] = ACTIONS(186),
    [aux_sym_sql_keyword_token28] = ACTIONS(186),
    [aux_sym_sql_keyword_token29] = ACTIONS(186),
    [aux_sym_sql_keyword_token30] = ACTIONS(186),
    [aux_sym_sql_keyword_token31] = ACTIONS(186),
    [aux_sym_sql_keyword_token32] = ACTIONS(186),
    [aux_sym_sql_keyword_token33] = ACTIONS(186),
    [aux_sym_sql_keyword_token34] = ACTIONS(186),
    [aux_sym_sql_keyword_token35] = ACTIONS(186),
    [aux_sym_sql_keyword_token36] = ACTIONS(186),
    [aux_sym_sql_keyword_token37] = ACTIONS(186),
    [aux_sym_sql_keyword_token38] = ACTIONS(186),
    [aux_sym_sql_keyword_token39] = ACTIONS(186),
    [aux_sym_sql_keyword_token40] = ACTIONS(186),
    [aux_sym_sql_keyword_token41] = ACTIONS(186),
    [aux_sym_sql_keyword_token42] = ACTIONS(186),
    [aux_sym_sql_keyword_token43] = ACTIONS(186),
    [aux_sym_sql_keyword_token44] = ACTIONS(186),
    [aux_sym_sql_keyword_token45] = ACTIONS(186),
    [aux_sym_sql_keyword_token46] = ACTIONS(186),
    [aux_sym_sql_keyword_token47] = ACTIONS(186),
    [aux_sym_sql_keyword_token48] = ACTIONS(186),
    [aux_sym_sql_keyword_token49] = ACTIONS(186),
    [aux_sym_sql_keyword_token50] = ACTIONS(186),
    [sym_visualise_keyword] = ACTIONS(184),
    [sym_quoted_identifier] = ACTIONS(186),
    [sym_number] = ACTIONS(186),
    [anon_sym_SQUOTE] = ACTIONS(184),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(131)] = {
    [sym_comment] = STATE(131),
    [ts_builtin_sym_end] = ACTIONS(217),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(219),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(219),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_create_statement_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(219),
    [aux_sym_sql_keyword_token3] = ACTIONS(219),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(219),
    [aux_sym_sql_keyword_token6] = ACTIONS(219),
    [aux_sym_sql_keyword_token7] = ACTIONS(219),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(219),
    [aux_sym_sql_keyword_token10] = ACTIONS(219),
    [aux_sym_sql_keyword_token11] = ACTIONS(219),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(219),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(219),
    [aux_sym_sql_keyword_token18] = ACTIONS(219),
    [aux_sym_sql_keyword_token19] = ACTIONS(219),
    [aux_sym_sql_keyword_token20] = ACTIONS(219),
    [aux_sym_sql_keyword_token21] = ACTIONS(219),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(219),
    [aux_sym_sql_keyword_token24] = ACTIONS(219),
    [aux_sym_sql_keyword_token25] = ACTIONS(219),
    [aux_sym_sql_keyword_token26] = ACTIONS(219),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(219),
    [aux_sym_sql_keyword_token29] = ACTIONS(219),
    [aux_sym_sql_keyword_token30] = ACTIONS(219),
    [aux_sym_sql_keyword_token31] = ACTIONS(219),
    [aux_sym_sql_keyword_token32] = ACTIONS(219),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(219),
    [aux_sym_sql_keyword_token37] = ACTIONS(219),
    [aux_sym_sql_keyword_token38] = ACTIONS(219),
    [aux_sym_sql_keyword_token39] = ACTIONS(219),
    [aux_sym_sql_keyword_token40] = ACTIONS(219),
    [aux_sym_sql_keyword_token41] = ACTIONS(219),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(219),
    [aux_sym_sql_keyword_token44] = ACTIONS(219),
    [aux_sym_sql_keyword_token45] = ACTIONS(219),
    [aux_sym_sql_keyword_token46] = ACTIONS(219),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(219),
    [aux_sym_sql_keyword_token49] = ACTIONS(219),
    [aux_sym_sql_keyword_token50] = ACTIONS(219),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_quoted_identifier] = ACTIONS(219),
    [sym_number] = ACTIONS(219),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(132)] = {
    [sym_comment] = STATE(132),
    [ts_builtin_sym_end] = ACTIONS(242),
    [sym_bare_identifier] = ACTIONS(244),
    [anon_sym_SEMI] = ACTIONS(242),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(244),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(244),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_create_statement_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(244),
    [aux_sym_sql_keyword_token3] = ACTIONS(244),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(244),
    [aux_sym_sql_keyword_token6] = ACTIONS(244),
    [aux_sym_sql_keyword_token7] = ACTIONS(244),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(244),
    [aux_sym_sql_keyword_token10] = ACTIONS(244),
    [aux_sym_sql_keyword_token11] = ACTIONS(244),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(244),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(244),
    [aux_sym_sql_keyword_token18] = ACTIONS(244),
    [aux_sym_sql_keyword_token19] = ACTIONS(244),
    [aux_sym_sql_keyword_token20] = ACTIONS(244),
    [aux_sym_sql_keyword_token21] = ACTIONS(244),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(244),
    [aux_sym_sql_keyword_token24] = ACTIONS(244),
    [aux_sym_sql_keyword_token25] = ACTIONS(244),
    [aux_sym_sql_keyword_token26] = ACTIONS(244),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(244),
    [aux_sym_sql_keyword_token29] = ACTIONS(244),
    [aux_sym_sql_keyword_token30] = ACTIONS(244),
    [aux_sym_sql_keyword_token31] = ACTIONS(244),
    [aux_sym_sql_keyword_token32] = ACTIONS(244),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(244),
    [aux_sym_sql_keyword_token37] = ACTIONS(244),
    [aux_sym_sql_keyword_token38] = ACTIONS(244),
    [aux_sym_sql_keyword_token39] = ACTIONS(244),
    [aux_sym_sql_keyword_token40] = ACTIONS(244),
    [aux_sym_sql_keyword_token41] = ACTIONS(244),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(244),
    [aux_sym_sql_keyword_token44] = ACTIONS(244),
    [aux_sym_sql_keyword_token45] = ACTIONS(244),
    [aux_sym_sql_keyword_token46] = ACTIONS(244),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(244),
    [aux_sym_sql_keyword_token49] = ACTIONS(244),
    [aux_sym_sql_keyword_token50] = ACTIONS(244),
    [sym_visualise_keyword] = ACTIONS(242),
    [sym_quoted_identifier] = ACTIONS(244),
    [sym_number] = ACTIONS(244),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(133)] = {
    [sym_comment] = STATE(133),
    [ts_builtin_sym_end] = ACTIONS(238),
    [sym_bare_identifier] = ACTIONS(240),
    [anon_sym_SEMI] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(240),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(240),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_create_statement_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(240),
    [aux_sym_sql_keyword_token3] = ACTIONS(240),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(240),
    [aux_sym_sql_keyword_token6] = ACTIONS(240),
    [aux_sym_sql_keyword_token7] = ACTIONS(240),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(240),
    [aux_sym_sql_keyword_token10] = ACTIONS(240),
    [aux_sym_sql_keyword_token11] = ACTIONS(240),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(240),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(240),
    [aux_sym_sql_keyword_token18] = ACTIONS(240),
    [aux_sym_sql_keyword_token19] = ACTIONS(240),
    [aux_sym_sql_keyword_token20] = ACTIONS(240),
    [aux_sym_sql_keyword_token21] = ACTIONS(240),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(240),
    [aux_sym_sql_keyword_token24] = ACTIONS(240),
    [aux_sym_sql_keyword_token25] = ACTIONS(240),
    [aux_sym_sql_keyword_token26] = ACTIONS(240),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(240),
    [aux_sym_sql_keyword_token29] = ACTIONS(240),
    [aux_sym_sql_keyword_token30] = ACTIONS(240),
    [aux_sym_sql_keyword_token31] = ACTIONS(240),
    [aux_sym_sql_keyword_token32] = ACTIONS(240),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(240),
    [aux_sym_sql_keyword_token37] = ACTIONS(240),
    [aux_sym_sql_keyword_token38] = ACTIONS(240),
    [aux_sym_sql_keyword_token39] = ACTIONS(240),
    [aux_sym_sql_keyword_token40] = ACTIONS(240),
    [aux_sym_sql_keyword_token41] = ACTIONS(240),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(240),
    [aux_sym_sql_keyword_token44] = ACTIONS(240),
    [aux_sym_sql_keyword_token45] = ACTIONS(240),
    [aux_sym_sql_keyword_token46] = ACTIONS(240),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(240),
    [aux_sym_sql_keyword_token49] = ACTIONS(240),
    [aux_sym_sql_keyword_token50] = ACTIONS(240),
    [sym_visualise_keyword] = ACTIONS(238),
    [sym_quoted_identifier] = ACTIONS(240),
    [sym_number] = ACTIONS(240),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(134)] = {
    [sym_comment] = STATE(134),
    [ts_builtin_sym_end] = ACTIONS(242),
    [anon_sym_SEMI] = ACTIONS(242),
    [anon_sym_COMMA] = ACTIONS(242),
    [anon_sym_STAR] = ACTIONS(244),
    [anon_sym_DOT] = ACTIONS(244),
    [anon_sym_EQ] = ACTIONS(244),
    [anon_sym_LPAREN] = ACTIONS(242),
    [anon_sym_RPAREN] = ACTIONS(242),
    [aux_sym_other_sql_statement_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token1] = ACTIONS(244),
    [aux_sym_sql_keyword_token2] = ACTIONS(242),
    [aux_sym_sql_keyword_token3] = ACTIONS(242),
    [aux_sym_sql_keyword_token4] = ACTIONS(244),
    [aux_sym_sql_keyword_token5] = ACTIONS(242),
    [aux_sym_sql_keyword_token6] = ACTIONS(242),
    [aux_sym_sql_keyword_token7] = ACTIONS(242),
    [aux_sym_sql_keyword_token8] = ACTIONS(244),
    [aux_sym_sql_keyword_token9] = ACTIONS(242),
    [aux_sym_sql_keyword_token10] = ACTIONS(242),
    [aux_sym_sql_keyword_token11] = ACTIONS(242),
    [aux_sym_sql_keyword_token12] = ACTIONS(244),
    [aux_sym_sql_keyword_token13] = ACTIONS(242),
    [aux_sym_sql_keyword_token14] = ACTIONS(244),
    [aux_sym_sql_keyword_token15] = ACTIONS(244),
    [aux_sym_sql_keyword_token16] = ACTIONS(244),
    [aux_sym_sql_keyword_token17] = ACTIONS(242),
    [aux_sym_sql_keyword_token18] = ACTIONS(242),
    [aux_sym_sql_keyword_token19] = ACTIONS(242),
    [aux_sym_sql_keyword_token20] = ACTIONS(242),
    [aux_sym_sql_keyword_token21] = ACTIONS(242),
    [aux_sym_sql_keyword_token22] = ACTIONS(244),
    [aux_sym_sql_keyword_token23] = ACTIONS(242),
    [aux_sym_sql_keyword_token24] = ACTIONS(242),
    [aux_sym_sql_keyword_token25] = ACTIONS(242),
    [aux_sym_sql_keyword_token26] = ACTIONS(242),
    [aux_sym_sql_keyword_token27] = ACTIONS(244),
    [aux_sym_sql_keyword_token28] = ACTIONS(242),
    [aux_sym_sql_keyword_token29] = ACTIONS(242),
    [aux_sym_sql_keyword_token30] = ACTIONS(242),
    [aux_sym_sql_keyword_token31] = ACTIONS(242),
    [aux_sym_sql_keyword_token32] = ACTIONS(242),
    [aux_sym_sql_keyword_token33] = ACTIONS(244),
    [aux_sym_sql_keyword_token34] = ACTIONS(244),
    [aux_sym_sql_keyword_token35] = ACTIONS(244),
    [aux_sym_sql_keyword_token36] = ACTIONS(242),
    [aux_sym_sql_keyword_token37] = ACTIONS(242),
    [aux_sym_sql_keyword_token38] = ACTIONS(242),
    [aux_sym_sql_keyword_token39] = ACTIONS(242),
    [aux_sym_sql_keyword_token40] = ACTIONS(242),
    [aux_sym_sql_keyword_token41] = ACTIONS(242),
    [aux_sym_sql_keyword_token42] = ACTIONS(244),
    [aux_sym_sql_keyword_token43] = ACTIONS(242),
    [aux_sym_sql_keyword_token44] = ACTIONS(242),
    [aux_sym_sql_keyword_token45] = ACTIONS(242),
    [aux_sym_sql_keyword_token46] = ACTIONS(242),
    [aux_sym_sql_keyword_token47] = ACTIONS(244),
    [aux_sym_sql_keyword_token48] = ACTIONS(242),
    [aux_sym_sql_keyword_token49] = ACTIONS(242),
    [aux_sym_sql_keyword_token50] = ACTIONS(242),
    [sym_visualise_keyword] = ACTIONS(242),
    [sym_number] = ACTIONS(244),
    [anon_sym_SQUOTE] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(135)] = {
    [sym_comment] = STATE(135),
    [ts_builtin_sym_end] = ACTIONS(238),
    [anon_sym_SEMI] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(238),
    [anon_sym_STAR] = ACTIONS(240),
    [anon_sym_DOT] = ACTIONS(240),
    [anon_sym_EQ] = ACTIONS(240),
    [anon_sym_LPAREN] = ACTIONS(238),
    [anon_sym_RPAREN] = ACTIONS(238),
    [aux_sym_other_sql_statement_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token1] = ACTIONS(240),
    [aux_sym_sql_keyword_token2] = ACTIONS(238),
    [aux_sym_sql_keyword_token3] = ACTIONS(238),
    [aux_sym_sql_keyword_token4] = ACTIONS(240),
    [aux_sym_sql_keyword_token5] = ACTIONS(238),
    [aux_sym_sql_keyword_token6] = ACTIONS(238),
    [aux_sym_sql_keyword_token7] = ACTIONS(238),
    [aux_sym_sql_keyword_token8] = ACTIONS(240),
    [aux_sym_sql_keyword_token9] = ACTIONS(238),
    [aux_sym_sql_keyword_token10] = ACTIONS(238),
    [aux_sym_sql_keyword_token11] = ACTIONS(238),
    [aux_sym_sql_keyword_token12] = ACTIONS(240),
    [aux_sym_sql_keyword_token13] = ACTIONS(238),
    [aux_sym_sql_keyword_token14] = ACTIONS(240),
    [aux_sym_sql_keyword_token15] = ACTIONS(240),
    [aux_sym_sql_keyword_token16] = ACTIONS(240),
    [aux_sym_sql_keyword_token17] = ACTIONS(238),
    [aux_sym_sql_keyword_token18] = ACTIONS(238),
    [aux_sym_sql_keyword_token19] = ACTIONS(238),
    [aux_sym_sql_keyword_token20] = ACTIONS(238),
    [aux_sym_sql_keyword_token21] = ACTIONS(238),
    [aux_sym_sql_keyword_token22] = ACTIONS(240),
    [aux_sym_sql_keyword_token23] = ACTIONS(238),
    [aux_sym_sql_keyword_token24] = ACTIONS(238),
    [aux_sym_sql_keyword_token25] = ACTIONS(238),
    [aux_sym_sql_keyword_token26] = ACTIONS(238),
    [aux_sym_sql_keyword_token27] = ACTIONS(240),
    [aux_sym_sql_keyword_token28] = ACTIONS(238),
    [aux_sym_sql_keyword_token29] = ACTIONS(238),
    [aux_sym_sql_keyword_token30] = ACTIONS(238),
    [aux_sym_sql_keyword_token31] = ACTIONS(238),
    [aux_sym_sql_keyword_token32] = ACTIONS(238),
    [aux_sym_sql_keyword_token33] = ACTIONS(240),
    [aux_sym_sql_keyword_token34] = ACTIONS(240),
    [aux_sym_sql_keyword_token35] = ACTIONS(240),
    [aux_sym_sql_keyword_token36] = ACTIONS(238),
    [aux_sym_sql_keyword_token37] = ACTIONS(238),
    [aux_sym_sql_keyword_token38] = ACTIONS(238),
    [aux_sym_sql_keyword_token39] = ACTIONS(238),
    [aux_sym_sql_keyword_token40] = ACTIONS(238),
    [aux_sym_sql_keyword_token41] = ACTIONS(238),
    [aux_sym_sql_keyword_token42] = ACTIONS(240),
    [aux_sym_sql_keyword_token43] = ACTIONS(238),
    [aux_sym_sql_keyword_token44] = ACTIONS(238),
    [aux_sym_sql_keyword_token45] = ACTIONS(238),
    [aux_sym_sql_keyword_token46] = ACTIONS(238),
    [aux_sym_sql_keyword_token47] = ACTIONS(240),
    [aux_sym_sql_keyword_token48] = ACTIONS(238),
    [aux_sym_sql_keyword_token49] = ACTIONS(238),
    [aux_sym_sql_keyword_token50] = ACTIONS(238),
    [sym_visualise_keyword] = ACTIONS(238),
    [sym_number] = ACTIONS(240),
    [anon_sym_SQUOTE] = ACTIONS(238),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(136)] = {
    [sym_comment] = STATE(136),
    [ts_builtin_sym_end] = ACTIONS(217),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(217),
    [anon_sym_STAR] = ACTIONS(219),
    [anon_sym_DOT] = ACTIONS(219),
    [anon_sym_EQ] = ACTIONS(219),
    [anon_sym_LPAREN] = ACTIONS(217),
    [anon_sym_RPAREN] = ACTIONS(217),
    [aux_sym_other_sql_statement_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token1] = ACTIONS(219),
    [aux_sym_sql_keyword_token2] = ACTIONS(217),
    [aux_sym_sql_keyword_token3] = ACTIONS(217),
    [aux_sym_sql_keyword_token4] = ACTIONS(219),
    [aux_sym_sql_keyword_token5] = ACTIONS(217),
    [aux_sym_sql_keyword_token6] = ACTIONS(217),
    [aux_sym_sql_keyword_token7] = ACTIONS(217),
    [aux_sym_sql_keyword_token8] = ACTIONS(219),
    [aux_sym_sql_keyword_token9] = ACTIONS(217),
    [aux_sym_sql_keyword_token10] = ACTIONS(217),
    [aux_sym_sql_keyword_token11] = ACTIONS(217),
    [aux_sym_sql_keyword_token12] = ACTIONS(219),
    [aux_sym_sql_keyword_token13] = ACTIONS(217),
    [aux_sym_sql_keyword_token14] = ACTIONS(219),
    [aux_sym_sql_keyword_token15] = ACTIONS(219),
    [aux_sym_sql_keyword_token16] = ACTIONS(219),
    [aux_sym_sql_keyword_token17] = ACTIONS(217),
    [aux_sym_sql_keyword_token18] = ACTIONS(217),
    [aux_sym_sql_keyword_token19] = ACTIONS(217),
    [aux_sym_sql_keyword_token20] = ACTIONS(217),
    [aux_sym_sql_keyword_token21] = ACTIONS(217),
    [aux_sym_sql_keyword_token22] = ACTIONS(219),
    [aux_sym_sql_keyword_token23] = ACTIONS(217),
    [aux_sym_sql_keyword_token24] = ACTIONS(217),
    [aux_sym_sql_keyword_token25] = ACTIONS(217),
    [aux_sym_sql_keyword_token26] = ACTIONS(217),
    [aux_sym_sql_keyword_token27] = ACTIONS(219),
    [aux_sym_sql_keyword_token28] = ACTIONS(217),
    [aux_sym_sql_keyword_token29] = ACTIONS(217),
    [aux_sym_sql_keyword_token30] = ACTIONS(217),
    [aux_sym_sql_keyword_token31] = ACTIONS(217),
    [aux_sym_sql_keyword_token32] = ACTIONS(217),
    [aux_sym_sql_keyword_token33] = ACTIONS(219),
    [aux_sym_sql_keyword_token34] = ACTIONS(219),
    [aux_sym_sql_keyword_token35] = ACTIONS(219),
    [aux_sym_sql_keyword_token36] = ACTIONS(217),
    [aux_sym_sql_keyword_token37] = ACTIONS(217),
    [aux_sym_sql_keyword_token38] = ACTIONS(217),
    [aux_sym_sql_keyword_token39] = ACTIONS(217),
    [aux_sym_sql_keyword_token40] = ACTIONS(217),
    [aux_sym_sql_keyword_token41] = ACTIONS(217),
    [aux_sym_sql_keyword_token42] = ACTIONS(219),
    [aux_sym_sql_keyword_token43] = ACTIONS(217),
    [aux_sym_sql_keyword_token44] = ACTIONS(217),
    [aux_sym_sql_keyword_token45] = ACTIONS(217),
    [aux_sym_sql_keyword_token46] = ACTIONS(217),
    [aux_sym_sql_keyword_token47] = ACTIONS(219),
    [aux_sym_sql_keyword_token48] = ACTIONS(217),
    [aux_sym_sql_keyword_token49] = ACTIONS(217),
    [aux_sym_sql_keyword_token50] = ACTIONS(217),
    [sym_visualise_keyword] = ACTIONS(217),
    [sym_number] = ACTIONS(219),
    [anon_sym_SQUOTE] = ACTIONS(217),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(137)] = {
    [sym_comment] = STATE(137),
    [ts_builtin_sym_end] = ACTIONS(159),
    [anon_sym_SEMI] = ACTIONS(159),
    [anon_sym_COMMA] = ACTIONS(159),
    [anon_sym_STAR] = ACTIONS(163),
    [anon_sym_DOT] = ACTIONS(163),
    [anon_sym_EQ] = ACTIONS(163),
    [anon_sym_LPAREN] = ACTIONS(159),
    [anon_sym_RPAREN] = ACTIONS(159),
    [aux_sym_other_sql_statement_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token1] = ACTIONS(163),
    [aux_sym_sql_keyword_token2] = ACTIONS(159),
    [aux_sym_sql_keyword_token3] = ACTIONS(159),
    [aux_sym_sql_keyword_token4] = ACTIONS(163),
    [aux_sym_sql_keyword_token5] = ACTIONS(159),
    [aux_sym_sql_keyword_token6] = ACTIONS(159),
    [aux_sym_sql_keyword_token7] = ACTIONS(159),
    [aux_sym_sql_keyword_token8] = ACTIONS(163),
    [aux_sym_sql_keyword_token9] = ACTIONS(159),
    [aux_sym_sql_keyword_token10] = ACTIONS(159),
    [aux_sym_sql_keyword_token11] = ACTIONS(159),
    [aux_sym_sql_keyword_token12] = ACTIONS(163),
    [aux_sym_sql_keyword_token13] = ACTIONS(159),
    [aux_sym_sql_keyword_token14] = ACTIONS(163),
    [aux_sym_sql_keyword_token15] = ACTIONS(163),
    [aux_sym_sql_keyword_token16] = ACTIONS(163),
    [aux_sym_sql_keyword_token17] = ACTIONS(159),
    [aux_sym_sql_keyword_token18] = ACTIONS(159),
    [aux_sym_sql_keyword_token19] = ACTIONS(159),
    [aux_sym_sql_keyword_token20] = ACTIONS(159),
    [aux_sym_sql_keyword_token21] = ACTIONS(159),
    [aux_sym_sql_keyword_token22] = ACTIONS(163),
    [aux_sym_sql_keyword_token23] = ACTIONS(159),
    [aux_sym_sql_keyword_token24] = ACTIONS(159),
    [aux_sym_sql_keyword_token25] = ACTIONS(159),
    [aux_sym_sql_keyword_token26] = ACTIONS(159),
    [aux_sym_sql_keyword_token27] = ACTIONS(163),
    [aux_sym_sql_keyword_token28] = ACTIONS(159),
    [aux_sym_sql_keyword_token29] = ACTIONS(159),
    [aux_sym_sql_keyword_token30] = ACTIONS(159),
    [aux_sym_sql_keyword_token31] = ACTIONS(159),
    [aux_sym_sql_keyword_token32] = ACTIONS(159),
    [aux_sym_sql_keyword_token33] = ACTIONS(163),
    [aux_sym_sql_keyword_token34] = ACTIONS(163),
    [aux_sym_sql_keyword_token35] = ACTIONS(163),
    [aux_sym_sql_keyword_token36] = ACTIONS(159),
    [aux_sym_sql_keyword_token37] = ACTIONS(159),
    [aux_sym_sql_keyword_token38] = ACTIONS(159),
    [aux_sym_sql_keyword_token39] = ACTIONS(159),
    [aux_sym_sql_keyword_token40] = ACTIONS(159),
    [aux_sym_sql_keyword_token41] = ACTIONS(159),
    [aux_sym_sql_keyword_token42] = ACTIONS(163),
    [aux_sym_sql_keyword_token43] = ACTIONS(159),
    [aux_sym_sql_keyword_token44] = ACTIONS(159),
    [aux_sym_sql_keyword_token45] = ACTIONS(159),
    [aux_sym_sql_keyword_token46] = ACTIONS(159),
    [aux_sym_sql_keyword_token47] = ACTIONS(163),
    [aux_sym_sql_keyword_token48] = ACTIONS(159),
    [aux_sym_sql_keyword_token49] = ACTIONS(159),
    [aux_sym_sql_keyword_token50] = ACTIONS(159),
    [sym_visualise_keyword] = ACTIONS(159),
    [sym_number] = ACTIONS(163),
    [anon_sym_SQUOTE] = ACTIONS(159),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(138)] = {
    [sym_comment] = STATE(138),
    [ts_builtin_sym_end] = ACTIONS(110),
    [anon_sym_SEMI] = ACTIONS(110),
    [anon_sym_COMMA] = ACTIONS(110),
    [anon_sym_STAR] = ACTIONS(112),
    [anon_sym_DOT] = ACTIONS(112),
    [anon_sym_EQ] = ACTIONS(112),
    [anon_sym_LPAREN] = ACTIONS(110),
    [anon_sym_RPAREN] = ACTIONS(110),
    [aux_sym_other_sql_statement_token1] = ACTIONS(112),
    [aux_sym_sql_keyword_token1] = ACTIONS(112),
    [aux_sym_sql_keyword_token2] = ACTIONS(110),
    [aux_sym_sql_keyword_token3] = ACTIONS(110),
    [aux_sym_sql_keyword_token4] = ACTIONS(112),
    [aux_sym_sql_keyword_token5] = ACTIONS(110),
    [aux_sym_sql_keyword_token6] = ACTIONS(110),
    [aux_sym_sql_keyword_token7] = ACTIONS(110),
    [aux_sym_sql_keyword_token8] = ACTIONS(112),
    [aux_sym_sql_keyword_token9] = ACTIONS(110),
    [aux_sym_sql_keyword_token10] = ACTIONS(110),
    [aux_sym_sql_keyword_token11] = ACTIONS(110),
    [aux_sym_sql_keyword_token12] = ACTIONS(112),
    [aux_sym_sql_keyword_token13] = ACTIONS(110),
    [aux_sym_sql_keyword_token14] = ACTIONS(112),
    [aux_sym_sql_keyword_token15] = ACTIONS(112),
    [aux_sym_sql_keyword_token16] = ACTIONS(112),
    [aux_sym_sql_keyword_token17] = ACTIONS(110),
    [aux_sym_sql_keyword_token18] = ACTIONS(110),
    [aux_sym_sql_keyword_token19] = ACTIONS(110),
    [aux_sym_sql_keyword_token20] = ACTIONS(110),
    [aux_sym_sql_keyword_token21] = ACTIONS(110),
    [aux_sym_sql_keyword_token22] = ACTIONS(112),
    [aux_sym_sql_keyword_token23] = ACTIONS(110),
    [aux_sym_sql_keyword_token24] = ACTIONS(110),
    [aux_sym_sql_keyword_token25] = ACTIONS(110),
    [aux_sym_sql_keyword_token26] = ACTIONS(110),
    [aux_sym_sql_keyword_token27] = ACTIONS(112),
    [aux_sym_sql_keyword_token28] = ACTIONS(110),
    [aux_sym_sql_keyword_token29] = ACTIONS(110),
    [aux_sym_sql_keyword_token30] = ACTIONS(110),
    [aux_sym_sql_keyword_token31] = ACTIONS(110),
    [aux_sym_sql_keyword_token32] = ACTIONS(110),
    [aux_sym_sql_keyword_token33] = ACTIONS(112),
    [aux_sym_sql_keyword_token34] = ACTIONS(112),
    [aux_sym_sql_keyword_token35] = ACTIONS(112),
    [aux_sym_sql_keyword_token36] = ACTIONS(110),
    [aux_sym_sql_keyword_token37] = ACTIONS(110),
    [aux_sym_sql_keyword_token38] = ACTIONS(110),
    [aux_sym_sql_keyword_token39] = ACTIONS(110),
    [aux_sym_sql_keyword_token40] = ACTIONS(110),
    [aux_sym_sql_keyword_token41] = ACTIONS(110),
    [aux_sym_sql_keyword_token42] = ACTIONS(112),
    [aux_sym_sql_keyword_token43] = ACTIONS(110),
    [aux_sym_sql_keyword_token44] = ACTIONS(110),
    [aux_sym_sql_keyword_token45] = ACTIONS(110),
    [aux_sym_sql_keyword_token46] = ACTIONS(110),
    [aux_sym_sql_keyword_token47] = ACTIONS(112),
    [aux_sym_sql_keyword_token48] = ACTIONS(110),
    [aux_sym_sql_keyword_token49] = ACTIONS(110),
    [aux_sym_sql_keyword_token50] = ACTIONS(110),
    [sym_visualise_keyword] = ACTIONS(110),
    [sym_number] = ACTIONS(112),
    [anon_sym_SQUOTE] = ACTIONS(110),
    [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(467), 1,
      anon_sym_SQUOTE,
    STATE(141), 1,
      sym_string,
    STATE(142), 1,
      sym_filter_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(139), 2,
      sym_comment,
      aux_sym_filter_expression_repeat1,
    ACTIONS(464), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(459), 11,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
    ACTIONS(461), 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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token27,
      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,
  [83] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(476), 1,
      anon_sym_SQUOTE,
    STATE(139), 1,
      aux_sym_filter_expression_repeat1,
    STATE(140), 1,
      sym_comment,
    STATE(141), 1,
      sym_string,
    STATE(142), 1,
      sym_filter_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(474), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(470), 11,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
    ACTIONS(472), 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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token27,
      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,
  [168] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(141), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(480), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(478), 48,
      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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token27,
      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,
      aux_sym_theme_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [240] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(142), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(484), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(482), 48,
      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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token27,
      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,
      aux_sym_theme_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [312] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(143), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(219), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(217), 48,
      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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token27,
      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,
      aux_sym_theme_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [384] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(144), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(240), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(238), 48,
      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_sql_keyword_token13,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token27,
      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,
      aux_sym_theme_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [456] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(145), 1,
      sym_comment,
    STATE(148), 1,
      sym_scale_type_identifier,
    STATE(173), 1,
      sym_identifier,
    STATE(179), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(490), 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(488), 42,
      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_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [533] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(476), 1,
      anon_sym_SQUOTE,
    STATE(140), 1,
      aux_sym_filter_expression_repeat1,
    STATE(141), 1,
      sym_string,
    STATE(142), 1,
      sym_filter_token,
    STATE(146), 1,
      sym_comment,
    STATE(302), 1,
      sym_filter_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(474), 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(472), 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_sql_keyword_token13,
      aux_sym_sql_keyword_token14,
      aux_sym_sql_keyword_token15,
      aux_sym_sql_keyword_token16,
      aux_sym_sql_keyword_token17,
      aux_sym_sql_keyword_token18,
      aux_sym_sql_keyword_token19,
      aux_sym_sql_keyword_token27,
      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,
  [608] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(147), 1,
      sym_comment,
    STATE(173), 1,
      sym_identifier,
    STATE(217), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 42,
      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_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [675] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(148), 1,
      sym_comment,
    STATE(173), 1,
      sym_identifier,
    STATE(176), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 42,
      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_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [742] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(496), 1,
      sym_quoted_identifier,
    STATE(149), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(494), 43,
      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_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      sym_bare_identifier,
  [801] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(150), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(186), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(184), 37,
      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_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token22,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
      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,
      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,
      aux_sym_theme_clause_token1,
  [858] = 31,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(502), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(504), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(506), 1,
      aux_sym_place_clause_token1,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(510), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(512), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(514), 1,
      aux_sym_project_clause_token1,
    ACTIONS(516), 1,
      aux_sym_label_clause_token1,
    ACTIONS(518), 1,
      aux_sym_theme_clause_token1,
    ACTIONS(520), 1,
      sym_number,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    STATE(151), 1,
      sym_comment,
    STATE(169), 1,
      sym_global_mapping,
    STATE(182), 1,
      sym_from_clause,
    STATE(183), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(190), 1,
      sym_mapping_element,
    STATE(198), 1,
      sym_identifier,
    STATE(323), 1,
      sym_mapping_list,
    STATE(348), 1,
      sym_viz_clause,
    STATE(574), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(498), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(524), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(541), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(224), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(531), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [966] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(152), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(240), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(238), 28,
      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_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [1013] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(153), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(219), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(217), 28,
      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_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [1060] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(154), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(212), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(210), 26,
      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_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [1105] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(526), 1,
      anon_sym_DOT,
    STATE(155), 1,
      sym_comment,
    STATE(157), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(208), 13,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
    ACTIONS(206), 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,
  [1154] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(156), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(186), 13,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
    ACTIONS(184), 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,
  [1199] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(528), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(157), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(212), 13,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
    ACTIONS(210), 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,
  [1246] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(158), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(212), 13,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
    ACTIONS(210), 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,
  [1290] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(533), 1,
      sym_bare_identifier,
    ACTIONS(541), 1,
      sym_quoted_identifier,
    STATE(159), 1,
      sym_comment,
    STATE(160), 1,
      aux_sym_order_expression_repeat1,
    STATE(161), 1,
      sym_identifier,
    STATE(164), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(531), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(535), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(537), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
    ACTIONS(539), 7,
      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,
      aux_sym_theme_clause_token1,
  [1343] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(545), 1,
      sym_bare_identifier,
    ACTIONS(556), 1,
      sym_quoted_identifier,
    STATE(161), 1,
      sym_identifier,
    STATE(164), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(543), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(160), 2,
      sym_comment,
      aux_sym_order_expression_repeat1,
    ACTIONS(548), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(551), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
    ACTIONS(554), 7,
      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,
      aux_sym_theme_clause_token1,
  [1394] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(161), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(559), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(561), 14,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [1430] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(565), 1,
      anon_sym_line,
    STATE(162), 1,
      sym_comment,
    STATE(165), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(563), 19,
      anon_sym_point,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_rect,
      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_linear,
      anon_sym_errorbar,
  [1468] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(565), 1,
      anon_sym_line,
    STATE(163), 1,
      sym_comment,
    STATE(308), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(563), 19,
      anon_sym_point,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_rect,
      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_linear,
      anon_sym_errorbar,
  [1506] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(164), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(567), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(569), 14,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [1542] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(577), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(579), 1,
      aux_sym_mapping_clause_token1,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(165), 1,
      sym_comment,
    STATE(174), 1,
      sym_mapping_clause,
    STATE(206), 1,
      sym_remapping_clause,
    STATE(231), 1,
      sym_setting_clause,
    STATE(265), 1,
      sym_filter_clause,
    STATE(301), 1,
      sym_partition_clause,
    STATE(341), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(571), 9,
      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,
      aux_sym_theme_clause_token1,
  [1600] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(166), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(184), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(186), 14,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [1636] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(526), 1,
      anon_sym_DOT,
    ACTIONS(585), 1,
      anon_sym_LPAREN,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(167), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_COLON_EQ,
      anon_sym_EQ_GT,
    ACTIONS(190), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(188), 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,
  [1680] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(520), 1,
      sym_number,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      aux_sym_sql_keyword_token1,
    STATE(168), 1,
      sym_comment,
    STATE(190), 1,
      sym_mapping_element,
    STATE(198), 1,
      sym_identifier,
    STATE(240), 1,
      sym_mapping_list,
    STATE(574), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(524), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(541), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(224), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(531), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1742] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(593), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(169), 1,
      sym_comment,
    STATE(184), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(187), 1,
      sym_from_clause,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(591), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [1799] = 17,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(520), 1,
      sym_number,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    STATE(170), 1,
      sym_comment,
    STATE(190), 1,
      sym_mapping_element,
    STATE(198), 1,
      sym_identifier,
    STATE(264), 1,
      sym_mapping_list,
    STATE(574), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(524), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(541), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(224), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(531), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1858] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(613), 1,
      anon_sym_RPAREN,
    STATE(167), 1,
      sym_identifier,
    STATE(171), 1,
      sym_comment,
    STATE(220), 1,
      sym_positional_arg,
    STATE(486), 1,
      sym_function_arg,
    STATE(509), 1,
      sym_named_arg,
    STATE(525), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1914] = 15,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(92), 1,
      aux_sym_select_statement_token1,
    ACTIONS(98), 1,
      aux_sym_with_statement_token1,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(617), 1,
      sym_bare_identifier,
    ACTIONS(619), 1,
      sym_quoted_identifier,
    STATE(172), 1,
      sym_comment,
    STATE(181), 1,
      sym_identifier,
    STATE(233), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(529), 2,
      sym_select_statement,
      sym_with_statement,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1968] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(173), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(621), 19,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [2000] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(577), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(174), 1,
      sym_comment,
    STATE(189), 1,
      sym_remapping_clause,
    STATE(237), 1,
      sym_setting_clause,
    STATE(261), 1,
      sym_filter_clause,
    STATE(276), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [2052] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(625), 1,
      anon_sym_RPAREN,
    STATE(167), 1,
      sym_identifier,
    STATE(175), 1,
      sym_comment,
    STATE(220), 1,
      sym_positional_arg,
    STATE(486), 1,
      sym_function_arg,
    STATE(509), 1,
      sym_named_arg,
    STATE(523), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2108] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(629), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(633), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(176), 1,
      sym_comment,
    STATE(209), 1,
      sym_scale_from_clause,
    STATE(235), 1,
      sym_scale_to_clause,
    STATE(260), 1,
      sym_scale_via_clause,
    STATE(286), 1,
      sym_setting_clause,
    STATE(340), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [2160] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(637), 1,
      anon_sym_RPAREN,
    STATE(167), 1,
      sym_identifier,
    STATE(177), 1,
      sym_comment,
    STATE(220), 1,
      sym_positional_arg,
    STATE(486), 1,
      sym_function_arg,
    STATE(509), 1,
      sym_named_arg,
    STATE(520), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2216] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(520), 1,
      sym_number,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    STATE(178), 1,
      sym_comment,
    STATE(198), 1,
      sym_identifier,
    STATE(216), 1,
      sym_mapping_element,
    STATE(574), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(524), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(541), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(224), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(531), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [2272] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(629), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(633), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(179), 1,
      sym_comment,
    STATE(213), 1,
      sym_scale_from_clause,
    STATE(232), 1,
      sym_scale_to_clause,
    STATE(269), 1,
      sym_scale_via_clause,
    STATE(304), 1,
      sym_setting_clause,
    STATE(344), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(639), 9,
      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,
      aux_sym_theme_clause_token1,
  [2324] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(641), 1,
      anon_sym_RPAREN,
    STATE(167), 1,
      sym_identifier,
    STATE(180), 1,
      sym_comment,
    STATE(220), 1,
      sym_positional_arg,
    STATE(486), 1,
      sym_function_arg,
    STATE(509), 1,
      sym_named_arg,
    STATE(556), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2380] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(526), 1,
      anon_sym_DOT,
    ACTIONS(585), 1,
      anon_sym_LPAREN,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(181), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(190), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(188), 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,
  [2420] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(182), 1,
      sym_comment,
    STATE(184), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(591), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2471] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(183), 1,
      sym_comment,
    STATE(188), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(591), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2522] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(184), 1,
      sym_comment,
    STATE(188), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(643), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2573] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      anon_sym_LPAREN,
    ACTIONS(645), 1,
      anon_sym_DOT,
    STATE(185), 1,
      sym_comment,
    STATE(199), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(190), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(188), 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,
  [2612] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(186), 1,
      sym_comment,
    STATE(188), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(647), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2663] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(595), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(597), 1,
      aux_sym_place_clause_token1,
    ACTIONS(599), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(601), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(603), 1,
      aux_sym_project_clause_token1,
    ACTIONS(605), 1,
      aux_sym_label_clause_token1,
    ACTIONS(607), 1,
      aux_sym_theme_clause_token1,
    STATE(186), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(187), 1,
      sym_comment,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(643), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2714] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(651), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(654), 1,
      aux_sym_place_clause_token1,
    ACTIONS(657), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(660), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(663), 1,
      aux_sym_project_clause_token1,
    ACTIONS(666), 1,
      aux_sym_label_clause_token1,
    ACTIONS(669), 1,
      aux_sym_theme_clause_token1,
    STATE(348), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(649), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(188), 2,
      sym_comment,
      aux_sym_visualise_statement_repeat1,
    STATE(349), 7,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2763] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(189), 1,
      sym_comment,
    STATE(227), 1,
      sym_setting_clause,
    STATE(267), 1,
      sym_filter_clause,
    STATE(298), 1,
      sym_partition_clause,
    STATE(345), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(672), 9,
      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,
      aux_sym_theme_clause_token1,
  [2809] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(676), 1,
      anon_sym_COMMA,
    STATE(190), 1,
      sym_comment,
    STATE(205), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(674), 15,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [2843] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(680), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(191), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(678), 15,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [2875] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(192), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(260), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(258), 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,
  [2907] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(193), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(683), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token22,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
      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,
      aux_sym_theme_clause_token1,
  [2937] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(685), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(194), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
    ACTIONS(683), 15,
      ts_builtin_sym_end,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token22,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
      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,
      aux_sym_theme_clause_token1,
  [2969] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(195), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(690), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(688), 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,
  [3001] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(196), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(692), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3031] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(197), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(694), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3061] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(698), 1,
      aux_sym_cte_definition_token1,
    STATE(198), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(696), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3093] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(645), 1,
      anon_sym_DOT,
    STATE(199), 1,
      sym_comment,
    STATE(210), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(208), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(206), 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,
  [3129] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(200), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(702), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(700), 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,
  [3161] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(201), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(704), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_cte_definition_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
      anon_sym_RBRACK,
  [3191] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(202), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(311), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(309), 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,
  [3223] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(203), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(706), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3253] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    STATE(167), 1,
      sym_identifier,
    STATE(204), 1,
      sym_comment,
    STATE(220), 1,
      sym_positional_arg,
    STATE(505), 1,
      sym_function_arg,
    STATE(509), 1,
      sym_named_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [3303] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(676), 1,
      anon_sym_COMMA,
    STATE(191), 1,
      aux_sym_mapping_list_repeat1,
    STATE(205), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(708), 15,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3337] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(206), 1,
      sym_comment,
    STATE(237), 1,
      sym_setting_clause,
    STATE(261), 1,
      sym_filter_clause,
    STATE(276), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [3383] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(207), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(702), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(700), 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,
  [3415] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(208), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(186), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(184), 13,
      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,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [3447] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(633), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(209), 1,
      sym_comment,
    STATE(228), 1,
      sym_scale_to_clause,
    STATE(259), 1,
      sym_scale_via_clause,
    STATE(306), 1,
      sym_setting_clause,
    STATE(347), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 9,
      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,
      aux_sym_theme_clause_token1,
  [3493] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(712), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(210), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(212), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(210), 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,
  [3527] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(211), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(297), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(295), 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,
  [3559] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(212), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(717), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(715), 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,
  [3591] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(633), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(213), 1,
      sym_comment,
    STATE(235), 1,
      sym_scale_to_clause,
    STATE(260), 1,
      sym_scale_via_clause,
    STATE(286), 1,
      sym_setting_clause,
    STATE(340), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [3637] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(533), 1,
      sym_bare_identifier,
    ACTIONS(541), 1,
      sym_quoted_identifier,
    STATE(159), 1,
      aux_sym_order_expression_repeat1,
    STATE(161), 1,
      sym_identifier,
    STATE(164), 1,
      sym_order_token,
    STATE(214), 1,
      sym_comment,
    STATE(342), 1,
      sym_order_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(535), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(537), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [3680] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(215), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(719), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3709] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(216), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(678), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3738] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(217), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(721), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3767] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(218), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(723), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_cte_definition_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
      anon_sym_RBRACK,
  [3796] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(219), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(725), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(729), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(727), 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,
  [3829] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(220), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(731), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(729), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(727), 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,
  [3862] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(733), 1,
      anon_sym_DOT,
    STATE(221), 1,
      sym_comment,
    STATE(222), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(206), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3895] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(735), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(222), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(210), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3926] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(733), 1,
      anon_sym_DOT,
    STATE(221), 1,
      aux_sym_qualified_name_repeat1,
    STATE(223), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(188), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3959] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(224), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(738), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token1,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [3988] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(740), 1,
      sym_bare_identifier,
    ACTIONS(742), 1,
      sym_quoted_identifier,
    STATE(185), 1,
      sym_identifier,
    STATE(225), 1,
      sym_comment,
    STATE(229), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4032] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(746), 1,
      anon_sym_COMMA,
    STATE(226), 1,
      sym_comment,
    STATE(230), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(744), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4064] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(227), 1,
      sym_comment,
    STATE(270), 1,
      sym_filter_clause,
    STATE(307), 1,
      sym_partition_clause,
    STATE(351), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(748), 9,
      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,
      aux_sym_theme_clause_token1,
  [4104] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(228), 1,
      sym_comment,
    STATE(271), 1,
      sym_scale_via_clause,
    STATE(281), 1,
      sym_setting_clause,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(750), 9,
      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,
      aux_sym_theme_clause_token1,
  [4144] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(756), 1,
      aux_sym_cte_definition_token1,
    STATE(229), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(754), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(752), 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,
  [4176] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(760), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(230), 2,
      sym_comment,
      aux_sym_setting_clause_repeat1,
    ACTIONS(758), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4206] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(231), 1,
      sym_comment,
    STATE(261), 1,
      sym_filter_clause,
    STATE(276), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [4246] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(232), 1,
      sym_comment,
    STATE(260), 1,
      sym_scale_via_clause,
    STATE(286), 1,
      sym_setting_clause,
    STATE(340), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [4286] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(763), 1,
      anon_sym_RPAREN,
    STATE(233), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(729), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(727), 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,
  [4318] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(740), 1,
      sym_bare_identifier,
    ACTIONS(742), 1,
      sym_quoted_identifier,
    STATE(185), 1,
      sym_identifier,
    STATE(234), 1,
      sym_comment,
    STATE(245), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4362] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(635), 1,
      aux_sym_scale_via_clause_token1,
    STATE(235), 1,
      sym_comment,
    STATE(259), 1,
      sym_scale_via_clause,
    STATE(306), 1,
      sym_setting_clause,
    STATE(347), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 9,
      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,
      aux_sym_theme_clause_token1,
  [4402] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(236), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(765), 15,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4430] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(583), 1,
      aux_sym_filter_clause_token1,
    STATE(237), 1,
      sym_comment,
    STATE(267), 1,
      sym_filter_clause,
    STATE(298), 1,
      sym_partition_clause,
    STATE(345), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(672), 9,
      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,
      aux_sym_theme_clause_token1,
  [4470] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(617), 1,
      sym_bare_identifier,
    ACTIONS(619), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(219), 1,
      sym_positional_arg,
    STATE(238), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4514] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(617), 1,
      sym_bare_identifier,
    ACTIONS(619), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(207), 1,
      sym_positional_arg,
    STATE(239), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4558] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(769), 1,
      aux_sym_sql_keyword_token1,
    STATE(240), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(767), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4588] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(746), 1,
      anon_sym_COMMA,
    STATE(226), 1,
      aux_sym_setting_clause_repeat1,
    STATE(241), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(771), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4620] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(526), 1,
      anon_sym_DOT,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(242), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(188), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(190), 9,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [4654] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(773), 1,
      aux_sym_cte_definition_token1,
    STATE(243), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(754), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(752), 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,
  [4686] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(775), 1,
      aux_sym_cte_definition_token1,
    STATE(244), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(754), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(752), 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,
  [4718] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(777), 1,
      aux_sym_cte_definition_token1,
    STATE(245), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(754), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(752), 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,
  [4750] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(740), 1,
      sym_bare_identifier,
    ACTIONS(742), 1,
      sym_quoted_identifier,
    STATE(185), 1,
      sym_identifier,
    STATE(243), 1,
      sym_positional_arg,
    STATE(246), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4794] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(740), 1,
      sym_bare_identifier,
    ACTIONS(742), 1,
      sym_quoted_identifier,
    STATE(185), 1,
      sym_identifier,
    STATE(244), 1,
      sym_positional_arg,
    STATE(247), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4838] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(611), 1,
      anon_sym_LPAREN,
    ACTIONS(740), 1,
      sym_bare_identifier,
    ACTIONS(742), 1,
      sym_quoted_identifier,
    STATE(185), 1,
      sym_identifier,
    STATE(207), 1,
      sym_positional_arg,
    STATE(248), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(615), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(212), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4882] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(249), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(779), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4909] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(250), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(781), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4936] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(251), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(783), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4963] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(758), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [4990] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(253), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(217), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(219), 9,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [5019] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(254), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(238), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(240), 9,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [5048] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(785), 1,
      aux_sym_cte_definition_token1,
    STATE(255), 1,
      sym_comment,
    STATE(318), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(194), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(196), 7,
      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,
      aux_sym_theme_clause_token1,
  [5085] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(256), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(787), 14,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [5112] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(789), 1,
      aux_sym_cte_definition_token1,
    STATE(257), 1,
      sym_comment,
    STATE(331), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(200), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(202), 7,
      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,
      aux_sym_theme_clause_token1,
  [5149] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(258), 1,
      sym_comment,
    STATE(303), 1,
      sym_label_assignment,
    STATE(526), 1,
      sym_label_type,
    STATE(545), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(791), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(793), 7,
      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,
      aux_sym_theme_clause_token1,
  [5188] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(259), 1,
      sym_comment,
    STATE(281), 1,
      sym_setting_clause,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(750), 9,
      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,
      aux_sym_theme_clause_token1,
  [5222] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(260), 1,
      sym_comment,
    STATE(306), 1,
      sym_setting_clause,
    STATE(347), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 9,
      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,
      aux_sym_theme_clause_token1,
  [5256] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    STATE(261), 1,
      sym_comment,
    STATE(298), 1,
      sym_partition_clause,
    STATE(345), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(672), 9,
      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,
      aux_sym_theme_clause_token1,
  [5290] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(262), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(242), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(244), 9,
      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,
      aux_sym_theme_clause_token1,
      sym_bare_identifier,
  [5318] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(263), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(795), 13,
      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,
      aux_sym_theme_clause_token1,
  [5344] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(264), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(797), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [5370] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    STATE(265), 1,
      sym_comment,
    STATE(276), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [5404] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(194), 1,
      aux_sym_cte_definition_repeat1,
    STATE(266), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(799), 11,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      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,
      aux_sym_theme_clause_token1,
  [5434] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    STATE(267), 1,
      sym_comment,
    STATE(307), 1,
      sym_partition_clause,
    STATE(351), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(748), 9,
      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,
      aux_sym_theme_clause_token1,
  [5468] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(266), 1,
      aux_sym_cte_definition_repeat1,
    STATE(268), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(803), 11,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      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,
      aux_sym_theme_clause_token1,
  [5498] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(269), 1,
      sym_comment,
    STATE(286), 1,
      sym_setting_clause,
    STATE(340), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [5532] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(575), 1,
      aux_sym_window_partition_clause_token1,
    STATE(270), 1,
      sym_comment,
    STATE(287), 1,
      sym_partition_clause,
    STATE(335), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(805), 9,
      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,
      aux_sym_theme_clause_token1,
  [5566] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(271), 1,
      sym_comment,
    STATE(289), 1,
      sym_setting_clause,
    STATE(336), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(807), 9,
      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,
      aux_sym_theme_clause_token1,
  [5600] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(194), 1,
      aux_sym_cte_definition_repeat1,
    STATE(272), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(809), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [5629] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(272), 1,
      aux_sym_cte_definition_repeat1,
    STATE(273), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(811), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [5658] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(815), 1,
      aux_sym_sql_keyword_token22,
    STATE(274), 1,
      sym_comment,
    STATE(346), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(813), 9,
      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,
      aux_sym_theme_clause_token1,
  [5689] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(275), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(817), 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_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      aux_sym_theme_clause_token1,
  [5714] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    STATE(276), 1,
      sym_comment,
    STATE(345), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(672), 9,
      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,
      aux_sym_theme_clause_token1,
  [5742] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    ACTIONS(821), 1,
      sym_number,
    ACTIONS(825), 1,
      anon_sym_LBRACK,
    STATE(256), 1,
      sym_parameter_value,
    STATE(277), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(823), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(250), 4,
      sym_string,
      sym_boolean,
      sym_array,
      sym_null_literal,
  [5778] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(829), 1,
      anon_sym_COMMA,
    STATE(278), 1,
      sym_comment,
    STATE(292), 1,
      aux_sym_label_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(827), 9,
      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,
      aux_sym_theme_clause_token1,
  [5806] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(279), 1,
      sym_comment,
    STATE(294), 1,
      aux_sym_theme_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(831), 9,
      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,
      aux_sym_theme_clause_token1,
  [5834] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(837), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(280), 2,
      sym_comment,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(835), 9,
      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,
      aux_sym_theme_clause_token1,
  [5860] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(281), 1,
      sym_comment,
    STATE(336), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(807), 9,
      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,
      aux_sym_theme_clause_token1,
  [5888] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(842), 1,
      anon_sym_COMMA,
    STATE(282), 1,
      sym_comment,
    STATE(290), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(840), 9,
      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,
      aux_sym_theme_clause_token1,
  [5916] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(825), 1,
      anon_sym_LBRACK,
    ACTIONS(844), 1,
      sym_number,
    STATE(283), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(524), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(321), 4,
      sym_identifier,
      sym_string,
      sym_boolean,
      sym_array,
  [5952] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(284), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(846), 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_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      aux_sym_theme_clause_token1,
  [5976] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(842), 1,
      anon_sym_COMMA,
    STATE(282), 1,
      aux_sym_project_properties_repeat1,
    STATE(285), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(848), 9,
      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,
      aux_sym_theme_clause_token1,
  [6004] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(286), 1,
      sym_comment,
    STATE(347), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 9,
      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,
      aux_sym_theme_clause_token1,
  [6032] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    STATE(287), 1,
      sym_comment,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(850), 9,
      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,
      aux_sym_theme_clause_token1,
  [6060] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(854), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(288), 2,
      sym_comment,
      aux_sym_theme_clause_repeat1,
    ACTIONS(852), 9,
      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,
      aux_sym_theme_clause_token1,
  [6086] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(289), 1,
      sym_comment,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(857), 9,
      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,
      aux_sym_theme_clause_token1,
  [6114] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(861), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(290), 2,
      sym_comment,
      aux_sym_project_properties_repeat1,
    ACTIONS(859), 9,
      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,
      aux_sym_theme_clause_token1,
  [6140] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(288), 1,
      aux_sym_theme_clause_repeat1,
    STATE(291), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(864), 9,
      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,
      aux_sym_theme_clause_token1,
  [6168] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(868), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(292), 2,
      sym_comment,
      aux_sym_label_clause_repeat1,
    ACTIONS(866), 9,
      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,
      aux_sym_theme_clause_token1,
  [6194] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    STATE(293), 1,
      sym_comment,
    STATE(350), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(871), 9,
      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,
      aux_sym_theme_clause_token1,
  [6222] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(288), 1,
      aux_sym_theme_clause_repeat1,
    STATE(294), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(873), 9,
      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,
      aux_sym_theme_clause_token1,
  [6250] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(291), 1,
      aux_sym_theme_clause_repeat1,
    STATE(295), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(873), 9,
      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,
      aux_sym_theme_clause_token1,
  [6278] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(877), 1,
      anon_sym_COMMA,
    STATE(296), 1,
      sym_comment,
    STATE(305), 1,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(875), 9,
      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,
      aux_sym_theme_clause_token1,
  [6306] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(879), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(297), 2,
      sym_comment,
      aux_sym_from_clause_repeat1,
    ACTIONS(231), 9,
      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,
      aux_sym_theme_clause_token1,
  [6332] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    STATE(298), 1,
      sym_comment,
    STATE(351), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(748), 9,
      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,
      aux_sym_theme_clause_token1,
  [6360] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(882), 1,
      anon_sym_COMMA,
    STATE(297), 1,
      aux_sym_from_clause_repeat1,
    STATE(299), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(227), 9,
      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,
      aux_sym_theme_clause_token1,
  [6388] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(882), 1,
      anon_sym_COMMA,
    STATE(299), 1,
      aux_sym_from_clause_repeat1,
    STATE(300), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(221), 9,
      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,
      aux_sym_theme_clause_token1,
  [6416] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    STATE(301), 1,
      sym_comment,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [6444] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(302), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(884), 11,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [6468] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(829), 1,
      anon_sym_COMMA,
    STATE(278), 1,
      aux_sym_label_clause_repeat1,
    STATE(303), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(886), 9,
      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,
      aux_sym_theme_clause_token1,
  [6496] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(304), 1,
      sym_comment,
    STATE(340), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [6524] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(877), 1,
      anon_sym_COMMA,
    STATE(280), 1,
      aux_sym_scale_renaming_clause_repeat1,
    STATE(305), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(888), 9,
      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,
      aux_sym_theme_clause_token1,
  [6552] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(306), 1,
      sym_comment,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(750), 9,
      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,
      aux_sym_theme_clause_token1,
  [6580] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(573), 1,
      aux_sym_sql_keyword_token20,
    STATE(307), 1,
      sym_comment,
    STATE(335), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(805), 9,
      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,
      aux_sym_theme_clause_token1,
  [6608] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(581), 1,
      aux_sym_setting_clause_token1,
    STATE(308), 1,
      sym_comment,
    STATE(343), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(890), 9,
      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,
      aux_sym_theme_clause_token1,
  [6636] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(894), 1,
      aux_sym_setting_clause_token1,
    STATE(309), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(892), 9,
      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,
      aux_sym_theme_clause_token1,
  [6661] = 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(896), 10,
      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,
      aux_sym_theme_clause_token1,
  [6684] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    ACTIONS(898), 1,
      sym_number,
    ACTIONS(900), 1,
      anon_sym_RBRACK,
    STATE(311), 1,
      sym_comment,
    STATE(464), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(823), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(512), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [6719] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(312), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(902), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      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,
      aux_sym_theme_clause_token1,
  [6742] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(313), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(282), 10,
      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,
      aux_sym_theme_clause_token1,
  [6765] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(904), 1,
      anon_sym_LPAREN,
    ACTIONS(906), 1,
      sym_namespaced_identifier,
    ACTIONS(908), 1,
      anon_sym_SQUOTE,
    STATE(242), 1,
      sym_identifier,
    STATE(255), 1,
      sym_subquery,
    STATE(300), 1,
      sym_table_ref,
    STATE(314), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(617), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(257), 2,
      sym_qualified_name,
      sym_string,
  [6802] = 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(910), 10,
      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,
      aux_sym_theme_clause_token1,
  [6825] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(316), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(231), 10,
      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,
      aux_sym_theme_clause_token1,
  [6848] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(317), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(859), 10,
      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,
      aux_sym_theme_clause_token1,
  [6871] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(318), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(250), 10,
      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,
      aux_sym_theme_clause_token1,
  [6894] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(319), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(835), 10,
      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,
      aux_sym_theme_clause_token1,
  [6917] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(904), 1,
      anon_sym_LPAREN,
    ACTIONS(906), 1,
      sym_namespaced_identifier,
    ACTIONS(908), 1,
      anon_sym_SQUOTE,
    STATE(242), 1,
      sym_identifier,
    STATE(255), 1,
      sym_subquery,
    STATE(316), 1,
      sym_table_ref,
    STATE(320), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(617), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(257), 2,
      sym_qualified_name,
      sym_string,
  [6954] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(321), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(912), 10,
      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,
      aux_sym_theme_clause_token1,
  [6977] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(165), 1,
      anon_sym_LPAREN,
    ACTIONS(169), 1,
      anon_sym_SQUOTE,
    ACTIONS(914), 1,
      sym_namespaced_identifier,
    STATE(25), 1,
      sym_identifier,
    STATE(26), 1,
      sym_subquery,
    STATE(52), 1,
      sym_table_ref,
    STATE(322), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(161), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(27), 2,
      sym_qualified_name,
      sym_string,
  [7014] = 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(916), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_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,
      aux_sym_theme_clause_token1,
  [7037] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(920), 1,
      aux_sym_setting_clause_token1,
    STATE(324), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 9,
      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,
      aux_sym_theme_clause_token1,
  [7062] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(325), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(922), 10,
      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,
      aux_sym_theme_clause_token1,
  [7085] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(326), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(924), 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_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      aux_sym_theme_clause_token1,
  [7108] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(928), 1,
      aux_sym_setting_clause_token1,
    STATE(327), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(926), 9,
      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,
      aux_sym_theme_clause_token1,
  [7133] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(328), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(930), 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_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      aux_sym_theme_clause_token1,
  [7156] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(329), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(866), 10,
      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,
      aux_sym_theme_clause_token1,
  [7179] = 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(852), 10,
      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,
      aux_sym_theme_clause_token1,
  [7202] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(331), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(246), 10,
      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,
      aux_sym_theme_clause_token1,
  [7225] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(178), 1,
      anon_sym_LPAREN,
    ACTIONS(180), 1,
      sym_namespaced_identifier,
    ACTIONS(182), 1,
      anon_sym_SQUOTE,
    STATE(54), 1,
      sym_subquery,
    STATE(55), 1,
      sym_identifier,
    STATE(81), 1,
      sym_table_ref,
    STATE(332), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(176), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(53), 2,
      sym_qualified_name,
      sym_string,
  [7262] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(333), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(301), 10,
      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,
      aux_sym_theme_clause_token1,
  [7285] = 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(932), 9,
      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,
      aux_sym_theme_clause_token1,
  [7307] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(335), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(850), 9,
      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,
      aux_sym_theme_clause_token1,
  [7329] = 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(857), 9,
      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,
      aux_sym_theme_clause_token1,
  [7351] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(337), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(934), 9,
      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,
      aux_sym_theme_clause_token1,
  [7373] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(338), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(936), 9,
      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,
      aux_sym_theme_clause_token1,
  [7395] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(339), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(672), 9,
      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,
      aux_sym_theme_clause_token1,
  [7417] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(340), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 9,
      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,
      aux_sym_theme_clause_token1,
  [7439] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(341), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(623), 9,
      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,
      aux_sym_theme_clause_token1,
  [7461] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(342), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(938), 9,
      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,
      aux_sym_theme_clause_token1,
  [7483] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(343), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(940), 9,
      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,
      aux_sym_theme_clause_token1,
  [7505] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(344), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 9,
      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,
      aux_sym_theme_clause_token1,
  [7527] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(345), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(748), 9,
      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,
      aux_sym_theme_clause_token1,
  [7549] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(346), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(942), 9,
      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,
      aux_sym_theme_clause_token1,
  [7571] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(347), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(750), 9,
      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,
      aux_sym_theme_clause_token1,
  [7593] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(348), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(944), 9,
      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,
      aux_sym_theme_clause_token1,
  [7615] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(349), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(946), 9,
      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,
      aux_sym_theme_clause_token1,
  [7637] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(350), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(948), 9,
      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,
      aux_sym_theme_clause_token1,
  [7659] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(351), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(805), 9,
      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,
      aux_sym_theme_clause_token1,
  [7681] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    ACTIONS(898), 1,
      sym_number,
    STATE(352), 1,
      sym_comment,
    STATE(510), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(823), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(512), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [7713] = 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(807), 9,
      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,
      aux_sym_theme_clause_token1,
  [7735] = 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(950), 9,
      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,
      aux_sym_theme_clause_token1,
  [7757] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(952), 1,
      anon_sym_RPAREN,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(958), 1,
      aux_sym_window_partition_clause_token1,
    STATE(355), 1,
      sym_comment,
    STATE(378), 1,
      sym_window_partition_clause,
    STATE(434), 1,
      sym_window_order_clause,
    STATE(532), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7790] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(958), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(960), 1,
      anon_sym_RPAREN,
    STATE(356), 1,
      sym_comment,
    STATE(375), 1,
      sym_window_partition_clause,
    STATE(422), 1,
      sym_window_order_clause,
    STATE(568), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7823] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(958), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(962), 1,
      anon_sym_RPAREN,
    STATE(357), 1,
      sym_comment,
    STATE(379), 1,
      sym_window_partition_clause,
    STATE(428), 1,
      sym_window_order_clause,
    STATE(516), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7856] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(966), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(358), 2,
      sym_comment,
      aux_sym_with_statement_repeat1,
    ACTIONS(964), 5,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7878] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    STATE(358), 1,
      aux_sym_with_statement_repeat1,
    STATE(359), 1,
      sym_comment,
    STATE(420), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(969), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7906] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    STATE(360), 1,
      sym_comment,
    STATE(361), 1,
      aux_sym_with_statement_repeat1,
    STATE(404), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(973), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7934] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    STATE(358), 1,
      aux_sym_with_statement_repeat1,
    STATE(361), 1,
      sym_comment,
    STATE(405), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(975), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7962] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(981), 1,
      aux_sym_sql_keyword_token48,
    STATE(362), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(979), 2,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
    ACTIONS(977), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7986] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    ACTIONS(908), 1,
      anon_sym_SQUOTE,
    STATE(296), 1,
      sym_renaming_assignment,
    STATE(363), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(983), 2,
      anon_sym_STAR,
      sym_number,
    STATE(528), 2,
      sym_string,
      sym_null_literal,
  [8014] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(985), 1,
      sym_namespaced_identifier,
    STATE(223), 1,
      sym_identifier,
    STATE(364), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(486), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(251), 2,
      sym_qualified_name,
      sym_string,
  [8042] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    ACTIONS(908), 1,
      anon_sym_SQUOTE,
    STATE(319), 1,
      sym_renaming_assignment,
    STATE(365), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(983), 2,
      anon_sym_STAR,
      sym_number,
    STATE(528), 2,
      sym_string,
      sym_null_literal,
  [8070] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(987), 1,
      sym_namespaced_identifier,
    STATE(223), 1,
      sym_identifier,
    STATE(366), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(486), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(249), 2,
      sym_qualified_name,
      sym_string,
  [8098] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    STATE(359), 1,
      aux_sym_with_statement_repeat1,
    STATE(367), 1,
      sym_comment,
    STATE(405), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(975), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [8126] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(368), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(184), 7,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
      aux_sym_sql_keyword_token48,
  [8146] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(369), 1,
      sym_comment,
    STATE(370), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(989), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8169] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(801), 1,
      anon_sym_COMMA,
    STATE(194), 1,
      aux_sym_cte_definition_repeat1,
    STATE(370), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(991), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8192] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(371), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(993), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8211] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(285), 1,
      sym_project_property,
    STATE(334), 1,
      sym_project_properties,
    STATE(372), 1,
      sym_comment,
    STATE(515), 1,
      sym_identifier,
    STATE(573), 1,
      sym_project_property_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8238] = 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(995), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8257] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(285), 1,
      sym_project_property,
    STATE(354), 1,
      sym_project_properties,
    STATE(374), 1,
      sym_comment,
    STATE(515), 1,
      sym_identifier,
    STATE(573), 1,
      sym_project_property_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8284] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(997), 1,
      anon_sym_RPAREN,
    STATE(375), 1,
      sym_comment,
    STATE(412), 1,
      sym_window_order_clause,
    STATE(570), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8311] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(376), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(999), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8330] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(1001), 1,
      sym_number,
    STATE(377), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(823), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(325), 2,
      sym_string,
      sym_boolean,
  [8355] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(1003), 1,
      anon_sym_RPAREN,
    STATE(378), 1,
      sym_comment,
    STATE(435), 1,
      sym_window_order_clause,
    STATE(534), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8382] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(954), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(1005), 1,
      anon_sym_RPAREN,
    STATE(379), 1,
      sym_comment,
    STATE(429), 1,
      sym_window_order_clause,
    STATE(518), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8409] = 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(964), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8428] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(241), 1,
      sym_parameter_assignment,
    STATE(381), 1,
      sym_comment,
    STATE(536), 1,
      sym_parameter_name,
    STATE(539), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8452] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1007), 1,
      aux_sym_setting_clause_token1,
    STATE(327), 1,
      sym_theme_name,
    STATE(328), 1,
      sym_identifier,
    STATE(382), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8478] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1011), 1,
      aux_sym_sql_keyword_token48,
    STATE(383), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1009), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8498] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1013), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(384), 2,
      sym_comment,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(1016), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8518] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_parameter_assignment,
    STATE(385), 1,
      sym_comment,
    STATE(536), 1,
      sym_parameter_name,
    STATE(539), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8542] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1018), 1,
      anon_sym_COMMA,
    STATE(384), 1,
      aux_sym_window_order_clause_repeat1,
    STATE(386), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1020), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8564] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1018), 1,
      anon_sym_COMMA,
    STATE(386), 1,
      aux_sym_window_order_clause_repeat1,
    STATE(387), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1022), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8586] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(329), 1,
      sym_label_assignment,
    STATE(388), 1,
      sym_comment,
    STATE(526), 1,
      sym_label_type,
    STATE(545), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8610] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1024), 1,
      aux_sym_sql_keyword_token18,
    ACTIONS(1028), 1,
      aux_sym_sql_keyword_token46,
    STATE(389), 1,
      sym_comment,
    STATE(553), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1026), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [8634] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(295), 1,
      sym_theme_property,
    STATE(390), 1,
      sym_comment,
    STATE(557), 1,
      sym_theme_property_name,
    STATE(558), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8658] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    ACTIONS(975), 1,
      anon_sym_RPAREN,
    ACTIONS(1030), 1,
      aux_sym_select_statement_token1,
    STATE(358), 1,
      aux_sym_with_statement_repeat1,
    STATE(391), 1,
      sym_comment,
    STATE(405), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8684] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(41), 1,
      sym_bare_identifier,
    ACTIONS(55), 1,
      sym_quoted_identifier,
    ACTIONS(1032), 1,
      aux_sym_scale_to_clause_token1,
    STATE(392), 1,
      sym_comment,
    STATE(470), 1,
      sym_identifier,
    STATE(538), 1,
      sym_project_aesthetics,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8710] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(279), 1,
      sym_theme_property,
    STATE(393), 1,
      sym_comment,
    STATE(557), 1,
      sym_theme_property_name,
    STATE(558), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8734] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    ACTIONS(975), 1,
      anon_sym_RPAREN,
    ACTIONS(1030), 1,
      aux_sym_select_statement_token1,
    STATE(394), 1,
      sym_comment,
    STATE(398), 1,
      aux_sym_with_statement_repeat1,
    STATE(405), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8760] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(330), 1,
      sym_theme_property,
    STATE(395), 1,
      sym_comment,
    STATE(557), 1,
      sym_theme_property_name,
    STATE(558), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8784] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    ACTIONS(973), 1,
      anon_sym_RPAREN,
    ACTIONS(1030), 1,
      aux_sym_select_statement_token1,
    STATE(391), 1,
      aux_sym_with_statement_repeat1,
    STATE(396), 1,
      sym_comment,
    STATE(404), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8810] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1034), 1,
      aux_sym_with_statement_token2,
    STATE(396), 1,
      sym_cte_definition,
    STATE(397), 1,
      sym_comment,
    STATE(506), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8836] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(969), 1,
      anon_sym_RPAREN,
    ACTIONS(971), 1,
      anon_sym_COMMA,
    ACTIONS(1030), 1,
      aux_sym_select_statement_token1,
    STATE(358), 1,
      aux_sym_with_statement_repeat1,
    STATE(398), 1,
      sym_comment,
    STATE(420), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8862] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1036), 1,
      aux_sym_with_statement_token2,
    STATE(360), 1,
      sym_cte_definition,
    STATE(399), 1,
      sym_comment,
    STATE(506), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8888] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(825), 1,
      anon_sym_LBRACK,
    STATE(400), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(275), 2,
      sym_identifier,
      sym_array,
  [8910] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(317), 1,
      sym_project_property,
    STATE(401), 1,
      sym_comment,
    STATE(515), 1,
      sym_identifier,
    STATE(573), 1,
      sym_project_property_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8934] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1038), 1,
      ts_builtin_sym_end,
    STATE(402), 1,
      sym_comment,
    STATE(416), 1,
      aux_sym_query_repeat1,
    STATE(511), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8957] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(380), 1,
      sym_cte_definition,
    STATE(403), 1,
      sym_comment,
    STATE(506), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8978] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(404), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(975), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8995] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(405), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(969), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9012] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(362), 1,
      sym_identifier,
    STATE(387), 1,
      sym_order_item,
    STATE(406), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9033] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1044), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1042), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(407), 2,
      sym_comment,
      aux_sym_sql_portion_repeat1,
  [9052] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(273), 1,
      sym_identifier,
    STATE(312), 1,
      sym_partition_columns,
    STATE(408), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9073] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1047), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(683), 2,
      anon_sym_RPAREN,
      aux_sym_scale_to_clause_token1,
    STATE(409), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
  [9092] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1028), 1,
      aux_sym_sql_keyword_token46,
    STATE(410), 1,
      sym_comment,
    STATE(514), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1026), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [9113] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(362), 1,
      sym_identifier,
    STATE(411), 1,
      sym_comment,
    STATE(419), 1,
      sym_order_item,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9134] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1050), 1,
      anon_sym_RPAREN,
    STATE(412), 1,
      sym_comment,
    STATE(551), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9155] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(268), 1,
      sym_identifier,
    STATE(293), 1,
      sym_facet_vars,
    STATE(413), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9176] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    ACTIONS(819), 1,
      aux_sym_filter_token_token2,
    STATE(414), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(315), 2,
      sym_string,
      sym_null_literal,
  [9197] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1028), 1,
      aux_sym_sql_keyword_token46,
    STATE(415), 1,
      sym_comment,
    STATE(569), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1026), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [9218] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1052), 1,
      ts_builtin_sym_end,
    ACTIONS(1054), 1,
      sym_visualise_keyword,
    STATE(511), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(416), 2,
      sym_comment,
      aux_sym_query_repeat1,
  [9239] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(309), 1,
      sym_project_type,
    STATE(326), 1,
      sym_identifier,
    STATE(417), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9260] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(324), 1,
      sym_project_type,
    STATE(326), 1,
      sym_identifier,
    STATE(418), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9281] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(419), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1016), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9298] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(420), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1057), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9315] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(421), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1059), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9332] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(997), 1,
      anon_sym_RPAREN,
    STATE(422), 1,
      sym_comment,
    STATE(570), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9353] = 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(1061), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9370] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1063), 1,
      anon_sym_SQUOTE,
    STATE(424), 1,
      sym_comment,
    STATE(426), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9391] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_SQUOTE,
    STATE(425), 1,
      sym_comment,
    STATE(458), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9412] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1069), 1,
      anon_sym_SQUOTE,
    STATE(426), 1,
      sym_comment,
    STATE(430), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9433] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(427), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1071), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9450] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1005), 1,
      anon_sym_RPAREN,
    STATE(428), 1,
      sym_comment,
    STATE(518), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9471] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1073), 1,
      anon_sym_RPAREN,
    STATE(429), 1,
      sym_comment,
    STATE(519), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9492] = 5,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1075), 1,
      anon_sym_SQUOTE,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1077), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
    STATE(430), 2,
      sym_comment,
      aux_sym_string_repeat1,
  [9511] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1080), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(431), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9532] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(432), 1,
      sym_comment,
    STATE(499), 1,
      sym_identifier,
    STATE(517), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9553] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1038), 1,
      ts_builtin_sym_end,
    STATE(433), 1,
      sym_comment,
    STATE(459), 1,
      aux_sym_query_repeat1,
    STATE(511), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9576] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1003), 1,
      anon_sym_RPAREN,
    STATE(434), 1,
      sym_comment,
    STATE(534), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9597] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1082), 1,
      anon_sym_RPAREN,
    STATE(435), 1,
      sym_comment,
    STATE(535), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(956), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9618] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1084), 1,
      anon_sym_SQUOTE,
    STATE(436), 1,
      sym_comment,
    STATE(437), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9639] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1086), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(437), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9660] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1088), 1,
      anon_sym_SQUOTE,
    STATE(438), 1,
      sym_comment,
    STATE(439), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9681] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1090), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(439), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9702] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1092), 1,
      anon_sym_SQUOTE,
    STATE(440), 1,
      sym_comment,
    STATE(441), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9723] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1094), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(441), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9744] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1096), 1,
      anon_sym_SQUOTE,
    STATE(442), 1,
      sym_comment,
    STATE(443), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9765] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1098), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(443), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9786] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1100), 1,
      anon_sym_SQUOTE,
    STATE(444), 1,
      sym_comment,
    STATE(445), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9807] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1102), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(445), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9828] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1104), 1,
      anon_sym_SQUOTE,
    STATE(446), 1,
      sym_comment,
    STATE(447), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9849] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1106), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(447), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9870] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1108), 1,
      anon_sym_SQUOTE,
    STATE(448), 1,
      sym_comment,
    STATE(449), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9891] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1110), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(449), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9912] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1112), 1,
      anon_sym_SQUOTE,
    STATE(450), 1,
      sym_comment,
    STATE(451), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9933] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1114), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(451), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9954] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1118), 1,
      anon_sym_SEMI,
    STATE(452), 1,
      sym_comment,
    STATE(461), 1,
      aux_sym_sql_portion_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1116), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [9975] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(367), 1,
      sym_cte_definition,
    STATE(453), 1,
      sym_comment,
    STATE(506), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9996] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(394), 1,
      sym_cte_definition,
    STATE(454), 1,
      sym_comment,
    STATE(506), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10017] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(455), 1,
      sym_comment,
    STATE(499), 1,
      sym_identifier,
    STATE(567), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10038] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(456), 1,
      sym_comment,
    STATE(499), 1,
      sym_identifier,
    STATE(527), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10059] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(457), 1,
      sym_comment,
    STATE(499), 1,
      sym_identifier,
    STATE(540), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10080] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1120), 1,
      anon_sym_SQUOTE,
    STATE(430), 1,
      aux_sym_string_repeat1,
    STATE(458), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10101] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1122), 1,
      ts_builtin_sym_end,
    STATE(416), 1,
      aux_sym_query_repeat1,
    STATE(459), 1,
      sym_comment,
    STATE(511), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10124] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(268), 1,
      sym_identifier,
    STATE(274), 1,
      sym_facet_vars,
    STATE(460), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10145] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1126), 1,
      anon_sym_SEMI,
    STATE(407), 1,
      aux_sym_sql_portion_repeat1,
    STATE(461), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1124), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [10166] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1128), 1,
      anon_sym_SQUOTE,
    STATE(431), 1,
      aux_sym_string_repeat1,
    STATE(462), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10187] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1132), 1,
      anon_sym_RPAREN,
    STATE(463), 1,
      sym_comment,
    STATE(492), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10207] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1134), 1,
      anon_sym_COMMA,
    ACTIONS(1136), 1,
      anon_sym_RBRACK,
    STATE(464), 1,
      sym_comment,
    STATE(490), 1,
      aux_sym_array_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10227] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(193), 1,
      sym_identifier,
    STATE(465), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10245] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1138), 1,
      anon_sym_COMMA,
    ACTIONS(1141), 1,
      anon_sym_RBRACK,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(466), 2,
      sym_comment,
      aux_sym_array_repeat1,
  [10263] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(333), 1,
      sym_identifier,
    STATE(467), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10281] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(313), 1,
      sym_identifier,
    STATE(468), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10299] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1143), 1,
      aux_sym_scale_to_clause_token1,
    STATE(409), 1,
      aux_sym_cte_definition_repeat1,
    STATE(469), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10319] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1145), 1,
      aux_sym_scale_to_clause_token1,
    STATE(469), 1,
      aux_sym_cte_definition_repeat1,
    STATE(470), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10339] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(463), 1,
      sym_identifier,
    STATE(471), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10357] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(193), 1,
      sym_identifier,
    STATE(472), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10375] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(158), 1,
      sym_identifier,
    STATE(473), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(619), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10393] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(59), 1,
      sym_identifier,
    STATE(474), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10411] = 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(1147), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10427] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(154), 1,
      sym_identifier,
    STATE(476), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(742), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10445] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(50), 1,
      sym_identifier,
    STATE(477), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10463] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(79), 1,
      sym_identifier,
    STATE(478), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(128), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10481] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(80), 1,
      sym_identifier,
    STATE(479), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(128), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10499] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(66), 1,
      sym_identifier,
    STATE(480), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1149), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10517] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1151), 1,
      anon_sym_COMMA,
    ACTIONS(1154), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(481), 2,
      sym_comment,
      aux_sym_function_args_repeat1,
  [10535] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(154), 1,
      sym_identifier,
    STATE(482), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10553] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(369), 1,
      sym_identifier,
    STATE(483), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10571] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1156), 1,
      anon_sym_COMMA,
    ACTIONS(1158), 1,
      anon_sym_RPAREN,
    STATE(481), 1,
      aux_sym_function_args_repeat1,
    STATE(484), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10591] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(284), 1,
      sym_identifier,
    STATE(485), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10609] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1156), 1,
      anon_sym_COMMA,
    ACTIONS(1160), 1,
      anon_sym_RPAREN,
    STATE(484), 1,
      aux_sym_function_args_repeat1,
    STATE(486), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10629] = 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(1162), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10645] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(34), 1,
      sym_identifier,
    STATE(488), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1164), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10663] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    STATE(489), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1166), 3,
      anon_sym_SQUOTE,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10679] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1134), 1,
      anon_sym_COMMA,
    ACTIONS(1168), 1,
      anon_sym_RBRACK,
    STATE(466), 1,
      aux_sym_array_repeat1,
    STATE(490), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10699] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(491), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1042), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10715] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1170), 1,
      anon_sym_RPAREN,
    STATE(409), 1,
      aux_sym_cte_definition_repeat1,
    STATE(492), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10735] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1172), 1,
      anon_sym_COMMA,
    ACTIONS(1174), 1,
      anon_sym_RPAREN,
    STATE(493), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10752] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1176), 1,
      anon_sym_LPAREN,
    STATE(42), 1,
      sym_window_specification,
    STATE(494), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10769] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(495), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1178), 2,
      aux_sym_sql_keyword_token44,
      aux_sym_sql_keyword_token45,
  [10784] = 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(1180), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10799] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1182), 1,
      anon_sym_LPAREN,
    STATE(110), 1,
      sym_window_specification,
    STATE(497), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10816] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1182), 1,
      anon_sym_LPAREN,
    STATE(113), 1,
      sym_window_specification,
    STATE(498), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10833] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1184), 1,
      anon_sym_LPAREN,
    ACTIONS(1186), 1,
      anon_sym_RPAREN,
    STATE(499), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10850] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(500), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1188), 2,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token13,
  [10865] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1190), 1,
      anon_sym_LPAREN,
    STATE(83), 1,
      sym_window_specification,
    STATE(501), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10882] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1190), 1,
      anon_sym_LPAREN,
    STATE(86), 1,
      sym_window_specification,
    STATE(502), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10899] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1176), 1,
      anon_sym_LPAREN,
    STATE(45), 1,
      sym_window_specification,
    STATE(503), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10916] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(522), 1,
      anon_sym_SQUOTE,
    STATE(310), 1,
      sym_string,
    STATE(504), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10933] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(505), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1154), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [10948] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1192), 1,
      anon_sym_LPAREN,
    ACTIONS(1194), 1,
      aux_sym_cte_definition_token1,
    STATE(506), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10965] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(825), 1,
      anon_sym_LBRACK,
    STATE(263), 1,
      sym_array,
    STATE(507), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10982] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(508), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1196), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10997] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(509), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(731), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [11012] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(510), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1141), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [11027] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(511), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1198), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [11042] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(512), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1200), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [11057] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1202), 1,
      sym_number,
    STATE(513), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11071] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1204), 1,
      aux_sym_sql_keyword_token13,
    STATE(514), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11085] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1206), 1,
      anon_sym_EQ_GT,
    STATE(515), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11099] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1005), 1,
      anon_sym_RPAREN,
    STATE(516), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11113] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1208), 1,
      anon_sym_RPAREN,
    STATE(517), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11127] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1073), 1,
      anon_sym_RPAREN,
    STATE(518), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11141] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1210), 1,
      anon_sym_RPAREN,
    STATE(519), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11155] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1212), 1,
      anon_sym_RPAREN,
    STATE(520), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11169] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1214), 1,
      anon_sym_RPAREN,
    STATE(521), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11183] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1216), 1,
      anon_sym_RPAREN,
    STATE(522), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11197] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1218), 1,
      anon_sym_RPAREN,
    STATE(523), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11211] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1220), 1,
      aux_sym_sql_keyword_token22,
    STATE(524), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11225] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1222), 1,
      anon_sym_RPAREN,
    STATE(525), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11239] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1224), 1,
      anon_sym_EQ_GT,
    STATE(526), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11253] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1226), 1,
      anon_sym_RPAREN,
    STATE(527), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11267] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1228), 1,
      anon_sym_EQ_GT,
    STATE(528), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11281] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1230), 1,
      anon_sym_RPAREN,
    STATE(529), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11295] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1178), 1,
      aux_sym_sql_keyword_token47,
    STATE(530), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11309] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1232), 1,
      aux_sym_cte_definition_token1,
    STATE(531), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11323] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1003), 1,
      anon_sym_RPAREN,
    STATE(532), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11337] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1234), 1,
      aux_sym_sql_keyword_token22,
    STATE(533), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11351] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1082), 1,
      anon_sym_RPAREN,
    STATE(534), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11365] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1236), 1,
      anon_sym_RPAREN,
    STATE(535), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11379] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1238), 1,
      anon_sym_EQ_GT,
    STATE(536), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11393] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1240), 1,
      anon_sym_RPAREN,
    STATE(537), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11407] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1242), 1,
      aux_sym_scale_to_clause_token1,
    STATE(538), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11421] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1244), 1,
      anon_sym_EQ_GT,
    STATE(539), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11435] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1246), 1,
      anon_sym_RPAREN,
    STATE(540), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11449] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1248), 1,
      aux_sym_cte_definition_token1,
    STATE(541), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11463] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1250), 1,
      anon_sym_RPAREN,
    STATE(542), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11477] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1252), 1,
      anon_sym_RPAREN,
    STATE(543), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11491] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1254), 1,
      anon_sym_RPAREN,
    STATE(544), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11505] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1256), 1,
      anon_sym_EQ_GT,
    STATE(545), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11519] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1258), 1,
      anon_sym_RPAREN,
    STATE(546), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11533] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1260), 1,
      anon_sym_LPAREN,
    STATE(547), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11547] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1262), 1,
      aux_sym_cte_definition_token1,
    STATE(548), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11561] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1264), 1,
      anon_sym_LPAREN,
    STATE(549), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11575] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1266), 1,
      anon_sym_LPAREN,
    STATE(550), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11589] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1268), 1,
      anon_sym_RPAREN,
    STATE(551), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11603] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1270), 1,
      anon_sym_RPAREN,
    STATE(552), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11617] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1272), 1,
      anon_sym_RPAREN,
    STATE(553), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11631] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1274), 1,
      anon_sym_RPAREN,
    STATE(554), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11645] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1276), 1,
      anon_sym_RPAREN,
    STATE(555), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11659] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1278), 1,
      anon_sym_RPAREN,
    STATE(556), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11673] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1280), 1,
      anon_sym_EQ_GT,
    STATE(557), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11687] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1282), 1,
      anon_sym_EQ_GT,
    STATE(558), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11701] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1284), 1,
      aux_sym_sql_keyword_token22,
    STATE(559), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11715] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1286), 1,
      anon_sym_RPAREN,
    STATE(560), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11729] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1288), 1,
      ts_builtin_sym_end,
    STATE(561), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11743] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1290), 1,
      aux_sym_sql_keyword_token22,
    STATE(562), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11757] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1292), 1,
      anon_sym_SLASH,
    STATE(563), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11771] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1294), 1,
      anon_sym_RPAREN,
    STATE(564), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11785] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1296), 1,
      anon_sym_RPAREN,
    STATE(565), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11799] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1298), 1,
      sym_number,
    STATE(566), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11813] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1300), 1,
      anon_sym_RPAREN,
    STATE(567), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11827] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(997), 1,
      anon_sym_RPAREN,
    STATE(568), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11841] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1302), 1,
      anon_sym_RPAREN,
    STATE(569), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11855] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1050), 1,
      anon_sym_RPAREN,
    STATE(570), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11869] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1304), 1,
      aux_sym_comment_token2,
    STATE(571), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11883] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1306), 1,
      aux_sym_comment_token1,
    STATE(572), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11897] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1308), 1,
      anon_sym_EQ_GT,
    STATE(573), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11911] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1310), 1,
      aux_sym_cte_definition_token1,
    STATE(574), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11925] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1312), 1,
      anon_sym_RPAREN,
    STATE(575), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11939] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1314), 1,
      aux_sym_cte_definition_token1,
    STATE(576), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11953] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1316), 1,
      anon_sym_LPAREN,
    STATE(577), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11967] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1318), 1,
      anon_sym_LPAREN,
    STATE(578), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11981] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1320), 1,
      anon_sym_LPAREN,
    STATE(579), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11995] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1322), 1,
      anon_sym_LPAREN,
    STATE(580), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12009] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1324), 1,
      anon_sym_RPAREN,
    STATE(581), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [12023] = 1,
    ACTIONS(1326), 1,
      ts_builtin_sym_end,
  [12027] = 1,
    ACTIONS(1328), 1,
      ts_builtin_sym_end,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(139)] = 0,
  [SMALL_STATE(140)] = 83,
  [SMALL_STATE(141)] = 168,
  [SMALL_STATE(142)] = 240,
  [SMALL_STATE(143)] = 312,
  [SMALL_STATE(144)] = 384,
  [SMALL_STATE(145)] = 456,
  [SMALL_STATE(146)] = 533,
  [SMALL_STATE(147)] = 608,
  [SMALL_STATE(148)] = 675,
  [SMALL_STATE(149)] = 742,
  [SMALL_STATE(150)] = 801,
  [SMALL_STATE(151)] = 858,
  [SMALL_STATE(152)] = 966,
  [SMALL_STATE(153)] = 1013,
  [SMALL_STATE(154)] = 1060,
  [SMALL_STATE(155)] = 1105,
  [SMALL_STATE(156)] = 1154,
  [SMALL_STATE(157)] = 1199,
  [SMALL_STATE(158)] = 1246,
  [SMALL_STATE(159)] = 1290,
  [SMALL_STATE(160)] = 1343,
  [SMALL_STATE(161)] = 1394,
  [SMALL_STATE(162)] = 1430,
  [SMALL_STATE(163)] = 1468,
  [SMALL_STATE(164)] = 1506,
  [SMALL_STATE(165)] = 1542,
  [SMALL_STATE(166)] = 1600,
  [SMALL_STATE(167)] = 1636,
  [SMALL_STATE(168)] = 1680,
  [SMALL_STATE(169)] = 1742,
  [SMALL_STATE(170)] = 1799,
  [SMALL_STATE(171)] = 1858,
  [SMALL_STATE(172)] = 1914,
  [SMALL_STATE(173)] = 1968,
  [SMALL_STATE(174)] = 2000,
  [SMALL_STATE(175)] = 2052,
  [SMALL_STATE(176)] = 2108,
  [SMALL_STATE(177)] = 2160,
  [SMALL_STATE(178)] = 2216,
  [SMALL_STATE(179)] = 2272,
  [SMALL_STATE(180)] = 2324,
  [SMALL_STATE(181)] = 2380,
  [SMALL_STATE(182)] = 2420,
  [SMALL_STATE(183)] = 2471,
  [SMALL_STATE(184)] = 2522,
  [SMALL_STATE(185)] = 2573,
  [SMALL_STATE(186)] = 2612,
  [SMALL_STATE(187)] = 2663,
  [SMALL_STATE(188)] = 2714,
  [SMALL_STATE(189)] = 2763,
  [SMALL_STATE(190)] = 2809,
  [SMALL_STATE(191)] = 2843,
  [SMALL_STATE(192)] = 2875,
  [SMALL_STATE(193)] = 2907,
  [SMALL_STATE(194)] = 2937,
  [SMALL_STATE(195)] = 2969,
  [SMALL_STATE(196)] = 3001,
  [SMALL_STATE(197)] = 3031,
  [SMALL_STATE(198)] = 3061,
  [SMALL_STATE(199)] = 3093,
  [SMALL_STATE(200)] = 3129,
  [SMALL_STATE(201)] = 3161,
  [SMALL_STATE(202)] = 3191,
  [SMALL_STATE(203)] = 3223,
  [SMALL_STATE(204)] = 3253,
  [SMALL_STATE(205)] = 3303,
  [SMALL_STATE(206)] = 3337,
  [SMALL_STATE(207)] = 3383,
  [SMALL_STATE(208)] = 3415,
  [SMALL_STATE(209)] = 3447,
  [SMALL_STATE(210)] = 3493,
  [SMALL_STATE(211)] = 3527,
  [SMALL_STATE(212)] = 3559,
  [SMALL_STATE(213)] = 3591,
  [SMALL_STATE(214)] = 3637,
  [SMALL_STATE(215)] = 3680,
  [SMALL_STATE(216)] = 3709,
  [SMALL_STATE(217)] = 3738,
  [SMALL_STATE(218)] = 3767,
  [SMALL_STATE(219)] = 3796,
  [SMALL_STATE(220)] = 3829,
  [SMALL_STATE(221)] = 3862,
  [SMALL_STATE(222)] = 3895,
  [SMALL_STATE(223)] = 3926,
  [SMALL_STATE(224)] = 3959,
  [SMALL_STATE(225)] = 3988,
  [SMALL_STATE(226)] = 4032,
  [SMALL_STATE(227)] = 4064,
  [SMALL_STATE(228)] = 4104,
  [SMALL_STATE(229)] = 4144,
  [SMALL_STATE(230)] = 4176,
  [SMALL_STATE(231)] = 4206,
  [SMALL_STATE(232)] = 4246,
  [SMALL_STATE(233)] = 4286,
  [SMALL_STATE(234)] = 4318,
  [SMALL_STATE(235)] = 4362,
  [SMALL_STATE(236)] = 4402,
  [SMALL_STATE(237)] = 4430,
  [SMALL_STATE(238)] = 4470,
  [SMALL_STATE(239)] = 4514,
  [SMALL_STATE(240)] = 4558,
  [SMALL_STATE(241)] = 4588,
  [SMALL_STATE(242)] = 4620,
  [SMALL_STATE(243)] = 4654,
  [SMALL_STATE(244)] = 4686,
  [SMALL_STATE(245)] = 4718,
  [SMALL_STATE(246)] = 4750,
  [SMALL_STATE(247)] = 4794,
  [SMALL_STATE(248)] = 4838,
  [SMALL_STATE(249)] = 4882,
  [SMALL_STATE(250)] = 4909,
  [SMALL_STATE(251)] = 4936,
  [SMALL_STATE(252)] = 4963,
  [SMALL_STATE(253)] = 4990,
  [SMALL_STATE(254)] = 5019,
  [SMALL_STATE(255)] = 5048,
  [SMALL_STATE(256)] = 5085,
  [SMALL_STATE(257)] = 5112,
  [SMALL_STATE(258)] = 5149,
  [SMALL_STATE(259)] = 5188,
  [SMALL_STATE(260)] = 5222,
  [SMALL_STATE(261)] = 5256,
  [SMALL_STATE(262)] = 5290,
  [SMALL_STATE(263)] = 5318,
  [SMALL_STATE(264)] = 5344,
  [SMALL_STATE(265)] = 5370,
  [SMALL_STATE(266)] = 5404,
  [SMALL_STATE(267)] = 5434,
  [SMALL_STATE(268)] = 5468,
  [SMALL_STATE(269)] = 5498,
  [SMALL_STATE(270)] = 5532,
  [SMALL_STATE(271)] = 5566,
  [SMALL_STATE(272)] = 5600,
  [SMALL_STATE(273)] = 5629,
  [SMALL_STATE(274)] = 5658,
  [SMALL_STATE(275)] = 5689,
  [SMALL_STATE(276)] = 5714,
  [SMALL_STATE(277)] = 5742,
  [SMALL_STATE(278)] = 5778,
  [SMALL_STATE(279)] = 5806,
  [SMALL_STATE(280)] = 5834,
  [SMALL_STATE(281)] = 5860,
  [SMALL_STATE(282)] = 5888,
  [SMALL_STATE(283)] = 5916,
  [SMALL_STATE(284)] = 5952,
  [SMALL_STATE(285)] = 5976,
  [SMALL_STATE(286)] = 6004,
  [SMALL_STATE(287)] = 6032,
  [SMALL_STATE(288)] = 6060,
  [SMALL_STATE(289)] = 6086,
  [SMALL_STATE(290)] = 6114,
  [SMALL_STATE(291)] = 6140,
  [SMALL_STATE(292)] = 6168,
  [SMALL_STATE(293)] = 6194,
  [SMALL_STATE(294)] = 6222,
  [SMALL_STATE(295)] = 6250,
  [SMALL_STATE(296)] = 6278,
  [SMALL_STATE(297)] = 6306,
  [SMALL_STATE(298)] = 6332,
  [SMALL_STATE(299)] = 6360,
  [SMALL_STATE(300)] = 6388,
  [SMALL_STATE(301)] = 6416,
  [SMALL_STATE(302)] = 6444,
  [SMALL_STATE(303)] = 6468,
  [SMALL_STATE(304)] = 6496,
  [SMALL_STATE(305)] = 6524,
  [SMALL_STATE(306)] = 6552,
  [SMALL_STATE(307)] = 6580,
  [SMALL_STATE(308)] = 6608,
  [SMALL_STATE(309)] = 6636,
  [SMALL_STATE(310)] = 6661,
  [SMALL_STATE(311)] = 6684,
  [SMALL_STATE(312)] = 6719,
  [SMALL_STATE(313)] = 6742,
  [SMALL_STATE(314)] = 6765,
  [SMALL_STATE(315)] = 6802,
  [SMALL_STATE(316)] = 6825,
  [SMALL_STATE(317)] = 6848,
  [SMALL_STATE(318)] = 6871,
  [SMALL_STATE(319)] = 6894,
  [SMALL_STATE(320)] = 6917,
  [SMALL_STATE(321)] = 6954,
  [SMALL_STATE(322)] = 6977,
  [SMALL_STATE(323)] = 7014,
  [SMALL_STATE(324)] = 7037,
  [SMALL_STATE(325)] = 7062,
  [SMALL_STATE(326)] = 7085,
  [SMALL_STATE(327)] = 7108,
  [SMALL_STATE(328)] = 7133,
  [SMALL_STATE(329)] = 7156,
  [SMALL_STATE(330)] = 7179,
  [SMALL_STATE(331)] = 7202,
  [SMALL_STATE(332)] = 7225,
  [SMALL_STATE(333)] = 7262,
  [SMALL_STATE(334)] = 7285,
  [SMALL_STATE(335)] = 7307,
  [SMALL_STATE(336)] = 7329,
  [SMALL_STATE(337)] = 7351,
  [SMALL_STATE(338)] = 7373,
  [SMALL_STATE(339)] = 7395,
  [SMALL_STATE(340)] = 7417,
  [SMALL_STATE(341)] = 7439,
  [SMALL_STATE(342)] = 7461,
  [SMALL_STATE(343)] = 7483,
  [SMALL_STATE(344)] = 7505,
  [SMALL_STATE(345)] = 7527,
  [SMALL_STATE(346)] = 7549,
  [SMALL_STATE(347)] = 7571,
  [SMALL_STATE(348)] = 7593,
  [SMALL_STATE(349)] = 7615,
  [SMALL_STATE(350)] = 7637,
  [SMALL_STATE(351)] = 7659,
  [SMALL_STATE(352)] = 7681,
  [SMALL_STATE(353)] = 7713,
  [SMALL_STATE(354)] = 7735,
  [SMALL_STATE(355)] = 7757,
  [SMALL_STATE(356)] = 7790,
  [SMALL_STATE(357)] = 7823,
  [SMALL_STATE(358)] = 7856,
  [SMALL_STATE(359)] = 7878,
  [SMALL_STATE(360)] = 7906,
  [SMALL_STATE(361)] = 7934,
  [SMALL_STATE(362)] = 7962,
  [SMALL_STATE(363)] = 7986,
  [SMALL_STATE(364)] = 8014,
  [SMALL_STATE(365)] = 8042,
  [SMALL_STATE(366)] = 8070,
  [SMALL_STATE(367)] = 8098,
  [SMALL_STATE(368)] = 8126,
  [SMALL_STATE(369)] = 8146,
  [SMALL_STATE(370)] = 8169,
  [SMALL_STATE(371)] = 8192,
  [SMALL_STATE(372)] = 8211,
  [SMALL_STATE(373)] = 8238,
  [SMALL_STATE(374)] = 8257,
  [SMALL_STATE(375)] = 8284,
  [SMALL_STATE(376)] = 8311,
  [SMALL_STATE(377)] = 8330,
  [SMALL_STATE(378)] = 8355,
  [SMALL_STATE(379)] = 8382,
  [SMALL_STATE(380)] = 8409,
  [SMALL_STATE(381)] = 8428,
  [SMALL_STATE(382)] = 8452,
  [SMALL_STATE(383)] = 8478,
  [SMALL_STATE(384)] = 8498,
  [SMALL_STATE(385)] = 8518,
  [SMALL_STATE(386)] = 8542,
  [SMALL_STATE(387)] = 8564,
  [SMALL_STATE(388)] = 8586,
  [SMALL_STATE(389)] = 8610,
  [SMALL_STATE(390)] = 8634,
  [SMALL_STATE(391)] = 8658,
  [SMALL_STATE(392)] = 8684,
  [SMALL_STATE(393)] = 8710,
  [SMALL_STATE(394)] = 8734,
  [SMALL_STATE(395)] = 8760,
  [SMALL_STATE(396)] = 8784,
  [SMALL_STATE(397)] = 8810,
  [SMALL_STATE(398)] = 8836,
  [SMALL_STATE(399)] = 8862,
  [SMALL_STATE(400)] = 8888,
  [SMALL_STATE(401)] = 8910,
  [SMALL_STATE(402)] = 8934,
  [SMALL_STATE(403)] = 8957,
  [SMALL_STATE(404)] = 8978,
  [SMALL_STATE(405)] = 8995,
  [SMALL_STATE(406)] = 9012,
  [SMALL_STATE(407)] = 9033,
  [SMALL_STATE(408)] = 9052,
  [SMALL_STATE(409)] = 9073,
  [SMALL_STATE(410)] = 9092,
  [SMALL_STATE(411)] = 9113,
  [SMALL_STATE(412)] = 9134,
  [SMALL_STATE(413)] = 9155,
  [SMALL_STATE(414)] = 9176,
  [SMALL_STATE(415)] = 9197,
  [SMALL_STATE(416)] = 9218,
  [SMALL_STATE(417)] = 9239,
  [SMALL_STATE(418)] = 9260,
  [SMALL_STATE(419)] = 9281,
  [SMALL_STATE(420)] = 9298,
  [SMALL_STATE(421)] = 9315,
  [SMALL_STATE(422)] = 9332,
  [SMALL_STATE(423)] = 9353,
  [SMALL_STATE(424)] = 9370,
  [SMALL_STATE(425)] = 9391,
  [SMALL_STATE(426)] = 9412,
  [SMALL_STATE(427)] = 9433,
  [SMALL_STATE(428)] = 9450,
  [SMALL_STATE(429)] = 9471,
  [SMALL_STATE(430)] = 9492,
  [SMALL_STATE(431)] = 9511,
  [SMALL_STATE(432)] = 9532,
  [SMALL_STATE(433)] = 9553,
  [SMALL_STATE(434)] = 9576,
  [SMALL_STATE(435)] = 9597,
  [SMALL_STATE(436)] = 9618,
  [SMALL_STATE(437)] = 9639,
  [SMALL_STATE(438)] = 9660,
  [SMALL_STATE(439)] = 9681,
  [SMALL_STATE(440)] = 9702,
  [SMALL_STATE(441)] = 9723,
  [SMALL_STATE(442)] = 9744,
  [SMALL_STATE(443)] = 9765,
  [SMALL_STATE(444)] = 9786,
  [SMALL_STATE(445)] = 9807,
  [SMALL_STATE(446)] = 9828,
  [SMALL_STATE(447)] = 9849,
  [SMALL_STATE(448)] = 9870,
  [SMALL_STATE(449)] = 9891,
  [SMALL_STATE(450)] = 9912,
  [SMALL_STATE(451)] = 9933,
  [SMALL_STATE(452)] = 9954,
  [SMALL_STATE(453)] = 9975,
  [SMALL_STATE(454)] = 9996,
  [SMALL_STATE(455)] = 10017,
  [SMALL_STATE(456)] = 10038,
  [SMALL_STATE(457)] = 10059,
  [SMALL_STATE(458)] = 10080,
  [SMALL_STATE(459)] = 10101,
  [SMALL_STATE(460)] = 10124,
  [SMALL_STATE(461)] = 10145,
  [SMALL_STATE(462)] = 10166,
  [SMALL_STATE(463)] = 10187,
  [SMALL_STATE(464)] = 10207,
  [SMALL_STATE(465)] = 10227,
  [SMALL_STATE(466)] = 10245,
  [SMALL_STATE(467)] = 10263,
  [SMALL_STATE(468)] = 10281,
  [SMALL_STATE(469)] = 10299,
  [SMALL_STATE(470)] = 10319,
  [SMALL_STATE(471)] = 10339,
  [SMALL_STATE(472)] = 10357,
  [SMALL_STATE(473)] = 10375,
  [SMALL_STATE(474)] = 10393,
  [SMALL_STATE(475)] = 10411,
  [SMALL_STATE(476)] = 10427,
  [SMALL_STATE(477)] = 10445,
  [SMALL_STATE(478)] = 10463,
  [SMALL_STATE(479)] = 10481,
  [SMALL_STATE(480)] = 10499,
  [SMALL_STATE(481)] = 10517,
  [SMALL_STATE(482)] = 10535,
  [SMALL_STATE(483)] = 10553,
  [SMALL_STATE(484)] = 10571,
  [SMALL_STATE(485)] = 10591,
  [SMALL_STATE(486)] = 10609,
  [SMALL_STATE(487)] = 10629,
  [SMALL_STATE(488)] = 10645,
  [SMALL_STATE(489)] = 10663,
  [SMALL_STATE(490)] = 10679,
  [SMALL_STATE(491)] = 10699,
  [SMALL_STATE(492)] = 10715,
  [SMALL_STATE(493)] = 10735,
  [SMALL_STATE(494)] = 10752,
  [SMALL_STATE(495)] = 10769,
  [SMALL_STATE(496)] = 10784,
  [SMALL_STATE(497)] = 10799,
  [SMALL_STATE(498)] = 10816,
  [SMALL_STATE(499)] = 10833,
  [SMALL_STATE(500)] = 10850,
  [SMALL_STATE(501)] = 10865,
  [SMALL_STATE(502)] = 10882,
  [SMALL_STATE(503)] = 10899,
  [SMALL_STATE(504)] = 10916,
  [SMALL_STATE(505)] = 10933,
  [SMALL_STATE(506)] = 10948,
  [SMALL_STATE(507)] = 10965,
  [SMALL_STATE(508)] = 10982,
  [SMALL_STATE(509)] = 10997,
  [SMALL_STATE(510)] = 11012,
  [SMALL_STATE(511)] = 11027,
  [SMALL_STATE(512)] = 11042,
  [SMALL_STATE(513)] = 11057,
  [SMALL_STATE(514)] = 11071,
  [SMALL_STATE(515)] = 11085,
  [SMALL_STATE(516)] = 11099,
  [SMALL_STATE(517)] = 11113,
  [SMALL_STATE(518)] = 11127,
  [SMALL_STATE(519)] = 11141,
  [SMALL_STATE(520)] = 11155,
  [SMALL_STATE(521)] = 11169,
  [SMALL_STATE(522)] = 11183,
  [SMALL_STATE(523)] = 11197,
  [SMALL_STATE(524)] = 11211,
  [SMALL_STATE(525)] = 11225,
  [SMALL_STATE(526)] = 11239,
  [SMALL_STATE(527)] = 11253,
  [SMALL_STATE(528)] = 11267,
  [SMALL_STATE(529)] = 11281,
  [SMALL_STATE(530)] = 11295,
  [SMALL_STATE(531)] = 11309,
  [SMALL_STATE(532)] = 11323,
  [SMALL_STATE(533)] = 11337,
  [SMALL_STATE(534)] = 11351,
  [SMALL_STATE(535)] = 11365,
  [SMALL_STATE(536)] = 11379,
  [SMALL_STATE(537)] = 11393,
  [SMALL_STATE(538)] = 11407,
  [SMALL_STATE(539)] = 11421,
  [SMALL_STATE(540)] = 11435,
  [SMALL_STATE(541)] = 11449,
  [SMALL_STATE(542)] = 11463,
  [SMALL_STATE(543)] = 11477,
  [SMALL_STATE(544)] = 11491,
  [SMALL_STATE(545)] = 11505,
  [SMALL_STATE(546)] = 11519,
  [SMALL_STATE(547)] = 11533,
  [SMALL_STATE(548)] = 11547,
  [SMALL_STATE(549)] = 11561,
  [SMALL_STATE(550)] = 11575,
  [SMALL_STATE(551)] = 11589,
  [SMALL_STATE(552)] = 11603,
  [SMALL_STATE(553)] = 11617,
  [SMALL_STATE(554)] = 11631,
  [SMALL_STATE(555)] = 11645,
  [SMALL_STATE(556)] = 11659,
  [SMALL_STATE(557)] = 11673,
  [SMALL_STATE(558)] = 11687,
  [SMALL_STATE(559)] = 11701,
  [SMALL_STATE(560)] = 11715,
  [SMALL_STATE(561)] = 11729,
  [SMALL_STATE(562)] = 11743,
  [SMALL_STATE(563)] = 11757,
  [SMALL_STATE(564)] = 11771,
  [SMALL_STATE(565)] = 11785,
  [SMALL_STATE(566)] = 11799,
  [SMALL_STATE(567)] = 11813,
  [SMALL_STATE(568)] = 11827,
  [SMALL_STATE(569)] = 11841,
  [SMALL_STATE(570)] = 11855,
  [SMALL_STATE(571)] = 11869,
  [SMALL_STATE(572)] = 11883,
  [SMALL_STATE(573)] = 11897,
  [SMALL_STATE(574)] = 11911,
  [SMALL_STATE(575)] = 11925,
  [SMALL_STATE(576)] = 11939,
  [SMALL_STATE(577)] = 11953,
  [SMALL_STATE(578)] = 11967,
  [SMALL_STATE(579)] = 11981,
  [SMALL_STATE(580)] = 11995,
  [SMALL_STATE(581)] = 12009,
  [SMALL_STATE(582)] = 12023,
  [SMALL_STATE(583)] = 12027,
};

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(572),
  [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(571),
  [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 0, 0, 0),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(399),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
  [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(572),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(571),
  [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_body, 1, 0, 0),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24),
  [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60),
  [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(550),
  [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
  [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
  [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
  [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
  [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0),
  [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(24),
  [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(60),
  [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(60),
  [70] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(15),
  [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(550),
  [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(11),
  [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(49),
  [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(24),
  [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(424),
  [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [90] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100),
  [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
  [96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104),
  [98] = {.entry = {.count = 1, .reusable = false}}, SHIFT(397),
  [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(578),
  [106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102),
  [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(462),
  [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90),
  [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
  [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
  [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(579),
  [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
  [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89),
  [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(444),
  [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(90),
  [135] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(75),
  [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(75),
  [141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(21),
  [144] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(579),
  [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(14),
  [150] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(89),
  [153] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(90),
  [156] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(444),
  [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
  [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27),
  [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(442),
  [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0),
  [173] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0), REDUCE(sym_sql_portion, 3, 0, 0),
  [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
  [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(448),
  [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0),
  [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0),
  [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(488),
  [194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 0),
  [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 0),
  [198] = {.entry = {.count = 1, .reusable = false}}, SHIFT(477),
  [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 1),
  [202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 1),
  [204] = {.entry = {.count = 1, .reusable = false}}, SHIFT(474),
  [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [214] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(488),
  [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0),
  [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2, 0, 0),
  [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2, 0, 0),
  [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2, 0, 0),
  [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322),
  [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3, 0, 0),
  [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3, 0, 0),
  [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [235] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(322),
  [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0),
  [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, 0, 0),
  [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery, 3, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subquery, 3, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 2),
  [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 2),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 3),
  [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 3),
  [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 5, 0, 9),
  [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 5, 0, 9),
  [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 2, 0, 0),
  [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 2, 0, 0),
  [266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 6, 0, 9),
  [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 6, 0, 9),
  [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 3, 0, 0),
  [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 3, 0, 0),
  [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 4, 0, 0),
  [276] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 4, 0, 0),
  [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 5, 0, 0),
  [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 5, 0, 0),
  [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 6),
  [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 6),
  [286] = {.entry = {.count = 1, .reusable = false}}, SHIFT(478),
  [288] = {.entry = {.count = 1, .reusable = false}}, SHIFT(479),
  [290] = {.entry = {.count = 1, .reusable = false}}, SHIFT(480),
  [292] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(480),
  [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, 0, 0),
  [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, 0, 0),
  [299] = {.entry = {.count = 1, .reusable = false}}, SHIFT(494),
  [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 5),
  [303] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 5),
  [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, 0, 0),
  [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, 0, 0),
  [313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(503),
  [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177),
  [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(332),
  [319] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(332),
  [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery_body, 1, 0, 0),
  [324] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(100),
  [327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(104),
  [330] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(104),
  [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(18),
  [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0),
  [338] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(578),
  [341] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(102),
  [344] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(462),
  [347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(501),
  [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [351] = {.entry = {.count = 1, .reusable = false}}, SHIFT(502),
  [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 2, 0, 0),
  [355] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
  [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7),
  [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124),
  [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
  [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(436),
  [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0),
  [371] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(127),
  [374] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0),
  [376] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(124),
  [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(124),
  [382] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
  [385] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(125),
  [388] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(436),
  [391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 2, 0, 0),
  [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130),
  [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
  [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
  [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128),
  [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(438),
  [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 2, 0, 0),
  [407] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(130),
  [410] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(129),
  [413] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(129),
  [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(6),
  [419] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(128),
  [422] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(438),
  [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_statement, 2, 0, 0),
  [427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(497),
  [429] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
  [435] = {.entry = {.count = 1, .reusable = false}}, SHIFT(498),
  [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0),
  [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
  [448] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(137),
  [451] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(137),
  [454] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(425),
  [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_other_sql_statement, 1, 0, 0),
  [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0),
  [461] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(141),
  [464] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(141),
  [467] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(450),
  [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_expression, 1, 0, 0),
  [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
  [474] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141),
  [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(450),
  [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_token, 1, 0, 0),
  [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter_token, 1, 0, 0),
  [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [486] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150),
  [488] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173),
  [490] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149),
  [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
  [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scale_type_identifier, 1, 0, 0),
  [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_type_identifier, 1, 0, 0),
  [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 1, 1, 0),
  [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215),
  [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(314),
  [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162),
  [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
  [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(201),
  [510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145),
  [512] = {.entry = {.count = 1, .reusable = false}}, SHIFT(460),
  [514] = {.entry = {.count = 1, .reusable = false}}, SHIFT(392),
  [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258),
  [518] = {.entry = {.count = 1, .reusable = false}}, SHIFT(382),
  [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(531),
  [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(440),
  [524] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218),
  [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(473),
  [528] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(473),
  [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_expression, 1, 0, 0),
  [533] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
  [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
  [537] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161),
  [539] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_expression, 1, 0, 0),
  [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
  [543] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [545] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(166),
  [548] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(161),
  [551] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(161),
  [554] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [556] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(166),
  [559] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_token, 1, 0, 0),
  [561] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_token, 1, 0, 0),
  [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
  [565] = {.entry = {.count = 1, .reusable = false}}, SHIFT(236),
  [567] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [569] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [571] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 2, 0, 0),
  [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(524),
  [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(533),
  [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
  [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
  [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
  [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175),
  [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
  [589] = {.entry = {.count = 1, .reusable = false}}, SHIFT(366),
  [591] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 2, 1, 0),
  [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
  [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
  [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(460),
  [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392),
  [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
  [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382),
  [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212),
  [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [615] = {.entry = {.count = 1, .reusable = false}}, SHIFT(580),
  [617] = {.entry = {.count = 1, .reusable = false}}, SHIFT(156),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
  [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aesthetic_name, 1, 0, 0),
  [623] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 3, 0, 0),
  [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211),
  [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 3, 0, 0),
  [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(507),
  [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(363),
  [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(400),
  [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(485),
  [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 2, 0, 0),
  [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [643] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 3, 1, 0),
  [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(476),
  [647] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 4, 1, 0),
  [649] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0),
  [651] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(162),
  [654] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [657] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(145),
  [660] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(460),
  [663] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(392),
  [666] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(258),
  [669] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(382),
  [672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 4, 0, 0),
  [674] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 1, 0, 0),
  [676] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
  [678] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0),
  [680] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(178),
  [683] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0),
  [685] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(465),
  [688] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [690] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [692] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, 0, 0),
  [694] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2, 0, 0),
  [696] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_implicit_mapping, 1, 0, 0),
  [698] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_reference, 1, 0, 0),
  [700] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_positional_arg, 3, 0, 0),
  [702] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_positional_arg, 3, 0, 0),
  [704] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_literal, 1, 0, 0),
  [706] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, 0, 0),
  [708] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 2, 0, 0),
  [710] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 4, 0, 0),
  [712] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(476),
  [715] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_positional_arg, 1, 0, 0),
  [717] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_positional_arg, 1, 0, 0),
  [719] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_wildcard_mapping, 1, 0, 0),
  [721] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_explicit_mapping, 3, 0, 4),
  [723] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0),
  [725] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_arg, 3, 0, 8),
  [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239),
  [729] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239),
  [731] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arg, 1, 0, 0),
  [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(482),
  [735] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(482),
  [738] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_element, 1, 0, 0),
  [740] = {.entry = {.count = 1, .reusable = false}}, SHIFT(208),
  [742] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208),
  [744] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 3, 0, 0),
  [746] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
  [748] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 5, 0, 0),
  [750] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 5, 0, 0),
  [752] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
  [754] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248),
  [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(432),
  [758] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0),
  [760] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(385),
  [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
  [765] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_geom_type, 1, 0, 0),
  [767] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 2, 0, 0),
  [769] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [771] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 2, 0, 0),
  [773] = {.entry = {.count = 1, .reusable = true}}, SHIFT(455),
  [775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(456),
  [777] = {.entry = {.count = 1, .reusable = true}}, SHIFT(457),
  [779] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 3, 0, 10),
  [781] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_value, 1, 0, 0),
  [783] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 4, 0, 11),
  [785] = {.entry = {.count = 1, .reusable = false}}, SHIFT(468),
  [787] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_assignment, 3, 0, 8),
  [789] = {.entry = {.count = 1, .reusable = false}}, SHIFT(467),
  [791] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 1, 0, 0),
  [793] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_clause, 1, 0, 0),
  [795] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_from_clause, 2, 0, 0),
  [797] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remapping_clause, 2, 0, 0),
  [799] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 2, 0, 0),
  [801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(465),
  [803] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 1, 0, 0),
  [805] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 6, 0, 0),
  [807] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 6, 0, 0),
  [809] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 2, 0, 0),
  [811] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 1, 0, 0),
  [813] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 2, 0, 0),
  [815] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413),
  [817] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_to_clause, 2, 0, 0),
  [819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
  [821] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
  [823] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218),
  [825] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311),
  [827] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 3, 0, 0),
  [829] = {.entry = {.count = 1, .reusable = true}}, SHIFT(388),
  [831] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 3, 0, 0),
  [833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(395),
  [835] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0),
  [837] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(365),
  [840] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 2, 0, 0),
  [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(401),
  [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
  [846] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_via_clause, 2, 0, 0),
  [848] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 1, 0, 0),
  [850] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 7, 0, 0),
  [852] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_theme_clause_repeat1, 2, 0, 0),
  [854] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_theme_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(395),
  [857] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 7, 0, 0),
  [859] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0),
  [861] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0), SHIFT_REPEAT(401),
  [864] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 5, 0, 0),
  [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0),
  [868] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(388),
  [871] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 4, 0, 7),
  [873] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 4, 0, 0),
  [875] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 2, 0, 0),
  [877] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365),
  [879] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(320),
  [882] = {.entry = {.count = 1, .reusable = true}}, SHIFT(320),
  [884] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_clause, 2, 0, 0),
  [886] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 2, 0, 0),
  [888] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 3, 0, 0),
  [890] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 2, 0, 0),
  [892] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 3, 0, 0),
  [894] = {.entry = {.count = 1, .reusable = true}}, SHIFT(372),
  [896] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_assignment, 3, 0, 8),
  [898] = {.entry = {.count = 1, .reusable = true}}, SHIFT(512),
  [900] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
  [902] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_clause, 3, 0, 0),
  [904] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [906] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
  [908] = {.entry = {.count = 1, .reusable = true}}, SHIFT(446),
  [910] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_renaming_assignment, 3, 0, 8),
  [912] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property, 3, 0, 8),
  [914] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
  [916] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mapping, 1, 0, 0),
  [918] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 4, 0, 0),
  [920] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
  [922] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_property, 3, 0, 8),
  [924] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_type, 1, 0, 0),
  [926] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 2, 0, 0),
  [928] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390),
  [930] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_name, 1, 0, 0),
  [932] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 5, 0, 0),
  [934] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 8, 0, 0),
  [936] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 8, 0, 0),
  [938] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_clause, 3, 0, 0),
  [940] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 3, 0, 0),
  [942] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 3, 0, 0),
  [944] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 1, 0, 0),
  [946] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_viz_clause, 1, 0, 0),
  [948] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 5, 0, 7),
  [950] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 6, 0, 0),
  [952] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [954] = {.entry = {.count = 1, .reusable = true}}, SHIFT(559),
  [956] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389),
  [958] = {.entry = {.count = 1, .reusable = true}}, SHIFT(562),
  [960] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
  [962] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
  [964] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0),
  [966] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(403),
  [969] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 4, 0, 0),
  [971] = {.entry = {.count = 1, .reusable = true}}, SHIFT(403),
  [973] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 2, 0, 0),
  [975] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 3, 0, 0),
  [977] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 1, 0, 0),
  [979] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [981] = {.entry = {.count = 1, .reusable = true}}, SHIFT(496),
  [983] = {.entry = {.count = 1, .reusable = true}}, SHIFT(528),
  [985] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
  [987] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [989] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 3, 0, 0),
  [991] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 4, 0, 0),
  [993] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 5, 0, 0),
  [995] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 9, 0, 0),
  [997] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [999] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 8, 0, 0),
  [1001] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325),
  [1003] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [1005] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
  [1007] = {.entry = {.count = 1, .reusable = false}}, SHIFT(393),
  [1009] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 2, 0, 0),
  [1011] = {.entry = {.count = 1, .reusable = true}}, SHIFT(508),
  [1013] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(411),
  [1016] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0),
  [1018] = {.entry = {.count = 1, .reusable = true}}, SHIFT(411),
  [1020] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 4, 0, 0),
  [1022] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 3, 0, 0),
  [1024] = {.entry = {.count = 1, .reusable = true}}, SHIFT(410),
  [1026] = {.entry = {.count = 1, .reusable = true}}, SHIFT(495),
  [1028] = {.entry = {.count = 1, .reusable = true}}, SHIFT(530),
  [1030] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [1032] = {.entry = {.count = 1, .reusable = false}}, SHIFT(417),
  [1034] = {.entry = {.count = 1, .reusable = false}}, SHIFT(454),
  [1036] = {.entry = {.count = 1, .reusable = false}}, SHIFT(453),
  [1038] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 1, 0, 0),
  [1040] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [1042] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0),
  [1044] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
  [1047] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(472),
  [1050] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
  [1052] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0),
  [1054] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0), SHIFT_REPEAT(151),
  [1057] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 5, 0, 0),
  [1059] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 3, 0, 0),
  [1061] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 4, 0, 0),
  [1063] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35),
  [1065] = {.entry = {.count = 1, .reusable = false}}, SHIFT(489),
  [1067] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136),
  [1069] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36),
  [1071] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2, 0, 0),
  [1073] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [1075] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [1077] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(489),
  [1080] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106),
  [1082] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
  [1084] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126),
  [1086] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123),
  [1088] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131),
  [1090] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
  [1092] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
  [1094] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
  [1096] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
  [1098] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
  [1100] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92),
  [1102] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
  [1104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253),
  [1106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(254),
  [1108] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
  [1110] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71),
  [1112] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143),
  [1114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144),
  [1116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 1, 0, 0),
  [1118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [1120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
  [1122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 2, 0, 0),
  [1124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 2, 0, 0),
  [1126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
  [1128] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108),
  [1130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(472),
  [1132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(576),
  [1134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
  [1136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
  [1138] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0), SHIFT_REPEAT(352),
  [1141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0),
  [1143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 2, 0, 0),
  [1145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 1, 0, 0),
  [1147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 3, 0, 0),
  [1149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
  [1151] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0), SHIFT_REPEAT(204),
  [1154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0),
  [1156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204),
  [1158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 2, 0, 0),
  [1160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 1, 0, 0),
  [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_statement, 1, 0, 0),
  [1164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
  [1166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 1, 0, 0),
  [1168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
  [1170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(548),
  [1172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(566),
  [1174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(575),
  [1176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [1178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(500),
  [1180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
  [1182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357),
  [1184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(513),
  [1186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1, 0, 0),
  [1188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_bound, 2, 0, 0),
  [1190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
  [1192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(471),
  [1194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(577),
  [1196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(423),
  [1198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 1, 0, 0),
  [1200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_element, 1, 0, 0),
  [1202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(493),
  [1204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(415),
  [1206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property_name, 1, 0, 0),
  [1208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
  [1210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
  [1212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [1214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [1216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
  [1218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202),
  [1220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214),
  [1222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [1224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(504),
  [1226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [1228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
  [1230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195),
  [1232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal_value, 1, 0, 0),
  [1234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(408),
  [1236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [1238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277),
  [1240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [1242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(418),
  [1244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_name, 1, 0, 0),
  [1246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
  [1248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_value, 1, 0, 0),
  [1250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [1252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(376),
  [1254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [1256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_type, 1, 0, 0),
  [1258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [1260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [1262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(549),
  [1264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
  [1266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225),
  [1268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
  [1270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(262),
  [1272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 2, 0, 0),
  [1274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(373),
  [1276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
  [1278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [1280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
  [1282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_property_name, 1, 0, 0),
  [1284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(406),
  [1286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(565),
  [1288] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(483),
  [1292] = {.entry = {.count = 1, .reusable = false}}, SHIFT(583),
  [1294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [1296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 6, 0, 0),
  [1298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(560),
  [1300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
  [1302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 5, 0, 0),
  [1304] = {.entry = {.count = 1, .reusable = false}}, SHIFT(563),
  [1306] = {.entry = {.count = 1, .reusable = false}}, SHIFT(582),
  [1308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
  [1310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [1312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 4, 0, 0),
  [1314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(547),
  [1316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [1318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
  [1320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
  [1322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234),
  [1324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [1326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0),
  [1328] = {.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 = 1,
      .patch_version = 9,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
