/* 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 581
#define LARGE_STATE_COUNT 139
#define SYMBOL_COUNT 312
#define ALIAS_COUNT 1
#define TOKEN_COUNT 199
#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_remapping_clause_token1 = 95,
  anon_sym_point = 96,
  anon_sym_line = 97,
  anon_sym_path = 98,
  anon_sym_bar = 99,
  anon_sym_area = 100,
  anon_sym_tile = 101,
  anon_sym_polygon = 102,
  anon_sym_ribbon = 103,
  anon_sym_histogram = 104,
  anon_sym_density = 105,
  anon_sym_smooth = 106,
  anon_sym_boxplot = 107,
  anon_sym_violin = 108,
  anon_sym_text = 109,
  anon_sym_label = 110,
  anon_sym_segment = 111,
  anon_sym_arrow = 112,
  anon_sym_rule = 113,
  anon_sym_linear = 114,
  anon_sym_errorbar = 115,
  aux_sym_mapping_clause_token1 = 116,
  aux_sym_setting_clause_token1 = 117,
  aux_sym_filter_clause_token1 = 118,
  aux_sym_filter_token_token1 = 119,
  aux_sym_filter_token_token2 = 120,
  aux_sym_filter_token_token3 = 121,
  aux_sym_filter_token_token4 = 122,
  aux_sym_filter_token_token5 = 123,
  aux_sym_filter_token_token6 = 124,
  aux_sym_filter_token_token7 = 125,
  aux_sym_filter_token_token8 = 126,
  aux_sym_filter_token_token9 = 127,
  aux_sym_filter_token_token10 = 128,
  aux_sym_filter_token_token11 = 129,
  anon_sym_TILDE_STAR = 130,
  anon_sym_BANG_TILDE_STAR = 131,
  anon_sym_BANG_TILDE = 132,
  anon_sym_x = 133,
  anon_sym_y = 134,
  anon_sym_xmin = 135,
  anon_sym_xmax = 136,
  anon_sym_ymin = 137,
  anon_sym_ymax = 138,
  anon_sym_xend = 139,
  anon_sym_yend = 140,
  anon_sym_theta = 141,
  anon_sym_radius = 142,
  anon_sym_thetamin = 143,
  anon_sym_thetamax = 144,
  anon_sym_radiusmin = 145,
  anon_sym_radiusmax = 146,
  anon_sym_thetaend = 147,
  anon_sym_radiusend = 148,
  anon_sym_weight = 149,
  anon_sym_color = 150,
  anon_sym_colour = 151,
  anon_sym_fill = 152,
  anon_sym_stroke = 153,
  anon_sym_opacity = 154,
  anon_sym_size = 155,
  anon_sym_shape = 156,
  anon_sym_linetype = 157,
  anon_sym_linewidth = 158,
  anon_sym_width = 159,
  anon_sym_height = 160,
  anon_sym_family = 161,
  anon_sym_fontface = 162,
  anon_sym_hjust = 163,
  anon_sym_vjust = 164,
  anon_sym_coef = 165,
  anon_sym_intercept = 166,
  anon_sym_panel = 167,
  anon_sym_row = 168,
  anon_sym_column = 169,
  anon_sym_offset = 170,
  aux_sym_scale_clause_token1 = 171,
  aux_sym_scale_renaming_clause_token1 = 172,
  aux_sym_scale_type_identifier_token1 = 173,
  aux_sym_scale_type_identifier_token2 = 174,
  aux_sym_scale_type_identifier_token3 = 175,
  aux_sym_scale_type_identifier_token4 = 176,
  aux_sym_scale_type_identifier_token5 = 177,
  aux_sym_scale_to_clause_token1 = 178,
  aux_sym_scale_via_clause_token1 = 179,
  aux_sym_facet_clause_token1 = 180,
  aux_sym_project_clause_token1 = 181,
  aux_sym_label_clause_token1 = 182,
  aux_sym_theme_clause_token1 = 183,
  sym_quoted_identifier = 184,
  sym_filter_identifier = 185,
  sym_number = 186,
  anon_sym_SQUOTE = 187,
  aux_sym_string_token1 = 188,
  aux_sym_string_token2 = 189,
  anon_sym_true = 190,
  anon_sym_false = 191,
  anon_sym_LBRACK = 192,
  anon_sym_RBRACK = 193,
  anon_sym_SLASH_SLASH = 194,
  aux_sym_comment_token1 = 195,
  anon_sym_SLASH_STAR = 196,
  aux_sym_comment_token2 = 197,
  anon_sym_DASH_DASH = 198,
  sym_query = 199,
  sym_sql_portion = 200,
  sym_sql_statement = 201,
  sym_select_statement = 202,
  sym_select_body = 203,
  sym_with_statement = 204,
  sym_cte_definition = 205,
  sym_create_statement = 206,
  sym_insert_statement = 207,
  sym_update_statement = 208,
  sym_delete_statement = 209,
  sym_other_sql_statement = 210,
  sym_subquery = 211,
  sym_scalar_subquery = 212,
  sym_subquery_body = 213,
  sym_cast_expression = 214,
  sym_type_name = 215,
  sym_function_call = 216,
  sym_sql_keyword = 217,
  sym_window_function = 218,
  sym_function_args = 219,
  sym_function_arg = 220,
  sym_named_arg = 221,
  sym_positional_arg = 222,
  sym_window_specification = 223,
  sym_window_partition_clause = 224,
  sym_window_order_clause = 225,
  sym_order_item = 226,
  sym_frame_clause = 227,
  sym_frame_bound = 228,
  sym_qualified_name = 229,
  sym_table_ref = 230,
  sym_from_clause = 231,
  sym_visualise_statement = 232,
  sym_mapping_list = 233,
  sym_mapping_element = 234,
  sym_wildcard_mapping = 235,
  sym_explicit_mapping = 236,
  sym_implicit_mapping = 237,
  sym_global_mapping = 238,
  sym_viz_clause = 239,
  sym_draw_clause = 240,
  sym_remapping_clause = 241,
  sym_geom_type = 242,
  sym_mapping_clause = 243,
  sym_mapping_value = 244,
  sym_setting_clause = 245,
  sym_parameter_assignment = 246,
  sym_parameter_name = 247,
  sym_parameter_value = 248,
  sym_partition_clause = 249,
  sym_partition_columns = 250,
  sym_filter_clause = 251,
  sym_filter_expression = 252,
  sym_filter_token = 253,
  sym_order_clause = 254,
  sym_order_expression = 255,
  sym_order_token = 256,
  sym_aesthetic_name = 257,
  sym_column_reference = 258,
  sym_literal_value = 259,
  sym_scale_clause = 260,
  sym_scale_renaming_clause = 261,
  sym_renaming_assignment = 262,
  sym_scale_type_identifier = 263,
  sym_scale_from_clause = 264,
  sym_scale_to_clause = 265,
  sym_scale_via_clause = 266,
  sym_facet_clause = 267,
  sym_facet_vars = 268,
  sym_project_clause = 269,
  sym_project_aesthetics = 270,
  sym_project_type = 271,
  sym_project_properties = 272,
  sym_project_property = 273,
  sym_project_property_name = 274,
  sym_label_clause = 275,
  sym_label_assignment = 276,
  sym_label_type = 277,
  sym_theme_clause = 278,
  sym_theme_name = 279,
  sym_theme_property = 280,
  sym_theme_property_name = 281,
  sym_identifier = 282,
  sym_string = 283,
  sym_boolean = 284,
  sym_array = 285,
  sym_array_element = 286,
  sym_null_literal = 287,
  sym_comment = 288,
  aux_sym_query_repeat1 = 289,
  aux_sym_sql_portion_repeat1 = 290,
  aux_sym_select_body_repeat1 = 291,
  aux_sym_with_statement_repeat1 = 292,
  aux_sym_cte_definition_repeat1 = 293,
  aux_sym_create_statement_repeat1 = 294,
  aux_sym_other_sql_statement_repeat1 = 295,
  aux_sym_subquery_body_repeat1 = 296,
  aux_sym_function_args_repeat1 = 297,
  aux_sym_window_order_clause_repeat1 = 298,
  aux_sym_qualified_name_repeat1 = 299,
  aux_sym_from_clause_repeat1 = 300,
  aux_sym_visualise_statement_repeat1 = 301,
  aux_sym_mapping_list_repeat1 = 302,
  aux_sym_setting_clause_repeat1 = 303,
  aux_sym_filter_expression_repeat1 = 304,
  aux_sym_order_expression_repeat1 = 305,
  aux_sym_scale_renaming_clause_repeat1 = 306,
  aux_sym_project_properties_repeat1 = 307,
  aux_sym_label_clause_repeat1 = 308,
  aux_sym_theme_clause_repeat1 = 309,
  aux_sym_string_repeat1 = 310,
  aux_sym_array_repeat1 = 311,
  alias_sym_facet_by = 312,
};

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_remapping_clause_token1] = "remapping_clause_token1",
  [anon_sym_point] = "point",
  [anon_sym_line] = "line",
  [anon_sym_path] = "path",
  [anon_sym_bar] = "bar",
  [anon_sym_area] = "area",
  [anon_sym_tile] = "tile",
  [anon_sym_polygon] = "polygon",
  [anon_sym_ribbon] = "ribbon",
  [anon_sym_histogram] = "histogram",
  [anon_sym_density] = "density",
  [anon_sym_smooth] = "smooth",
  [anon_sym_boxplot] = "boxplot",
  [anon_sym_violin] = "violin",
  [anon_sym_text] = "text",
  [anon_sym_label] = "label",
  [anon_sym_segment] = "segment",
  [anon_sym_arrow] = "arrow",
  [anon_sym_rule] = "rule",
  [anon_sym_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_theta] = "theta",
  [anon_sym_radius] = "radius",
  [anon_sym_thetamin] = "thetamin",
  [anon_sym_thetamax] = "thetamax",
  [anon_sym_radiusmin] = "radiusmin",
  [anon_sym_radiusmax] = "radiusmax",
  [anon_sym_thetaend] = "thetaend",
  [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_family] = "family",
  [anon_sym_fontface] = "fontface",
  [anon_sym_hjust] = "hjust",
  [anon_sym_vjust] = "vjust",
  [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_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_remapping_clause_token1] = aux_sym_remapping_clause_token1,
  [anon_sym_point] = anon_sym_point,
  [anon_sym_line] = anon_sym_line,
  [anon_sym_path] = anon_sym_path,
  [anon_sym_bar] = anon_sym_bar,
  [anon_sym_area] = anon_sym_area,
  [anon_sym_tile] = anon_sym_tile,
  [anon_sym_polygon] = anon_sym_polygon,
  [anon_sym_ribbon] = anon_sym_ribbon,
  [anon_sym_histogram] = anon_sym_histogram,
  [anon_sym_density] = anon_sym_density,
  [anon_sym_smooth] = anon_sym_smooth,
  [anon_sym_boxplot] = anon_sym_boxplot,
  [anon_sym_violin] = anon_sym_violin,
  [anon_sym_text] = anon_sym_text,
  [anon_sym_label] = anon_sym_label,
  [anon_sym_segment] = anon_sym_segment,
  [anon_sym_arrow] = anon_sym_arrow,
  [anon_sym_rule] = anon_sym_rule,
  [anon_sym_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_theta] = anon_sym_theta,
  [anon_sym_radius] = anon_sym_radius,
  [anon_sym_thetamin] = anon_sym_thetamin,
  [anon_sym_thetamax] = anon_sym_thetamax,
  [anon_sym_radiusmin] = anon_sym_radiusmin,
  [anon_sym_radiusmax] = anon_sym_radiusmax,
  [anon_sym_thetaend] = anon_sym_thetaend,
  [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_family] = anon_sym_family,
  [anon_sym_fontface] = anon_sym_fontface,
  [anon_sym_hjust] = anon_sym_hjust,
  [anon_sym_vjust] = anon_sym_vjust,
  [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_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_remapping_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_point] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_line] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_path] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_bar] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_area] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_tile] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_polygon] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ribbon] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_histogram] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_density] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_smooth] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_boxplot] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_violin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_text] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_label] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_segment] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_arrow] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_rule] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_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_theta] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radius] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_thetamin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_thetamax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_thetaend] = {
    .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_family] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fontface] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_hjust] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_vjust] = {
    .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_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] = 5,
  [7] = 2,
  [8] = 3,
  [9] = 9,
  [10] = 9,
  [11] = 11,
  [12] = 12,
  [13] = 11,
  [14] = 14,
  [15] = 15,
  [16] = 16,
  [17] = 17,
  [18] = 18,
  [19] = 15,
  [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] = 33,
  [35] = 35,
  [36] = 28,
  [37] = 37,
  [38] = 38,
  [39] = 38,
  [40] = 24,
  [41] = 41,
  [42] = 42,
  [43] = 43,
  [44] = 35,
  [45] = 45,
  [46] = 25,
  [47] = 27,
  [48] = 29,
  [49] = 49,
  [50] = 26,
  [51] = 51,
  [52] = 52,
  [53] = 53,
  [54] = 54,
  [55] = 55,
  [56] = 56,
  [57] = 57,
  [58] = 58,
  [59] = 59,
  [60] = 60,
  [61] = 61,
  [62] = 62,
  [63] = 38,
  [64] = 64,
  [65] = 65,
  [66] = 37,
  [67] = 31,
  [68] = 30,
  [69] = 32,
  [70] = 28,
  [71] = 35,
  [72] = 33,
  [73] = 41,
  [74] = 54,
  [75] = 42,
  [76] = 45,
  [77] = 55,
  [78] = 58,
  [79] = 62,
  [80] = 49,
  [81] = 43,
  [82] = 52,
  [83] = 51,
  [84] = 53,
  [85] = 56,
  [86] = 59,
  [87] = 60,
  [88] = 33,
  [89] = 61,
  [90] = 28,
  [91] = 35,
  [92] = 38,
  [93] = 57,
  [94] = 94,
  [95] = 95,
  [96] = 96,
  [97] = 97,
  [98] = 95,
  [99] = 99,
  [100] = 100,
  [101] = 101,
  [102] = 55,
  [103] = 49,
  [104] = 51,
  [105] = 52,
  [106] = 53,
  [107] = 54,
  [108] = 56,
  [109] = 59,
  [110] = 60,
  [111] = 61,
  [112] = 28,
  [113] = 33,
  [114] = 35,
  [115] = 38,
  [116] = 116,
  [117] = 117,
  [118] = 118,
  [119] = 119,
  [120] = 120,
  [121] = 121,
  [122] = 61,
  [123] = 28,
  [124] = 33,
  [125] = 35,
  [126] = 38,
  [127] = 127,
  [128] = 127,
  [129] = 61,
  [130] = 28,
  [131] = 33,
  [132] = 35,
  [133] = 38,
  [134] = 61,
  [135] = 35,
  [136] = 33,
  [137] = 38,
  [138] = 138,
  [139] = 139,
  [140] = 140,
  [141] = 141,
  [142] = 142,
  [143] = 33,
  [144] = 38,
  [145] = 145,
  [146] = 146,
  [147] = 147,
  [148] = 148,
  [149] = 149,
  [150] = 28,
  [151] = 151,
  [152] = 33,
  [153] = 38,
  [154] = 28,
  [155] = 24,
  [156] = 32,
  [157] = 26,
  [158] = 32,
  [159] = 159,
  [160] = 160,
  [161] = 161,
  [162] = 162,
  [163] = 163,
  [164] = 28,
  [165] = 165,
  [166] = 166,
  [167] = 167,
  [168] = 168,
  [169] = 169,
  [170] = 170,
  [171] = 171,
  [172] = 172,
  [173] = 171,
  [174] = 171,
  [175] = 175,
  [176] = 176,
  [177] = 177,
  [178] = 178,
  [179] = 179,
  [180] = 180,
  [181] = 169,
  [182] = 182,
  [183] = 183,
  [184] = 24,
  [185] = 185,
  [186] = 186,
  [187] = 187,
  [188] = 188,
  [189] = 28,
  [190] = 26,
  [191] = 52,
  [192] = 192,
  [193] = 193,
  [194] = 194,
  [195] = 195,
  [196] = 196,
  [197] = 197,
  [198] = 198,
  [199] = 199,
  [200] = 200,
  [201] = 201,
  [202] = 202,
  [203] = 203,
  [204] = 204,
  [205] = 205,
  [206] = 206,
  [207] = 207,
  [208] = 208,
  [209] = 209,
  [210] = 210,
  [211] = 211,
  [212] = 212,
  [213] = 213,
  [214] = 214,
  [215] = 215,
  [216] = 26,
  [217] = 217,
  [218] = 218,
  [219] = 219,
  [220] = 29,
  [221] = 221,
  [222] = 222,
  [223] = 223,
  [224] = 224,
  [225] = 225,
  [226] = 217,
  [227] = 222,
  [228] = 228,
  [229] = 24,
  [230] = 230,
  [231] = 230,
  [232] = 230,
  [233] = 230,
  [234] = 217,
  [235] = 217,
  [236] = 236,
  [237] = 29,
  [238] = 238,
  [239] = 239,
  [240] = 240,
  [241] = 241,
  [242] = 242,
  [243] = 243,
  [244] = 244,
  [245] = 245,
  [246] = 246,
  [247] = 247,
  [248] = 38,
  [249] = 249,
  [250] = 250,
  [251] = 251,
  [252] = 33,
  [253] = 25,
  [254] = 254,
  [255] = 255,
  [256] = 256,
  [257] = 27,
  [258] = 258,
  [259] = 259,
  [260] = 35,
  [261] = 261,
  [262] = 262,
  [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] = 37,
  [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] = 31,
  [292] = 292,
  [293] = 293,
  [294] = 287,
  [295] = 295,
  [296] = 296,
  [297] = 297,
  [298] = 298,
  [299] = 299,
  [300] = 300,
  [301] = 287,
  [302] = 302,
  [303] = 30,
  [304] = 304,
  [305] = 305,
  [306] = 306,
  [307] = 307,
  [308] = 308,
  [309] = 309,
  [310] = 310,
  [311] = 311,
  [312] = 57,
  [313] = 313,
  [314] = 314,
  [315] = 315,
  [316] = 316,
  [317] = 317,
  [318] = 58,
  [319] = 62,
  [320] = 41,
  [321] = 321,
  [322] = 322,
  [323] = 323,
  [324] = 324,
  [325] = 42,
  [326] = 326,
  [327] = 327,
  [328] = 328,
  [329] = 329,
  [330] = 330,
  [331] = 331,
  [332] = 332,
  [333] = 333,
  [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] = 339,
  [352] = 339,
  [353] = 353,
  [354] = 354,
  [355] = 355,
  [356] = 356,
  [357] = 357,
  [358] = 358,
  [359] = 359,
  [360] = 360,
  [361] = 361,
  [362] = 362,
  [363] = 363,
  [364] = 28,
  [365] = 365,
  [366] = 366,
  [367] = 367,
  [368] = 368,
  [369] = 369,
  [370] = 370,
  [371] = 371,
  [372] = 372,
  [373] = 373,
  [374] = 373,
  [375] = 375,
  [376] = 373,
  [377] = 377,
  [378] = 378,
  [379] = 379,
  [380] = 380,
  [381] = 381,
  [382] = 382,
  [383] = 383,
  [384] = 384,
  [385] = 385,
  [386] = 386,
  [387] = 359,
  [388] = 363,
  [389] = 389,
  [390] = 365,
  [391] = 391,
  [392] = 392,
  [393] = 393,
  [394] = 394,
  [395] = 355,
  [396] = 396,
  [397] = 396,
  [398] = 398,
  [399] = 399,
  [400] = 400,
  [401] = 401,
  [402] = 402,
  [403] = 403,
  [404] = 404,
  [405] = 405,
  [406] = 406,
  [407] = 407,
  [408] = 408,
  [409] = 409,
  [410] = 410,
  [411] = 411,
  [412] = 412,
  [413] = 405,
  [414] = 414,
  [415] = 415,
  [416] = 416,
  [417] = 417,
  [418] = 418,
  [419] = 419,
  [420] = 420,
  [421] = 421,
  [422] = 422,
  [423] = 408,
  [424] = 410,
  [425] = 405,
  [426] = 415,
  [427] = 427,
  [428] = 428,
  [429] = 408,
  [430] = 410,
  [431] = 405,
  [432] = 415,
  [433] = 405,
  [434] = 415,
  [435] = 405,
  [436] = 415,
  [437] = 405,
  [438] = 415,
  [439] = 405,
  [440] = 415,
  [441] = 405,
  [442] = 415,
  [443] = 405,
  [444] = 415,
  [445] = 405,
  [446] = 415,
  [447] = 447,
  [448] = 406,
  [449] = 418,
  [450] = 415,
  [451] = 418,
  [452] = 452,
  [453] = 418,
  [454] = 454,
  [455] = 206,
  [456] = 456,
  [457] = 457,
  [458] = 458,
  [459] = 459,
  [460] = 460,
  [461] = 461,
  [462] = 462,
  [463] = 463,
  [464] = 464,
  [465] = 465,
  [466] = 466,
  [467] = 467,
  [468] = 461,
  [469] = 469,
  [470] = 470,
  [471] = 471,
  [472] = 472,
  [473] = 473,
  [474] = 471,
  [475] = 475,
  [476] = 471,
  [477] = 477,
  [478] = 463,
  [479] = 471,
  [480] = 475,
  [481] = 481,
  [482] = 463,
  [483] = 483,
  [484] = 484,
  [485] = 471,
  [486] = 486,
  [487] = 487,
  [488] = 488,
  [489] = 475,
  [490] = 490,
  [491] = 491,
  [492] = 492,
  [493] = 493,
  [494] = 494,
  [495] = 491,
  [496] = 492,
  [497] = 492,
  [498] = 498,
  [499] = 499,
  [500] = 500,
  [501] = 501,
  [502] = 502,
  [503] = 503,
  [504] = 504,
  [505] = 505,
  [506] = 506,
  [507] = 507,
  [508] = 491,
  [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] = 512,
  [523] = 523,
  [524] = 514,
  [525] = 525,
  [526] = 526,
  [527] = 527,
  [528] = 528,
  [529] = 513,
  [530] = 518,
  [531] = 515,
  [532] = 516,
  [533] = 518,
  [534] = 534,
  [535] = 535,
  [536] = 514,
  [537] = 537,
  [538] = 518,
  [539] = 539,
  [540] = 540,
  [541] = 541,
  [542] = 518,
  [543] = 543,
  [544] = 544,
  [545] = 515,
  [546] = 546,
  [547] = 547,
  [548] = 518,
  [549] = 549,
  [550] = 550,
  [551] = 518,
  [552] = 552,
  [553] = 553,
  [554] = 554,
  [555] = 555,
  [556] = 556,
  [557] = 557,
  [558] = 558,
  [559] = 559,
  [560] = 560,
  [561] = 512,
  [562] = 562,
  [563] = 563,
  [564] = 518,
  [565] = 565,
  [566] = 516,
  [567] = 513,
  [568] = 568,
  [569] = 514,
  [570] = 570,
  [571] = 571,
  [572] = 572,
  [573] = 573,
  [574] = 574,
  [575] = 549,
  [576] = 549,
  [577] = 549,
  [578] = 518,
  [579] = 579,
  [580] = 580,
};

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(138);
      ADVANCE_MAP(
        '!', 172,
        '"', 111,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 34,
        ';', 139,
        '<', 163,
        '=', 157,
        '>', 168,
        '[', 1106,
        '\\', 110,
        ']', 1107,
        '^', 183,
        '`', 112,
        '|', 181,
        '~', 185,
        'A', 899,
        'a', 899,
        'B', 834,
        'b', 834,
        'C', 781,
        'c', 781,
        'D', 789,
        'd', 789,
        'E', 907,
        'e', 907,
        'F', 782,
        'f', 782,
        'I', 906,
        'i', 906,
        'L', 783,
        'l', 783,
        'N', 935,
        'n', 935,
        'O', 878,
        'o', 878,
        'P', 792,
        'p', 792,
        'R', 784,
        'r', 784,
        'S', 817,
        's', 817,
        'T', 786,
        't', 786,
        'U', 927,
        'u', 927,
        'V', 794,
        'v', 794,
        'W', 883,
        'w', 883,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '!', 172,
        '"', 111,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        '<', 162,
        '=', 156,
        '>', 167,
        '^', 183,
        '`', 112,
        '|', 181,
        '~', 184,
        'A', 901,
        'a', 901,
        'B', 834,
        'b', 834,
        'C', 807,
        'c', 807,
        'D', 791,
        'd', 791,
        'E', 1004,
        'e', 1004,
        'F', 943,
        'f', 943,
        'I', 926,
        'i', 926,
        'L', 811,
        'l', 811,
        'N', 936,
        'n', 936,
        'O', 878,
        'o', 878,
        'R', 784,
        'r', 784,
        'S', 820,
        's', 820,
        'T', 787,
        't', 787,
        'U', 928,
        'u', 928,
        'V', 795,
        'v', 795,
        'W', 886,
        'w', 886,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 2:
      ADVANCE_MAP(
        '!', 172,
        '"', 111,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        '<', 162,
        '=', 156,
        '>', 167,
        '^', 183,
        '`', 112,
        '|', 181,
        '~', 184,
        'A', 900,
        'a', 900,
        'B', 834,
        'b', 834,
        'C', 807,
        'c', 807,
        'D', 791,
        'd', 791,
        'E', 1004,
        'e', 1004,
        'F', 943,
        'f', 943,
        'I', 926,
        'i', 926,
        'L', 811,
        'l', 811,
        'N', 936,
        'n', 936,
        'O', 878,
        'o', 878,
        'R', 784,
        'r', 784,
        'S', 820,
        's', 820,
        'T', 787,
        't', 787,
        'U', 928,
        'u', 928,
        'V', 795,
        'v', 795,
        'W', 886,
        'w', 886,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '!', 172,
        '"', 107,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        '<', 162,
        '=', 156,
        '>', 167,
        '^', 183,
        '`', 108,
        '|', 181,
        '~', 184,
        'A', 717,
        'a', 717,
        'B', 687,
        'b', 687,
        'C', 664,
        'c', 664,
        'D', 669,
        'd', 669,
        'E', 777,
        'e', 777,
        'F', 743,
        'f', 743,
        'I', 726,
        'i', 726,
        'L', 671,
        'l', 671,
        'N', 737,
        'n', 737,
        'O', 707,
        'o', 707,
        'R', 670,
        'r', 670,
        'S', 682,
        's', 682,
        'T', 665,
        't', 665,
        'U', 730,
        'u', 730,
        'V', 668,
        'v', 668,
        'W', 711,
        'w', 711,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 4:
      ADVANCE_MAP(
        '!', 37,
        '%', 180,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        '<', 163,
        '=', 156,
        '>', 168,
        '|', 42,
        '~', 185,
        'A', 1056,
        'a', 1056,
        'B', 1025,
        'b', 1025,
        'C', 1010,
        'c', 1010,
        'E', 1061,
        'e', 1061,
        'F', 1017,
        'f', 1017,
        'I', 1060,
        'i', 1060,
        'L', 1046,
        'l', 1046,
        'N', 1072,
        'n', 1072,
        'O', 1076,
        'o', 1076,
        'T', 1045,
        't', 1045,
        'W', 1044,
        'w', 1044,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('d' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 5:
      ADVANCE_MAP(
        '!', 36,
        '"', 111,
        '%', 180,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 177,
        '.', 150,
        '/', 179,
        ':', 34,
        '<', 163,
        '=', 157,
        '>', 168,
        '[', 1106,
        '`', 112,
        '|', 42,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 6:
      ADVANCE_MAP(
        '!', 174,
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 148,
        ',', 144,
        '-', 411,
        '.', 155,
        '/', 410,
        ':', 413,
        '<', 165,
        '=', 160,
        '>', 170,
        '`', 414,
        'A', 472,
        'a', 472,
        'B', 454,
        'b', 454,
        'C', 416,
        'c', 416,
        'D', 417,
        'd', 417,
        'E', 523,
        'e', 523,
        'F', 496,
        'f', 496,
        'I', 479,
        'i', 479,
        'L', 427,
        'l', 427,
        'N', 487,
        'n', 487,
        'O', 457,
        'o', 457,
        'R', 426,
        'r', 426,
        'S', 433,
        's', 433,
        'T', 422,
        't', 422,
        'U', 480,
        'u', 480,
        'V', 419,
        'v', 419,
        'W', 462,
        'w', 462,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(6);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(412);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(527);
      END_STATE();
    case 7:
      ADVANCE_MAP(
        '!', 174,
        '"', 111,
        '\'', 1100,
        '(', 193,
        '*', 148,
        ',', 144,
        '-', 411,
        '.', 155,
        '/', 410,
        ':', 413,
        '<', 165,
        '=', 160,
        '>', 170,
        '`', 414,
        'A', 472,
        'a', 472,
        'B', 454,
        'b', 454,
        'C', 416,
        'c', 416,
        'D', 417,
        'd', 417,
        'E', 523,
        'e', 523,
        'F', 496,
        'f', 496,
        'I', 479,
        'i', 479,
        'L', 427,
        'l', 427,
        'N', 487,
        'n', 487,
        'O', 457,
        'o', 457,
        'R', 426,
        'r', 426,
        'S', 432,
        's', 432,
        'T', 422,
        't', 422,
        'U', 480,
        'u', 480,
        'V', 419,
        'v', 419,
        'W', 461,
        'w', 461,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(7);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(412);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\'' || '*' < lookahead) &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(527);
      END_STATE();
    case 8:
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '-', 31,
        '.', 106,
        '/', 25,
        '`', 112,
        'C', 808,
        'c', 808,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(8);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 149,
        ',', 144,
        '-', 199,
        '.', 154,
        '/', 198,
        '=', 161,
        '`', 202,
        'A', 258,
        'a', 258,
        'B', 231,
        'b', 231,
        'C', 282,
        'c', 282,
        'D', 209,
        'd', 209,
        'E', 312,
        'e', 312,
        'F', 284,
        'f', 284,
        'I', 267,
        'i', 267,
        'L', 211,
        'l', 211,
        'N', 277,
        'n', 277,
        'O', 245,
        'o', 245,
        'R', 210,
        'r', 210,
        'S', 221,
        's', 221,
        'T', 206,
        't', 206,
        'U', 269,
        'u', 269,
        'V', 208,
        'v', 208,
        'W', 250,
        'w', 250,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(9);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 10:
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '(', 193,
        '*', 145,
        '-', 31,
        '.', 106,
        '/', 25,
        '`', 112,
        'C', 808,
        'c', 808,
        'S', 877,
        's', 877,
        'W', 890,
        'w', 890,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(10);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 11:
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '*', 145,
        '-', 31,
        '.', 106,
        '/', 25,
        '[', 1106,
        ']', 1107,
        '`', 112,
        'N', 995,
        'n', 995,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(11);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 12:
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '*', 145,
        '-', 31,
        '.', 106,
        '/', 25,
        '`', 112,
        'F', 943,
        'f', 943,
        'N', 995,
        'n', 995,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 13:
      if (lookahead == '"') ADVANCE(111);
      if (lookahead == '\'') ADVANCE(1100);
      if (lookahead == '-') ADVANCE(31);
      if (lookahead == '.') ADVANCE(106);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '[') ADVANCE(1106);
      if (lookahead == '`') ADVANCE(112);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(13);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 14:
      ADVANCE_MAP(
        '"', 111,
        '(', 193,
        ')', 194,
        ',', 144,
        '-', 31,
        '.', 151,
        '/', 25,
        '`', 112,
        'D', 869,
        'd', 869,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(14);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 15:
      if (lookahead == '"') ADVANCE(1009);
      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(1009);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(19);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 17:
      if (lookahead == '"') ADVANCE(1009);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 18:
      if (lookahead == '"') ADVANCE(107);
      if (lookahead == '\'') ADVANCE(1100);
      if (lookahead == '(') ADVANCE(193);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '`') ADVANCE(108);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(18);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 19:
      if (lookahead == '"') ADVANCE(622);
      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(1100);
      if (lookahead == '-') ADVANCE(1103);
      if (lookahead == '/') ADVANCE(1102);
      if (lookahead == '\\') ADVANCE(110);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1104);
      if (lookahead != 0) ADVANCE(1101);
      END_STATE();
    case 21:
      ADVANCE_MAP(
        ')', 194,
        ',', 144,
        '-', 30,
        '/', 25,
        'D', 869,
        'd', 869,
        'R', 785,
        'r', 785,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(21);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 22:
      ADVANCE_MAP(
        ')', 194,
        ',', 144,
        '-', 30,
        '/', 25,
        'O', 955,
        'o', 955,
        'R', 785,
        'r', 785,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(22);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 23:
      if (lookahead == ')') ADVANCE(194);
      if (lookahead == ',') ADVANCE(144);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(785);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(23);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        ')', 194,
        '-', 30,
        '/', 25,
        'O', 955,
        'o', 955,
        'P', 793,
        'p', 793,
        'R', 785,
        'r', 785,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(24);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 25:
      if (lookahead == '*') ADVANCE(1119);
      if (lookahead == '/') ADVANCE(1108);
      END_STATE();
    case 26:
      if (lookahead == '*') ADVANCE(1126);
      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(1126);
      if (lookahead == '-') ADVANCE(1128);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 28:
      if (lookahead == '*') ADVANCE(1126);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 29:
      if (lookahead == '*') ADVANCE(1120);
      if (lookahead == '/') ADVANCE(1109);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 30:
      if (lookahead == '-') ADVANCE(1127);
      END_STATE();
    case 31:
      if (lookahead == '-') ADVANCE(1127);
      if (lookahead == '.') ADVANCE(106);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      END_STATE();
    case 32:
      ADVANCE_MAP(
        '-', 31,
        '.', 106,
        '/', 25,
        'B', 65,
        'b', 65,
        'C', 99,
        'c', 99,
        'U', 81,
        'u', 81,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(32);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      END_STATE();
    case 33:
      if (lookahead == ':') ADVANCE(186);
      END_STATE();
    case 34:
      if (lookahead == ':') ADVANCE(186);
      if (lookahead == '=') ADVANCE(615);
      END_STATE();
    case 35:
      if (lookahead == ':') ADVANCE(39);
      if (lookahead == '`') ADVANCE(1009);
      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(620);
      END_STATE();
    case 37:
      if (lookahead == '=') ADVANCE(620);
      if (lookahead == '~') ADVANCE(653);
      END_STATE();
    case 38:
      if (lookahead == '>') ADVANCE(616);
      END_STATE();
    case 39:
      if (lookahead == '`') ADVANCE(1009);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 40:
      if (lookahead == '`') ADVANCE(1009);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 41:
      if (lookahead == '`') ADVANCE(622);
      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(617);
      END_STATE();
    case 43:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(50);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(84);
      END_STATE();
    case 44:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(48);
      END_STATE();
    case 45:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(102);
      END_STATE();
    case 46:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(74);
      END_STATE();
    case 47:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(76);
      END_STATE();
    case 48:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(61);
      END_STATE();
    case 49:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(86);
      END_STATE();
    case 50:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(59);
      END_STATE();
    case 51:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(96);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(47);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(75);
      END_STATE();
    case 53:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(95);
      END_STATE();
    case 54:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(606);
      END_STATE();
    case 55:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(64);
      END_STATE();
    case 56:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      END_STATE();
    case 57:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(654);
      END_STATE();
    case 58:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(662);
      END_STATE();
    case 59:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(94);
      END_STATE();
    case 60:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(51);
      END_STATE();
    case 61:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(73);
      END_STATE();
    case 62:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(78);
      END_STATE();
    case 63:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(82);
      END_STATE();
    case 64:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(54);
      END_STATE();
    case 65:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(98);
      END_STATE();
    case 66:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(79);
      END_STATE();
    case 67:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(66);
      END_STATE();
    case 68:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(53);
      END_STATE();
    case 69:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(62);
      END_STATE();
    case 70:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(93);
      END_STATE();
    case 71:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(92);
      END_STATE();
    case 72:
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(68);
      END_STATE();
    case 73:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(660);
      END_STATE();
    case 74:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(70);
      END_STATE();
    case 75:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(60);
      END_STATE();
    case 76:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(57);
      END_STATE();
    case 77:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(531);
      END_STATE();
    case 78:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(58);
      END_STATE();
    case 79:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(563);
      END_STATE();
    case 80:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(55);
      END_STATE();
    case 81:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(49);
      END_STATE();
    case 82:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(97);
      END_STATE();
    case 83:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(103);
      END_STATE();
    case 84:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(77);
      END_STATE();
    case 85:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(72);
      END_STATE();
    case 86:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(100);
      END_STATE();
    case 87:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(45);
      END_STATE();
    case 88:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(85);
      END_STATE();
    case 89:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(90);
      END_STATE();
    case 90:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(63);
      END_STATE();
    case 91:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(195);
      END_STATE();
    case 92:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(101);
      END_STATE();
    case 93:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(56);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(56);
      END_STATE();
    case 94:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(656);
      END_STATE();
    case 95:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(658);
      END_STATE();
    case 96:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(140);
      END_STATE();
    case 97:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(609);
      END_STATE();
    case 98:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(104);
      END_STATE();
    case 99:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(89);
      END_STATE();
    case 100:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(80);
      END_STATE();
    case 101:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 102:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(627);
      END_STATE();
    case 103:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(612);
      END_STATE();
    case 104:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(67);
      END_STATE();
    case 105:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(572);
      END_STATE();
    case 106:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1099);
      END_STATE();
    case 107:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 108:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(35);
      if (lookahead != 0 &&
          (lookahead < '_' || 'z' < lookahead)) ADVANCE(40);
      END_STATE();
    case 109:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(623);
      END_STATE();
    case 110:
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1105);
      END_STATE();
    case 111:
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 112:
      if (lookahead != 0 &&
          lookahead != '`') ADVANCE(40);
      END_STATE();
    case 113:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 172,
        '"', 111,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        ';', 139,
        '<', 162,
        '=', 156,
        '>', 167,
        ']', 1107,
        '^', 183,
        '`', 112,
        '|', 181,
        '~', 184,
        'A', 901,
        'a', 901,
        'B', 834,
        'b', 834,
        'C', 807,
        'c', 807,
        'D', 791,
        'd', 791,
        'E', 1004,
        'e', 1004,
        'F', 943,
        'f', 943,
        'I', 926,
        'i', 926,
        'L', 811,
        'l', 811,
        'N', 936,
        'n', 936,
        'O', 878,
        'o', 878,
        'R', 784,
        'r', 784,
        'S', 820,
        's', 820,
        'T', 787,
        't', 787,
        'U', 928,
        'u', 928,
        'V', 794,
        'v', 794,
        'W', 886,
        'w', 886,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(113);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 114:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 172,
        '"', 111,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        ';', 139,
        '<', 162,
        '=', 156,
        '>', 167,
        '^', 183,
        '`', 112,
        '|', 181,
        '~', 184,
        'A', 900,
        'a', 900,
        'B', 834,
        'b', 834,
        'C', 807,
        'c', 807,
        'D', 791,
        'd', 791,
        'E', 1004,
        'e', 1004,
        'F', 943,
        'f', 943,
        'I', 926,
        'i', 926,
        'L', 811,
        'l', 811,
        'N', 936,
        'n', 936,
        'O', 878,
        'o', 878,
        'R', 784,
        'r', 784,
        'S', 820,
        's', 820,
        'T', 787,
        't', 787,
        'U', 928,
        'u', 928,
        'V', 794,
        'v', 794,
        'W', 886,
        'w', 886,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(114);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 115:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 172,
        '"', 107,
        '%', 180,
        '&', 182,
        '\'', 1100,
        '(', 193,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        ';', 139,
        '<', 162,
        '=', 156,
        '>', 167,
        '^', 183,
        '`', 108,
        '|', 181,
        '~', 184,
        'A', 717,
        'a', 717,
        'B', 687,
        'b', 687,
        'C', 664,
        'c', 664,
        'D', 669,
        'd', 669,
        'E', 777,
        'e', 777,
        'F', 743,
        'f', 743,
        'I', 726,
        'i', 726,
        'L', 671,
        'l', 671,
        'N', 737,
        'n', 737,
        'O', 707,
        'o', 707,
        'R', 670,
        'r', 670,
        'S', 682,
        's', 682,
        'T', 665,
        't', 665,
        'U', 730,
        'u', 730,
        'V', 667,
        'v', 667,
        'W', 711,
        'w', 711,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(115);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 116:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 173,
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 146,
        ',', 144,
        '-', 323,
        '.', 153,
        '/', 321,
        ':', 326,
        ';', 139,
        '<', 164,
        '=', 158,
        '>', 169,
        '`', 327,
        'A', 364,
        'a', 364,
        'B', 348,
        'b', 348,
        'C', 416,
        'c', 416,
        'D', 417,
        'd', 417,
        'E', 401,
        'e', 401,
        'F', 387,
        'f', 387,
        'I', 479,
        'i', 479,
        'L', 336,
        'l', 336,
        'N', 376,
        'n', 376,
        'O', 354,
        'o', 354,
        'R', 332,
        'r', 332,
        'S', 432,
        's', 432,
        'T', 333,
        't', 333,
        'U', 480,
        'u', 480,
        'V', 418,
        'v', 418,
        'W', 461,
        'w', 461,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(116);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(325);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0) ADVANCE(407);
      END_STATE();
    case 117:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 175,
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 149,
        ',', 144,
        '-', 199,
        '.', 154,
        '/', 198,
        ':', 201,
        ';', 139,
        '<', 166,
        '=', 161,
        '>', 171,
        '`', 202,
        'A', 258,
        'a', 258,
        'B', 231,
        'b', 231,
        'C', 205,
        'c', 205,
        'D', 209,
        'd', 209,
        'E', 312,
        'e', 312,
        'F', 284,
        'f', 284,
        'I', 267,
        'i', 267,
        'L', 211,
        'l', 211,
        'N', 277,
        'n', 277,
        'O', 245,
        'o', 245,
        'R', 210,
        'r', 210,
        'S', 220,
        's', 220,
        'T', 206,
        't', 206,
        'U', 269,
        'u', 269,
        'V', 207,
        'v', 207,
        'W', 249,
        'w', 249,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(117);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0) ADVANCE(316);
      END_STATE();
    case 118:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 37,
        '%', 180,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 178,
        '.', 151,
        '/', 179,
        ':', 33,
        '<', 163,
        '=', 156,
        '>', 168,
        '|', 42,
        '~', 185,
        'A', 1056,
        'a', 1056,
        'B', 1025,
        'b', 1025,
        'C', 1010,
        'c', 1010,
        'D', 1077,
        'd', 1077,
        'E', 1061,
        'e', 1061,
        'F', 1011,
        'f', 1011,
        'I', 1060,
        'i', 1060,
        'L', 1012,
        'l', 1012,
        'N', 1072,
        'n', 1072,
        'O', 1074,
        'o', 1074,
        'P', 1014,
        'p', 1014,
        'S', 1019,
        's', 1019,
        'T', 1043,
        't', 1043,
        'V', 1049,
        'v', 1049,
        'W', 1044,
        'w', 1044,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(118);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 119:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 36,
        '"', 111,
        '%', 180,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 177,
        '.', 150,
        '/', 179,
        ':', 33,
        '<', 163,
        '=', 156,
        '>', 168,
        '`', 112,
        '|', 42,
        'A', 957,
        'a', 957,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(119);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 120:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 36,
        '%', 180,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 177,
        '.', 150,
        '/', 179,
        ':', 34,
        '<', 163,
        '=', 157,
        '>', 168,
        '|', 42,
        'A', 957,
        'a', 957,
        'B', 1006,
        'b', 1006,
        'D', 942,
        'd', 942,
        'F', 799,
        'f', 799,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'R', 785,
        'r', 785,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(120);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('c' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 121:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 36,
        '%', 180,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 177,
        '.', 150,
        '/', 179,
        ':', 33,
        ';', 139,
        '<', 163,
        '=', 156,
        '>', 168,
        '|', 42,
        'A', 91,
        'a', 91,
        'B', 105,
        'b', 105,
        'D', 87,
        'd', 87,
        'F', 43,
        'f', 43,
        'L', 44,
        'l', 44,
        'P', 88,
        'p', 88,
        'R', 83,
        'r', 83,
        'S', 52,
        's', 52,
        'T', 69,
        't', 69,
        'V', 71,
        'v', 71,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(121);
      END_STATE();
    case 122:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '!', 36,
        '%', 180,
        '(', 193,
        ')', 194,
        '*', 145,
        '+', 176,
        ',', 144,
        '-', 177,
        '.', 150,
        '/', 179,
        ':', 33,
        '<', 163,
        '=', 156,
        '>', 168,
        ']', 1107,
        '|', 42,
        'A', 957,
        'a', 957,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(122);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 123:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 149,
        ',', 144,
        '-', 199,
        '.', 154,
        '/', 198,
        ';', 139,
        '=', 161,
        '`', 202,
        'A', 258,
        'a', 258,
        'B', 231,
        'b', 231,
        'C', 282,
        'c', 282,
        'D', 209,
        'd', 209,
        'E', 312,
        'e', 312,
        'F', 284,
        'f', 284,
        'I', 267,
        'i', 267,
        'L', 211,
        'l', 211,
        'N', 277,
        'n', 277,
        'O', 245,
        'o', 245,
        'R', 210,
        'r', 210,
        'S', 220,
        's', 220,
        'T', 206,
        't', 206,
        'U', 269,
        'u', 269,
        'V', 207,
        'v', 207,
        'W', 250,
        'w', 250,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(123);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0) ADVANCE(316);
      END_STATE();
    case 124:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 149,
        ',', 144,
        '-', 199,
        '.', 154,
        '/', 198,
        ';', 139,
        '=', 161,
        '`', 202,
        'A', 258,
        'a', 258,
        'B', 231,
        'b', 231,
        'C', 282,
        'c', 282,
        'D', 209,
        'd', 209,
        'E', 312,
        'e', 312,
        'F', 284,
        'f', 284,
        'I', 267,
        'i', 267,
        'L', 211,
        'l', 211,
        'N', 277,
        'n', 277,
        'O', 245,
        'o', 245,
        'R', 210,
        'r', 210,
        'S', 221,
        's', 221,
        'T', 206,
        't', 206,
        'U', 269,
        'u', 269,
        'V', 207,
        'v', 207,
        'W', 250,
        'w', 250,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(124);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0) ADVANCE(316);
      END_STATE();
    case 125:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        '\'', 1100,
        '*', 145,
        '-', 31,
        '.', 106,
        '/', 25,
        '`', 112,
        'D', 942,
        'd', 942,
        'F', 799,
        'f', 799,
        'L', 798,
        'l', 798,
        'N', 995,
        'n', 995,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(125);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 126:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        '(', 193,
        ')', 194,
        ',', 144,
        '-', 31,
        '.', 151,
        '/', 25,
        '`', 112,
        'D', 868,
        'd', 868,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(126);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 127:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        ',', 144,
        '-', 30,
        '/', 25,
        '=', 38,
        '`', 112,
        'A', 957,
        'a', 957,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(127);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 128:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '"', 111,
        '-', 30,
        '/', 25,
        '`', 112,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(128);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 129:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 147,
        ',', 144,
        '-', 322,
        '.', 152,
        '/', 320,
        ';', 139,
        '=', 159,
        'A', 361,
        'a', 361,
        'B', 345,
        'b', 345,
        'C', 941,
        'c', 941,
        'D', 790,
        'd', 790,
        'E', 400,
        'e', 400,
        'F', 382,
        'f', 382,
        'I', 921,
        'i', 921,
        'L', 331,
        'l', 331,
        'N', 374,
        'n', 374,
        'O', 351,
        'o', 351,
        'R', 329,
        'r', 329,
        'S', 819,
        's', 819,
        'T', 330,
        't', 330,
        'U', 927,
        'u', 927,
        'V', 794,
        'v', 794,
        'W', 885,
        'w', 885,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(129);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(324);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(409);
      END_STATE();
    case 130:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '\'', 1100,
        '(', 193,
        ')', 194,
        '*', 147,
        ',', 144,
        '-', 322,
        '.', 152,
        '/', 320,
        ';', 139,
        '=', 159,
        'A', 361,
        'a', 361,
        'B', 345,
        'b', 345,
        'C', 951,
        'c', 951,
        'D', 791,
        'd', 791,
        'E', 400,
        'e', 400,
        'F', 382,
        'f', 382,
        'I', 926,
        'i', 926,
        'L', 331,
        'l', 331,
        'N', 374,
        'n', 374,
        'O', 351,
        'o', 351,
        'R', 329,
        'r', 329,
        'S', 820,
        's', 820,
        'T', 330,
        't', 330,
        'U', 928,
        'u', 928,
        'V', 794,
        'v', 794,
        'W', 886,
        'w', 886,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(130);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(324);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(409);
      END_STATE();
    case 131:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ')', 194,
        ',', 144,
        '-', 30,
        '/', 25,
        'B', 1006,
        'b', 1006,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 947,
        'p', 947,
        'R', 785,
        'r', 785,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(131);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 132:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ',', 144,
        '-', 30,
        '.', 150,
        '/', 25,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(132);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 133:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ',', 144,
        '-', 30,
        '/', 25,
        '=', 38,
        ']', 1107,
        'A', 957,
        'a', 957,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(133);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 134:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ',', 144,
        '-', 30,
        '/', 25,
        'A', 957,
        'a', 957,
        'D', 942,
        'd', 942,
        'F', 799,
        'f', 799,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(134);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 135:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ',', 144,
        '-', 30,
        '/', 25,
        'B', 1006,
        'b', 1006,
        'D', 942,
        'd', 942,
        'F', 800,
        'f', 800,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(135);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 136:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        ',', 144,
        '-', 30,
        '/', 25,
        'D', 942,
        'd', 942,
        'F', 799,
        'f', 799,
        'L', 798,
        'l', 798,
        'O', 955,
        'o', 955,
        'P', 792,
        'p', 792,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(136);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 137:
      if (eof) ADVANCE(138);
      ADVANCE_MAP(
        '-', 30,
        '/', 25,
        'D', 942,
        'd', 942,
        'F', 799,
        'f', 799,
        'L', 798,
        'l', 798,
        'P', 947,
        'p', 947,
        'S', 826,
        's', 826,
        'T', 887,
        't', 887,
        'V', 892,
        'v', 892,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(137);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 138:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 139:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 140:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      END_STATE();
    case 141:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 142:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 145:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 146:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1099);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(404);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) 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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(314);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(525);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '>') ADVANCE(616);
      END_STATE();
    case 158:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_EQ);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 160:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 162:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 163:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(618);
      if (lookahead == '>') ADVANCE(621);
      END_STATE();
    case 164:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 166:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(619);
      END_STATE();
    case 169:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 172:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 173:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 176:
      ACCEPT_TOKEN(anon_sym_PLUS);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1127);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1127);
      if (lookahead == '.') ADVANCE(106);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '*') ADVANCE(1119);
      if (lookahead == '/') ADVANCE(1108);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(anon_sym_CARET);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_TILDE);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(anon_sym_TILDE);
      if (lookahead == '*') ADVANCE(651);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 187:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(aux_sym_create_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '*') ADVANCE(1124);
      if (lookahead == '/') ADVANCE(1113);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '-') ADVANCE(1132);
      if (lookahead == '.') ADVANCE(314);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '.') ADVANCE(314);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(200);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == ':') ADVANCE(189);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '`') ADVANCE(316);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(202);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(257);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(292);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(275);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(216);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(259);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(259);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(233);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(299);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(290);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(294);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(268);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(309);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(305);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(246);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(256);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 213:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(281);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(261);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(214);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(276);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(252);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(262);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(252);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(300);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(234);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(237);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(273);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(230);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(237);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 229:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(224);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(302);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(309);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(306);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(309);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(311);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(223);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(265);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(280);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(271);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(286);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 241:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(266);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(242);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(285);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(247);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(315);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(227);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(296);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 248:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(244);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(303);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(244);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(192);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(236);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(297);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(272);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(295);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 256:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(257);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(224);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(308);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(253);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(235);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 264:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(279);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(203);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 267:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(248);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(218);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 270:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(226);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 272:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(263);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(293);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(307);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(287);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(278);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(313);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 282:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(275);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(283);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(288);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 284:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(274);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(204);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(215);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(238);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(219);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(298);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 293:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(289);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 294:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 295:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(239);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(228);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(212);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(143);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 301:
      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(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(310);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(251);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(289);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(240);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(213);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 307:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(270);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(241);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 310:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(243);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(255);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(315);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(314);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(315);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(aux_sym_insert_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(aux_sym_update_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(aux_sym_delete_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 320:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1122);
      if (lookahead == '/') ADVANCE(1111);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1121);
      if (lookahead == '/') ADVANCE(1110);
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 322:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1130);
      if (lookahead == '.') ADVANCE(404);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(324);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1129);
      if (lookahead == '.') ADVANCE(405);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(325);
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(404);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(324);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(405);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(325);
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == ':') ADVANCE(187);
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '`') ADVANCE(407);
      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(414);
      if (lookahead != 0) ADVANCE(327);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(370);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(396);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(338);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(367);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 331:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(391);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(353);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(897);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(371);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(397);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(339);
      if (lookahead == 'E' ||
          lookahead == 'e') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 334:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(394);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(355);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(468);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 337:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(548);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(526);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(866);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(449);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(393);
      if (lookahead == 'Y' ||
          lookahead == 'y') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(395);
      if (lookahead == 'Y' ||
          lookahead == 'y') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 349:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(385);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(350);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(406);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(342);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 353:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(390);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(352);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(408);
      if (lookahead == 'R' ||
          lookahead == 'r') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 355:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 357:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(967);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(506);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(360);
      if (lookahead == 'N' ||
          lookahead == 'n') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 364:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(362);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(341);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 365:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 367:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(379);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(356);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(357);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 374:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(390);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 375:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 377:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(373);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 379:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(377);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(402);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 383:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(335);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 384:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(403);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(334);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 386:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 387:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(450);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(871);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(406);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 391:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(346);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(408);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 393:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(399);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(398);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 396:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 614,
        'w', 614,
        'C', 1008,
        'D', 1008,
        'I', 1008,
        'S', 1008,
        'U', 1008,
        'V', 1008,
        'c', 1008,
        'd', 1008,
        'i', 1008,
        's', 1008,
        'u', 1008,
        'v', 1008,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 526,
        'w', 526,
        'C', 526,
        'D', 526,
        'I', 526,
        'S', 526,
        'U', 526,
        'V', 526,
        'c', 526,
        'd', 526,
        'i', 526,
        's', 526,
        'u', 526,
        'v', 526,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 398:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 455,
        'w', 455,
        'C', 526,
        'D', 526,
        'I', 526,
        'S', 526,
        'U', 526,
        'V', 526,
        'c', 526,
        'd', 526,
        'i', 526,
        's', 526,
        'u', 526,
        'v', 526,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 872,
        'w', 872,
        'C', 1008,
        'D', 1008,
        'I', 1008,
        'S', 1008,
        'U', 1008,
        'V', 1008,
        'c', 1008,
        'd', 1008,
        'i', 1008,
        's', 1008,
        'u', 1008,
        'v', 1008,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 400:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(358);
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') 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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') 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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(404);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) 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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 406:
      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(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(406);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(409);
      END_STATE();
    case 407:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 408:
      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(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(408);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 410:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '*') ADVANCE(1123);
      if (lookahead == '/') ADVANCE(1112);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '-') ADVANCE(1131);
      if (lookahead == '.') ADVANCE(525);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(412);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 412:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '.') ADVANCE(525);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(412);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 413:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == ':') ADVANCE(188);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 414:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '`') ADVANCE(527);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(414);
      END_STATE();
    case 415:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(502);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(486);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(494);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(510);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(501);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(505);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(470);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(442);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(470);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(443);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(429);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(471);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(430);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(476);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 423:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(469);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 424:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(503);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 425:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(493);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(482);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(520);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(516);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(458);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(468);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 428:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(488);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 429:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(424);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(473);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 431:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 432:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(464);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(474);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 433:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(464);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 434:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 435:
      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(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 436:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 437:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(444);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(449);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(485);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 438:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(447);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 439:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(449);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 440:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 441:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(520);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(517);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 443:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(520);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 444:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(522);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(477);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 446:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(435);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 447:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(436);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 448:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(483);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 449:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(492);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 450:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 451:
      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(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 452:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(497);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 453:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(478);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 454:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(514);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 455:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(453);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 456:
      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(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 457:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(459);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(526);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 458:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 459:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(507);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 460:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 461:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(456);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(513);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 462:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(456);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 463:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(191);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 464:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(445);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 465:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(508);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 466:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(484);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 467:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(506);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 468:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 469:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 470:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(519);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 471:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(465);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 472:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(469);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(436);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 473:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 474:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(446);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 475:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 476:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(491);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 477:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(415);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 478:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 479:
      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(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 480:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(428);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 481:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(438);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 482:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(460);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 483:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 484:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(434);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 485:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 486:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(504);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 487:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 488:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(518);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 489:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(475);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 490:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(498);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 491:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(490);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 492:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 493:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(524);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 494:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(499);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 495:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 496:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(489);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 497:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(423);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 498:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(425);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 499:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(448);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 500:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 501:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(431);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 502:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 503:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 504:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(500);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 505:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(511);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 506:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(515);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 507:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(450);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 508:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(440);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(440);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 509:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 510:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(420);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 511:
      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(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 512:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(142);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 513:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(463);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 514:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(521);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 515:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(500);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 516:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(452);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 517:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(421);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 518:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(481);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 519:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(451);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 520:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 521:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 522:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 523:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(467);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 524:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(526);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 525:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(525);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 526:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(526);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 527:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 528:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      END_STATE();
    case 529:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 530:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 531:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      END_STATE();
    case 532:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 533:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 534:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 535:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 536:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 537:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 538:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 539:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 540:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 541:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 542:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 543:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 544:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 545:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 546:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      END_STATE();
    case 547:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 548:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 549:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      END_STATE();
    case 550:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(701);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 551:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(1038);
      END_STATE();
    case 552:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(866);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 553:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      END_STATE();
    case 554:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 555:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 556:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      END_STATE();
    case 557:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(693);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(698);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(733);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 558:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      ADVANCE_MAP(
        'D', 839,
        'd', 839,
        'N', 858,
        'n', 858,
        'S', 873,
        's', 873,
        'T', 933,
        't', 933,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 559:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(839);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(858);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(933);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 560:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      END_STATE();
    case 561:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 562:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 563:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      END_STATE();
    case 564:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 565:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 566:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      END_STATE();
    case 567:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 568:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 569:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      END_STATE();
    case 570:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 571:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 572:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      END_STATE();
    case 573:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 574:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 575:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 576:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 577:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 578:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 579:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      END_STATE();
    case 580:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 581:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 582:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 583:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 584:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 585:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 586:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 587:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 588:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 589:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 590:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 591:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 592:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(744);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 593:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(950);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 594:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 595:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 596:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 597:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 598:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 599:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 600:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 601:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 602:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 603:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 604:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 605:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 606:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      END_STATE();
    case 607:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 608:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 609:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      END_STATE();
    case 610:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 611:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 612:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      END_STATE();
    case 613:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 614:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 615:
      ACCEPT_TOKEN(anon_sym_COLON_EQ);
      END_STATE();
    case 616:
      ACCEPT_TOKEN(anon_sym_EQ_GT);
      END_STATE();
    case 617:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 618:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 619:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 620:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 621:
      ACCEPT_TOKEN(anon_sym_LT_GT);
      END_STATE();
    case 622:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      END_STATE();
    case 623:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(623);
      END_STATE();
    case 624:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      END_STATE();
    case 625:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 626:
      ACCEPT_TOKEN(sym_visualise_keyword);
      END_STATE();
    case 627:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      END_STATE();
    case 628:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 629:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      END_STATE();
    case 630:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 631:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      END_STATE();
    case 632:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 633:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      END_STATE();
    case 634:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 635:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      END_STATE();
    case 636:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 637:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      END_STATE();
    case 638:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 639:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      END_STATE();
    case 640:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 641:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      END_STATE();
    case 642:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 643:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      END_STATE();
    case 644:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 645:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      END_STATE();
    case 646:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 647:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      END_STATE();
    case 648:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 649:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      END_STATE();
    case 650:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 651:
      ACCEPT_TOKEN(anon_sym_TILDE_STAR);
      END_STATE();
    case 652:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE_STAR);
      END_STATE();
    case 653:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE);
      if (lookahead == '*') ADVANCE(652);
      END_STATE();
    case 654:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      END_STATE();
    case 655:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 656:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      END_STATE();
    case 657:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 658:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      END_STATE();
    case 659:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 660:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      END_STATE();
    case 661:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 662:
      ACCEPT_TOKEN(aux_sym_theme_clause_token1);
      END_STATE();
    case 663:
      ACCEPT_TOKEN(aux_sym_theme_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 664:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(753);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(735);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(742);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 665:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(677);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(723);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 666:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(602);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 667:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(719);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(695);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 668:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(719);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(696);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 669:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(759);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(748);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(754);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 670:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(727);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(774);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 671:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(770);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(709);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(716);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 672:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(678);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 673:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(721);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 674:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(720);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 675:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(741);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 676:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(757);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 677:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(722);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 678:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(676);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 679:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(736);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 680:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(582);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 681:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(766);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 682:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(712);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(761);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 683:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(547);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 684:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(607);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 685:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(694);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 686:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 687:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(768);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(573);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 688:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(567);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 689:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(604);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 690:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(590);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 691:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(534);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 692:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(600);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 693:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(778);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 694:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(684);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 695:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(775);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(771);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 696:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(775);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 697:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(725);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 698:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(739);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 699:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(732);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 700:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(747);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 701:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(740);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 702:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(728);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 703:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(751);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 704:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(764);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 705:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(702);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 706:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(746);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 707:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(708);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(544);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(550);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 708:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(755);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 709:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(763);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 710:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(689);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 711:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(706);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 712:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(697);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 713:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(758);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 714:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(731);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 715:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(756);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 716:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(688);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 717:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(718);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(683);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 718:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(580);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 719:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(773);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 720:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(540);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 721:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(713);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 722:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(690);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 723:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(738);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 724:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(532);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 725:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(666);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 726:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(557);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 727:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(710);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 728:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(564);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 729:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(685);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 730:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(679);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 731:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(681);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 732:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(765);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 733:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(584);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 734:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(724);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 735:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(752);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 736:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(772);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 737:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(760);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 738:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(592);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 739:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(538);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 740:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(570);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 741:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(779);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 742:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(745);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 743:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(734);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 744:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(675);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 745:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(699);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 746:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(691);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 747:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(674);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 748:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(680);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 749:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(542);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 750:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(561);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 751:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(586);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 752:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(749);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 753:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(762);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 754:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(767);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 755:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(704);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 756:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(769);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 757:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(692);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 758:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(686);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(686);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(780);
      END_STATE();
    case 759:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(672);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 760:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(554);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 761:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(588);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 762:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 763:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(536);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 764:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(575);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 765:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(610);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 766:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(577);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 767:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(714);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 768:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(776);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 769:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(750);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 770:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(700);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 771:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(673);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 772:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(729);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 773:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(703);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 774:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(613);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 775:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(596);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 776:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(705);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 777:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(715);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 778:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(598);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 779:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(594);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 780:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(780);
      END_STATE();
    case 781:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(958);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(854);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 782:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(824);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(934);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 783:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(814);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(879);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(897);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 784:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(922);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1000);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 785:
      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(1008);
      END_STATE();
    case 786:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 816,
        'a', 816,
        'E', 916,
        'e', 916,
        'H', 835,
        'h', 835,
        'R', 998,
        'r', 998,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 787:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(816);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(916);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 788:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(603);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 789:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 986,
        'a', 986,
        'E', 908,
        'e', 908,
        'I', 965,
        'i', 965,
        'R', 796,
        'r', 796,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 790:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(986);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(908);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(965);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 791:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(986);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(959);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(965);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 792:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(949);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(932);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 793:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(949);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 794:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(915);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(860);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 795:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(915);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(861);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 796:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1001);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 797:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(813);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 798:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(815);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 799:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(825);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(934);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 800:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(825);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 801:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(913);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(857);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 802:
      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(1008);
      END_STATE();
    case 803:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(910);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 804:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(905);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 805:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(992);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 806:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(946);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 807:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(969);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(938);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 808:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 809:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(994);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 810:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(970);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 811:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(991);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(879);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(897);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 812:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(937);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 813:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(810);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 814:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(865);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(863);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 815:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(865);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 816:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(914);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 817:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(801);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(911);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 818:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(583);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 819:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(884);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(911);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 820:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(884);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(974);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 821:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(981);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 822:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(983);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 823:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(984);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 824:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(870);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(968);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 825:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(870);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 826:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(802);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 827:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(548);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(636);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 828:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(548);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 829:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(646);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 830:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(608);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 831:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(866);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 832:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(859);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 833:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(809);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 834:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(985);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(574);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 835:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(919);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 836:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(923);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 837:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(638);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(530);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 838:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(644);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 839:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1005);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 840:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(568);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 841:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(648);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 842:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(650);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 843:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(634);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 844:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(605);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 845:
      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(1008);
      END_STATE();
    case 846:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(591);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 847:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(663);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 848:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(535);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 849:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(197);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 850:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(319);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 851:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 852:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(601);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 853:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 854:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(805);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(966);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 855:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(930);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 856:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(821);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 857:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(918);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 858:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(944);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 859:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(830);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 860:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1002);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(996);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 861:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1002);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 862:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(920);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 863:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(956);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 864:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(924);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 865:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(904);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 866:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(945);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 867:
      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(1008);
      END_STATE();
    case 868:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(959);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(796);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 869:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(959);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 870:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(978);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 871:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(980);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 872:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(864);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 873:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(952);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 874:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(822);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 875:
      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(1008);
      END_STATE();
    case 876:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(993);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 877:
      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(1008);
      END_STATE();
    case 878:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(880);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(545);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(552);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 879:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(977);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 880:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(972);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 881:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(844);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 882:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(190);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 883:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(836);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(975);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 884:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(857);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 885:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(875);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(975);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 886:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(875);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 887:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(862);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 888:
      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(1008);
      END_STATE();
    case 889:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(931);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 890:
      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(1008);
      END_STATE();
    case 891:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(939);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 892:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(963);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 893:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(989);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 894:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(898);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 895:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(967);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 896:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(874);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 897:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(840);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 898:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(843);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 899:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(902);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(827);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(196);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 900:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(902);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(828);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(196);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 901:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(902);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(828);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 902:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(581);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 903:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(632);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 904:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(661);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 905:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(541);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 906:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(894);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(558);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(630);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 907:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(964);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(829);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(895);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 908:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(876);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(818);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 909:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(903);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 910:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(888);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 911:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(856);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(589);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 912:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(856);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 913:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(845);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 914:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(846);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 915:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(999);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 916:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(940);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 917:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 918:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(788);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 919:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(847);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(642);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 920:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(847);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 921:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(558);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 922:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(881);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 923:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(640);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(848);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 924:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(565);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 925:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(625);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 926:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(559);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 927:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(812);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(833);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 928:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(812);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 929:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(832);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 930:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(982);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 931:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(823);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 932:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(896);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 933:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(585);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 934:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(917);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 935:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(973);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(909);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 936:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(973);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 937:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(997);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 938:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(966);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 939:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(925);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 940:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(593);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 941:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(854);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 942:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(796);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 943:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(934);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 944:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(539);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 945:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(571);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 946:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1007);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 947:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(932);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 948:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(953);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 949:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(988);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 950:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(806);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 951:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(938);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 952:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(979);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 953:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(855);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 954:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(848);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 955:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(831);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 956:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(804);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 957:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(196);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 958:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(837);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 959:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(818);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 960:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(543);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 961:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(562);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 962:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(587);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 963:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(996);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 964:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(838);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 965:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(987);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 966:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(960);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 967:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(990);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 968:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(842);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 969:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(976);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 970:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(852);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 971:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(853);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(853);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1008);
      END_STATE();
    case 972:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(871);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 973:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(555);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 974:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(589);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 975:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(882);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 976:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(530);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 977:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(537);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 978:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(657);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 979:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 980:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(576);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 981:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(141);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 982:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(611);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 983:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(659);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 984:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(578);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 985:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1003);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 986:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(797);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 987:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(889);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 988:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(893);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 989:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(891);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 990:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(961);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 991:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(863);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 992:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(849);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 993:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(850);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 994:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(851);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 995:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(909);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 996:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(803);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 997:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(929);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 998:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(841);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 999:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(867);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1000:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(614);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1001:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(628);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1002:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(597);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1003:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(872);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1004:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(895);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1005:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(599);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1006:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(574);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1007:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(595);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1008:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1008);
      END_STATE();
    case 1009:
      ACCEPT_TOKEN(sym_quoted_identifier);
      END_STATE();
    case 1010:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1079);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1011:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1021);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1012:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1018);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1054);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1013:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1095);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1014:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1078);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1071);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1015:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1064);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1016:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1063);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1017:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1065);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1018:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(1040);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1019:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1015);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1020:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1089);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1021:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1041);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1084);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1022:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(546);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(635);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1023:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(645);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1024:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(626);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1025:
      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(1097);
      END_STATE();
    case 1026:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1066);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1027:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1068);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1028:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(528);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1029:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(643);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1030:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(566);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1031:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(647);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1032:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(649);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1033:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(633);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1034:
      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(1097);
      END_STATE();
    case 1035:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(662);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1036:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1020);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1037:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1069);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1038:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1075);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1039:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1067);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1040:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1059);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1041:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1088);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1042:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1037);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1043:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1026);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1093);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1044:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1027);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1045:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1039);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1093);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1046:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1054);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1047:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1085);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1048:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1073);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1049:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1081);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1050:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1083);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1051:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1091);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1052:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1055);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1053:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(1036);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1054:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1030);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1055:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1033);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1056:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1057);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1022);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(195);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1057:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(579);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1058:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(631);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1059:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(660);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1060:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1052);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(556);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(629);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1061:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1082);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1023);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(1050);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1062:
      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(1097);
      END_STATE();
    case 1063:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1047);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1064:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1034);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1065:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1084);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1066:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(1035);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(641);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1067:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(641);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1068:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(639);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1069:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(563);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1070:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(624);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1071:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1053);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1072:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1087);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1062);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1073:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1070);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1074:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(551);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1075:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(569);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1076:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(549);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1077:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1013);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1078:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1090);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1079:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1028);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1080:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(560);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1081:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1094);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1082:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1029);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1083:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1092);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1084:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1085:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1024);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(1024);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1097);
      END_STATE();
    case 1086:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1096);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1087:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(553);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1088:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(656);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1089:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(658);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1090:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1051);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1091:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1048);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1092:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1080);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1093:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1031);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1094:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1095:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(627);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1096:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(1042);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1097:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1097);
      END_STATE();
    case 1098:
      ACCEPT_TOKEN(sym_number);
      if (lookahead == '.') ADVANCE(1099);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1098);
      END_STATE();
    case 1099:
      ACCEPT_TOKEN(sym_number);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1099);
      END_STATE();
    case 1100:
      ACCEPT_TOKEN(anon_sym_SQUOTE);
      END_STATE();
    case 1101:
      ACCEPT_TOKEN(aux_sym_string_token1);
      END_STATE();
    case 1102:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '*') ADVANCE(1119);
      if (lookahead == '/') ADVANCE(1108);
      END_STATE();
    case 1103:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1127);
      END_STATE();
    case 1104:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1103);
      if (lookahead == '/') ADVANCE(1102);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1104);
      if (lookahead != 0 &&
          lookahead != '\'' &&
          lookahead != '\\') ADVANCE(1101);
      END_STATE();
    case 1105:
      ACCEPT_TOKEN(aux_sym_string_token2);
      END_STATE();
    case 1106:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 1107:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 1108:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      END_STATE();
    case 1109:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead == '*') ADVANCE(1126);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1110:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 1111:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 1112:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 1113:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 1114:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      END_STATE();
    case 1115:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '*') ADVANCE(1125);
      if (lookahead == '/') ADVANCE(1114);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      END_STATE();
    case 1116:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1117);
      if (lookahead == '/') ADVANCE(1115);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1116);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(1118);
      END_STATE();
    case 1117:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1133);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      END_STATE();
    case 1118:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      END_STATE();
    case 1119:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      END_STATE();
    case 1120:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead == '*') ADVANCE(1126);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1121:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 1122:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 1123:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 1124:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 1125:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      END_STATE();
    case 1126:
      ACCEPT_TOKEN(aux_sym_comment_token2);
      if (lookahead == '*') ADVANCE(1126);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1127:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      END_STATE();
    case 1128:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead == '*') ADVANCE(1126);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1129:
      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(527);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(407);
      END_STATE();
    case 1130:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(409);
      END_STATE();
    case 1131:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(527);
      END_STATE();
    case 1132:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(316);
      END_STATE();
    case 1133:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1118);
      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 == 'r') ADVANCE(59);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(37);
      END_STATE();
    case 16:
      if (lookahead == 'a') ADVANCE(60);
      if (lookahead == 'o') ADVANCE(61);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(38);
      END_STATE();
    case 17:
      if (lookahead == 'O') ADVANCE(39);
      if (lookahead == 'o') ADVANCE(62);
      END_STATE();
    case 18:
      if (lookahead == 'e') ADVANCE(63);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(40);
      END_STATE();
    case 19:
      if (lookahead == 'r') ADVANCE(64);
      END_STATE();
    case 20:
      if (lookahead == 'I') ADVANCE(41);
      if (lookahead == 'O') ADVANCE(42);
      if (lookahead == 'a') ADVANCE(65);
      if (lookahead == 'i') ADVANCE(66);
      if (lookahead == 'o') ADVANCE(67);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(43);
      END_STATE();
    case 21:
      if (lookahead == 'e') ADVANCE(68);
      if (lookahead == 'i') ADVANCE(69);
      if (lookahead == 'j') ADVANCE(70);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(44);
      END_STATE();
    case 22:
      if (lookahead == 'n') ADVANCE(71);
      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(72);
      if (lookahead == 'i') ADVANCE(73);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        'f', 74,
        'p', 75,
        'R', 48,
        'r', 48,
        'U', 49,
        'u', 49,
        'V', 50,
        'v', 50,
      );
      END_STATE();
    case 25:
      if (lookahead == 'a') ADVANCE(76);
      if (lookahead == 'o') ADVANCE(77);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(51);
      END_STATE();
    case 26:
      ADVANCE_MAP(
        'I', 53,
        'O', 54,
        'a', 78,
        'i', 79,
        'o', 80,
        'u', 81,
        'E', 52,
        'e', 52,
      );
      END_STATE();
    case 27:
      if (lookahead == 'E') ADVANCE(55);
      if (lookahead == 'e') ADVANCE(82);
      if (lookahead == 'h') ADVANCE(83);
      if (lookahead == 'i') ADVANCE(84);
      if (lookahead == 'm') ADVANCE(85);
      if (lookahead == 't') ADVANCE(86);
      END_STATE();
    case 28:
      if (lookahead == 'R') ADVANCE(57);
      if (lookahead == 'e') ADVANCE(87);
      if (lookahead == 'h') ADVANCE(88);
      if (lookahead == 'i') ADVANCE(89);
      if (lookahead == 'r') ADVANCE(90);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(56);
      END_STATE();
    case 29:
      if (lookahead == 'I') ADVANCE(58);
      if (lookahead == 'i') ADVANCE(91);
      if (lookahead == 'j') ADVANCE(92);
      END_STATE();
    case 30:
      if (lookahead == 'e') ADVANCE(93);
      if (lookahead == 'i') ADVANCE(94);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_x);
      if (lookahead == 'e') ADVANCE(95);
      if (lookahead == 'm') ADVANCE(96);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_y);
      if (lookahead == 'e') ADVANCE(97);
      if (lookahead == 'm') ADVANCE(98);
      END_STATE();
    case 33:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(99);
      END_STATE();
    case 34:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(100);
      END_STATE();
    case 35:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(101);
      END_STATE();
    case 36:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(102);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(103);
      END_STATE();
    case 37:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(104);
      END_STATE();
    case 38:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(105);
      END_STATE();
    case 39:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(106);
      END_STATE();
    case 40:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(107);
      END_STATE();
    case 41:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(109);
      END_STATE();
    case 42:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(110);
      END_STATE();
    case 43:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(111);
      END_STATE();
    case 44:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(112);
      END_STATE();
    case 45:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(113);
      END_STATE();
    case 46:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(114);
      END_STATE();
    case 47:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(115);
      END_STATE();
    case 48:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(116);
      END_STATE();
    case 49:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(117);
      END_STATE();
    case 50:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(118);
      END_STATE();
    case 51:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(119);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(120);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(121);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(122);
      END_STATE();
    case 53:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(123);
      END_STATE();
    case 54:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(124);
      END_STATE();
    case 55:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(125);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(aux_sym_scale_to_clause_token1);
      END_STATE();
    case 57:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(126);
      END_STATE();
    case 58:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(127);
      END_STATE();
    case 59:
      if (lookahead == 'e') ADVANCE(128);
      if (lookahead == 'r') ADVANCE(129);
      END_STATE();
    case 60:
      if (lookahead == 'r') ADVANCE(130);
      END_STATE();
    case 61:
      if (lookahead == 'x') ADVANCE(131);
      END_STATE();
    case 62:
      if (lookahead == 'e') ADVANCE(132);
      if (lookahead == 'l') ADVANCE(133);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(106);
      END_STATE();
    case 63:
      if (lookahead == 'n') ADVANCE(134);
      END_STATE();
    case 64:
      if (lookahead == 'r') ADVANCE(135);
      END_STATE();
    case 65:
      if (lookahead == 'l') ADVANCE(136);
      if (lookahead == 'm') ADVANCE(137);
      END_STATE();
    case 66:
      if (lookahead == 'L') ADVANCE(108);
      if (lookahead == 'l') ADVANCE(138);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(109);
      END_STATE();
    case 67:
      if (lookahead == 'n') ADVANCE(139);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(110);
      END_STATE();
    case 68:
      if (lookahead == 'i') ADVANCE(140);
      END_STATE();
    case 69:
      if (lookahead == 's') ADVANCE(141);
      END_STATE();
    case 70:
      if (lookahead == 'u') ADVANCE(142);
      END_STATE();
    case 71:
      if (lookahead == 't') ADVANCE(143);
      END_STATE();
    case 72:
      if (lookahead == 'b') ADVANCE(144);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(114);
      END_STATE();
    case 73:
      if (lookahead == 'n') ADVANCE(145);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(115);
      END_STATE();
    case 74:
      if (lookahead == 'f') ADVANCE(146);
      END_STATE();
    case 75:
      if (lookahead == 'a') ADVANCE(147);
      END_STATE();
    case 76:
      if (lookahead == 'n') ADVANCE(148);
      if (lookahead == 't') ADVANCE(149);
      END_STATE();
    case 77:
      if (lookahead == 'i') ADVANCE(150);
      if (lookahead == 'l') ADVANCE(151);
      END_STATE();
    case 78:
      if (lookahead == 'd') ADVANCE(152);
      END_STATE();
    case 79:
      if (lookahead == 'b') ADVANCE(153);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(123);
      END_STATE();
    case 80:
      if (lookahead == 'W') ADVANCE(124);
      if (lookahead == 'w') ADVANCE(154);
      END_STATE();
    case 81:
      if (lookahead == 'l') ADVANCE(155);
      END_STATE();
    case 82:
      if (lookahead == 'g') ADVANCE(156);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(125);
      END_STATE();
    case 83:
      if (lookahead == 'a') ADVANCE(157);
      END_STATE();
    case 84:
      if (lookahead == 'z') ADVANCE(158);
      END_STATE();
    case 85:
      if (lookahead == 'o') ADVANCE(159);
      END_STATE();
    case 86:
      if (lookahead == 'r') ADVANCE(160);
      END_STATE();
    case 87:
      if (lookahead == 'x') ADVANCE(161);
      END_STATE();
    case 88:
      if (lookahead == 'e') ADVANCE(162);
      END_STATE();
    case 89:
      if (lookahead == 'l') ADVANCE(163);
      END_STATE();
    case 90:
      if (lookahead == 'u') ADVANCE(164);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(126);
      END_STATE();
    case 91:
      if (lookahead == 'o') ADVANCE(165);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(127);
      END_STATE();
    case 92:
      if (lookahead == 'u') ADVANCE(166);
      END_STATE();
    case 93:
      if (lookahead == 'i') ADVANCE(167);
      END_STATE();
    case 94:
      if (lookahead == 'd') ADVANCE(168);
      END_STATE();
    case 95:
      if (lookahead == 'n') ADVANCE(169);
      END_STATE();
    case 96:
      if (lookahead == 'a') ADVANCE(170);
      if (lookahead == 'i') ADVANCE(171);
      END_STATE();
    case 97:
      if (lookahead == 'n') ADVANCE(172);
      END_STATE();
    case 98:
      if (lookahead == 'a') ADVANCE(173);
      if (lookahead == 'i') ADVANCE(174);
      END_STATE();
    case 99:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(175);
      END_STATE();
    case 100:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(176);
      END_STATE();
    case 101:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(177);
      END_STATE();
    case 102:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(178);
      END_STATE();
    case 103:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(179);
      END_STATE();
    case 104:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token28);
      END_STATE();
    case 105:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(180);
      END_STATE();
    case 106:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(181);
      END_STATE();
    case 107:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(182);
      END_STATE();
    case 108:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(183);
      END_STATE();
    case 109:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(184);
      END_STATE();
    case 110:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(185);
      END_STATE();
    case 111:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(186);
      END_STATE();
    case 112:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(187);
      END_STATE();
    case 113:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(188);
      END_STATE();
    case 114:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(189);
      END_STATE();
    case 115:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(190);
      END_STATE();
    case 116:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(191);
      END_STATE();
    case 117:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(192);
      END_STATE();
    case 118:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(193);
      END_STATE();
    case 119:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(194);
      END_STATE();
    case 120:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(195);
      END_STATE();
    case 121:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(196);
      END_STATE();
    case 122:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(197);
      END_STATE();
    case 123:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(198);
      END_STATE();
    case 124:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(199);
      END_STATE();
    case 125:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(200);
      END_STATE();
    case 126:
      if (lookahead == '_') ADVANCE(201);
      END_STATE();
    case 127:
      ACCEPT_TOKEN(aux_sym_scale_via_clause_token1);
      END_STATE();
    case 128:
      if (lookahead == 'a') ADVANCE(202);
      END_STATE();
    case 129:
      if (lookahead == 'o') ADVANCE(203);
      END_STATE();
    case 130:
      ACCEPT_TOKEN(anon_sym_bar);
      END_STATE();
    case 131:
      if (lookahead == 'p') ADVANCE(204);
      END_STATE();
    case 132:
      if (lookahead == 'f') ADVANCE(205);
      END_STATE();
    case 133:
      if (lookahead == 'o') ADVANCE(206);
      if (lookahead == 'u') ADVANCE(207);
      END_STATE();
    case 134:
      if (lookahead == 's') ADVANCE(208);
      END_STATE();
    case 135:
      if (lookahead == 'o') ADVANCE(209);
      END_STATE();
    case 136:
      if (lookahead == 's') ADVANCE(210);
      END_STATE();
    case 137:
      if (lookahead == 'i') ADVANCE(211);
      END_STATE();
    case 138:
      if (lookahead == 'l') ADVANCE(212);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(183);
      END_STATE();
    case 139:
      if (lookahead == 't') ADVANCE(213);
      END_STATE();
    case 140:
      if (lookahead == 'g') ADVANCE(214);
      END_STATE();
    case 141:
      if (lookahead == 't') ADVANCE(215);
      END_STATE();
    case 142:
      if (lookahead == 's') ADVANCE(216);
      END_STATE();
    case 143:
      if (lookahead == 'e') ADVANCE(217);
      END_STATE();
    case 144:
      if (lookahead == 'e') ADVANCE(218);
      END_STATE();
    case 145:
      if (lookahead == 'e') ADVANCE(219);
      END_STATE();
    case 146:
      if (lookahead == 's') ADVANCE(220);
      END_STATE();
    case 147:
      if (lookahead == 'c') ADVANCE(221);
      END_STATE();
    case 148:
      if (lookahead == 'e') ADVANCE(222);
      END_STATE();
    case 149:
      if (lookahead == 'h') ADVANCE(223);
      END_STATE();
    case 150:
      if (lookahead == 'n') ADVANCE(224);
      END_STATE();
    case 151:
      if (lookahead == 'y') ADVANCE(225);
      END_STATE();
    case 152:
      if (lookahead == 'i') ADVANCE(226);
      END_STATE();
    case 153:
      if (lookahead == 'b') ADVANCE(227);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_row);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(199);
      END_STATE();
    case 155:
      if (lookahead == 'e') ADVANCE(228);
      END_STATE();
    case 156:
      if (lookahead == 'm') ADVANCE(229);
      END_STATE();
    case 157:
      if (lookahead == 'p') ADVANCE(230);
      END_STATE();
    case 158:
      if (lookahead == 'e') ADVANCE(231);
      END_STATE();
    case 159:
      if (lookahead == 'o') ADVANCE(232);
      END_STATE();
    case 160:
      if (lookahead == 'o') ADVANCE(233);
      END_STATE();
    case 161:
      if (lookahead == 't') ADVANCE(234);
      END_STATE();
    case 162:
      if (lookahead == 't') ADVANCE(235);
      END_STATE();
    case 163:
      if (lookahead == 'e') ADVANCE(236);
      END_STATE();
    case 164:
      if (lookahead == 'e') ADVANCE(237);
      END_STATE();
    case 165:
      if (lookahead == 'l') ADVANCE(238);
      END_STATE();
    case 166:
      if (lookahead == 's') ADVANCE(239);
      END_STATE();
    case 167:
      if (lookahead == 'g') ADVANCE(240);
      END_STATE();
    case 168:
      if (lookahead == 't') ADVANCE(241);
      END_STATE();
    case 169:
      if (lookahead == 'd') ADVANCE(242);
      END_STATE();
    case 170:
      if (lookahead == 'x') ADVANCE(243);
      END_STATE();
    case 171:
      if (lookahead == 'n') ADVANCE(244);
      END_STATE();
    case 172:
      if (lookahead == 'd') ADVANCE(245);
      END_STATE();
    case 173:
      if (lookahead == 'x') ADVANCE(246);
      END_STATE();
    case 174:
      if (lookahead == 'n') ADVANCE(247);
      END_STATE();
    case 175:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(248);
      END_STATE();
    case 176:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(249);
      END_STATE();
    case 177:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(250);
      END_STATE();
    case 178:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(251);
      END_STATE();
    case 179:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(252);
      END_STATE();
    case 180:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(253);
      END_STATE();
    case 181:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(254);
      END_STATE();
    case 182:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(255);
      END_STATE();
    case 183:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(256);
      END_STATE();
    case 184:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(257);
      END_STATE();
    case 185:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(258);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token11);
      END_STATE();
    case 187:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(259);
      END_STATE();
    case 188:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(260);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token50);
      END_STATE();
    case 190:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(261);
      END_STATE();
    case 191:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(262);
      END_STATE();
    case 192:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(263);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token40);
      END_STATE();
    case 194:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(264);
      END_STATE();
    case 195:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(265);
      END_STATE();
    case 196:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(266);
      END_STATE();
    case 197:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(267);
      END_STATE();
    case 198:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(268);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token41);
      END_STATE();
    case 200:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(269);
      END_STATE();
    case 201:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(270);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(anon_sym_area);
      END_STATE();
    case 203:
      if (lookahead == 'w') ADVANCE(271);
      END_STATE();
    case 204:
      if (lookahead == 'l') ADVANCE(272);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(anon_sym_coef);
      END_STATE();
    case 206:
      if (lookahead == 'r') ADVANCE(273);
      if (lookahead == 'u') ADVANCE(274);
      END_STATE();
    case 207:
      if (lookahead == 'm') ADVANCE(275);
      END_STATE();
    case 208:
      if (lookahead == 'i') ADVANCE(276);
      END_STATE();
    case 209:
      if (lookahead == 'r') ADVANCE(277);
      END_STATE();
    case 210:
      if (lookahead == 'e') ADVANCE(278);
      END_STATE();
    case 211:
      if (lookahead == 'l') ADVANCE(279);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(anon_sym_fill);
      END_STATE();
    case 213:
      if (lookahead == 'f') ADVANCE(280);
      END_STATE();
    case 214:
      if (lookahead == 'h') ADVANCE(281);
      END_STATE();
    case 215:
      if (lookahead == 'o') ADVANCE(282);
      END_STATE();
    case 216:
      if (lookahead == 't') ADVANCE(283);
      END_STATE();
    case 217:
      if (lookahead == 'r') ADVANCE(284);
      END_STATE();
    case 218:
      if (lookahead == 'l') ADVANCE(285);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(anon_sym_line);
      if (lookahead == 'a') ADVANCE(286);
      if (lookahead == 't') ADVANCE(287);
      if (lookahead == 'w') ADVANCE(288);
      END_STATE();
    case 220:
      if (lookahead == 'e') ADVANCE(289);
      END_STATE();
    case 221:
      if (lookahead == 'i') ADVANCE(290);
      END_STATE();
    case 222:
      if (lookahead == 'l') ADVANCE(291);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(anon_sym_path);
      END_STATE();
    case 224:
      if (lookahead == 't') ADVANCE(292);
      END_STATE();
    case 225:
      if (lookahead == 'g') ADVANCE(293);
      END_STATE();
    case 226:
      if (lookahead == 'u') ADVANCE(294);
      END_STATE();
    case 227:
      if (lookahead == 'o') ADVANCE(295);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(anon_sym_rule);
      END_STATE();
    case 229:
      if (lookahead == 'e') ADVANCE(296);
      END_STATE();
    case 230:
      if (lookahead == 'e') ADVANCE(297);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(anon_sym_size);
      END_STATE();
    case 232:
      if (lookahead == 't') ADVANCE(298);
      END_STATE();
    case 233:
      if (lookahead == 'k') ADVANCE(299);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(anon_sym_text);
      END_STATE();
    case 235:
      if (lookahead == 'a') ADVANCE(300);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(anon_sym_tile);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 238:
      if (lookahead == 'i') ADVANCE(301);
      END_STATE();
    case 239:
      if (lookahead == 't') ADVANCE(302);
      END_STATE();
    case 240:
      if (lookahead == 'h') ADVANCE(303);
      END_STATE();
    case 241:
      if (lookahead == 'h') ADVANCE(304);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(anon_sym_xend);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(anon_sym_xmax);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(anon_sym_xmin);
      END_STATE();
    case 245:
      ACCEPT_TOKEN(anon_sym_yend);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(anon_sym_ymax);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(anon_sym_ymin);
      END_STATE();
    case 248:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(305);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token3);
      END_STATE();
    case 250:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(306);
      END_STATE();
    case 251:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(307);
      END_STATE();
    case 252:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(308);
      END_STATE();
    case 253:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(309);
      END_STATE();
    case 254:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(310);
      END_STATE();
    case 255:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(311);
      END_STATE();
    case 256:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(312);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token49);
      END_STATE();
    case 258:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(313);
      END_STATE();
    case 259:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(314);
      END_STATE();
    case 260:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(315);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token24);
      END_STATE();
    case 262:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(316);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token7);
      END_STATE();
    case 264:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(317);
      END_STATE();
    case 265:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(318);
      END_STATE();
    case 266:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(319);
      END_STATE();
    case 267:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(320);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token5);
      END_STATE();
    case 269:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(321);
      END_STATE();
    case 270:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(322);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(anon_sym_arrow);
      END_STATE();
    case 272:
      if (lookahead == 'o') ADVANCE(323);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(anon_sym_color);
      END_STATE();
    case 274:
      if (lookahead == 'r') ADVANCE(324);
      END_STATE();
    case 275:
      if (lookahead == 'n') ADVANCE(325);
      END_STATE();
    case 276:
      if (lookahead == 't') ADVANCE(326);
      END_STATE();
    case 277:
      if (lookahead == 'b') ADVANCE(327);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 279:
      if (lookahead == 'y') ADVANCE(328);
      END_STATE();
    case 280:
      if (lookahead == 'a') ADVANCE(329);
      END_STATE();
    case 281:
      if (lookahead == 't') ADVANCE(330);
      END_STATE();
    case 282:
      if (lookahead == 'g') ADVANCE(331);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(anon_sym_hjust);
      END_STATE();
    case 284:
      if (lookahead == 'c') ADVANCE(332);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(anon_sym_label);
      END_STATE();
    case 286:
      if (lookahead == 'r') ADVANCE(333);
      END_STATE();
    case 287:
      if (lookahead == 'y') ADVANCE(334);
      END_STATE();
    case 288:
      if (lookahead == 'i') ADVANCE(335);
      END_STATE();
    case 289:
      if (lookahead == 't') ADVANCE(336);
      END_STATE();
    case 290:
      if (lookahead == 't') ADVANCE(337);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(anon_sym_panel);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(anon_sym_point);
      END_STATE();
    case 293:
      if (lookahead == 'o') ADVANCE(338);
      END_STATE();
    case 294:
      if (lookahead == 's') ADVANCE(339);
      END_STATE();
    case 295:
      if (lookahead == 'n') ADVANCE(340);
      END_STATE();
    case 296:
      if (lookahead == 'n') ADVANCE(341);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(anon_sym_shape);
      END_STATE();
    case 298:
      if (lookahead == 'h') ADVANCE(342);
      END_STATE();
    case 299:
      if (lookahead == 'e') ADVANCE(343);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(anon_sym_theta);
      if (lookahead == 'e') ADVANCE(344);
      if (lookahead == 'm') ADVANCE(345);
      END_STATE();
    case 301:
      if (lookahead == 'n') ADVANCE(346);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(anon_sym_vjust);
      END_STATE();
    case 303:
      if (lookahead == 't') ADVANCE(347);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(anon_sym_width);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token21);
      END_STATE();
    case 306:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(348);
      END_STATE();
    case 307:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(349);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token48);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token3);
      END_STATE();
    case 310:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(350);
      END_STATE();
    case 311:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(351);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(aux_sym_filter_clause_token1);
      END_STATE();
    case 313:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(352);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token23);
      END_STATE();
    case 315:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(353);
      END_STATE();
    case 316:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(354);
      END_STATE();
    case 317:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(355);
      END_STATE();
    case 318:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(356);
      END_STATE();
    case 319:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(357);
      END_STATE();
    case 320:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(358);
      END_STATE();
    case 321:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(359);
      END_STATE();
    case 322:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(360);
      END_STATE();
    case 323:
      if (lookahead == 't') ADVANCE(361);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(anon_sym_colour);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(anon_sym_column);
      END_STATE();
    case 326:
      if (lookahead == 'y') ADVANCE(362);
      END_STATE();
    case 327:
      if (lookahead == 'a') ADVANCE(363);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(anon_sym_family);
      END_STATE();
    case 329:
      if (lookahead == 'c') ADVANCE(364);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(anon_sym_height);
      END_STATE();
    case 331:
      if (lookahead == 'r') ADVANCE(365);
      END_STATE();
    case 332:
      if (lookahead == 'e') ADVANCE(366);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(anon_sym_linear);
      END_STATE();
    case 334:
      if (lookahead == 'p') ADVANCE(367);
      END_STATE();
    case 335:
      if (lookahead == 'd') ADVANCE(368);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(anon_sym_offset);
      END_STATE();
    case 337:
      if (lookahead == 'y') ADVANCE(369);
      END_STATE();
    case 338:
      if (lookahead == 'n') ADVANCE(370);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(anon_sym_radius);
      if (lookahead == 'e') ADVANCE(371);
      if (lookahead == 'm') ADVANCE(372);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(anon_sym_ribbon);
      END_STATE();
    case 341:
      if (lookahead == 't') ADVANCE(373);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(anon_sym_smooth);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(anon_sym_stroke);
      END_STATE();
    case 344:
      if (lookahead == 'n') ADVANCE(374);
      END_STATE();
    case 345:
      if (lookahead == 'a') ADVANCE(375);
      if (lookahead == 'i') ADVANCE(376);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(anon_sym_violin);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(anon_sym_weight);
      END_STATE();
    case 348:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(377);
      END_STATE();
    case 349:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(378);
      END_STATE();
    case 350:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(379);
      END_STATE();
    case 351:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(380);
      END_STATE();
    case 352:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(381);
      END_STATE();
    case 353:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(382);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token4);
      END_STATE();
    case 355:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(383);
      END_STATE();
    case 356:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(384);
      END_STATE();
    case 357:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(385);
      END_STATE();
    case 358:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(386);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_setting_clause_token1);
      END_STATE();
    case 360:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(387);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(anon_sym_boxplot);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(anon_sym_density);
      END_STATE();
    case 363:
      if (lookahead == 'r') ADVANCE(388);
      END_STATE();
    case 364:
      if (lookahead == 'e') ADVANCE(389);
      END_STATE();
    case 365:
      if (lookahead == 'a') ADVANCE(390);
      END_STATE();
    case 366:
      if (lookahead == 'p') ADVANCE(391);
      END_STATE();
    case 367:
      if (lookahead == 'e') ADVANCE(392);
      END_STATE();
    case 368:
      if (lookahead == 't') ADVANCE(393);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(anon_sym_opacity);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(anon_sym_polygon);
      END_STATE();
    case 371:
      if (lookahead == 'n') ADVANCE(394);
      END_STATE();
    case 372:
      if (lookahead == 'a') ADVANCE(395);
      if (lookahead == 'i') ADVANCE(396);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(anon_sym_segment);
      END_STATE();
    case 374:
      if (lookahead == 'd') ADVANCE(397);
      END_STATE();
    case 375:
      if (lookahead == 'x') ADVANCE(398);
      END_STATE();
    case 376:
      if (lookahead == 'n') ADVANCE(399);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(aux_sym_mapping_clause_token1);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token10);
      END_STATE();
    case 379:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(400);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token2);
      END_STATE();
    case 381:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(401);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token5);
      END_STATE();
    case 383:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(402);
      END_STATE();
    case 384:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(403);
      END_STATE();
    case 385:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(404);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(aux_sym_scale_renaming_clause_token1);
      END_STATE();
    case 387:
      ACCEPT_TOKEN(aux_sym_cast_expression_token2);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(anon_sym_errorbar);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(anon_sym_fontface);
      END_STATE();
    case 390:
      if (lookahead == 'm') ADVANCE(405);
      END_STATE();
    case 391:
      if (lookahead == 't') ADVANCE(406);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(anon_sym_linetype);
      END_STATE();
    case 393:
      if (lookahead == 'h') ADVANCE(407);
      END_STATE();
    case 394:
      if (lookahead == 'd') ADVANCE(408);
      END_STATE();
    case 395:
      if (lookahead == 'x') ADVANCE(409);
      END_STATE();
    case 396:
      if (lookahead == 'n') ADVANCE(410);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(anon_sym_thetaend);
      END_STATE();
    case 398:
      ACCEPT_TOKEN(anon_sym_thetamax);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(anon_sym_thetamin);
      END_STATE();
    case 400:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(411);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token45);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token44);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(aux_sym_with_statement_token2);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(aux_sym_remapping_clause_token1);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(anon_sym_histogram);
      END_STATE();
    case 406:
      ACCEPT_TOKEN(anon_sym_intercept);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(anon_sym_linewidth);
      END_STATE();
    case 408:
      ACCEPT_TOKEN(anon_sym_radiusend);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(anon_sym_radiusmax);
      END_STATE();
    case 410:
      ACCEPT_TOKEN(anon_sym_radiusmin);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token1);
      END_STATE();
    default:
      return false;
  }
}

static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0},
  [1] = {.lex_state = 129},
  [2] = {.lex_state = 113},
  [3] = {.lex_state = 113},
  [4] = {.lex_state = 116},
  [5] = {.lex_state = 117},
  [6] = {.lex_state = 117},
  [7] = {.lex_state = 1},
  [8] = {.lex_state = 1},
  [9] = {.lex_state = 1},
  [10] = {.lex_state = 1},
  [11] = {.lex_state = 115},
  [12] = {.lex_state = 129},
  [13] = {.lex_state = 3},
  [14] = {.lex_state = 129},
  [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 = 114},
  [25] = {.lex_state = 114},
  [26] = {.lex_state = 114},
  [27] = {.lex_state = 114},
  [28] = {.lex_state = 113},
  [29] = {.lex_state = 114},
  [30] = {.lex_state = 113},
  [31] = {.lex_state = 113},
  [32] = {.lex_state = 114},
  [33] = {.lex_state = 113},
  [34] = {.lex_state = 114},
  [35] = {.lex_state = 114},
  [36] = {.lex_state = 114},
  [37] = {.lex_state = 113},
  [38] = {.lex_state = 114},
  [39] = {.lex_state = 113},
  [40] = {.lex_state = 2},
  [41] = {.lex_state = 113},
  [42] = {.lex_state = 113},
  [43] = {.lex_state = 113},
  [44] = {.lex_state = 113},
  [45] = {.lex_state = 113},
  [46] = {.lex_state = 2},
  [47] = {.lex_state = 2},
  [48] = {.lex_state = 2},
  [49] = {.lex_state = 113},
  [50] = {.lex_state = 2},
  [51] = {.lex_state = 113},
  [52] = {.lex_state = 113},
  [53] = {.lex_state = 113},
  [54] = {.lex_state = 113},
  [55] = {.lex_state = 113},
  [56] = {.lex_state = 113},
  [57] = {.lex_state = 113},
  [58] = {.lex_state = 113},
  [59] = {.lex_state = 113},
  [60] = {.lex_state = 113},
  [61] = {.lex_state = 113},
  [62] = {.lex_state = 113},
  [63] = {.lex_state = 2},
  [64] = {.lex_state = 6},
  [65] = {.lex_state = 6},
  [66] = {.lex_state = 1},
  [67] = {.lex_state = 1},
  [68] = {.lex_state = 1},
  [69] = {.lex_state = 2},
  [70] = {.lex_state = 2},
  [71] = {.lex_state = 2},
  [72] = {.lex_state = 2},
  [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 = 123},
  [95] = {.lex_state = 123},
  [96] = {.lex_state = 124},
  [97] = {.lex_state = 124},
  [98] = {.lex_state = 124},
  [99] = {.lex_state = 124},
  [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 = 130},
  [117] = {.lex_state = 9},
  [118] = {.lex_state = 9},
  [119] = {.lex_state = 130},
  [120] = {.lex_state = 9},
  [121] = {.lex_state = 9},
  [122] = {.lex_state = 123},
  [123] = {.lex_state = 123},
  [124] = {.lex_state = 123},
  [125] = {.lex_state = 123},
  [126] = {.lex_state = 123},
  [127] = {.lex_state = 123},
  [128] = {.lex_state = 124},
  [129] = {.lex_state = 124},
  [130] = {.lex_state = 124},
  [131] = {.lex_state = 124},
  [132] = {.lex_state = 124},
  [133] = {.lex_state = 124},
  [134] = {.lex_state = 130},
  [135] = {.lex_state = 130},
  [136] = {.lex_state = 130},
  [137] = {.lex_state = 130},
  [138] = {.lex_state = 130},
  [139] = {.lex_state = 118},
  [140] = {.lex_state = 118},
  [141] = {.lex_state = 118},
  [142] = {.lex_state = 118},
  [143] = {.lex_state = 118},
  [144] = {.lex_state = 118},
  [145] = {.lex_state = 4},
  [146] = {.lex_state = 5},
  [147] = {.lex_state = 5},
  [148] = {.lex_state = 5},
  [149] = {.lex_state = 5},
  [150] = {.lex_state = 120},
  [151] = {.lex_state = 125},
  [152] = {.lex_state = 122},
  [153] = {.lex_state = 122},
  [154] = {.lex_state = 119},
  [155] = {.lex_state = 119},
  [156] = {.lex_state = 122},
  [157] = {.lex_state = 119},
  [158] = {.lex_state = 119},
  [159] = {.lex_state = 126},
  [160] = {.lex_state = 126},
  [161] = {.lex_state = 12},
  [162] = {.lex_state = 5},
  [163] = {.lex_state = 5},
  [164] = {.lex_state = 126},
  [165] = {.lex_state = 126},
  [166] = {.lex_state = 11},
  [167] = {.lex_state = 126},
  [168] = {.lex_state = 132},
  [169] = {.lex_state = 122},
  [170] = {.lex_state = 11},
  [171] = {.lex_state = 8},
  [172] = {.lex_state = 8},
  [173] = {.lex_state = 8},
  [174] = {.lex_state = 8},
  [175] = {.lex_state = 10},
  [176] = {.lex_state = 132},
  [177] = {.lex_state = 136},
  [178] = {.lex_state = 121},
  [179] = {.lex_state = 137},
  [180] = {.lex_state = 137},
  [181] = {.lex_state = 121},
  [182] = {.lex_state = 8},
  [183] = {.lex_state = 121},
  [184] = {.lex_state = 121},
  [185] = {.lex_state = 121},
  [186] = {.lex_state = 121},
  [187] = {.lex_state = 121},
  [188] = {.lex_state = 121},
  [189] = {.lex_state = 121},
  [190] = {.lex_state = 121},
  [191] = {.lex_state = 121},
  [192] = {.lex_state = 121},
  [193] = {.lex_state = 118},
  [194] = {.lex_state = 118},
  [195] = {.lex_state = 136},
  [196] = {.lex_state = 128},
  [197] = {.lex_state = 118},
  [198] = {.lex_state = 132},
  [199] = {.lex_state = 118},
  [200] = {.lex_state = 132},
  [201] = {.lex_state = 132},
  [202] = {.lex_state = 133},
  [203] = {.lex_state = 132},
  [204] = {.lex_state = 131},
  [205] = {.lex_state = 132},
  [206] = {.lex_state = 131},
  [207] = {.lex_state = 14},
  [208] = {.lex_state = 134},
  [209] = {.lex_state = 118},
  [210] = {.lex_state = 122},
  [211] = {.lex_state = 128},
  [212] = {.lex_state = 136},
  [213] = {.lex_state = 122},
  [214] = {.lex_state = 118},
  [215] = {.lex_state = 136},
  [216] = {.lex_state = 132},
  [217] = {.lex_state = 8},
  [218] = {.lex_state = 136},
  [219] = {.lex_state = 136},
  [220] = {.lex_state = 132},
  [221] = {.lex_state = 122},
  [222] = {.lex_state = 8},
  [223] = {.lex_state = 122},
  [224] = {.lex_state = 136},
  [225] = {.lex_state = 136},
  [226] = {.lex_state = 8},
  [227] = {.lex_state = 8},
  [228] = {.lex_state = 8},
  [229] = {.lex_state = 132},
  [230] = {.lex_state = 121},
  [231] = {.lex_state = 121},
  [232] = {.lex_state = 121},
  [233] = {.lex_state = 121},
  [234] = {.lex_state = 8},
  [235] = {.lex_state = 8},
  [236] = {.lex_state = 132},
  [237] = {.lex_state = 119},
  [238] = {.lex_state = 128},
  [239] = {.lex_state = 132},
  [240] = {.lex_state = 132},
  [241] = {.lex_state = 128},
  [242] = {.lex_state = 128},
  [243] = {.lex_state = 136},
  [244] = {.lex_state = 132},
  [245] = {.lex_state = 132},
  [246] = {.lex_state = 132},
  [247] = {.lex_state = 132},
  [248] = {.lex_state = 127},
  [249] = {.lex_state = 128},
  [250] = {.lex_state = 132},
  [251] = {.lex_state = 132},
  [252] = {.lex_state = 127},
  [253] = {.lex_state = 119},
  [254] = {.lex_state = 132},
  [255] = {.lex_state = 132},
  [256] = {.lex_state = 132},
  [257] = {.lex_state = 119},
  [258] = {.lex_state = 128},
  [259] = {.lex_state = 118},
  [260] = {.lex_state = 119},
  [261] = {.lex_state = 128},
  [262] = {.lex_state = 128},
  [263] = {.lex_state = 128},
  [264] = {.lex_state = 128},
  [265] = {.lex_state = 118},
  [266] = {.lex_state = 118},
  [267] = {.lex_state = 135},
  [268] = {.lex_state = 132},
  [269] = {.lex_state = 135},
  [270] = {.lex_state = 118},
  [271] = {.lex_state = 13},
  [272] = {.lex_state = 135},
  [273] = {.lex_state = 118},
  [274] = {.lex_state = 11},
  [275] = {.lex_state = 118},
  [276] = {.lex_state = 128},
  [277] = {.lex_state = 118},
  [278] = {.lex_state = 118},
  [279] = {.lex_state = 118},
  [280] = {.lex_state = 128},
  [281] = {.lex_state = 128},
  [282] = {.lex_state = 118},
  [283] = {.lex_state = 18},
  [284] = {.lex_state = 118},
  [285] = {.lex_state = 118},
  [286] = {.lex_state = 118},
  [287] = {.lex_state = 18},
  [288] = {.lex_state = 118},
  [289] = {.lex_state = 118},
  [290] = {.lex_state = 128},
  [291] = {.lex_state = 118},
  [292] = {.lex_state = 118},
  [293] = {.lex_state = 118},
  [294] = {.lex_state = 18},
  [295] = {.lex_state = 118},
  [296] = {.lex_state = 118},
  [297] = {.lex_state = 118},
  [298] = {.lex_state = 128},
  [299] = {.lex_state = 118},
  [300] = {.lex_state = 118},
  [301] = {.lex_state = 18},
  [302] = {.lex_state = 118},
  [303] = {.lex_state = 118},
  [304] = {.lex_state = 118},
  [305] = {.lex_state = 118},
  [306] = {.lex_state = 128},
  [307] = {.lex_state = 118},
  [308] = {.lex_state = 128},
  [309] = {.lex_state = 128},
  [310] = {.lex_state = 11},
  [311] = {.lex_state = 118},
  [312] = {.lex_state = 118},
  [313] = {.lex_state = 118},
  [314] = {.lex_state = 118},
  [315] = {.lex_state = 118},
  [316] = {.lex_state = 118},
  [317] = {.lex_state = 128},
  [318] = {.lex_state = 118},
  [319] = {.lex_state = 118},
  [320] = {.lex_state = 118},
  [321] = {.lex_state = 118},
  [322] = {.lex_state = 128},
  [323] = {.lex_state = 118},
  [324] = {.lex_state = 128},
  [325] = {.lex_state = 118},
  [326] = {.lex_state = 128},
  [327] = {.lex_state = 11},
  [328] = {.lex_state = 121},
  [329] = {.lex_state = 118},
  [330] = {.lex_state = 128},
  [331] = {.lex_state = 118},
  [332] = {.lex_state = 118},
  [333] = {.lex_state = 118},
  [334] = {.lex_state = 118},
  [335] = {.lex_state = 118},
  [336] = {.lex_state = 118},
  [337] = {.lex_state = 118},
  [338] = {.lex_state = 118},
  [339] = {.lex_state = 24},
  [340] = {.lex_state = 118},
  [341] = {.lex_state = 118},
  [342] = {.lex_state = 118},
  [343] = {.lex_state = 118},
  [344] = {.lex_state = 118},
  [345] = {.lex_state = 118},
  [346] = {.lex_state = 118},
  [347] = {.lex_state = 118},
  [348] = {.lex_state = 118},
  [349] = {.lex_state = 118},
  [350] = {.lex_state = 118},
  [351] = {.lex_state = 24},
  [352] = {.lex_state = 24},
  [353] = {.lex_state = 118},
  [354] = {.lex_state = 118},
  [355] = {.lex_state = 121},
  [356] = {.lex_state = 121},
  [357] = {.lex_state = 18},
  [358] = {.lex_state = 118},
  [359] = {.lex_state = 121},
  [360] = {.lex_state = 18},
  [361] = {.lex_state = 118},
  [362] = {.lex_state = 21},
  [363] = {.lex_state = 121},
  [364] = {.lex_state = 21},
  [365] = {.lex_state = 121},
  [366] = {.lex_state = 121},
  [367] = {.lex_state = 13},
  [368] = {.lex_state = 22},
  [369] = {.lex_state = 121},
  [370] = {.lex_state = 121},
  [371] = {.lex_state = 5},
  [372] = {.lex_state = 22},
  [373] = {.lex_state = 22},
  [374] = {.lex_state = 22},
  [375] = {.lex_state = 121},
  [376] = {.lex_state = 22},
  [377] = {.lex_state = 5},
  [378] = {.lex_state = 5},
  [379] = {.lex_state = 23},
  [380] = {.lex_state = 23},
  [381] = {.lex_state = 5},
  [382] = {.lex_state = 5},
  [383] = {.lex_state = 23},
  [384] = {.lex_state = 5},
  [385] = {.lex_state = 32},
  [386] = {.lex_state = 5},
  [387] = {.lex_state = 121},
  [388] = {.lex_state = 121},
  [389] = {.lex_state = 23},
  [390] = {.lex_state = 121},
  [391] = {.lex_state = 5},
  [392] = {.lex_state = 5},
  [393] = {.lex_state = 5},
  [394] = {.lex_state = 5},
  [395] = {.lex_state = 121},
  [396] = {.lex_state = 5},
  [397] = {.lex_state = 5},
  [398] = {.lex_state = 5},
  [399] = {.lex_state = 5},
  [400] = {.lex_state = 5},
  [401] = {.lex_state = 0},
  [402] = {.lex_state = 23},
  [403] = {.lex_state = 5},
  [404] = {.lex_state = 23},
  [405] = {.lex_state = 20},
  [406] = {.lex_state = 5},
  [407] = {.lex_state = 0},
  [408] = {.lex_state = 23},
  [409] = {.lex_state = 0},
  [410] = {.lex_state = 23},
  [411] = {.lex_state = 0},
  [412] = {.lex_state = 5},
  [413] = {.lex_state = 20},
  [414] = {.lex_state = 5},
  [415] = {.lex_state = 20},
  [416] = {.lex_state = 0},
  [417] = {.lex_state = 5},
  [418] = {.lex_state = 5},
  [419] = {.lex_state = 0},
  [420] = {.lex_state = 0},
  [421] = {.lex_state = 32},
  [422] = {.lex_state = 0},
  [423] = {.lex_state = 23},
  [424] = {.lex_state = 23},
  [425] = {.lex_state = 20},
  [426] = {.lex_state = 20},
  [427] = {.lex_state = 32},
  [428] = {.lex_state = 5},
  [429] = {.lex_state = 23},
  [430] = {.lex_state = 23},
  [431] = {.lex_state = 20},
  [432] = {.lex_state = 20},
  [433] = {.lex_state = 20},
  [434] = {.lex_state = 20},
  [435] = {.lex_state = 20},
  [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 = 118},
  [448] = {.lex_state = 5},
  [449] = {.lex_state = 5},
  [450] = {.lex_state = 20},
  [451] = {.lex_state = 5},
  [452] = {.lex_state = 0},
  [453] = {.lex_state = 5},
  [454] = {.lex_state = 0},
  [455] = {.lex_state = 5},
  [456] = {.lex_state = 20},
  [457] = {.lex_state = 0},
  [458] = {.lex_state = 23},
  [459] = {.lex_state = 5},
  [460] = {.lex_state = 0},
  [461] = {.lex_state = 5},
  [462] = {.lex_state = 0},
  [463] = {.lex_state = 5},
  [464] = {.lex_state = 0},
  [465] = {.lex_state = 0},
  [466] = {.lex_state = 5},
  [467] = {.lex_state = 5},
  [468] = {.lex_state = 5},
  [469] = {.lex_state = 0},
  [470] = {.lex_state = 5},
  [471] = {.lex_state = 5},
  [472] = {.lex_state = 5},
  [473] = {.lex_state = 0},
  [474] = {.lex_state = 5},
  [475] = {.lex_state = 5},
  [476] = {.lex_state = 5},
  [477] = {.lex_state = 0},
  [478] = {.lex_state = 5},
  [479] = {.lex_state = 5},
  [480] = {.lex_state = 5},
  [481] = {.lex_state = 5},
  [482] = {.lex_state = 5},
  [483] = {.lex_state = 20},
  [484] = {.lex_state = 0},
  [485] = {.lex_state = 5},
  [486] = {.lex_state = 0},
  [487] = {.lex_state = 0},
  [488] = {.lex_state = 0},
  [489] = {.lex_state = 5},
  [490] = {.lex_state = 5},
  [491] = {.lex_state = 0},
  [492] = {.lex_state = 0},
  [493] = {.lex_state = 5},
  [494] = {.lex_state = 0},
  [495] = {.lex_state = 0},
  [496] = {.lex_state = 0},
  [497] = {.lex_state = 0},
  [498] = {.lex_state = 0},
  [499] = {.lex_state = 0},
  [500] = {.lex_state = 0},
  [501] = {.lex_state = 118},
  [502] = {.lex_state = 5},
  [503] = {.lex_state = 118},
  [504] = {.lex_state = 0},
  [505] = {.lex_state = 0},
  [506] = {.lex_state = 0},
  [507] = {.lex_state = 0},
  [508] = {.lex_state = 0},
  [509] = {.lex_state = 0},
  [510] = {.lex_state = 0},
  [511] = {.lex_state = 0},
  [512] = {.lex_state = 0},
  [513] = {.lex_state = 0},
  [514] = {.lex_state = 0},
  [515] = {.lex_state = 0},
  [516] = {.lex_state = 0},
  [517] = {.lex_state = 118},
  [518] = {.lex_state = 0},
  [519] = {.lex_state = 0},
  [520] = {.lex_state = 26},
  [521] = {.lex_state = 5},
  [522] = {.lex_state = 0},
  [523] = {.lex_state = 121},
  [524] = {.lex_state = 0},
  [525] = {.lex_state = 0},
  [526] = {.lex_state = 121},
  [527] = {.lex_state = 0},
  [528] = {.lex_state = 118},
  [529] = {.lex_state = 0},
  [530] = {.lex_state = 0},
  [531] = {.lex_state = 0},
  [532] = {.lex_state = 0},
  [533] = {.lex_state = 0},
  [534] = {.lex_state = 118},
  [535] = {.lex_state = 0},
  [536] = {.lex_state = 0},
  [537] = {.lex_state = 0},
  [538] = {.lex_state = 0},
  [539] = {.lex_state = 0},
  [540] = {.lex_state = 0},
  [541] = {.lex_state = 118},
  [542] = {.lex_state = 0},
  [543] = {.lex_state = 0},
  [544] = {.lex_state = 118},
  [545] = {.lex_state = 0},
  [546] = {.lex_state = 0},
  [547] = {.lex_state = 0},
  [548] = {.lex_state = 0},
  [549] = {.lex_state = 0},
  [550] = {.lex_state = 0},
  [551] = {.lex_state = 0},
  [552] = {.lex_state = 121},
  [553] = {.lex_state = 0},
  [554] = {.lex_state = 0},
  [555] = {.lex_state = 121},
  [556] = {.lex_state = 0},
  [557] = {.lex_state = 118},
  [558] = {.lex_state = 1116},
  [559] = {.lex_state = 0},
  [560] = {.lex_state = 0},
  [561] = {.lex_state = 0},
  [562] = {.lex_state = 0},
  [563] = {.lex_state = 121},
  [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 = 0},
  [572] = {.lex_state = 0},
  [573] = {.lex_state = 0},
  [574] = {.lex_state = 0},
  [575] = {.lex_state = 0},
  [576] = {.lex_state = 0},
  [577] = {.lex_state = 0},
  [578] = {.lex_state = 0},
  [579] = {(TSStateId)(-1),},
  [580] = {(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_remapping_clause_token1] = ACTIONS(1),
    [anon_sym_point] = ACTIONS(1),
    [anon_sym_line] = ACTIONS(1),
    [anon_sym_path] = ACTIONS(1),
    [anon_sym_bar] = ACTIONS(1),
    [anon_sym_area] = ACTIONS(1),
    [anon_sym_tile] = ACTIONS(1),
    [anon_sym_polygon] = ACTIONS(1),
    [anon_sym_ribbon] = ACTIONS(1),
    [anon_sym_histogram] = ACTIONS(1),
    [anon_sym_density] = ACTIONS(1),
    [anon_sym_smooth] = ACTIONS(1),
    [anon_sym_boxplot] = ACTIONS(1),
    [anon_sym_violin] = ACTIONS(1),
    [anon_sym_text] = ACTIONS(1),
    [anon_sym_label] = ACTIONS(1),
    [anon_sym_segment] = ACTIONS(1),
    [anon_sym_arrow] = ACTIONS(1),
    [anon_sym_rule] = ACTIONS(1),
    [anon_sym_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_theta] = ACTIONS(1),
    [anon_sym_radius] = ACTIONS(1),
    [anon_sym_thetamin] = ACTIONS(1),
    [anon_sym_thetamax] = ACTIONS(1),
    [anon_sym_radiusmin] = ACTIONS(1),
    [anon_sym_radiusmax] = ACTIONS(1),
    [anon_sym_thetaend] = 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_family] = ACTIONS(1),
    [anon_sym_fontface] = ACTIONS(1),
    [anon_sym_hjust] = ACTIONS(1),
    [anon_sym_vjust] = 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(556),
    [sym_sql_portion] = STATE(409),
    [sym_sql_statement] = STATE(411),
    [sym_select_statement] = STATE(484),
    [sym_with_statement] = STATE(484),
    [sym_create_statement] = STATE(484),
    [sym_insert_statement] = STATE(484),
    [sym_update_statement] = STATE(484),
    [sym_delete_statement] = STATE(484),
    [sym_other_sql_statement] = STATE(484),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_visualise_statement] = STATE(506),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(1),
    [aux_sym_query_repeat1] = STATE(457),
    [aux_sym_other_sql_statement_repeat1] = STATE(116),
    [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(45),
    [sym_cast_expression] = STATE(45),
    [sym_function_call] = STATE(45),
    [sym_sql_keyword] = STATE(45),
    [sym_window_function] = STATE(45),
    [sym_from_clause] = STATE(45),
    [sym_identifier] = STATE(43),
    [sym_string] = STATE(45),
    [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(45),
    [sym_cast_expression] = STATE(45),
    [sym_function_call] = STATE(45),
    [sym_sql_keyword] = STATE(45),
    [sym_window_function] = STATE(45),
    [sym_from_clause] = STATE(45),
    [sym_identifier] = STATE(43),
    [sym_string] = STATE(45),
    [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(564),
    [sym_with_statement] = STATE(564),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(564),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(4),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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_other_sql_statement_token1] = 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(533),
    [sym_with_statement] = STATE(533),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(533),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(5),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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_create_statement_token2] = 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(538),
    [sym_with_statement] = STATE(538),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(538),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(6),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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_create_statement_token2] = 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(7)] = {
    [sym_subquery] = STATE(76),
    [sym_cast_expression] = STATE(76),
    [sym_function_call] = STATE(76),
    [sym_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(76),
    [sym_from_clause] = STATE(76),
    [sym_identifier] = STATE(81),
    [sym_string] = STATE(76),
    [sym_comment] = STATE(7),
    [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),
    [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(8)] = {
    [sym_subquery] = STATE(76),
    [sym_cast_expression] = STATE(76),
    [sym_function_call] = STATE(76),
    [sym_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(76),
    [sym_from_clause] = STATE(76),
    [sym_identifier] = STATE(81),
    [sym_string] = STATE(76),
    [sym_comment] = STATE(8),
    [aux_sym_select_body_repeat1] = STATE(8),
    [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(9)] = {
    [sym_select_body] = STATE(407),
    [sym_subquery] = STATE(45),
    [sym_cast_expression] = STATE(45),
    [sym_function_call] = STATE(45),
    [sym_sql_keyword] = STATE(45),
    [sym_window_function] = STATE(45),
    [sym_from_clause] = STATE(45),
    [sym_identifier] = STATE(43),
    [sym_string] = STATE(45),
    [sym_comment] = STATE(9),
    [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(10)] = {
    [sym_select_body] = STATE(407),
    [sym_subquery] = STATE(76),
    [sym_cast_expression] = STATE(76),
    [sym_function_call] = STATE(76),
    [sym_sql_keyword] = STATE(76),
    [sym_window_function] = STATE(76),
    [sym_from_clause] = STATE(76),
    [sym_identifier] = STATE(81),
    [sym_string] = STATE(76),
    [sym_comment] = STATE(10),
    [aux_sym_select_body_repeat1] = STATE(7),
    [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(27),
    [sym_qualified_name] = STATE(25),
    [sym_table_ref] = STATE(37),
    [sym_identifier] = STATE(29),
    [sym_string] = STATE(25),
    [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(487),
    [sym_select_statement] = STATE(484),
    [sym_with_statement] = STATE(484),
    [sym_create_statement] = STATE(484),
    [sym_insert_statement] = STATE(484),
    [sym_update_statement] = STATE(484),
    [sym_delete_statement] = STATE(484),
    [sym_other_sql_statement] = STATE(484),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(12),
    [aux_sym_other_sql_statement_repeat1] = STATE(116),
    [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_subquery] = STATE(47),
    [sym_qualified_name] = STATE(46),
    [sym_table_ref] = STATE(66),
    [sym_identifier] = STATE(48),
    [sym_string] = STATE(46),
    [sym_comment] = STATE(13),
    [sym_bare_identifier] = ACTIONS(173),
    [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(175),
    [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(177),
    [sym_quoted_identifier] = ACTIONS(173),
    [sym_number] = ACTIONS(159),
    [anon_sym_SQUOTE] = ACTIONS(179),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(14)] = {
    [sym_sql_statement] = STATE(487),
    [sym_select_statement] = STATE(484),
    [sym_with_statement] = STATE(484),
    [sym_create_statement] = STATE(484),
    [sym_insert_statement] = STATE(484),
    [sym_update_statement] = STATE(484),
    [sym_delete_statement] = STATE(484),
    [sym_other_sql_statement] = STATE(484),
    [sym_subquery] = STATE(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(14),
    [aux_sym_other_sql_statement_repeat1] = STATE(116),
    [ts_builtin_sym_end] = ACTIONS(181),
    [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(181),
    [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(15)] = {
    [sym_select_statement] = STATE(530),
    [sym_with_statement] = STATE(530),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(530),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(15),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(519),
    [sym_with_statement] = STATE(519),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(519),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(16),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(574),
    [sym_with_statement] = STATE(574),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(574),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(17),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(571),
    [sym_with_statement] = STATE(571),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(571),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(18),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(578),
    [sym_with_statement] = STATE(578),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(578),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(19),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(542),
    [sym_with_statement] = STATE(542),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(542),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(20),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(518),
    [sym_with_statement] = STATE(518),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(518),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(21),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(551),
    [sym_with_statement] = STATE(551),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(551),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(22),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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(548),
    [sym_with_statement] = STATE(548),
    [sym_subquery] = STATE(100),
    [sym_subquery_body] = STATE(548),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(23),
    [aux_sym_subquery_body_repeat1] = STATE(64),
    [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),
    [aux_sym_qualified_name_repeat1] = STATE(26),
    [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(188),
    [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(25)] = {
    [sym_identifier] = STATE(57),
    [sym_comment] = STATE(25),
    [ts_builtin_sym_end] = ACTIONS(190),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(190),
    [anon_sym_COMMA] = ACTIONS(190),
    [anon_sym_STAR] = ACTIONS(190),
    [anon_sym_DOT] = ACTIONS(192),
    [anon_sym_EQ] = ACTIONS(190),
    [anon_sym_LT] = ACTIONS(190),
    [anon_sym_GT] = ACTIONS(190),
    [anon_sym_BANG] = ACTIONS(190),
    [anon_sym_PLUS] = ACTIONS(190),
    [anon_sym_DASH] = ACTIONS(192),
    [anon_sym_SLASH] = ACTIONS(192),
    [anon_sym_PERCENT] = ACTIONS(190),
    [anon_sym_PIPE] = ACTIONS(190),
    [anon_sym_AMP] = ACTIONS(190),
    [anon_sym_CARET] = ACTIONS(190),
    [anon_sym_TILDE] = ACTIONS(190),
    [anon_sym_COLON_COLON] = ACTIONS(190),
    [anon_sym_LPAREN] = ACTIONS(190),
    [aux_sym_cte_definition_token1] = ACTIONS(194),
    [aux_sym_cast_expression_token1] = ACTIONS(192),
    [aux_sym_cast_expression_token2] = ACTIONS(192),
    [aux_sym_sql_keyword_token1] = ACTIONS(192),
    [aux_sym_sql_keyword_token2] = ACTIONS(192),
    [aux_sym_sql_keyword_token3] = ACTIONS(192),
    [aux_sym_sql_keyword_token4] = ACTIONS(192),
    [aux_sym_sql_keyword_token5] = ACTIONS(192),
    [aux_sym_sql_keyword_token6] = ACTIONS(192),
    [aux_sym_sql_keyword_token7] = ACTIONS(192),
    [aux_sym_sql_keyword_token8] = ACTIONS(192),
    [aux_sym_sql_keyword_token9] = ACTIONS(192),
    [aux_sym_sql_keyword_token10] = ACTIONS(192),
    [aux_sym_sql_keyword_token11] = ACTIONS(192),
    [aux_sym_sql_keyword_token12] = ACTIONS(192),
    [aux_sym_sql_keyword_token13] = ACTIONS(192),
    [aux_sym_sql_keyword_token14] = ACTIONS(192),
    [aux_sym_sql_keyword_token15] = ACTIONS(192),
    [aux_sym_sql_keyword_token16] = ACTIONS(192),
    [aux_sym_sql_keyword_token17] = ACTIONS(192),
    [aux_sym_sql_keyword_token18] = ACTIONS(192),
    [aux_sym_sql_keyword_token19] = ACTIONS(192),
    [aux_sym_sql_keyword_token20] = ACTIONS(192),
    [aux_sym_sql_keyword_token21] = ACTIONS(192),
    [aux_sym_sql_keyword_token22] = ACTIONS(192),
    [aux_sym_sql_keyword_token23] = ACTIONS(192),
    [aux_sym_sql_keyword_token24] = ACTIONS(192),
    [aux_sym_sql_keyword_token25] = ACTIONS(192),
    [aux_sym_sql_keyword_token26] = ACTIONS(192),
    [aux_sym_sql_keyword_token27] = ACTIONS(192),
    [aux_sym_sql_keyword_token28] = ACTIONS(192),
    [aux_sym_sql_keyword_token29] = ACTIONS(192),
    [aux_sym_sql_keyword_token30] = ACTIONS(192),
    [aux_sym_sql_keyword_token31] = ACTIONS(192),
    [aux_sym_sql_keyword_token32] = ACTIONS(192),
    [aux_sym_sql_keyword_token33] = ACTIONS(192),
    [aux_sym_sql_keyword_token34] = ACTIONS(192),
    [aux_sym_sql_keyword_token35] = ACTIONS(192),
    [aux_sym_sql_keyword_token36] = ACTIONS(192),
    [aux_sym_sql_keyword_token37] = ACTIONS(192),
    [aux_sym_sql_keyword_token38] = ACTIONS(192),
    [aux_sym_sql_keyword_token39] = ACTIONS(192),
    [aux_sym_sql_keyword_token40] = ACTIONS(192),
    [aux_sym_sql_keyword_token41] = ACTIONS(192),
    [aux_sym_sql_keyword_token42] = ACTIONS(192),
    [aux_sym_sql_keyword_token43] = ACTIONS(192),
    [aux_sym_sql_keyword_token44] = ACTIONS(192),
    [aux_sym_sql_keyword_token45] = ACTIONS(192),
    [aux_sym_sql_keyword_token46] = ACTIONS(192),
    [aux_sym_sql_keyword_token47] = ACTIONS(192),
    [aux_sym_sql_keyword_token48] = ACTIONS(192),
    [aux_sym_sql_keyword_token49] = ACTIONS(192),
    [aux_sym_sql_keyword_token50] = ACTIONS(192),
    [sym_visualise_keyword] = ACTIONS(190),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(190),
    [anon_sym_SQUOTE] = ACTIONS(190),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(26)] = {
    [sym_comment] = STATE(26),
    [aux_sym_qualified_name_repeat1] = STATE(26),
    [ts_builtin_sym_end] = ACTIONS(196),
    [sym_bare_identifier] = ACTIONS(198),
    [anon_sym_SEMI] = ACTIONS(196),
    [anon_sym_COMMA] = ACTIONS(196),
    [anon_sym_STAR] = ACTIONS(196),
    [anon_sym_DOT] = ACTIONS(200),
    [anon_sym_EQ] = ACTIONS(196),
    [anon_sym_LT] = ACTIONS(196),
    [anon_sym_GT] = ACTIONS(196),
    [anon_sym_BANG] = ACTIONS(196),
    [anon_sym_PLUS] = ACTIONS(196),
    [anon_sym_DASH] = ACTIONS(198),
    [anon_sym_SLASH] = ACTIONS(198),
    [anon_sym_PERCENT] = ACTIONS(196),
    [anon_sym_PIPE] = ACTIONS(196),
    [anon_sym_AMP] = ACTIONS(196),
    [anon_sym_CARET] = ACTIONS(196),
    [anon_sym_TILDE] = ACTIONS(196),
    [anon_sym_COLON_COLON] = ACTIONS(196),
    [anon_sym_LPAREN] = ACTIONS(196),
    [aux_sym_cte_definition_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token1] = ACTIONS(198),
    [aux_sym_sql_keyword_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token3] = ACTIONS(198),
    [aux_sym_sql_keyword_token4] = ACTIONS(198),
    [aux_sym_sql_keyword_token5] = ACTIONS(198),
    [aux_sym_sql_keyword_token6] = ACTIONS(198),
    [aux_sym_sql_keyword_token7] = ACTIONS(198),
    [aux_sym_sql_keyword_token8] = ACTIONS(198),
    [aux_sym_sql_keyword_token9] = ACTIONS(198),
    [aux_sym_sql_keyword_token10] = ACTIONS(198),
    [aux_sym_sql_keyword_token11] = ACTIONS(198),
    [aux_sym_sql_keyword_token12] = ACTIONS(198),
    [aux_sym_sql_keyword_token13] = ACTIONS(198),
    [aux_sym_sql_keyword_token14] = ACTIONS(198),
    [aux_sym_sql_keyword_token15] = ACTIONS(198),
    [aux_sym_sql_keyword_token16] = ACTIONS(198),
    [aux_sym_sql_keyword_token17] = ACTIONS(198),
    [aux_sym_sql_keyword_token18] = ACTIONS(198),
    [aux_sym_sql_keyword_token19] = ACTIONS(198),
    [aux_sym_sql_keyword_token20] = ACTIONS(198),
    [aux_sym_sql_keyword_token21] = ACTIONS(198),
    [aux_sym_sql_keyword_token22] = ACTIONS(198),
    [aux_sym_sql_keyword_token23] = ACTIONS(198),
    [aux_sym_sql_keyword_token24] = ACTIONS(198),
    [aux_sym_sql_keyword_token25] = ACTIONS(198),
    [aux_sym_sql_keyword_token26] = ACTIONS(198),
    [aux_sym_sql_keyword_token27] = ACTIONS(198),
    [aux_sym_sql_keyword_token28] = ACTIONS(198),
    [aux_sym_sql_keyword_token29] = ACTIONS(198),
    [aux_sym_sql_keyword_token30] = ACTIONS(198),
    [aux_sym_sql_keyword_token31] = ACTIONS(198),
    [aux_sym_sql_keyword_token32] = ACTIONS(198),
    [aux_sym_sql_keyword_token33] = ACTIONS(198),
    [aux_sym_sql_keyword_token34] = ACTIONS(198),
    [aux_sym_sql_keyword_token35] = ACTIONS(198),
    [aux_sym_sql_keyword_token36] = ACTIONS(198),
    [aux_sym_sql_keyword_token37] = ACTIONS(198),
    [aux_sym_sql_keyword_token38] = ACTIONS(198),
    [aux_sym_sql_keyword_token39] = ACTIONS(198),
    [aux_sym_sql_keyword_token40] = ACTIONS(198),
    [aux_sym_sql_keyword_token41] = ACTIONS(198),
    [aux_sym_sql_keyword_token42] = ACTIONS(198),
    [aux_sym_sql_keyword_token43] = ACTIONS(198),
    [aux_sym_sql_keyword_token44] = ACTIONS(198),
    [aux_sym_sql_keyword_token45] = ACTIONS(198),
    [aux_sym_sql_keyword_token46] = ACTIONS(198),
    [aux_sym_sql_keyword_token47] = ACTIONS(198),
    [aux_sym_sql_keyword_token48] = ACTIONS(198),
    [aux_sym_sql_keyword_token49] = ACTIONS(198),
    [aux_sym_sql_keyword_token50] = ACTIONS(198),
    [sym_visualise_keyword] = ACTIONS(196),
    [sym_quoted_identifier] = ACTIONS(196),
    [sym_number] = ACTIONS(196),
    [anon_sym_SQUOTE] = ACTIONS(196),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(27)] = {
    [sym_identifier] = STATE(42),
    [sym_comment] = STATE(27),
    [ts_builtin_sym_end] = ACTIONS(203),
    [sym_bare_identifier] = ACTIONS(41),
    [anon_sym_SEMI] = ACTIONS(203),
    [anon_sym_COMMA] = ACTIONS(203),
    [anon_sym_STAR] = ACTIONS(203),
    [anon_sym_DOT] = ACTIONS(205),
    [anon_sym_EQ] = ACTIONS(203),
    [anon_sym_LT] = ACTIONS(203),
    [anon_sym_GT] = ACTIONS(203),
    [anon_sym_BANG] = ACTIONS(203),
    [anon_sym_PLUS] = ACTIONS(203),
    [anon_sym_DASH] = ACTIONS(205),
    [anon_sym_SLASH] = ACTIONS(205),
    [anon_sym_PERCENT] = ACTIONS(203),
    [anon_sym_PIPE] = ACTIONS(203),
    [anon_sym_AMP] = ACTIONS(203),
    [anon_sym_CARET] = ACTIONS(203),
    [anon_sym_TILDE] = ACTIONS(203),
    [anon_sym_COLON_COLON] = ACTIONS(203),
    [anon_sym_LPAREN] = ACTIONS(203),
    [aux_sym_cte_definition_token1] = ACTIONS(207),
    [aux_sym_cast_expression_token1] = ACTIONS(205),
    [aux_sym_cast_expression_token2] = ACTIONS(205),
    [aux_sym_sql_keyword_token1] = ACTIONS(205),
    [aux_sym_sql_keyword_token2] = ACTIONS(205),
    [aux_sym_sql_keyword_token3] = ACTIONS(205),
    [aux_sym_sql_keyword_token4] = ACTIONS(205),
    [aux_sym_sql_keyword_token5] = ACTIONS(205),
    [aux_sym_sql_keyword_token6] = ACTIONS(205),
    [aux_sym_sql_keyword_token7] = ACTIONS(205),
    [aux_sym_sql_keyword_token8] = ACTIONS(205),
    [aux_sym_sql_keyword_token9] = ACTIONS(205),
    [aux_sym_sql_keyword_token10] = ACTIONS(205),
    [aux_sym_sql_keyword_token11] = ACTIONS(205),
    [aux_sym_sql_keyword_token12] = ACTIONS(205),
    [aux_sym_sql_keyword_token13] = ACTIONS(205),
    [aux_sym_sql_keyword_token14] = ACTIONS(205),
    [aux_sym_sql_keyword_token15] = ACTIONS(205),
    [aux_sym_sql_keyword_token16] = ACTIONS(205),
    [aux_sym_sql_keyword_token17] = ACTIONS(205),
    [aux_sym_sql_keyword_token18] = ACTIONS(205),
    [aux_sym_sql_keyword_token19] = ACTIONS(205),
    [aux_sym_sql_keyword_token20] = ACTIONS(205),
    [aux_sym_sql_keyword_token21] = ACTIONS(205),
    [aux_sym_sql_keyword_token22] = ACTIONS(205),
    [aux_sym_sql_keyword_token23] = ACTIONS(205),
    [aux_sym_sql_keyword_token24] = ACTIONS(205),
    [aux_sym_sql_keyword_token25] = ACTIONS(205),
    [aux_sym_sql_keyword_token26] = ACTIONS(205),
    [aux_sym_sql_keyword_token27] = ACTIONS(205),
    [aux_sym_sql_keyword_token28] = ACTIONS(205),
    [aux_sym_sql_keyword_token29] = ACTIONS(205),
    [aux_sym_sql_keyword_token30] = ACTIONS(205),
    [aux_sym_sql_keyword_token31] = ACTIONS(205),
    [aux_sym_sql_keyword_token32] = ACTIONS(205),
    [aux_sym_sql_keyword_token33] = ACTIONS(205),
    [aux_sym_sql_keyword_token34] = ACTIONS(205),
    [aux_sym_sql_keyword_token35] = ACTIONS(205),
    [aux_sym_sql_keyword_token36] = ACTIONS(205),
    [aux_sym_sql_keyword_token37] = ACTIONS(205),
    [aux_sym_sql_keyword_token38] = ACTIONS(205),
    [aux_sym_sql_keyword_token39] = ACTIONS(205),
    [aux_sym_sql_keyword_token40] = ACTIONS(205),
    [aux_sym_sql_keyword_token41] = ACTIONS(205),
    [aux_sym_sql_keyword_token42] = ACTIONS(205),
    [aux_sym_sql_keyword_token43] = ACTIONS(205),
    [aux_sym_sql_keyword_token44] = ACTIONS(205),
    [aux_sym_sql_keyword_token45] = ACTIONS(205),
    [aux_sym_sql_keyword_token46] = ACTIONS(205),
    [aux_sym_sql_keyword_token47] = ACTIONS(205),
    [aux_sym_sql_keyword_token48] = ACTIONS(205),
    [aux_sym_sql_keyword_token49] = ACTIONS(205),
    [aux_sym_sql_keyword_token50] = ACTIONS(205),
    [sym_visualise_keyword] = ACTIONS(203),
    [sym_quoted_identifier] = ACTIONS(55),
    [sym_number] = ACTIONS(203),
    [anon_sym_SQUOTE] = ACTIONS(203),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(28)] = {
    [sym_comment] = STATE(28),
    [ts_builtin_sym_end] = ACTIONS(209),
    [sym_bare_identifier] = ACTIONS(211),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(209),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(209),
    [anon_sym_LT] = ACTIONS(209),
    [anon_sym_GT] = ACTIONS(209),
    [anon_sym_BANG] = ACTIONS(209),
    [anon_sym_PLUS] = ACTIONS(209),
    [anon_sym_DASH] = ACTIONS(211),
    [anon_sym_SLASH] = ACTIONS(211),
    [anon_sym_PERCENT] = ACTIONS(209),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_AMP] = ACTIONS(209),
    [anon_sym_CARET] = ACTIONS(209),
    [anon_sym_TILDE] = ACTIONS(209),
    [anon_sym_COLON_COLON] = ACTIONS(209),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_cast_expression_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_visualise_keyword] = ACTIONS(209),
    [aux_sym_scale_to_clause_token1] = ACTIONS(211),
    [sym_quoted_identifier] = ACTIONS(209),
    [sym_number] = ACTIONS(209),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(24),
    [ts_builtin_sym_end] = ACTIONS(213),
    [sym_bare_identifier] = ACTIONS(215),
    [anon_sym_SEMI] = ACTIONS(213),
    [anon_sym_COMMA] = ACTIONS(213),
    [anon_sym_STAR] = ACTIONS(213),
    [anon_sym_DOT] = ACTIONS(188),
    [anon_sym_EQ] = ACTIONS(213),
    [anon_sym_LT] = ACTIONS(213),
    [anon_sym_GT] = ACTIONS(213),
    [anon_sym_BANG] = ACTIONS(213),
    [anon_sym_PLUS] = ACTIONS(213),
    [anon_sym_DASH] = ACTIONS(215),
    [anon_sym_SLASH] = ACTIONS(215),
    [anon_sym_PERCENT] = ACTIONS(213),
    [anon_sym_PIPE] = ACTIONS(213),
    [anon_sym_AMP] = ACTIONS(213),
    [anon_sym_CARET] = ACTIONS(213),
    [anon_sym_TILDE] = ACTIONS(213),
    [anon_sym_COLON_COLON] = ACTIONS(213),
    [anon_sym_LPAREN] = ACTIONS(213),
    [aux_sym_cte_definition_token1] = ACTIONS(215),
    [aux_sym_cast_expression_token1] = ACTIONS(215),
    [aux_sym_cast_expression_token2] = ACTIONS(215),
    [aux_sym_sql_keyword_token1] = ACTIONS(215),
    [aux_sym_sql_keyword_token2] = ACTIONS(215),
    [aux_sym_sql_keyword_token3] = ACTIONS(215),
    [aux_sym_sql_keyword_token4] = ACTIONS(215),
    [aux_sym_sql_keyword_token5] = ACTIONS(215),
    [aux_sym_sql_keyword_token6] = ACTIONS(215),
    [aux_sym_sql_keyword_token7] = ACTIONS(215),
    [aux_sym_sql_keyword_token8] = ACTIONS(215),
    [aux_sym_sql_keyword_token9] = ACTIONS(215),
    [aux_sym_sql_keyword_token10] = ACTIONS(215),
    [aux_sym_sql_keyword_token11] = ACTIONS(215),
    [aux_sym_sql_keyword_token12] = ACTIONS(215),
    [aux_sym_sql_keyword_token13] = ACTIONS(215),
    [aux_sym_sql_keyword_token14] = ACTIONS(215),
    [aux_sym_sql_keyword_token15] = ACTIONS(215),
    [aux_sym_sql_keyword_token16] = ACTIONS(215),
    [aux_sym_sql_keyword_token17] = ACTIONS(215),
    [aux_sym_sql_keyword_token18] = ACTIONS(215),
    [aux_sym_sql_keyword_token19] = ACTIONS(215),
    [aux_sym_sql_keyword_token20] = ACTIONS(215),
    [aux_sym_sql_keyword_token21] = ACTIONS(215),
    [aux_sym_sql_keyword_token22] = ACTIONS(215),
    [aux_sym_sql_keyword_token23] = ACTIONS(215),
    [aux_sym_sql_keyword_token24] = ACTIONS(215),
    [aux_sym_sql_keyword_token25] = ACTIONS(215),
    [aux_sym_sql_keyword_token26] = ACTIONS(215),
    [aux_sym_sql_keyword_token27] = ACTIONS(215),
    [aux_sym_sql_keyword_token28] = ACTIONS(215),
    [aux_sym_sql_keyword_token29] = ACTIONS(215),
    [aux_sym_sql_keyword_token30] = ACTIONS(215),
    [aux_sym_sql_keyword_token31] = ACTIONS(215),
    [aux_sym_sql_keyword_token32] = ACTIONS(215),
    [aux_sym_sql_keyword_token33] = ACTIONS(215),
    [aux_sym_sql_keyword_token34] = ACTIONS(215),
    [aux_sym_sql_keyword_token35] = ACTIONS(215),
    [aux_sym_sql_keyword_token36] = ACTIONS(215),
    [aux_sym_sql_keyword_token37] = ACTIONS(215),
    [aux_sym_sql_keyword_token38] = ACTIONS(215),
    [aux_sym_sql_keyword_token39] = ACTIONS(215),
    [aux_sym_sql_keyword_token40] = ACTIONS(215),
    [aux_sym_sql_keyword_token41] = ACTIONS(215),
    [aux_sym_sql_keyword_token42] = ACTIONS(215),
    [aux_sym_sql_keyword_token43] = ACTIONS(215),
    [aux_sym_sql_keyword_token44] = ACTIONS(215),
    [aux_sym_sql_keyword_token45] = ACTIONS(215),
    [aux_sym_sql_keyword_token46] = ACTIONS(215),
    [aux_sym_sql_keyword_token47] = ACTIONS(215),
    [aux_sym_sql_keyword_token48] = ACTIONS(215),
    [aux_sym_sql_keyword_token49] = ACTIONS(215),
    [aux_sym_sql_keyword_token50] = ACTIONS(215),
    [sym_visualise_keyword] = ACTIONS(213),
    [sym_quoted_identifier] = ACTIONS(213),
    [sym_number] = ACTIONS(213),
    [anon_sym_SQUOTE] = ACTIONS(213),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(30)] = {
    [sym_comment] = STATE(30),
    [aux_sym_from_clause_repeat1] = STATE(30),
    [ts_builtin_sym_end] = ACTIONS(217),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_SEMI] = ACTIONS(217),
    [anon_sym_COMMA] = ACTIONS(221),
    [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_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(30),
    [ts_builtin_sym_end] = ACTIONS(224),
    [sym_bare_identifier] = ACTIONS(226),
    [anon_sym_SEMI] = ACTIONS(224),
    [anon_sym_COMMA] = ACTIONS(224),
    [anon_sym_STAR] = ACTIONS(224),
    [anon_sym_DOT] = ACTIONS(226),
    [anon_sym_EQ] = ACTIONS(224),
    [anon_sym_LT] = ACTIONS(224),
    [anon_sym_GT] = ACTIONS(224),
    [anon_sym_BANG] = ACTIONS(224),
    [anon_sym_PLUS] = ACTIONS(224),
    [anon_sym_DASH] = ACTIONS(226),
    [anon_sym_SLASH] = ACTIONS(226),
    [anon_sym_PERCENT] = ACTIONS(224),
    [anon_sym_PIPE] = ACTIONS(224),
    [anon_sym_AMP] = ACTIONS(224),
    [anon_sym_CARET] = ACTIONS(224),
    [anon_sym_TILDE] = ACTIONS(224),
    [anon_sym_COLON_COLON] = ACTIONS(224),
    [anon_sym_LPAREN] = ACTIONS(224),
    [aux_sym_cast_expression_token1] = ACTIONS(226),
    [aux_sym_cast_expression_token2] = ACTIONS(226),
    [aux_sym_sql_keyword_token1] = ACTIONS(226),
    [aux_sym_sql_keyword_token2] = ACTIONS(226),
    [aux_sym_sql_keyword_token3] = ACTIONS(226),
    [aux_sym_sql_keyword_token4] = ACTIONS(226),
    [aux_sym_sql_keyword_token5] = ACTIONS(226),
    [aux_sym_sql_keyword_token6] = ACTIONS(226),
    [aux_sym_sql_keyword_token7] = ACTIONS(226),
    [aux_sym_sql_keyword_token8] = ACTIONS(226),
    [aux_sym_sql_keyword_token9] = ACTIONS(226),
    [aux_sym_sql_keyword_token10] = ACTIONS(226),
    [aux_sym_sql_keyword_token11] = ACTIONS(226),
    [aux_sym_sql_keyword_token12] = ACTIONS(226),
    [aux_sym_sql_keyword_token13] = ACTIONS(226),
    [aux_sym_sql_keyword_token14] = ACTIONS(226),
    [aux_sym_sql_keyword_token15] = ACTIONS(226),
    [aux_sym_sql_keyword_token16] = ACTIONS(226),
    [aux_sym_sql_keyword_token17] = ACTIONS(226),
    [aux_sym_sql_keyword_token18] = ACTIONS(226),
    [aux_sym_sql_keyword_token19] = ACTIONS(226),
    [aux_sym_sql_keyword_token20] = ACTIONS(226),
    [aux_sym_sql_keyword_token21] = ACTIONS(226),
    [aux_sym_sql_keyword_token22] = ACTIONS(226),
    [aux_sym_sql_keyword_token23] = ACTIONS(226),
    [aux_sym_sql_keyword_token24] = ACTIONS(226),
    [aux_sym_sql_keyword_token25] = ACTIONS(226),
    [aux_sym_sql_keyword_token26] = ACTIONS(226),
    [aux_sym_sql_keyword_token27] = ACTIONS(226),
    [aux_sym_sql_keyword_token28] = ACTIONS(226),
    [aux_sym_sql_keyword_token29] = ACTIONS(226),
    [aux_sym_sql_keyword_token30] = ACTIONS(226),
    [aux_sym_sql_keyword_token31] = ACTIONS(226),
    [aux_sym_sql_keyword_token32] = ACTIONS(226),
    [aux_sym_sql_keyword_token33] = ACTIONS(226),
    [aux_sym_sql_keyword_token34] = ACTIONS(226),
    [aux_sym_sql_keyword_token35] = ACTIONS(226),
    [aux_sym_sql_keyword_token36] = ACTIONS(226),
    [aux_sym_sql_keyword_token37] = ACTIONS(226),
    [aux_sym_sql_keyword_token38] = ACTIONS(226),
    [aux_sym_sql_keyword_token39] = ACTIONS(226),
    [aux_sym_sql_keyword_token40] = ACTIONS(226),
    [aux_sym_sql_keyword_token41] = ACTIONS(226),
    [aux_sym_sql_keyword_token42] = ACTIONS(226),
    [aux_sym_sql_keyword_token43] = ACTIONS(226),
    [aux_sym_sql_keyword_token44] = ACTIONS(226),
    [aux_sym_sql_keyword_token45] = ACTIONS(226),
    [aux_sym_sql_keyword_token46] = ACTIONS(226),
    [aux_sym_sql_keyword_token47] = ACTIONS(226),
    [aux_sym_sql_keyword_token48] = ACTIONS(226),
    [aux_sym_sql_keyword_token49] = ACTIONS(226),
    [aux_sym_sql_keyword_token50] = ACTIONS(226),
    [sym_visualise_keyword] = ACTIONS(224),
    [sym_quoted_identifier] = ACTIONS(224),
    [sym_number] = ACTIONS(224),
    [anon_sym_SQUOTE] = ACTIONS(224),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(32)] = {
    [sym_comment] = STATE(32),
    [ts_builtin_sym_end] = ACTIONS(196),
    [sym_bare_identifier] = ACTIONS(198),
    [anon_sym_SEMI] = ACTIONS(196),
    [anon_sym_COMMA] = ACTIONS(196),
    [anon_sym_STAR] = ACTIONS(196),
    [anon_sym_DOT] = ACTIONS(198),
    [anon_sym_EQ] = ACTIONS(196),
    [anon_sym_LT] = ACTIONS(196),
    [anon_sym_GT] = ACTIONS(196),
    [anon_sym_BANG] = ACTIONS(196),
    [anon_sym_PLUS] = ACTIONS(196),
    [anon_sym_DASH] = ACTIONS(198),
    [anon_sym_SLASH] = ACTIONS(198),
    [anon_sym_PERCENT] = ACTIONS(196),
    [anon_sym_PIPE] = ACTIONS(196),
    [anon_sym_AMP] = ACTIONS(196),
    [anon_sym_CARET] = ACTIONS(196),
    [anon_sym_TILDE] = ACTIONS(196),
    [anon_sym_COLON_COLON] = ACTIONS(196),
    [anon_sym_LPAREN] = ACTIONS(196),
    [aux_sym_cte_definition_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token1] = ACTIONS(198),
    [aux_sym_sql_keyword_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token3] = ACTIONS(198),
    [aux_sym_sql_keyword_token4] = ACTIONS(198),
    [aux_sym_sql_keyword_token5] = ACTIONS(198),
    [aux_sym_sql_keyword_token6] = ACTIONS(198),
    [aux_sym_sql_keyword_token7] = ACTIONS(198),
    [aux_sym_sql_keyword_token8] = ACTIONS(198),
    [aux_sym_sql_keyword_token9] = ACTIONS(198),
    [aux_sym_sql_keyword_token10] = ACTIONS(198),
    [aux_sym_sql_keyword_token11] = ACTIONS(198),
    [aux_sym_sql_keyword_token12] = ACTIONS(198),
    [aux_sym_sql_keyword_token13] = ACTIONS(198),
    [aux_sym_sql_keyword_token14] = ACTIONS(198),
    [aux_sym_sql_keyword_token15] = ACTIONS(198),
    [aux_sym_sql_keyword_token16] = ACTIONS(198),
    [aux_sym_sql_keyword_token17] = ACTIONS(198),
    [aux_sym_sql_keyword_token18] = ACTIONS(198),
    [aux_sym_sql_keyword_token19] = ACTIONS(198),
    [aux_sym_sql_keyword_token20] = ACTIONS(198),
    [aux_sym_sql_keyword_token21] = ACTIONS(198),
    [aux_sym_sql_keyword_token22] = ACTIONS(198),
    [aux_sym_sql_keyword_token23] = ACTIONS(198),
    [aux_sym_sql_keyword_token24] = ACTIONS(198),
    [aux_sym_sql_keyword_token25] = ACTIONS(198),
    [aux_sym_sql_keyword_token26] = ACTIONS(198),
    [aux_sym_sql_keyword_token27] = ACTIONS(198),
    [aux_sym_sql_keyword_token28] = ACTIONS(198),
    [aux_sym_sql_keyword_token29] = ACTIONS(198),
    [aux_sym_sql_keyword_token30] = ACTIONS(198),
    [aux_sym_sql_keyword_token31] = ACTIONS(198),
    [aux_sym_sql_keyword_token32] = ACTIONS(198),
    [aux_sym_sql_keyword_token33] = ACTIONS(198),
    [aux_sym_sql_keyword_token34] = ACTIONS(198),
    [aux_sym_sql_keyword_token35] = ACTIONS(198),
    [aux_sym_sql_keyword_token36] = ACTIONS(198),
    [aux_sym_sql_keyword_token37] = ACTIONS(198),
    [aux_sym_sql_keyword_token38] = ACTIONS(198),
    [aux_sym_sql_keyword_token39] = ACTIONS(198),
    [aux_sym_sql_keyword_token40] = ACTIONS(198),
    [aux_sym_sql_keyword_token41] = ACTIONS(198),
    [aux_sym_sql_keyword_token42] = ACTIONS(198),
    [aux_sym_sql_keyword_token43] = ACTIONS(198),
    [aux_sym_sql_keyword_token44] = ACTIONS(198),
    [aux_sym_sql_keyword_token45] = ACTIONS(198),
    [aux_sym_sql_keyword_token46] = ACTIONS(198),
    [aux_sym_sql_keyword_token47] = ACTIONS(198),
    [aux_sym_sql_keyword_token48] = ACTIONS(198),
    [aux_sym_sql_keyword_token49] = ACTIONS(198),
    [aux_sym_sql_keyword_token50] = ACTIONS(198),
    [sym_visualise_keyword] = ACTIONS(196),
    [sym_quoted_identifier] = ACTIONS(196),
    [sym_number] = ACTIONS(196),
    [anon_sym_SQUOTE] = ACTIONS(196),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(33)] = {
    [sym_comment] = STATE(33),
    [ts_builtin_sym_end] = ACTIONS(228),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_SEMI] = ACTIONS(228),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(228),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(228),
    [anon_sym_LT] = ACTIONS(228),
    [anon_sym_GT] = ACTIONS(228),
    [anon_sym_BANG] = ACTIONS(228),
    [anon_sym_PLUS] = ACTIONS(228),
    [anon_sym_DASH] = ACTIONS(230),
    [anon_sym_SLASH] = ACTIONS(230),
    [anon_sym_PERCENT] = ACTIONS(228),
    [anon_sym_PIPE] = ACTIONS(228),
    [anon_sym_AMP] = ACTIONS(228),
    [anon_sym_CARET] = ACTIONS(228),
    [anon_sym_TILDE] = ACTIONS(228),
    [anon_sym_COLON_COLON] = ACTIONS(228),
    [anon_sym_LPAREN] = ACTIONS(228),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_visualise_keyword] = ACTIONS(228),
    [sym_quoted_identifier] = ACTIONS(228),
    [sym_number] = ACTIONS(228),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [anon_sym_RBRACK] = ACTIONS(228),
    [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(228),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_SEMI] = ACTIONS(228),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(228),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(228),
    [anon_sym_LT] = ACTIONS(228),
    [anon_sym_GT] = ACTIONS(228),
    [anon_sym_BANG] = ACTIONS(228),
    [anon_sym_PLUS] = ACTIONS(228),
    [anon_sym_DASH] = ACTIONS(230),
    [anon_sym_SLASH] = ACTIONS(230),
    [anon_sym_PERCENT] = ACTIONS(228),
    [anon_sym_PIPE] = ACTIONS(228),
    [anon_sym_AMP] = ACTIONS(228),
    [anon_sym_CARET] = ACTIONS(228),
    [anon_sym_TILDE] = ACTIONS(228),
    [anon_sym_COLON_COLON] = ACTIONS(228),
    [anon_sym_LPAREN] = ACTIONS(228),
    [aux_sym_cte_definition_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_visualise_keyword] = ACTIONS(228),
    [sym_quoted_identifier] = ACTIONS(228),
    [sym_number] = ACTIONS(228),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(232),
    [sym_bare_identifier] = ACTIONS(234),
    [anon_sym_SEMI] = ACTIONS(232),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(232),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(232),
    [anon_sym_LT] = ACTIONS(232),
    [anon_sym_GT] = ACTIONS(232),
    [anon_sym_BANG] = ACTIONS(232),
    [anon_sym_PLUS] = ACTIONS(232),
    [anon_sym_DASH] = ACTIONS(234),
    [anon_sym_SLASH] = ACTIONS(234),
    [anon_sym_PERCENT] = ACTIONS(232),
    [anon_sym_PIPE] = ACTIONS(232),
    [anon_sym_AMP] = ACTIONS(232),
    [anon_sym_CARET] = ACTIONS(232),
    [anon_sym_TILDE] = ACTIONS(232),
    [anon_sym_COLON_COLON] = ACTIONS(232),
    [anon_sym_LPAREN] = ACTIONS(232),
    [aux_sym_cte_definition_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_visualise_keyword] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(232),
    [sym_number] = ACTIONS(232),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(209),
    [sym_bare_identifier] = ACTIONS(211),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(209),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(209),
    [anon_sym_LT] = ACTIONS(209),
    [anon_sym_GT] = ACTIONS(209),
    [anon_sym_BANG] = ACTIONS(209),
    [anon_sym_PLUS] = ACTIONS(209),
    [anon_sym_DASH] = ACTIONS(211),
    [anon_sym_SLASH] = ACTIONS(211),
    [anon_sym_PERCENT] = ACTIONS(209),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_AMP] = ACTIONS(209),
    [anon_sym_CARET] = ACTIONS(209),
    [anon_sym_TILDE] = ACTIONS(209),
    [anon_sym_COLON_COLON] = ACTIONS(209),
    [anon_sym_LPAREN] = ACTIONS(209),
    [aux_sym_cte_definition_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_visualise_keyword] = ACTIONS(209),
    [sym_quoted_identifier] = ACTIONS(209),
    [sym_number] = ACTIONS(209),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(37)] = {
    [sym_comment] = STATE(37),
    [aux_sym_from_clause_repeat1] = STATE(31),
    [ts_builtin_sym_end] = ACTIONS(236),
    [sym_bare_identifier] = ACTIONS(238),
    [anon_sym_SEMI] = ACTIONS(236),
    [anon_sym_COMMA] = ACTIONS(240),
    [anon_sym_STAR] = ACTIONS(236),
    [anon_sym_DOT] = ACTIONS(238),
    [anon_sym_EQ] = ACTIONS(236),
    [anon_sym_LT] = ACTIONS(236),
    [anon_sym_GT] = ACTIONS(236),
    [anon_sym_BANG] = ACTIONS(236),
    [anon_sym_PLUS] = ACTIONS(236),
    [anon_sym_DASH] = ACTIONS(238),
    [anon_sym_SLASH] = ACTIONS(238),
    [anon_sym_PERCENT] = ACTIONS(236),
    [anon_sym_PIPE] = ACTIONS(236),
    [anon_sym_AMP] = ACTIONS(236),
    [anon_sym_CARET] = ACTIONS(236),
    [anon_sym_TILDE] = ACTIONS(236),
    [anon_sym_COLON_COLON] = ACTIONS(236),
    [anon_sym_LPAREN] = ACTIONS(236),
    [aux_sym_cast_expression_token1] = ACTIONS(238),
    [aux_sym_cast_expression_token2] = ACTIONS(238),
    [aux_sym_sql_keyword_token1] = ACTIONS(238),
    [aux_sym_sql_keyword_token2] = ACTIONS(238),
    [aux_sym_sql_keyword_token3] = ACTIONS(238),
    [aux_sym_sql_keyword_token4] = ACTIONS(238),
    [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(238),
    [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(238),
    [aux_sym_sql_keyword_token13] = ACTIONS(238),
    [aux_sym_sql_keyword_token14] = ACTIONS(238),
    [aux_sym_sql_keyword_token15] = ACTIONS(238),
    [aux_sym_sql_keyword_token16] = ACTIONS(238),
    [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(238),
    [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(238),
    [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(238),
    [aux_sym_sql_keyword_token34] = ACTIONS(238),
    [aux_sym_sql_keyword_token35] = ACTIONS(238),
    [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(238),
    [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(238),
    [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(236),
    [sym_quoted_identifier] = ACTIONS(236),
    [sym_number] = ACTIONS(236),
    [anon_sym_SQUOTE] = ACTIONS(236),
    [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(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_RBRACK] = ACTIONS(242),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(40)] = {
    [sym_comment] = STATE(40),
    [aux_sym_qualified_name_repeat1] = STATE(50),
    [sym_bare_identifier] = ACTIONS(186),
    [anon_sym_COMMA] = ACTIONS(184),
    [anon_sym_STAR] = ACTIONS(184),
    [anon_sym_DOT] = ACTIONS(246),
    [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(41)] = {
    [sym_comment] = STATE(41),
    [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_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(248),
    [sym_bare_identifier] = ACTIONS(250),
    [anon_sym_SEMI] = ACTIONS(248),
    [anon_sym_COMMA] = ACTIONS(248),
    [anon_sym_STAR] = ACTIONS(248),
    [anon_sym_DOT] = ACTIONS(250),
    [anon_sym_EQ] = ACTIONS(248),
    [anon_sym_LT] = ACTIONS(248),
    [anon_sym_GT] = ACTIONS(248),
    [anon_sym_BANG] = ACTIONS(248),
    [anon_sym_PLUS] = ACTIONS(248),
    [anon_sym_DASH] = ACTIONS(250),
    [anon_sym_SLASH] = ACTIONS(250),
    [anon_sym_PERCENT] = ACTIONS(248),
    [anon_sym_PIPE] = ACTIONS(248),
    [anon_sym_AMP] = ACTIONS(248),
    [anon_sym_CARET] = ACTIONS(248),
    [anon_sym_TILDE] = ACTIONS(248),
    [anon_sym_COLON_COLON] = ACTIONS(248),
    [anon_sym_LPAREN] = ACTIONS(248),
    [aux_sym_cast_expression_token1] = ACTIONS(250),
    [aux_sym_cast_expression_token2] = ACTIONS(250),
    [aux_sym_sql_keyword_token1] = ACTIONS(250),
    [aux_sym_sql_keyword_token2] = ACTIONS(250),
    [aux_sym_sql_keyword_token3] = ACTIONS(250),
    [aux_sym_sql_keyword_token4] = ACTIONS(250),
    [aux_sym_sql_keyword_token5] = ACTIONS(250),
    [aux_sym_sql_keyword_token6] = ACTIONS(250),
    [aux_sym_sql_keyword_token7] = ACTIONS(250),
    [aux_sym_sql_keyword_token8] = ACTIONS(250),
    [aux_sym_sql_keyword_token9] = ACTIONS(250),
    [aux_sym_sql_keyword_token10] = ACTIONS(250),
    [aux_sym_sql_keyword_token11] = ACTIONS(250),
    [aux_sym_sql_keyword_token12] = ACTIONS(250),
    [aux_sym_sql_keyword_token13] = ACTIONS(250),
    [aux_sym_sql_keyword_token14] = ACTIONS(250),
    [aux_sym_sql_keyword_token15] = ACTIONS(250),
    [aux_sym_sql_keyword_token16] = ACTIONS(250),
    [aux_sym_sql_keyword_token17] = ACTIONS(250),
    [aux_sym_sql_keyword_token18] = ACTIONS(250),
    [aux_sym_sql_keyword_token19] = ACTIONS(250),
    [aux_sym_sql_keyword_token20] = ACTIONS(250),
    [aux_sym_sql_keyword_token21] = ACTIONS(250),
    [aux_sym_sql_keyword_token22] = ACTIONS(250),
    [aux_sym_sql_keyword_token23] = ACTIONS(250),
    [aux_sym_sql_keyword_token24] = ACTIONS(250),
    [aux_sym_sql_keyword_token25] = ACTIONS(250),
    [aux_sym_sql_keyword_token26] = ACTIONS(250),
    [aux_sym_sql_keyword_token27] = ACTIONS(250),
    [aux_sym_sql_keyword_token28] = ACTIONS(250),
    [aux_sym_sql_keyword_token29] = ACTIONS(250),
    [aux_sym_sql_keyword_token30] = ACTIONS(250),
    [aux_sym_sql_keyword_token31] = ACTIONS(250),
    [aux_sym_sql_keyword_token32] = ACTIONS(250),
    [aux_sym_sql_keyword_token33] = ACTIONS(250),
    [aux_sym_sql_keyword_token34] = ACTIONS(250),
    [aux_sym_sql_keyword_token35] = ACTIONS(250),
    [aux_sym_sql_keyword_token36] = ACTIONS(250),
    [aux_sym_sql_keyword_token37] = ACTIONS(250),
    [aux_sym_sql_keyword_token38] = ACTIONS(250),
    [aux_sym_sql_keyword_token39] = ACTIONS(250),
    [aux_sym_sql_keyword_token40] = ACTIONS(250),
    [aux_sym_sql_keyword_token41] = ACTIONS(250),
    [aux_sym_sql_keyword_token42] = ACTIONS(250),
    [aux_sym_sql_keyword_token43] = ACTIONS(250),
    [aux_sym_sql_keyword_token44] = ACTIONS(250),
    [aux_sym_sql_keyword_token45] = ACTIONS(250),
    [aux_sym_sql_keyword_token46] = ACTIONS(250),
    [aux_sym_sql_keyword_token47] = ACTIONS(250),
    [aux_sym_sql_keyword_token48] = ACTIONS(250),
    [aux_sym_sql_keyword_token49] = ACTIONS(250),
    [aux_sym_sql_keyword_token50] = ACTIONS(250),
    [sym_visualise_keyword] = ACTIONS(248),
    [sym_quoted_identifier] = ACTIONS(248),
    [sym_number] = ACTIONS(248),
    [anon_sym_SQUOTE] = ACTIONS(248),
    [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(252),
    [sym_bare_identifier] = ACTIONS(254),
    [anon_sym_SEMI] = ACTIONS(252),
    [anon_sym_COMMA] = ACTIONS(252),
    [anon_sym_STAR] = ACTIONS(252),
    [anon_sym_DOT] = ACTIONS(254),
    [anon_sym_EQ] = ACTIONS(252),
    [anon_sym_LT] = ACTIONS(252),
    [anon_sym_GT] = ACTIONS(252),
    [anon_sym_BANG] = ACTIONS(252),
    [anon_sym_PLUS] = ACTIONS(252),
    [anon_sym_DASH] = ACTIONS(254),
    [anon_sym_SLASH] = ACTIONS(254),
    [anon_sym_PERCENT] = ACTIONS(252),
    [anon_sym_PIPE] = ACTIONS(252),
    [anon_sym_AMP] = ACTIONS(252),
    [anon_sym_CARET] = ACTIONS(252),
    [anon_sym_TILDE] = ACTIONS(252),
    [anon_sym_COLON_COLON] = ACTIONS(252),
    [anon_sym_LPAREN] = ACTIONS(256),
    [aux_sym_cast_expression_token1] = ACTIONS(254),
    [aux_sym_cast_expression_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token1] = ACTIONS(254),
    [aux_sym_sql_keyword_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token3] = ACTIONS(254),
    [aux_sym_sql_keyword_token4] = ACTIONS(254),
    [aux_sym_sql_keyword_token5] = ACTIONS(254),
    [aux_sym_sql_keyword_token6] = ACTIONS(254),
    [aux_sym_sql_keyword_token7] = ACTIONS(254),
    [aux_sym_sql_keyword_token8] = ACTIONS(254),
    [aux_sym_sql_keyword_token9] = ACTIONS(254),
    [aux_sym_sql_keyword_token10] = ACTIONS(254),
    [aux_sym_sql_keyword_token11] = ACTIONS(254),
    [aux_sym_sql_keyword_token12] = ACTIONS(254),
    [aux_sym_sql_keyword_token13] = ACTIONS(254),
    [aux_sym_sql_keyword_token14] = ACTIONS(254),
    [aux_sym_sql_keyword_token15] = ACTIONS(254),
    [aux_sym_sql_keyword_token16] = ACTIONS(254),
    [aux_sym_sql_keyword_token17] = ACTIONS(254),
    [aux_sym_sql_keyword_token18] = ACTIONS(254),
    [aux_sym_sql_keyword_token19] = ACTIONS(254),
    [aux_sym_sql_keyword_token20] = ACTIONS(254),
    [aux_sym_sql_keyword_token21] = ACTIONS(254),
    [aux_sym_sql_keyword_token22] = ACTIONS(254),
    [aux_sym_sql_keyword_token23] = ACTIONS(254),
    [aux_sym_sql_keyword_token24] = ACTIONS(254),
    [aux_sym_sql_keyword_token25] = ACTIONS(254),
    [aux_sym_sql_keyword_token26] = ACTIONS(254),
    [aux_sym_sql_keyword_token27] = ACTIONS(254),
    [aux_sym_sql_keyword_token28] = ACTIONS(254),
    [aux_sym_sql_keyword_token29] = ACTIONS(254),
    [aux_sym_sql_keyword_token30] = ACTIONS(254),
    [aux_sym_sql_keyword_token31] = ACTIONS(254),
    [aux_sym_sql_keyword_token32] = ACTIONS(254),
    [aux_sym_sql_keyword_token33] = ACTIONS(254),
    [aux_sym_sql_keyword_token34] = ACTIONS(254),
    [aux_sym_sql_keyword_token35] = ACTIONS(254),
    [aux_sym_sql_keyword_token36] = ACTIONS(254),
    [aux_sym_sql_keyword_token37] = ACTIONS(254),
    [aux_sym_sql_keyword_token38] = ACTIONS(254),
    [aux_sym_sql_keyword_token39] = ACTIONS(254),
    [aux_sym_sql_keyword_token40] = ACTIONS(254),
    [aux_sym_sql_keyword_token41] = ACTIONS(254),
    [aux_sym_sql_keyword_token42] = ACTIONS(254),
    [aux_sym_sql_keyword_token43] = ACTIONS(254),
    [aux_sym_sql_keyword_token44] = ACTIONS(254),
    [aux_sym_sql_keyword_token45] = ACTIONS(254),
    [aux_sym_sql_keyword_token46] = ACTIONS(254),
    [aux_sym_sql_keyword_token47] = ACTIONS(254),
    [aux_sym_sql_keyword_token48] = ACTIONS(254),
    [aux_sym_sql_keyword_token49] = ACTIONS(254),
    [aux_sym_sql_keyword_token50] = ACTIONS(254),
    [sym_visualise_keyword] = ACTIONS(252),
    [sym_quoted_identifier] = ACTIONS(252),
    [sym_number] = ACTIONS(252),
    [anon_sym_SQUOTE] = ACTIONS(252),
    [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(232),
    [sym_bare_identifier] = ACTIONS(234),
    [anon_sym_SEMI] = ACTIONS(232),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(232),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(232),
    [anon_sym_LT] = ACTIONS(232),
    [anon_sym_GT] = ACTIONS(232),
    [anon_sym_BANG] = ACTIONS(232),
    [anon_sym_PLUS] = ACTIONS(232),
    [anon_sym_DASH] = ACTIONS(234),
    [anon_sym_SLASH] = ACTIONS(234),
    [anon_sym_PERCENT] = ACTIONS(232),
    [anon_sym_PIPE] = ACTIONS(232),
    [anon_sym_AMP] = ACTIONS(232),
    [anon_sym_CARET] = ACTIONS(232),
    [anon_sym_TILDE] = ACTIONS(232),
    [anon_sym_COLON_COLON] = ACTIONS(232),
    [anon_sym_LPAREN] = ACTIONS(232),
    [aux_sym_cast_expression_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_visualise_keyword] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(232),
    [sym_number] = ACTIONS(232),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(252),
    [sym_bare_identifier] = ACTIONS(254),
    [anon_sym_SEMI] = ACTIONS(252),
    [anon_sym_COMMA] = ACTIONS(252),
    [anon_sym_STAR] = ACTIONS(252),
    [anon_sym_DOT] = ACTIONS(254),
    [anon_sym_EQ] = ACTIONS(252),
    [anon_sym_LT] = ACTIONS(252),
    [anon_sym_GT] = ACTIONS(252),
    [anon_sym_BANG] = ACTIONS(252),
    [anon_sym_PLUS] = ACTIONS(252),
    [anon_sym_DASH] = ACTIONS(254),
    [anon_sym_SLASH] = ACTIONS(254),
    [anon_sym_PERCENT] = ACTIONS(252),
    [anon_sym_PIPE] = ACTIONS(252),
    [anon_sym_AMP] = ACTIONS(252),
    [anon_sym_CARET] = ACTIONS(252),
    [anon_sym_TILDE] = ACTIONS(252),
    [anon_sym_COLON_COLON] = ACTIONS(252),
    [anon_sym_LPAREN] = ACTIONS(252),
    [aux_sym_cast_expression_token1] = ACTIONS(254),
    [aux_sym_cast_expression_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token1] = ACTIONS(254),
    [aux_sym_sql_keyword_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token3] = ACTIONS(254),
    [aux_sym_sql_keyword_token4] = ACTIONS(254),
    [aux_sym_sql_keyword_token5] = ACTIONS(254),
    [aux_sym_sql_keyword_token6] = ACTIONS(254),
    [aux_sym_sql_keyword_token7] = ACTIONS(254),
    [aux_sym_sql_keyword_token8] = ACTIONS(254),
    [aux_sym_sql_keyword_token9] = ACTIONS(254),
    [aux_sym_sql_keyword_token10] = ACTIONS(254),
    [aux_sym_sql_keyword_token11] = ACTIONS(254),
    [aux_sym_sql_keyword_token12] = ACTIONS(254),
    [aux_sym_sql_keyword_token13] = ACTIONS(254),
    [aux_sym_sql_keyword_token14] = ACTIONS(254),
    [aux_sym_sql_keyword_token15] = ACTIONS(254),
    [aux_sym_sql_keyword_token16] = ACTIONS(254),
    [aux_sym_sql_keyword_token17] = ACTIONS(254),
    [aux_sym_sql_keyword_token18] = ACTIONS(254),
    [aux_sym_sql_keyword_token19] = ACTIONS(254),
    [aux_sym_sql_keyword_token20] = ACTIONS(254),
    [aux_sym_sql_keyword_token21] = ACTIONS(254),
    [aux_sym_sql_keyword_token22] = ACTIONS(254),
    [aux_sym_sql_keyword_token23] = ACTIONS(254),
    [aux_sym_sql_keyword_token24] = ACTIONS(254),
    [aux_sym_sql_keyword_token25] = ACTIONS(254),
    [aux_sym_sql_keyword_token26] = ACTIONS(254),
    [aux_sym_sql_keyword_token27] = ACTIONS(254),
    [aux_sym_sql_keyword_token28] = ACTIONS(254),
    [aux_sym_sql_keyword_token29] = ACTIONS(254),
    [aux_sym_sql_keyword_token30] = ACTIONS(254),
    [aux_sym_sql_keyword_token31] = ACTIONS(254),
    [aux_sym_sql_keyword_token32] = ACTIONS(254),
    [aux_sym_sql_keyword_token33] = ACTIONS(254),
    [aux_sym_sql_keyword_token34] = ACTIONS(254),
    [aux_sym_sql_keyword_token35] = ACTIONS(254),
    [aux_sym_sql_keyword_token36] = ACTIONS(254),
    [aux_sym_sql_keyword_token37] = ACTIONS(254),
    [aux_sym_sql_keyword_token38] = ACTIONS(254),
    [aux_sym_sql_keyword_token39] = ACTIONS(254),
    [aux_sym_sql_keyword_token40] = ACTIONS(254),
    [aux_sym_sql_keyword_token41] = ACTIONS(254),
    [aux_sym_sql_keyword_token42] = ACTIONS(254),
    [aux_sym_sql_keyword_token43] = ACTIONS(254),
    [aux_sym_sql_keyword_token44] = ACTIONS(254),
    [aux_sym_sql_keyword_token45] = ACTIONS(254),
    [aux_sym_sql_keyword_token46] = ACTIONS(254),
    [aux_sym_sql_keyword_token47] = ACTIONS(254),
    [aux_sym_sql_keyword_token48] = ACTIONS(254),
    [aux_sym_sql_keyword_token49] = ACTIONS(254),
    [aux_sym_sql_keyword_token50] = ACTIONS(254),
    [sym_visualise_keyword] = ACTIONS(252),
    [sym_quoted_identifier] = ACTIONS(252),
    [sym_number] = ACTIONS(252),
    [anon_sym_SQUOTE] = ACTIONS(252),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(46)] = {
    [sym_identifier] = STATE(93),
    [sym_comment] = STATE(46),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(190),
    [anon_sym_STAR] = ACTIONS(190),
    [anon_sym_DOT] = ACTIONS(192),
    [anon_sym_EQ] = ACTIONS(190),
    [anon_sym_LT] = ACTIONS(190),
    [anon_sym_GT] = ACTIONS(190),
    [anon_sym_BANG] = ACTIONS(190),
    [anon_sym_PLUS] = ACTIONS(190),
    [anon_sym_DASH] = ACTIONS(192),
    [anon_sym_SLASH] = ACTIONS(192),
    [anon_sym_PERCENT] = ACTIONS(190),
    [anon_sym_PIPE] = ACTIONS(190),
    [anon_sym_AMP] = ACTIONS(190),
    [anon_sym_CARET] = ACTIONS(190),
    [anon_sym_TILDE] = ACTIONS(190),
    [anon_sym_COLON_COLON] = ACTIONS(190),
    [anon_sym_LPAREN] = ACTIONS(190),
    [anon_sym_RPAREN] = ACTIONS(190),
    [aux_sym_cte_definition_token1] = ACTIONS(258),
    [aux_sym_cast_expression_token1] = ACTIONS(192),
    [aux_sym_cast_expression_token2] = ACTIONS(192),
    [aux_sym_sql_keyword_token1] = ACTIONS(192),
    [aux_sym_sql_keyword_token2] = ACTIONS(192),
    [aux_sym_sql_keyword_token3] = ACTIONS(192),
    [aux_sym_sql_keyword_token4] = ACTIONS(192),
    [aux_sym_sql_keyword_token5] = ACTIONS(192),
    [aux_sym_sql_keyword_token6] = ACTIONS(192),
    [aux_sym_sql_keyword_token7] = ACTIONS(192),
    [aux_sym_sql_keyword_token8] = ACTIONS(192),
    [aux_sym_sql_keyword_token9] = ACTIONS(192),
    [aux_sym_sql_keyword_token10] = ACTIONS(192),
    [aux_sym_sql_keyword_token11] = ACTIONS(192),
    [aux_sym_sql_keyword_token12] = ACTIONS(192),
    [aux_sym_sql_keyword_token13] = ACTIONS(192),
    [aux_sym_sql_keyword_token14] = ACTIONS(192),
    [aux_sym_sql_keyword_token15] = ACTIONS(192),
    [aux_sym_sql_keyword_token16] = ACTIONS(192),
    [aux_sym_sql_keyword_token17] = ACTIONS(192),
    [aux_sym_sql_keyword_token18] = ACTIONS(192),
    [aux_sym_sql_keyword_token19] = ACTIONS(192),
    [aux_sym_sql_keyword_token20] = ACTIONS(192),
    [aux_sym_sql_keyword_token21] = ACTIONS(192),
    [aux_sym_sql_keyword_token22] = ACTIONS(192),
    [aux_sym_sql_keyword_token23] = ACTIONS(192),
    [aux_sym_sql_keyword_token24] = ACTIONS(192),
    [aux_sym_sql_keyword_token25] = ACTIONS(192),
    [aux_sym_sql_keyword_token26] = ACTIONS(192),
    [aux_sym_sql_keyword_token27] = ACTIONS(192),
    [aux_sym_sql_keyword_token28] = ACTIONS(192),
    [aux_sym_sql_keyword_token29] = ACTIONS(192),
    [aux_sym_sql_keyword_token30] = ACTIONS(192),
    [aux_sym_sql_keyword_token31] = ACTIONS(192),
    [aux_sym_sql_keyword_token32] = ACTIONS(192),
    [aux_sym_sql_keyword_token33] = ACTIONS(192),
    [aux_sym_sql_keyword_token34] = ACTIONS(192),
    [aux_sym_sql_keyword_token35] = ACTIONS(192),
    [aux_sym_sql_keyword_token36] = ACTIONS(192),
    [aux_sym_sql_keyword_token37] = ACTIONS(192),
    [aux_sym_sql_keyword_token38] = ACTIONS(192),
    [aux_sym_sql_keyword_token39] = ACTIONS(192),
    [aux_sym_sql_keyword_token40] = ACTIONS(192),
    [aux_sym_sql_keyword_token41] = ACTIONS(192),
    [aux_sym_sql_keyword_token42] = ACTIONS(192),
    [aux_sym_sql_keyword_token43] = ACTIONS(192),
    [aux_sym_sql_keyword_token44] = ACTIONS(192),
    [aux_sym_sql_keyword_token45] = ACTIONS(192),
    [aux_sym_sql_keyword_token46] = ACTIONS(192),
    [aux_sym_sql_keyword_token47] = ACTIONS(192),
    [aux_sym_sql_keyword_token48] = ACTIONS(192),
    [aux_sym_sql_keyword_token49] = ACTIONS(192),
    [aux_sym_sql_keyword_token50] = ACTIONS(192),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(190),
    [anon_sym_SQUOTE] = ACTIONS(190),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(47)] = {
    [sym_identifier] = STATE(75),
    [sym_comment] = STATE(47),
    [sym_bare_identifier] = ACTIONS(114),
    [anon_sym_COMMA] = ACTIONS(203),
    [anon_sym_STAR] = ACTIONS(203),
    [anon_sym_DOT] = ACTIONS(205),
    [anon_sym_EQ] = ACTIONS(203),
    [anon_sym_LT] = ACTIONS(203),
    [anon_sym_GT] = ACTIONS(203),
    [anon_sym_BANG] = ACTIONS(203),
    [anon_sym_PLUS] = ACTIONS(203),
    [anon_sym_DASH] = ACTIONS(205),
    [anon_sym_SLASH] = ACTIONS(205),
    [anon_sym_PERCENT] = ACTIONS(203),
    [anon_sym_PIPE] = ACTIONS(203),
    [anon_sym_AMP] = ACTIONS(203),
    [anon_sym_CARET] = ACTIONS(203),
    [anon_sym_TILDE] = ACTIONS(203),
    [anon_sym_COLON_COLON] = ACTIONS(203),
    [anon_sym_LPAREN] = ACTIONS(203),
    [anon_sym_RPAREN] = ACTIONS(203),
    [aux_sym_cte_definition_token1] = ACTIONS(260),
    [aux_sym_cast_expression_token1] = ACTIONS(205),
    [aux_sym_cast_expression_token2] = ACTIONS(205),
    [aux_sym_sql_keyword_token1] = ACTIONS(205),
    [aux_sym_sql_keyword_token2] = ACTIONS(205),
    [aux_sym_sql_keyword_token3] = ACTIONS(205),
    [aux_sym_sql_keyword_token4] = ACTIONS(205),
    [aux_sym_sql_keyword_token5] = ACTIONS(205),
    [aux_sym_sql_keyword_token6] = ACTIONS(205),
    [aux_sym_sql_keyword_token7] = ACTIONS(205),
    [aux_sym_sql_keyword_token8] = ACTIONS(205),
    [aux_sym_sql_keyword_token9] = ACTIONS(205),
    [aux_sym_sql_keyword_token10] = ACTIONS(205),
    [aux_sym_sql_keyword_token11] = ACTIONS(205),
    [aux_sym_sql_keyword_token12] = ACTIONS(205),
    [aux_sym_sql_keyword_token13] = ACTIONS(205),
    [aux_sym_sql_keyword_token14] = ACTIONS(205),
    [aux_sym_sql_keyword_token15] = ACTIONS(205),
    [aux_sym_sql_keyword_token16] = ACTIONS(205),
    [aux_sym_sql_keyword_token17] = ACTIONS(205),
    [aux_sym_sql_keyword_token18] = ACTIONS(205),
    [aux_sym_sql_keyword_token19] = ACTIONS(205),
    [aux_sym_sql_keyword_token20] = ACTIONS(205),
    [aux_sym_sql_keyword_token21] = ACTIONS(205),
    [aux_sym_sql_keyword_token22] = ACTIONS(205),
    [aux_sym_sql_keyword_token23] = ACTIONS(205),
    [aux_sym_sql_keyword_token24] = ACTIONS(205),
    [aux_sym_sql_keyword_token25] = ACTIONS(205),
    [aux_sym_sql_keyword_token26] = ACTIONS(205),
    [aux_sym_sql_keyword_token27] = ACTIONS(205),
    [aux_sym_sql_keyword_token28] = ACTIONS(205),
    [aux_sym_sql_keyword_token29] = ACTIONS(205),
    [aux_sym_sql_keyword_token30] = ACTIONS(205),
    [aux_sym_sql_keyword_token31] = ACTIONS(205),
    [aux_sym_sql_keyword_token32] = ACTIONS(205),
    [aux_sym_sql_keyword_token33] = ACTIONS(205),
    [aux_sym_sql_keyword_token34] = ACTIONS(205),
    [aux_sym_sql_keyword_token35] = ACTIONS(205),
    [aux_sym_sql_keyword_token36] = ACTIONS(205),
    [aux_sym_sql_keyword_token37] = ACTIONS(205),
    [aux_sym_sql_keyword_token38] = ACTIONS(205),
    [aux_sym_sql_keyword_token39] = ACTIONS(205),
    [aux_sym_sql_keyword_token40] = ACTIONS(205),
    [aux_sym_sql_keyword_token41] = ACTIONS(205),
    [aux_sym_sql_keyword_token42] = ACTIONS(205),
    [aux_sym_sql_keyword_token43] = ACTIONS(205),
    [aux_sym_sql_keyword_token44] = ACTIONS(205),
    [aux_sym_sql_keyword_token45] = ACTIONS(205),
    [aux_sym_sql_keyword_token46] = ACTIONS(205),
    [aux_sym_sql_keyword_token47] = ACTIONS(205),
    [aux_sym_sql_keyword_token48] = ACTIONS(205),
    [aux_sym_sql_keyword_token49] = ACTIONS(205),
    [aux_sym_sql_keyword_token50] = ACTIONS(205),
    [sym_quoted_identifier] = ACTIONS(128),
    [sym_number] = ACTIONS(203),
    [anon_sym_SQUOTE] = ACTIONS(203),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(48)] = {
    [sym_comment] = STATE(48),
    [aux_sym_qualified_name_repeat1] = STATE(40),
    [sym_bare_identifier] = ACTIONS(215),
    [anon_sym_COMMA] = ACTIONS(213),
    [anon_sym_STAR] = ACTIONS(213),
    [anon_sym_DOT] = ACTIONS(246),
    [anon_sym_EQ] = ACTIONS(213),
    [anon_sym_LT] = ACTIONS(213),
    [anon_sym_GT] = ACTIONS(213),
    [anon_sym_BANG] = ACTIONS(213),
    [anon_sym_PLUS] = ACTIONS(213),
    [anon_sym_DASH] = ACTIONS(215),
    [anon_sym_SLASH] = ACTIONS(215),
    [anon_sym_PERCENT] = ACTIONS(213),
    [anon_sym_PIPE] = ACTIONS(213),
    [anon_sym_AMP] = ACTIONS(213),
    [anon_sym_CARET] = ACTIONS(213),
    [anon_sym_TILDE] = ACTIONS(213),
    [anon_sym_COLON_COLON] = ACTIONS(213),
    [anon_sym_LPAREN] = ACTIONS(213),
    [anon_sym_RPAREN] = ACTIONS(213),
    [aux_sym_cte_definition_token1] = ACTIONS(215),
    [aux_sym_cast_expression_token1] = ACTIONS(215),
    [aux_sym_cast_expression_token2] = ACTIONS(215),
    [aux_sym_sql_keyword_token1] = ACTIONS(215),
    [aux_sym_sql_keyword_token2] = ACTIONS(215),
    [aux_sym_sql_keyword_token3] = ACTIONS(215),
    [aux_sym_sql_keyword_token4] = ACTIONS(215),
    [aux_sym_sql_keyword_token5] = ACTIONS(215),
    [aux_sym_sql_keyword_token6] = ACTIONS(215),
    [aux_sym_sql_keyword_token7] = ACTIONS(215),
    [aux_sym_sql_keyword_token8] = ACTIONS(215),
    [aux_sym_sql_keyword_token9] = ACTIONS(215),
    [aux_sym_sql_keyword_token10] = ACTIONS(215),
    [aux_sym_sql_keyword_token11] = ACTIONS(215),
    [aux_sym_sql_keyword_token12] = ACTIONS(215),
    [aux_sym_sql_keyword_token13] = ACTIONS(215),
    [aux_sym_sql_keyword_token14] = ACTIONS(215),
    [aux_sym_sql_keyword_token15] = ACTIONS(215),
    [aux_sym_sql_keyword_token16] = ACTIONS(215),
    [aux_sym_sql_keyword_token17] = ACTIONS(215),
    [aux_sym_sql_keyword_token18] = ACTIONS(215),
    [aux_sym_sql_keyword_token19] = ACTIONS(215),
    [aux_sym_sql_keyword_token20] = ACTIONS(215),
    [aux_sym_sql_keyword_token21] = ACTIONS(215),
    [aux_sym_sql_keyword_token22] = ACTIONS(215),
    [aux_sym_sql_keyword_token23] = ACTIONS(215),
    [aux_sym_sql_keyword_token24] = ACTIONS(215),
    [aux_sym_sql_keyword_token25] = ACTIONS(215),
    [aux_sym_sql_keyword_token26] = ACTIONS(215),
    [aux_sym_sql_keyword_token27] = ACTIONS(215),
    [aux_sym_sql_keyword_token28] = ACTIONS(215),
    [aux_sym_sql_keyword_token29] = ACTIONS(215),
    [aux_sym_sql_keyword_token30] = ACTIONS(215),
    [aux_sym_sql_keyword_token31] = ACTIONS(215),
    [aux_sym_sql_keyword_token32] = ACTIONS(215),
    [aux_sym_sql_keyword_token33] = ACTIONS(215),
    [aux_sym_sql_keyword_token34] = ACTIONS(215),
    [aux_sym_sql_keyword_token35] = ACTIONS(215),
    [aux_sym_sql_keyword_token36] = ACTIONS(215),
    [aux_sym_sql_keyword_token37] = ACTIONS(215),
    [aux_sym_sql_keyword_token38] = ACTIONS(215),
    [aux_sym_sql_keyword_token39] = ACTIONS(215),
    [aux_sym_sql_keyword_token40] = ACTIONS(215),
    [aux_sym_sql_keyword_token41] = ACTIONS(215),
    [aux_sym_sql_keyword_token42] = ACTIONS(215),
    [aux_sym_sql_keyword_token43] = ACTIONS(215),
    [aux_sym_sql_keyword_token44] = ACTIONS(215),
    [aux_sym_sql_keyword_token45] = ACTIONS(215),
    [aux_sym_sql_keyword_token46] = ACTIONS(215),
    [aux_sym_sql_keyword_token47] = ACTIONS(215),
    [aux_sym_sql_keyword_token48] = ACTIONS(215),
    [aux_sym_sql_keyword_token49] = ACTIONS(215),
    [aux_sym_sql_keyword_token50] = ACTIONS(215),
    [sym_quoted_identifier] = ACTIONS(213),
    [sym_number] = ACTIONS(213),
    [anon_sym_SQUOTE] = ACTIONS(213),
    [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(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(266),
    [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(50)] = {
    [sym_comment] = STATE(50),
    [aux_sym_qualified_name_repeat1] = STATE(50),
    [sym_bare_identifier] = ACTIONS(198),
    [anon_sym_COMMA] = ACTIONS(196),
    [anon_sym_STAR] = ACTIONS(196),
    [anon_sym_DOT] = ACTIONS(268),
    [anon_sym_EQ] = ACTIONS(196),
    [anon_sym_LT] = ACTIONS(196),
    [anon_sym_GT] = ACTIONS(196),
    [anon_sym_BANG] = ACTIONS(196),
    [anon_sym_PLUS] = ACTIONS(196),
    [anon_sym_DASH] = ACTIONS(198),
    [anon_sym_SLASH] = ACTIONS(198),
    [anon_sym_PERCENT] = ACTIONS(196),
    [anon_sym_PIPE] = ACTIONS(196),
    [anon_sym_AMP] = ACTIONS(196),
    [anon_sym_CARET] = ACTIONS(196),
    [anon_sym_TILDE] = ACTIONS(196),
    [anon_sym_COLON_COLON] = ACTIONS(196),
    [anon_sym_LPAREN] = ACTIONS(196),
    [anon_sym_RPAREN] = ACTIONS(196),
    [aux_sym_cte_definition_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token1] = ACTIONS(198),
    [aux_sym_sql_keyword_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token3] = ACTIONS(198),
    [aux_sym_sql_keyword_token4] = ACTIONS(198),
    [aux_sym_sql_keyword_token5] = ACTIONS(198),
    [aux_sym_sql_keyword_token6] = ACTIONS(198),
    [aux_sym_sql_keyword_token7] = ACTIONS(198),
    [aux_sym_sql_keyword_token8] = ACTIONS(198),
    [aux_sym_sql_keyword_token9] = ACTIONS(198),
    [aux_sym_sql_keyword_token10] = ACTIONS(198),
    [aux_sym_sql_keyword_token11] = ACTIONS(198),
    [aux_sym_sql_keyword_token12] = ACTIONS(198),
    [aux_sym_sql_keyword_token13] = ACTIONS(198),
    [aux_sym_sql_keyword_token14] = ACTIONS(198),
    [aux_sym_sql_keyword_token15] = ACTIONS(198),
    [aux_sym_sql_keyword_token16] = ACTIONS(198),
    [aux_sym_sql_keyword_token17] = ACTIONS(198),
    [aux_sym_sql_keyword_token18] = ACTIONS(198),
    [aux_sym_sql_keyword_token19] = ACTIONS(198),
    [aux_sym_sql_keyword_token20] = ACTIONS(198),
    [aux_sym_sql_keyword_token21] = ACTIONS(198),
    [aux_sym_sql_keyword_token22] = ACTIONS(198),
    [aux_sym_sql_keyword_token23] = ACTIONS(198),
    [aux_sym_sql_keyword_token24] = ACTIONS(198),
    [aux_sym_sql_keyword_token25] = ACTIONS(198),
    [aux_sym_sql_keyword_token26] = ACTIONS(198),
    [aux_sym_sql_keyword_token27] = ACTIONS(198),
    [aux_sym_sql_keyword_token28] = ACTIONS(198),
    [aux_sym_sql_keyword_token29] = ACTIONS(198),
    [aux_sym_sql_keyword_token30] = ACTIONS(198),
    [aux_sym_sql_keyword_token31] = ACTIONS(198),
    [aux_sym_sql_keyword_token32] = ACTIONS(198),
    [aux_sym_sql_keyword_token33] = ACTIONS(198),
    [aux_sym_sql_keyword_token34] = ACTIONS(198),
    [aux_sym_sql_keyword_token35] = ACTIONS(198),
    [aux_sym_sql_keyword_token36] = ACTIONS(198),
    [aux_sym_sql_keyword_token37] = ACTIONS(198),
    [aux_sym_sql_keyword_token38] = ACTIONS(198),
    [aux_sym_sql_keyword_token39] = ACTIONS(198),
    [aux_sym_sql_keyword_token40] = ACTIONS(198),
    [aux_sym_sql_keyword_token41] = ACTIONS(198),
    [aux_sym_sql_keyword_token42] = ACTIONS(198),
    [aux_sym_sql_keyword_token43] = ACTIONS(198),
    [aux_sym_sql_keyword_token44] = ACTIONS(198),
    [aux_sym_sql_keyword_token45] = ACTIONS(198),
    [aux_sym_sql_keyword_token46] = ACTIONS(198),
    [aux_sym_sql_keyword_token47] = ACTIONS(198),
    [aux_sym_sql_keyword_token48] = ACTIONS(198),
    [aux_sym_sql_keyword_token49] = ACTIONS(198),
    [aux_sym_sql_keyword_token50] = ACTIONS(198),
    [sym_quoted_identifier] = ACTIONS(196),
    [sym_number] = ACTIONS(196),
    [anon_sym_SQUOTE] = ACTIONS(196),
    [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(271),
    [sym_bare_identifier] = ACTIONS(273),
    [anon_sym_SEMI] = ACTIONS(271),
    [anon_sym_COMMA] = ACTIONS(271),
    [anon_sym_STAR] = ACTIONS(271),
    [anon_sym_DOT] = ACTIONS(273),
    [anon_sym_EQ] = ACTIONS(271),
    [anon_sym_LT] = ACTIONS(271),
    [anon_sym_GT] = ACTIONS(271),
    [anon_sym_BANG] = ACTIONS(271),
    [anon_sym_PLUS] = ACTIONS(271),
    [anon_sym_DASH] = ACTIONS(273),
    [anon_sym_SLASH] = ACTIONS(273),
    [anon_sym_PERCENT] = ACTIONS(271),
    [anon_sym_PIPE] = ACTIONS(271),
    [anon_sym_AMP] = ACTIONS(271),
    [anon_sym_CARET] = ACTIONS(271),
    [anon_sym_TILDE] = ACTIONS(271),
    [anon_sym_COLON_COLON] = ACTIONS(271),
    [anon_sym_LPAREN] = ACTIONS(271),
    [aux_sym_cast_expression_token1] = ACTIONS(273),
    [aux_sym_cast_expression_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token1] = ACTIONS(273),
    [aux_sym_sql_keyword_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token3] = ACTIONS(273),
    [aux_sym_sql_keyword_token4] = ACTIONS(273),
    [aux_sym_sql_keyword_token5] = ACTIONS(273),
    [aux_sym_sql_keyword_token6] = ACTIONS(273),
    [aux_sym_sql_keyword_token7] = ACTIONS(273),
    [aux_sym_sql_keyword_token8] = ACTIONS(273),
    [aux_sym_sql_keyword_token9] = ACTIONS(273),
    [aux_sym_sql_keyword_token10] = ACTIONS(273),
    [aux_sym_sql_keyword_token11] = ACTIONS(273),
    [aux_sym_sql_keyword_token12] = ACTIONS(273),
    [aux_sym_sql_keyword_token13] = ACTIONS(273),
    [aux_sym_sql_keyword_token14] = ACTIONS(273),
    [aux_sym_sql_keyword_token15] = ACTIONS(273),
    [aux_sym_sql_keyword_token16] = ACTIONS(273),
    [aux_sym_sql_keyword_token17] = ACTIONS(273),
    [aux_sym_sql_keyword_token18] = ACTIONS(273),
    [aux_sym_sql_keyword_token19] = ACTIONS(273),
    [aux_sym_sql_keyword_token20] = ACTIONS(273),
    [aux_sym_sql_keyword_token21] = ACTIONS(273),
    [aux_sym_sql_keyword_token22] = ACTIONS(273),
    [aux_sym_sql_keyword_token23] = ACTIONS(273),
    [aux_sym_sql_keyword_token24] = ACTIONS(273),
    [aux_sym_sql_keyword_token25] = ACTIONS(273),
    [aux_sym_sql_keyword_token26] = ACTIONS(273),
    [aux_sym_sql_keyword_token27] = ACTIONS(273),
    [aux_sym_sql_keyword_token28] = ACTIONS(273),
    [aux_sym_sql_keyword_token29] = ACTIONS(273),
    [aux_sym_sql_keyword_token30] = ACTIONS(273),
    [aux_sym_sql_keyword_token31] = ACTIONS(273),
    [aux_sym_sql_keyword_token32] = ACTIONS(273),
    [aux_sym_sql_keyword_token33] = ACTIONS(273),
    [aux_sym_sql_keyword_token34] = ACTIONS(273),
    [aux_sym_sql_keyword_token35] = ACTIONS(273),
    [aux_sym_sql_keyword_token36] = ACTIONS(273),
    [aux_sym_sql_keyword_token37] = ACTIONS(273),
    [aux_sym_sql_keyword_token38] = ACTIONS(273),
    [aux_sym_sql_keyword_token39] = ACTIONS(273),
    [aux_sym_sql_keyword_token40] = ACTIONS(273),
    [aux_sym_sql_keyword_token41] = ACTIONS(273),
    [aux_sym_sql_keyword_token42] = ACTIONS(273),
    [aux_sym_sql_keyword_token43] = ACTIONS(273),
    [aux_sym_sql_keyword_token44] = ACTIONS(273),
    [aux_sym_sql_keyword_token45] = ACTIONS(273),
    [aux_sym_sql_keyword_token46] = ACTIONS(273),
    [aux_sym_sql_keyword_token47] = ACTIONS(273),
    [aux_sym_sql_keyword_token48] = ACTIONS(273),
    [aux_sym_sql_keyword_token49] = ACTIONS(273),
    [aux_sym_sql_keyword_token50] = ACTIONS(273),
    [sym_visualise_keyword] = ACTIONS(271),
    [sym_quoted_identifier] = ACTIONS(271),
    [sym_number] = ACTIONS(271),
    [anon_sym_SQUOTE] = ACTIONS(271),
    [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(275),
    [sym_bare_identifier] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(275),
    [anon_sym_COMMA] = ACTIONS(275),
    [anon_sym_STAR] = ACTIONS(275),
    [anon_sym_DOT] = ACTIONS(277),
    [anon_sym_EQ] = ACTIONS(275),
    [anon_sym_LT] = ACTIONS(275),
    [anon_sym_GT] = ACTIONS(275),
    [anon_sym_BANG] = ACTIONS(275),
    [anon_sym_PLUS] = ACTIONS(275),
    [anon_sym_DASH] = ACTIONS(277),
    [anon_sym_SLASH] = ACTIONS(277),
    [anon_sym_PERCENT] = ACTIONS(275),
    [anon_sym_PIPE] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(275),
    [anon_sym_CARET] = ACTIONS(275),
    [anon_sym_TILDE] = ACTIONS(275),
    [anon_sym_COLON_COLON] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(275),
    [aux_sym_cast_expression_token1] = ACTIONS(277),
    [aux_sym_cast_expression_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token1] = ACTIONS(277),
    [aux_sym_sql_keyword_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token3] = ACTIONS(277),
    [aux_sym_sql_keyword_token4] = ACTIONS(277),
    [aux_sym_sql_keyword_token5] = ACTIONS(277),
    [aux_sym_sql_keyword_token6] = ACTIONS(277),
    [aux_sym_sql_keyword_token7] = ACTIONS(277),
    [aux_sym_sql_keyword_token8] = ACTIONS(277),
    [aux_sym_sql_keyword_token9] = ACTIONS(277),
    [aux_sym_sql_keyword_token10] = ACTIONS(277),
    [aux_sym_sql_keyword_token11] = ACTIONS(277),
    [aux_sym_sql_keyword_token12] = ACTIONS(277),
    [aux_sym_sql_keyword_token13] = ACTIONS(277),
    [aux_sym_sql_keyword_token14] = ACTIONS(277),
    [aux_sym_sql_keyword_token15] = ACTIONS(277),
    [aux_sym_sql_keyword_token16] = ACTIONS(277),
    [aux_sym_sql_keyword_token17] = ACTIONS(277),
    [aux_sym_sql_keyword_token18] = ACTIONS(277),
    [aux_sym_sql_keyword_token19] = ACTIONS(277),
    [aux_sym_sql_keyword_token20] = ACTIONS(277),
    [aux_sym_sql_keyword_token21] = ACTIONS(277),
    [aux_sym_sql_keyword_token22] = ACTIONS(277),
    [aux_sym_sql_keyword_token23] = ACTIONS(277),
    [aux_sym_sql_keyword_token24] = ACTIONS(277),
    [aux_sym_sql_keyword_token25] = ACTIONS(277),
    [aux_sym_sql_keyword_token26] = ACTIONS(277),
    [aux_sym_sql_keyword_token27] = ACTIONS(277),
    [aux_sym_sql_keyword_token28] = ACTIONS(277),
    [aux_sym_sql_keyword_token29] = ACTIONS(277),
    [aux_sym_sql_keyword_token30] = ACTIONS(277),
    [aux_sym_sql_keyword_token31] = ACTIONS(277),
    [aux_sym_sql_keyword_token32] = ACTIONS(277),
    [aux_sym_sql_keyword_token33] = ACTIONS(277),
    [aux_sym_sql_keyword_token34] = ACTIONS(277),
    [aux_sym_sql_keyword_token35] = ACTIONS(277),
    [aux_sym_sql_keyword_token36] = ACTIONS(277),
    [aux_sym_sql_keyword_token37] = ACTIONS(277),
    [aux_sym_sql_keyword_token38] = ACTIONS(277),
    [aux_sym_sql_keyword_token39] = ACTIONS(277),
    [aux_sym_sql_keyword_token40] = ACTIONS(277),
    [aux_sym_sql_keyword_token41] = ACTIONS(277),
    [aux_sym_sql_keyword_token42] = ACTIONS(277),
    [aux_sym_sql_keyword_token43] = ACTIONS(277),
    [aux_sym_sql_keyword_token44] = ACTIONS(277),
    [aux_sym_sql_keyword_token45] = ACTIONS(277),
    [aux_sym_sql_keyword_token46] = ACTIONS(277),
    [aux_sym_sql_keyword_token47] = ACTIONS(277),
    [aux_sym_sql_keyword_token48] = ACTIONS(277),
    [aux_sym_sql_keyword_token49] = ACTIONS(277),
    [aux_sym_sql_keyword_token50] = ACTIONS(277),
    [sym_visualise_keyword] = ACTIONS(275),
    [sym_quoted_identifier] = ACTIONS(275),
    [sym_number] = ACTIONS(275),
    [anon_sym_SQUOTE] = ACTIONS(275),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(53)] = {
    [sym_comment] = STATE(53),
    [ts_builtin_sym_end] = ACTIONS(279),
    [sym_bare_identifier] = ACTIONS(281),
    [anon_sym_SEMI] = ACTIONS(279),
    [anon_sym_COMMA] = ACTIONS(279),
    [anon_sym_STAR] = ACTIONS(279),
    [anon_sym_DOT] = ACTIONS(281),
    [anon_sym_EQ] = ACTIONS(279),
    [anon_sym_LT] = ACTIONS(279),
    [anon_sym_GT] = ACTIONS(279),
    [anon_sym_BANG] = ACTIONS(279),
    [anon_sym_PLUS] = ACTIONS(279),
    [anon_sym_DASH] = ACTIONS(281),
    [anon_sym_SLASH] = ACTIONS(281),
    [anon_sym_PERCENT] = ACTIONS(279),
    [anon_sym_PIPE] = ACTIONS(279),
    [anon_sym_AMP] = ACTIONS(279),
    [anon_sym_CARET] = ACTIONS(279),
    [anon_sym_TILDE] = ACTIONS(279),
    [anon_sym_COLON_COLON] = ACTIONS(279),
    [anon_sym_LPAREN] = ACTIONS(279),
    [aux_sym_cast_expression_token1] = ACTIONS(281),
    [aux_sym_cast_expression_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token1] = ACTIONS(281),
    [aux_sym_sql_keyword_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token3] = ACTIONS(281),
    [aux_sym_sql_keyword_token4] = ACTIONS(281),
    [aux_sym_sql_keyword_token5] = ACTIONS(281),
    [aux_sym_sql_keyword_token6] = ACTIONS(281),
    [aux_sym_sql_keyword_token7] = ACTIONS(281),
    [aux_sym_sql_keyword_token8] = ACTIONS(281),
    [aux_sym_sql_keyword_token9] = ACTIONS(281),
    [aux_sym_sql_keyword_token10] = ACTIONS(281),
    [aux_sym_sql_keyword_token11] = ACTIONS(281),
    [aux_sym_sql_keyword_token12] = ACTIONS(281),
    [aux_sym_sql_keyword_token13] = ACTIONS(281),
    [aux_sym_sql_keyword_token14] = ACTIONS(281),
    [aux_sym_sql_keyword_token15] = ACTIONS(281),
    [aux_sym_sql_keyword_token16] = ACTIONS(281),
    [aux_sym_sql_keyword_token17] = ACTIONS(281),
    [aux_sym_sql_keyword_token18] = ACTIONS(281),
    [aux_sym_sql_keyword_token19] = ACTIONS(281),
    [aux_sym_sql_keyword_token20] = ACTIONS(281),
    [aux_sym_sql_keyword_token21] = ACTIONS(281),
    [aux_sym_sql_keyword_token22] = ACTIONS(281),
    [aux_sym_sql_keyword_token23] = ACTIONS(281),
    [aux_sym_sql_keyword_token24] = ACTIONS(281),
    [aux_sym_sql_keyword_token25] = ACTIONS(281),
    [aux_sym_sql_keyword_token26] = ACTIONS(281),
    [aux_sym_sql_keyword_token27] = ACTIONS(281),
    [aux_sym_sql_keyword_token28] = ACTIONS(281),
    [aux_sym_sql_keyword_token29] = ACTIONS(281),
    [aux_sym_sql_keyword_token30] = ACTIONS(281),
    [aux_sym_sql_keyword_token31] = ACTIONS(281),
    [aux_sym_sql_keyword_token32] = ACTIONS(281),
    [aux_sym_sql_keyword_token33] = ACTIONS(281),
    [aux_sym_sql_keyword_token34] = ACTIONS(281),
    [aux_sym_sql_keyword_token35] = ACTIONS(281),
    [aux_sym_sql_keyword_token36] = ACTIONS(281),
    [aux_sym_sql_keyword_token37] = ACTIONS(281),
    [aux_sym_sql_keyword_token38] = ACTIONS(281),
    [aux_sym_sql_keyword_token39] = ACTIONS(281),
    [aux_sym_sql_keyword_token40] = ACTIONS(281),
    [aux_sym_sql_keyword_token41] = ACTIONS(281),
    [aux_sym_sql_keyword_token42] = ACTIONS(281),
    [aux_sym_sql_keyword_token43] = ACTIONS(281),
    [aux_sym_sql_keyword_token44] = ACTIONS(281),
    [aux_sym_sql_keyword_token45] = ACTIONS(281),
    [aux_sym_sql_keyword_token46] = ACTIONS(281),
    [aux_sym_sql_keyword_token47] = ACTIONS(281),
    [aux_sym_sql_keyword_token48] = ACTIONS(281),
    [aux_sym_sql_keyword_token49] = ACTIONS(281),
    [aux_sym_sql_keyword_token50] = ACTIONS(281),
    [sym_visualise_keyword] = ACTIONS(279),
    [sym_quoted_identifier] = ACTIONS(279),
    [sym_number] = ACTIONS(279),
    [anon_sym_SQUOTE] = ACTIONS(279),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(54)] = {
    [sym_comment] = STATE(54),
    [ts_builtin_sym_end] = ACTIONS(283),
    [sym_bare_identifier] = ACTIONS(285),
    [anon_sym_SEMI] = ACTIONS(283),
    [anon_sym_COMMA] = ACTIONS(283),
    [anon_sym_STAR] = ACTIONS(283),
    [anon_sym_DOT] = ACTIONS(285),
    [anon_sym_EQ] = ACTIONS(283),
    [anon_sym_LT] = ACTIONS(283),
    [anon_sym_GT] = ACTIONS(283),
    [anon_sym_BANG] = ACTIONS(283),
    [anon_sym_PLUS] = ACTIONS(283),
    [anon_sym_DASH] = ACTIONS(285),
    [anon_sym_SLASH] = ACTIONS(285),
    [anon_sym_PERCENT] = ACTIONS(283),
    [anon_sym_PIPE] = ACTIONS(283),
    [anon_sym_AMP] = ACTIONS(283),
    [anon_sym_CARET] = ACTIONS(283),
    [anon_sym_TILDE] = ACTIONS(283),
    [anon_sym_COLON_COLON] = ACTIONS(283),
    [anon_sym_LPAREN] = ACTIONS(283),
    [aux_sym_cast_expression_token1] = ACTIONS(285),
    [aux_sym_cast_expression_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token1] = ACTIONS(285),
    [aux_sym_sql_keyword_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token3] = ACTIONS(285),
    [aux_sym_sql_keyword_token4] = ACTIONS(285),
    [aux_sym_sql_keyword_token5] = ACTIONS(285),
    [aux_sym_sql_keyword_token6] = ACTIONS(285),
    [aux_sym_sql_keyword_token7] = ACTIONS(285),
    [aux_sym_sql_keyword_token8] = ACTIONS(285),
    [aux_sym_sql_keyword_token9] = ACTIONS(285),
    [aux_sym_sql_keyword_token10] = ACTIONS(285),
    [aux_sym_sql_keyword_token11] = ACTIONS(285),
    [aux_sym_sql_keyword_token12] = ACTIONS(285),
    [aux_sym_sql_keyword_token13] = ACTIONS(285),
    [aux_sym_sql_keyword_token14] = ACTIONS(285),
    [aux_sym_sql_keyword_token15] = ACTIONS(285),
    [aux_sym_sql_keyword_token16] = ACTIONS(285),
    [aux_sym_sql_keyword_token17] = ACTIONS(285),
    [aux_sym_sql_keyword_token18] = ACTIONS(285),
    [aux_sym_sql_keyword_token19] = ACTIONS(285),
    [aux_sym_sql_keyword_token20] = ACTIONS(285),
    [aux_sym_sql_keyword_token21] = ACTIONS(285),
    [aux_sym_sql_keyword_token22] = ACTIONS(285),
    [aux_sym_sql_keyword_token23] = ACTIONS(285),
    [aux_sym_sql_keyword_token24] = ACTIONS(285),
    [aux_sym_sql_keyword_token25] = ACTIONS(285),
    [aux_sym_sql_keyword_token26] = ACTIONS(285),
    [aux_sym_sql_keyword_token27] = ACTIONS(285),
    [aux_sym_sql_keyword_token28] = ACTIONS(285),
    [aux_sym_sql_keyword_token29] = ACTIONS(285),
    [aux_sym_sql_keyword_token30] = ACTIONS(285),
    [aux_sym_sql_keyword_token31] = ACTIONS(285),
    [aux_sym_sql_keyword_token32] = ACTIONS(285),
    [aux_sym_sql_keyword_token33] = ACTIONS(285),
    [aux_sym_sql_keyword_token34] = ACTIONS(285),
    [aux_sym_sql_keyword_token35] = ACTIONS(285),
    [aux_sym_sql_keyword_token36] = ACTIONS(285),
    [aux_sym_sql_keyword_token37] = ACTIONS(285),
    [aux_sym_sql_keyword_token38] = ACTIONS(285),
    [aux_sym_sql_keyword_token39] = ACTIONS(285),
    [aux_sym_sql_keyword_token40] = ACTIONS(285),
    [aux_sym_sql_keyword_token41] = ACTIONS(285),
    [aux_sym_sql_keyword_token42] = ACTIONS(285),
    [aux_sym_sql_keyword_token43] = ACTIONS(285),
    [aux_sym_sql_keyword_token44] = ACTIONS(285),
    [aux_sym_sql_keyword_token45] = ACTIONS(285),
    [aux_sym_sql_keyword_token46] = ACTIONS(285),
    [aux_sym_sql_keyword_token47] = ACTIONS(285),
    [aux_sym_sql_keyword_token48] = ACTIONS(285),
    [aux_sym_sql_keyword_token49] = ACTIONS(285),
    [aux_sym_sql_keyword_token50] = ACTIONS(285),
    [sym_visualise_keyword] = ACTIONS(283),
    [sym_quoted_identifier] = ACTIONS(283),
    [sym_number] = ACTIONS(283),
    [anon_sym_SQUOTE] = ACTIONS(283),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(55)] = {
    [sym_comment] = STATE(55),
    [ts_builtin_sym_end] = ACTIONS(287),
    [sym_bare_identifier] = ACTIONS(289),
    [anon_sym_SEMI] = ACTIONS(287),
    [anon_sym_COMMA] = ACTIONS(287),
    [anon_sym_STAR] = ACTIONS(287),
    [anon_sym_DOT] = ACTIONS(289),
    [anon_sym_EQ] = ACTIONS(287),
    [anon_sym_LT] = ACTIONS(287),
    [anon_sym_GT] = ACTIONS(287),
    [anon_sym_BANG] = ACTIONS(287),
    [anon_sym_PLUS] = ACTIONS(287),
    [anon_sym_DASH] = ACTIONS(289),
    [anon_sym_SLASH] = ACTIONS(289),
    [anon_sym_PERCENT] = ACTIONS(287),
    [anon_sym_PIPE] = ACTIONS(287),
    [anon_sym_AMP] = ACTIONS(287),
    [anon_sym_CARET] = ACTIONS(287),
    [anon_sym_TILDE] = ACTIONS(287),
    [anon_sym_COLON_COLON] = ACTIONS(287),
    [anon_sym_LPAREN] = ACTIONS(287),
    [aux_sym_cast_expression_token1] = ACTIONS(289),
    [aux_sym_cast_expression_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token1] = ACTIONS(289),
    [aux_sym_sql_keyword_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token3] = ACTIONS(289),
    [aux_sym_sql_keyword_token4] = ACTIONS(289),
    [aux_sym_sql_keyword_token5] = ACTIONS(289),
    [aux_sym_sql_keyword_token6] = ACTIONS(289),
    [aux_sym_sql_keyword_token7] = ACTIONS(289),
    [aux_sym_sql_keyword_token8] = ACTIONS(289),
    [aux_sym_sql_keyword_token9] = ACTIONS(289),
    [aux_sym_sql_keyword_token10] = ACTIONS(289),
    [aux_sym_sql_keyword_token11] = ACTIONS(289),
    [aux_sym_sql_keyword_token12] = ACTIONS(289),
    [aux_sym_sql_keyword_token13] = ACTIONS(289),
    [aux_sym_sql_keyword_token14] = ACTIONS(289),
    [aux_sym_sql_keyword_token15] = ACTIONS(289),
    [aux_sym_sql_keyword_token16] = ACTIONS(289),
    [aux_sym_sql_keyword_token17] = ACTIONS(289),
    [aux_sym_sql_keyword_token18] = ACTIONS(289),
    [aux_sym_sql_keyword_token19] = ACTIONS(289),
    [aux_sym_sql_keyword_token20] = ACTIONS(289),
    [aux_sym_sql_keyword_token21] = ACTIONS(289),
    [aux_sym_sql_keyword_token22] = ACTIONS(289),
    [aux_sym_sql_keyword_token23] = ACTIONS(289),
    [aux_sym_sql_keyword_token24] = ACTIONS(289),
    [aux_sym_sql_keyword_token25] = ACTIONS(289),
    [aux_sym_sql_keyword_token26] = ACTIONS(289),
    [aux_sym_sql_keyword_token27] = ACTIONS(289),
    [aux_sym_sql_keyword_token28] = ACTIONS(289),
    [aux_sym_sql_keyword_token29] = ACTIONS(289),
    [aux_sym_sql_keyword_token30] = ACTIONS(289),
    [aux_sym_sql_keyword_token31] = ACTIONS(289),
    [aux_sym_sql_keyword_token32] = ACTIONS(289),
    [aux_sym_sql_keyword_token33] = ACTIONS(289),
    [aux_sym_sql_keyword_token34] = ACTIONS(289),
    [aux_sym_sql_keyword_token35] = ACTIONS(289),
    [aux_sym_sql_keyword_token36] = ACTIONS(289),
    [aux_sym_sql_keyword_token37] = ACTIONS(289),
    [aux_sym_sql_keyword_token38] = ACTIONS(289),
    [aux_sym_sql_keyword_token39] = ACTIONS(289),
    [aux_sym_sql_keyword_token40] = ACTIONS(291),
    [aux_sym_sql_keyword_token41] = ACTIONS(289),
    [aux_sym_sql_keyword_token42] = ACTIONS(289),
    [aux_sym_sql_keyword_token43] = ACTIONS(289),
    [aux_sym_sql_keyword_token44] = ACTIONS(289),
    [aux_sym_sql_keyword_token45] = ACTIONS(289),
    [aux_sym_sql_keyword_token46] = ACTIONS(289),
    [aux_sym_sql_keyword_token47] = ACTIONS(289),
    [aux_sym_sql_keyword_token48] = ACTIONS(289),
    [aux_sym_sql_keyword_token49] = ACTIONS(289),
    [aux_sym_sql_keyword_token50] = ACTIONS(289),
    [sym_visualise_keyword] = ACTIONS(287),
    [sym_quoted_identifier] = ACTIONS(287),
    [sym_number] = ACTIONS(287),
    [anon_sym_SQUOTE] = ACTIONS(287),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(56)] = {
    [sym_comment] = STATE(56),
    [ts_builtin_sym_end] = ACTIONS(293),
    [sym_bare_identifier] = ACTIONS(295),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_COMMA] = ACTIONS(293),
    [anon_sym_STAR] = ACTIONS(293),
    [anon_sym_DOT] = ACTIONS(295),
    [anon_sym_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_PLUS] = ACTIONS(293),
    [anon_sym_DASH] = ACTIONS(295),
    [anon_sym_SLASH] = ACTIONS(295),
    [anon_sym_PERCENT] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_AMP] = ACTIONS(293),
    [anon_sym_CARET] = ACTIONS(293),
    [anon_sym_TILDE] = ACTIONS(293),
    [anon_sym_COLON_COLON] = ACTIONS(293),
    [anon_sym_LPAREN] = ACTIONS(293),
    [aux_sym_cast_expression_token1] = ACTIONS(295),
    [aux_sym_cast_expression_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token1] = ACTIONS(295),
    [aux_sym_sql_keyword_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token3] = ACTIONS(295),
    [aux_sym_sql_keyword_token4] = ACTIONS(295),
    [aux_sym_sql_keyword_token5] = ACTIONS(295),
    [aux_sym_sql_keyword_token6] = ACTIONS(295),
    [aux_sym_sql_keyword_token7] = ACTIONS(295),
    [aux_sym_sql_keyword_token8] = ACTIONS(295),
    [aux_sym_sql_keyword_token9] = ACTIONS(295),
    [aux_sym_sql_keyword_token10] = ACTIONS(295),
    [aux_sym_sql_keyword_token11] = ACTIONS(295),
    [aux_sym_sql_keyword_token12] = ACTIONS(295),
    [aux_sym_sql_keyword_token13] = ACTIONS(295),
    [aux_sym_sql_keyword_token14] = ACTIONS(295),
    [aux_sym_sql_keyword_token15] = ACTIONS(295),
    [aux_sym_sql_keyword_token16] = ACTIONS(295),
    [aux_sym_sql_keyword_token17] = ACTIONS(295),
    [aux_sym_sql_keyword_token18] = ACTIONS(295),
    [aux_sym_sql_keyword_token19] = ACTIONS(295),
    [aux_sym_sql_keyword_token20] = ACTIONS(295),
    [aux_sym_sql_keyword_token21] = ACTIONS(295),
    [aux_sym_sql_keyword_token22] = ACTIONS(295),
    [aux_sym_sql_keyword_token23] = ACTIONS(295),
    [aux_sym_sql_keyword_token24] = ACTIONS(295),
    [aux_sym_sql_keyword_token25] = ACTIONS(295),
    [aux_sym_sql_keyword_token26] = ACTIONS(295),
    [aux_sym_sql_keyword_token27] = ACTIONS(295),
    [aux_sym_sql_keyword_token28] = ACTIONS(295),
    [aux_sym_sql_keyword_token29] = ACTIONS(295),
    [aux_sym_sql_keyword_token30] = ACTIONS(295),
    [aux_sym_sql_keyword_token31] = ACTIONS(295),
    [aux_sym_sql_keyword_token32] = ACTIONS(295),
    [aux_sym_sql_keyword_token33] = ACTIONS(295),
    [aux_sym_sql_keyword_token34] = ACTIONS(295),
    [aux_sym_sql_keyword_token35] = ACTIONS(295),
    [aux_sym_sql_keyword_token36] = ACTIONS(295),
    [aux_sym_sql_keyword_token37] = ACTIONS(295),
    [aux_sym_sql_keyword_token38] = ACTIONS(295),
    [aux_sym_sql_keyword_token39] = ACTIONS(295),
    [aux_sym_sql_keyword_token40] = ACTIONS(295),
    [aux_sym_sql_keyword_token41] = ACTIONS(295),
    [aux_sym_sql_keyword_token42] = ACTIONS(295),
    [aux_sym_sql_keyword_token43] = ACTIONS(295),
    [aux_sym_sql_keyword_token44] = ACTIONS(295),
    [aux_sym_sql_keyword_token45] = ACTIONS(295),
    [aux_sym_sql_keyword_token46] = ACTIONS(295),
    [aux_sym_sql_keyword_token47] = ACTIONS(295),
    [aux_sym_sql_keyword_token48] = ACTIONS(295),
    [aux_sym_sql_keyword_token49] = ACTIONS(295),
    [aux_sym_sql_keyword_token50] = ACTIONS(295),
    [sym_visualise_keyword] = ACTIONS(293),
    [sym_quoted_identifier] = ACTIONS(293),
    [sym_number] = ACTIONS(293),
    [anon_sym_SQUOTE] = ACTIONS(293),
    [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(297),
    [sym_bare_identifier] = ACTIONS(299),
    [anon_sym_SEMI] = ACTIONS(297),
    [anon_sym_COMMA] = ACTIONS(297),
    [anon_sym_STAR] = ACTIONS(297),
    [anon_sym_DOT] = ACTIONS(299),
    [anon_sym_EQ] = ACTIONS(297),
    [anon_sym_LT] = ACTIONS(297),
    [anon_sym_GT] = ACTIONS(297),
    [anon_sym_BANG] = ACTIONS(297),
    [anon_sym_PLUS] = ACTIONS(297),
    [anon_sym_DASH] = ACTIONS(299),
    [anon_sym_SLASH] = ACTIONS(299),
    [anon_sym_PERCENT] = ACTIONS(297),
    [anon_sym_PIPE] = ACTIONS(297),
    [anon_sym_AMP] = ACTIONS(297),
    [anon_sym_CARET] = ACTIONS(297),
    [anon_sym_TILDE] = ACTIONS(297),
    [anon_sym_COLON_COLON] = ACTIONS(297),
    [anon_sym_LPAREN] = ACTIONS(297),
    [aux_sym_cast_expression_token1] = ACTIONS(299),
    [aux_sym_cast_expression_token2] = ACTIONS(299),
    [aux_sym_sql_keyword_token1] = ACTIONS(299),
    [aux_sym_sql_keyword_token2] = ACTIONS(299),
    [aux_sym_sql_keyword_token3] = ACTIONS(299),
    [aux_sym_sql_keyword_token4] = ACTIONS(299),
    [aux_sym_sql_keyword_token5] = ACTIONS(299),
    [aux_sym_sql_keyword_token6] = ACTIONS(299),
    [aux_sym_sql_keyword_token7] = ACTIONS(299),
    [aux_sym_sql_keyword_token8] = ACTIONS(299),
    [aux_sym_sql_keyword_token9] = ACTIONS(299),
    [aux_sym_sql_keyword_token10] = ACTIONS(299),
    [aux_sym_sql_keyword_token11] = ACTIONS(299),
    [aux_sym_sql_keyword_token12] = ACTIONS(299),
    [aux_sym_sql_keyword_token13] = ACTIONS(299),
    [aux_sym_sql_keyword_token14] = ACTIONS(299),
    [aux_sym_sql_keyword_token15] = ACTIONS(299),
    [aux_sym_sql_keyword_token16] = ACTIONS(299),
    [aux_sym_sql_keyword_token17] = ACTIONS(299),
    [aux_sym_sql_keyword_token18] = ACTIONS(299),
    [aux_sym_sql_keyword_token19] = ACTIONS(299),
    [aux_sym_sql_keyword_token20] = ACTIONS(299),
    [aux_sym_sql_keyword_token21] = ACTIONS(299),
    [aux_sym_sql_keyword_token22] = ACTIONS(299),
    [aux_sym_sql_keyword_token23] = ACTIONS(299),
    [aux_sym_sql_keyword_token24] = ACTIONS(299),
    [aux_sym_sql_keyword_token25] = ACTIONS(299),
    [aux_sym_sql_keyword_token26] = ACTIONS(299),
    [aux_sym_sql_keyword_token27] = ACTIONS(299),
    [aux_sym_sql_keyword_token28] = ACTIONS(299),
    [aux_sym_sql_keyword_token29] = ACTIONS(299),
    [aux_sym_sql_keyword_token30] = ACTIONS(299),
    [aux_sym_sql_keyword_token31] = ACTIONS(299),
    [aux_sym_sql_keyword_token32] = ACTIONS(299),
    [aux_sym_sql_keyword_token33] = ACTIONS(299),
    [aux_sym_sql_keyword_token34] = ACTIONS(299),
    [aux_sym_sql_keyword_token35] = ACTIONS(299),
    [aux_sym_sql_keyword_token36] = ACTIONS(299),
    [aux_sym_sql_keyword_token37] = ACTIONS(299),
    [aux_sym_sql_keyword_token38] = ACTIONS(299),
    [aux_sym_sql_keyword_token39] = ACTIONS(299),
    [aux_sym_sql_keyword_token40] = ACTIONS(299),
    [aux_sym_sql_keyword_token41] = ACTIONS(299),
    [aux_sym_sql_keyword_token42] = ACTIONS(299),
    [aux_sym_sql_keyword_token43] = ACTIONS(299),
    [aux_sym_sql_keyword_token44] = ACTIONS(299),
    [aux_sym_sql_keyword_token45] = ACTIONS(299),
    [aux_sym_sql_keyword_token46] = ACTIONS(299),
    [aux_sym_sql_keyword_token47] = ACTIONS(299),
    [aux_sym_sql_keyword_token48] = ACTIONS(299),
    [aux_sym_sql_keyword_token49] = ACTIONS(299),
    [aux_sym_sql_keyword_token50] = ACTIONS(299),
    [sym_visualise_keyword] = ACTIONS(297),
    [sym_quoted_identifier] = ACTIONS(297),
    [sym_number] = ACTIONS(297),
    [anon_sym_SQUOTE] = ACTIONS(297),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(58)] = {
    [sym_comment] = STATE(58),
    [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(59)] = {
    [sym_comment] = STATE(59),
    [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(60)] = {
    [sym_comment] = STATE(60),
    [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(311),
    [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(61)] = {
    [sym_comment] = STATE(61),
    [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(62)] = {
    [sym_comment] = STATE(62),
    [ts_builtin_sym_end] = ACTIONS(313),
    [sym_bare_identifier] = ACTIONS(315),
    [anon_sym_SEMI] = ACTIONS(313),
    [anon_sym_COMMA] = ACTIONS(313),
    [anon_sym_STAR] = ACTIONS(313),
    [anon_sym_DOT] = ACTIONS(315),
    [anon_sym_EQ] = ACTIONS(313),
    [anon_sym_LT] = ACTIONS(313),
    [anon_sym_GT] = ACTIONS(313),
    [anon_sym_BANG] = ACTIONS(313),
    [anon_sym_PLUS] = ACTIONS(313),
    [anon_sym_DASH] = ACTIONS(315),
    [anon_sym_SLASH] = ACTIONS(315),
    [anon_sym_PERCENT] = ACTIONS(313),
    [anon_sym_PIPE] = ACTIONS(313),
    [anon_sym_AMP] = ACTIONS(313),
    [anon_sym_CARET] = ACTIONS(313),
    [anon_sym_TILDE] = ACTIONS(313),
    [anon_sym_COLON_COLON] = ACTIONS(313),
    [anon_sym_LPAREN] = ACTIONS(313),
    [aux_sym_cast_expression_token1] = ACTIONS(315),
    [aux_sym_cast_expression_token2] = ACTIONS(315),
    [aux_sym_sql_keyword_token1] = ACTIONS(315),
    [aux_sym_sql_keyword_token2] = ACTIONS(315),
    [aux_sym_sql_keyword_token3] = ACTIONS(315),
    [aux_sym_sql_keyword_token4] = ACTIONS(315),
    [aux_sym_sql_keyword_token5] = ACTIONS(315),
    [aux_sym_sql_keyword_token6] = ACTIONS(315),
    [aux_sym_sql_keyword_token7] = ACTIONS(315),
    [aux_sym_sql_keyword_token8] = ACTIONS(315),
    [aux_sym_sql_keyword_token9] = ACTIONS(315),
    [aux_sym_sql_keyword_token10] = ACTIONS(315),
    [aux_sym_sql_keyword_token11] = ACTIONS(315),
    [aux_sym_sql_keyword_token12] = ACTIONS(315),
    [aux_sym_sql_keyword_token13] = ACTIONS(315),
    [aux_sym_sql_keyword_token14] = ACTIONS(315),
    [aux_sym_sql_keyword_token15] = ACTIONS(315),
    [aux_sym_sql_keyword_token16] = ACTIONS(315),
    [aux_sym_sql_keyword_token17] = ACTIONS(315),
    [aux_sym_sql_keyword_token18] = ACTIONS(315),
    [aux_sym_sql_keyword_token19] = ACTIONS(315),
    [aux_sym_sql_keyword_token20] = ACTIONS(315),
    [aux_sym_sql_keyword_token21] = ACTIONS(315),
    [aux_sym_sql_keyword_token22] = ACTIONS(315),
    [aux_sym_sql_keyword_token23] = ACTIONS(315),
    [aux_sym_sql_keyword_token24] = ACTIONS(315),
    [aux_sym_sql_keyword_token25] = ACTIONS(315),
    [aux_sym_sql_keyword_token26] = ACTIONS(315),
    [aux_sym_sql_keyword_token27] = ACTIONS(315),
    [aux_sym_sql_keyword_token28] = ACTIONS(315),
    [aux_sym_sql_keyword_token29] = ACTIONS(315),
    [aux_sym_sql_keyword_token30] = ACTIONS(315),
    [aux_sym_sql_keyword_token31] = ACTIONS(315),
    [aux_sym_sql_keyword_token32] = ACTIONS(315),
    [aux_sym_sql_keyword_token33] = ACTIONS(315),
    [aux_sym_sql_keyword_token34] = ACTIONS(315),
    [aux_sym_sql_keyword_token35] = ACTIONS(315),
    [aux_sym_sql_keyword_token36] = ACTIONS(315),
    [aux_sym_sql_keyword_token37] = ACTIONS(315),
    [aux_sym_sql_keyword_token38] = ACTIONS(315),
    [aux_sym_sql_keyword_token39] = ACTIONS(315),
    [aux_sym_sql_keyword_token40] = ACTIONS(315),
    [aux_sym_sql_keyword_token41] = ACTIONS(315),
    [aux_sym_sql_keyword_token42] = ACTIONS(315),
    [aux_sym_sql_keyword_token43] = ACTIONS(315),
    [aux_sym_sql_keyword_token44] = ACTIONS(315),
    [aux_sym_sql_keyword_token45] = ACTIONS(315),
    [aux_sym_sql_keyword_token46] = ACTIONS(315),
    [aux_sym_sql_keyword_token47] = ACTIONS(315),
    [aux_sym_sql_keyword_token48] = ACTIONS(315),
    [aux_sym_sql_keyword_token49] = ACTIONS(315),
    [aux_sym_sql_keyword_token50] = ACTIONS(315),
    [sym_visualise_keyword] = ACTIONS(313),
    [sym_quoted_identifier] = ACTIONS(313),
    [sym_number] = ACTIONS(313),
    [anon_sym_SQUOTE] = ACTIONS(313),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(63)] = {
    [sym_comment] = STATE(63),
    [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(64)] = {
    [sym_subquery] = STATE(100),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(64),
    [aux_sym_subquery_body_repeat1] = STATE(65),
    [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(317),
    [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(65)] = {
    [sym_subquery] = STATE(100),
    [sym_cast_expression] = STATE(100),
    [sym_function_call] = STATE(100),
    [sym_sql_keyword] = STATE(100),
    [sym_window_function] = STATE(100),
    [sym_identifier] = STATE(101),
    [sym_string] = STATE(100),
    [sym_comment] = STATE(65),
    [aux_sym_subquery_body_repeat1] = STATE(65),
    [sym_bare_identifier] = ACTIONS(319),
    [anon_sym_COMMA] = ACTIONS(322),
    [anon_sym_STAR] = ACTIONS(325),
    [anon_sym_DOT] = ACTIONS(325),
    [anon_sym_EQ] = ACTIONS(325),
    [anon_sym_LT] = ACTIONS(325),
    [anon_sym_GT] = ACTIONS(325),
    [anon_sym_BANG] = ACTIONS(325),
    [anon_sym_COLON_COLON] = ACTIONS(325),
    [anon_sym_LPAREN] = ACTIONS(328),
    [anon_sym_RPAREN] = ACTIONS(331),
    [aux_sym_subquery_body_token1] = ACTIONS(325),
    [aux_sym_cast_expression_token1] = ACTIONS(333),
    [aux_sym_cast_expression_token2] = ACTIONS(333),
    [aux_sym_sql_keyword_token1] = ACTIONS(336),
    [aux_sym_sql_keyword_token2] = ACTIONS(336),
    [aux_sym_sql_keyword_token3] = ACTIONS(336),
    [aux_sym_sql_keyword_token4] = ACTIONS(336),
    [aux_sym_sql_keyword_token5] = ACTIONS(336),
    [aux_sym_sql_keyword_token6] = ACTIONS(336),
    [aux_sym_sql_keyword_token7] = ACTIONS(336),
    [aux_sym_sql_keyword_token8] = ACTIONS(336),
    [aux_sym_sql_keyword_token9] = ACTIONS(336),
    [aux_sym_sql_keyword_token10] = ACTIONS(336),
    [aux_sym_sql_keyword_token11] = ACTIONS(336),
    [aux_sym_sql_keyword_token12] = ACTIONS(336),
    [aux_sym_sql_keyword_token13] = ACTIONS(336),
    [aux_sym_sql_keyword_token14] = ACTIONS(336),
    [aux_sym_sql_keyword_token15] = ACTIONS(336),
    [aux_sym_sql_keyword_token16] = ACTIONS(336),
    [aux_sym_sql_keyword_token17] = ACTIONS(336),
    [aux_sym_sql_keyword_token18] = ACTIONS(336),
    [aux_sym_sql_keyword_token19] = ACTIONS(336),
    [aux_sym_sql_keyword_token20] = ACTIONS(336),
    [aux_sym_sql_keyword_token21] = ACTIONS(336),
    [aux_sym_sql_keyword_token22] = ACTIONS(336),
    [aux_sym_sql_keyword_token23] = ACTIONS(336),
    [aux_sym_sql_keyword_token24] = ACTIONS(336),
    [aux_sym_sql_keyword_token25] = ACTIONS(336),
    [aux_sym_sql_keyword_token26] = ACTIONS(336),
    [aux_sym_sql_keyword_token27] = ACTIONS(336),
    [aux_sym_sql_keyword_token28] = ACTIONS(336),
    [aux_sym_sql_keyword_token29] = ACTIONS(336),
    [aux_sym_sql_keyword_token30] = ACTIONS(336),
    [aux_sym_sql_keyword_token31] = ACTIONS(336),
    [aux_sym_sql_keyword_token32] = ACTIONS(336),
    [aux_sym_sql_keyword_token33] = ACTIONS(336),
    [aux_sym_sql_keyword_token34] = ACTIONS(336),
    [aux_sym_sql_keyword_token35] = ACTIONS(336),
    [aux_sym_sql_keyword_token36] = ACTIONS(336),
    [aux_sym_sql_keyword_token37] = ACTIONS(336),
    [aux_sym_sql_keyword_token38] = ACTIONS(336),
    [aux_sym_sql_keyword_token39] = ACTIONS(336),
    [aux_sym_sql_keyword_token40] = ACTIONS(336),
    [aux_sym_sql_keyword_token41] = ACTIONS(336),
    [aux_sym_sql_keyword_token42] = ACTIONS(336),
    [aux_sym_sql_keyword_token43] = ACTIONS(336),
    [aux_sym_sql_keyword_token44] = ACTIONS(336),
    [aux_sym_sql_keyword_token45] = ACTIONS(336),
    [aux_sym_sql_keyword_token46] = ACTIONS(336),
    [aux_sym_sql_keyword_token47] = ACTIONS(336),
    [aux_sym_sql_keyword_token48] = ACTIONS(336),
    [aux_sym_sql_keyword_token49] = ACTIONS(336),
    [aux_sym_sql_keyword_token50] = ACTIONS(336),
    [sym_quoted_identifier] = ACTIONS(319),
    [sym_number] = ACTIONS(325),
    [anon_sym_SQUOTE] = ACTIONS(339),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(66)] = {
    [sym_comment] = STATE(66),
    [aux_sym_from_clause_repeat1] = STATE(67),
    [sym_bare_identifier] = ACTIONS(238),
    [anon_sym_COMMA] = ACTIONS(342),
    [anon_sym_STAR] = ACTIONS(236),
    [anon_sym_DOT] = ACTIONS(238),
    [anon_sym_EQ] = ACTIONS(236),
    [anon_sym_LT] = ACTIONS(236),
    [anon_sym_GT] = ACTIONS(236),
    [anon_sym_BANG] = ACTIONS(236),
    [anon_sym_PLUS] = ACTIONS(236),
    [anon_sym_DASH] = ACTIONS(238),
    [anon_sym_SLASH] = ACTIONS(238),
    [anon_sym_PERCENT] = ACTIONS(236),
    [anon_sym_PIPE] = ACTIONS(236),
    [anon_sym_AMP] = ACTIONS(236),
    [anon_sym_CARET] = ACTIONS(236),
    [anon_sym_TILDE] = ACTIONS(236),
    [anon_sym_COLON_COLON] = ACTIONS(236),
    [anon_sym_LPAREN] = ACTIONS(236),
    [anon_sym_RPAREN] = ACTIONS(236),
    [aux_sym_cast_expression_token1] = ACTIONS(238),
    [aux_sym_cast_expression_token2] = ACTIONS(238),
    [aux_sym_sql_keyword_token1] = ACTIONS(238),
    [aux_sym_sql_keyword_token2] = ACTIONS(238),
    [aux_sym_sql_keyword_token3] = ACTIONS(238),
    [aux_sym_sql_keyword_token4] = ACTIONS(238),
    [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(238),
    [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(238),
    [aux_sym_sql_keyword_token13] = ACTIONS(238),
    [aux_sym_sql_keyword_token14] = ACTIONS(238),
    [aux_sym_sql_keyword_token15] = ACTIONS(238),
    [aux_sym_sql_keyword_token16] = ACTIONS(238),
    [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(238),
    [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(238),
    [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(238),
    [aux_sym_sql_keyword_token34] = ACTIONS(238),
    [aux_sym_sql_keyword_token35] = ACTIONS(238),
    [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(238),
    [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(238),
    [aux_sym_sql_keyword_token48] = ACTIONS(238),
    [aux_sym_sql_keyword_token49] = ACTIONS(238),
    [aux_sym_sql_keyword_token50] = ACTIONS(238),
    [sym_quoted_identifier] = ACTIONS(236),
    [sym_number] = ACTIONS(236),
    [anon_sym_SQUOTE] = ACTIONS(236),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(67)] = {
    [sym_comment] = STATE(67),
    [aux_sym_from_clause_repeat1] = STATE(68),
    [sym_bare_identifier] = ACTIONS(226),
    [anon_sym_COMMA] = ACTIONS(224),
    [anon_sym_STAR] = ACTIONS(224),
    [anon_sym_DOT] = ACTIONS(226),
    [anon_sym_EQ] = ACTIONS(224),
    [anon_sym_LT] = ACTIONS(224),
    [anon_sym_GT] = ACTIONS(224),
    [anon_sym_BANG] = ACTIONS(224),
    [anon_sym_PLUS] = ACTIONS(224),
    [anon_sym_DASH] = ACTIONS(226),
    [anon_sym_SLASH] = ACTIONS(226),
    [anon_sym_PERCENT] = ACTIONS(224),
    [anon_sym_PIPE] = ACTIONS(224),
    [anon_sym_AMP] = ACTIONS(224),
    [anon_sym_CARET] = ACTIONS(224),
    [anon_sym_TILDE] = ACTIONS(224),
    [anon_sym_COLON_COLON] = ACTIONS(224),
    [anon_sym_LPAREN] = ACTIONS(224),
    [anon_sym_RPAREN] = ACTIONS(224),
    [aux_sym_cast_expression_token1] = ACTIONS(226),
    [aux_sym_cast_expression_token2] = ACTIONS(226),
    [aux_sym_sql_keyword_token1] = ACTIONS(226),
    [aux_sym_sql_keyword_token2] = ACTIONS(226),
    [aux_sym_sql_keyword_token3] = ACTIONS(226),
    [aux_sym_sql_keyword_token4] = ACTIONS(226),
    [aux_sym_sql_keyword_token5] = ACTIONS(226),
    [aux_sym_sql_keyword_token6] = ACTIONS(226),
    [aux_sym_sql_keyword_token7] = ACTIONS(226),
    [aux_sym_sql_keyword_token8] = ACTIONS(226),
    [aux_sym_sql_keyword_token9] = ACTIONS(226),
    [aux_sym_sql_keyword_token10] = ACTIONS(226),
    [aux_sym_sql_keyword_token11] = ACTIONS(226),
    [aux_sym_sql_keyword_token12] = ACTIONS(226),
    [aux_sym_sql_keyword_token13] = ACTIONS(226),
    [aux_sym_sql_keyword_token14] = ACTIONS(226),
    [aux_sym_sql_keyword_token15] = ACTIONS(226),
    [aux_sym_sql_keyword_token16] = ACTIONS(226),
    [aux_sym_sql_keyword_token17] = ACTIONS(226),
    [aux_sym_sql_keyword_token18] = ACTIONS(226),
    [aux_sym_sql_keyword_token19] = ACTIONS(226),
    [aux_sym_sql_keyword_token20] = ACTIONS(226),
    [aux_sym_sql_keyword_token21] = ACTIONS(226),
    [aux_sym_sql_keyword_token22] = ACTIONS(226),
    [aux_sym_sql_keyword_token23] = ACTIONS(226),
    [aux_sym_sql_keyword_token24] = ACTIONS(226),
    [aux_sym_sql_keyword_token25] = ACTIONS(226),
    [aux_sym_sql_keyword_token26] = ACTIONS(226),
    [aux_sym_sql_keyword_token27] = ACTIONS(226),
    [aux_sym_sql_keyword_token28] = ACTIONS(226),
    [aux_sym_sql_keyword_token29] = ACTIONS(226),
    [aux_sym_sql_keyword_token30] = ACTIONS(226),
    [aux_sym_sql_keyword_token31] = ACTIONS(226),
    [aux_sym_sql_keyword_token32] = ACTIONS(226),
    [aux_sym_sql_keyword_token33] = ACTIONS(226),
    [aux_sym_sql_keyword_token34] = ACTIONS(226),
    [aux_sym_sql_keyword_token35] = ACTIONS(226),
    [aux_sym_sql_keyword_token36] = ACTIONS(226),
    [aux_sym_sql_keyword_token37] = ACTIONS(226),
    [aux_sym_sql_keyword_token38] = ACTIONS(226),
    [aux_sym_sql_keyword_token39] = ACTIONS(226),
    [aux_sym_sql_keyword_token40] = ACTIONS(226),
    [aux_sym_sql_keyword_token41] = ACTIONS(226),
    [aux_sym_sql_keyword_token42] = ACTIONS(226),
    [aux_sym_sql_keyword_token43] = ACTIONS(226),
    [aux_sym_sql_keyword_token44] = ACTIONS(226),
    [aux_sym_sql_keyword_token45] = ACTIONS(226),
    [aux_sym_sql_keyword_token46] = ACTIONS(226),
    [aux_sym_sql_keyword_token47] = ACTIONS(226),
    [aux_sym_sql_keyword_token48] = ACTIONS(226),
    [aux_sym_sql_keyword_token49] = ACTIONS(226),
    [aux_sym_sql_keyword_token50] = ACTIONS(226),
    [sym_quoted_identifier] = ACTIONS(224),
    [sym_number] = ACTIONS(224),
    [anon_sym_SQUOTE] = ACTIONS(224),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(68)] = {
    [sym_comment] = STATE(68),
    [aux_sym_from_clause_repeat1] = STATE(68),
    [sym_bare_identifier] = ACTIONS(219),
    [anon_sym_COMMA] = ACTIONS(344),
    [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(69)] = {
    [sym_comment] = STATE(69),
    [sym_bare_identifier] = ACTIONS(198),
    [anon_sym_COMMA] = ACTIONS(196),
    [anon_sym_STAR] = ACTIONS(196),
    [anon_sym_DOT] = ACTIONS(198),
    [anon_sym_EQ] = ACTIONS(196),
    [anon_sym_LT] = ACTIONS(196),
    [anon_sym_GT] = ACTIONS(196),
    [anon_sym_BANG] = ACTIONS(196),
    [anon_sym_PLUS] = ACTIONS(196),
    [anon_sym_DASH] = ACTIONS(198),
    [anon_sym_SLASH] = ACTIONS(198),
    [anon_sym_PERCENT] = ACTIONS(196),
    [anon_sym_PIPE] = ACTIONS(196),
    [anon_sym_AMP] = ACTIONS(196),
    [anon_sym_CARET] = ACTIONS(196),
    [anon_sym_TILDE] = ACTIONS(196),
    [anon_sym_COLON_COLON] = ACTIONS(196),
    [anon_sym_LPAREN] = ACTIONS(196),
    [anon_sym_RPAREN] = ACTIONS(196),
    [aux_sym_cte_definition_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token1] = ACTIONS(198),
    [aux_sym_cast_expression_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token1] = ACTIONS(198),
    [aux_sym_sql_keyword_token2] = ACTIONS(198),
    [aux_sym_sql_keyword_token3] = ACTIONS(198),
    [aux_sym_sql_keyword_token4] = ACTIONS(198),
    [aux_sym_sql_keyword_token5] = ACTIONS(198),
    [aux_sym_sql_keyword_token6] = ACTIONS(198),
    [aux_sym_sql_keyword_token7] = ACTIONS(198),
    [aux_sym_sql_keyword_token8] = ACTIONS(198),
    [aux_sym_sql_keyword_token9] = ACTIONS(198),
    [aux_sym_sql_keyword_token10] = ACTIONS(198),
    [aux_sym_sql_keyword_token11] = ACTIONS(198),
    [aux_sym_sql_keyword_token12] = ACTIONS(198),
    [aux_sym_sql_keyword_token13] = ACTIONS(198),
    [aux_sym_sql_keyword_token14] = ACTIONS(198),
    [aux_sym_sql_keyword_token15] = ACTIONS(198),
    [aux_sym_sql_keyword_token16] = ACTIONS(198),
    [aux_sym_sql_keyword_token17] = ACTIONS(198),
    [aux_sym_sql_keyword_token18] = ACTIONS(198),
    [aux_sym_sql_keyword_token19] = ACTIONS(198),
    [aux_sym_sql_keyword_token20] = ACTIONS(198),
    [aux_sym_sql_keyword_token21] = ACTIONS(198),
    [aux_sym_sql_keyword_token22] = ACTIONS(198),
    [aux_sym_sql_keyword_token23] = ACTIONS(198),
    [aux_sym_sql_keyword_token24] = ACTIONS(198),
    [aux_sym_sql_keyword_token25] = ACTIONS(198),
    [aux_sym_sql_keyword_token26] = ACTIONS(198),
    [aux_sym_sql_keyword_token27] = ACTIONS(198),
    [aux_sym_sql_keyword_token28] = ACTIONS(198),
    [aux_sym_sql_keyword_token29] = ACTIONS(198),
    [aux_sym_sql_keyword_token30] = ACTIONS(198),
    [aux_sym_sql_keyword_token31] = ACTIONS(198),
    [aux_sym_sql_keyword_token32] = ACTIONS(198),
    [aux_sym_sql_keyword_token33] = ACTIONS(198),
    [aux_sym_sql_keyword_token34] = ACTIONS(198),
    [aux_sym_sql_keyword_token35] = ACTIONS(198),
    [aux_sym_sql_keyword_token36] = ACTIONS(198),
    [aux_sym_sql_keyword_token37] = ACTIONS(198),
    [aux_sym_sql_keyword_token38] = ACTIONS(198),
    [aux_sym_sql_keyword_token39] = ACTIONS(198),
    [aux_sym_sql_keyword_token40] = ACTIONS(198),
    [aux_sym_sql_keyword_token41] = ACTIONS(198),
    [aux_sym_sql_keyword_token42] = ACTIONS(198),
    [aux_sym_sql_keyword_token43] = ACTIONS(198),
    [aux_sym_sql_keyword_token44] = ACTIONS(198),
    [aux_sym_sql_keyword_token45] = ACTIONS(198),
    [aux_sym_sql_keyword_token46] = ACTIONS(198),
    [aux_sym_sql_keyword_token47] = ACTIONS(198),
    [aux_sym_sql_keyword_token48] = ACTIONS(198),
    [aux_sym_sql_keyword_token49] = ACTIONS(198),
    [aux_sym_sql_keyword_token50] = ACTIONS(198),
    [sym_quoted_identifier] = ACTIONS(196),
    [sym_number] = ACTIONS(196),
    [anon_sym_SQUOTE] = ACTIONS(196),
    [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(211),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(209),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(209),
    [anon_sym_LT] = ACTIONS(209),
    [anon_sym_GT] = ACTIONS(209),
    [anon_sym_BANG] = ACTIONS(209),
    [anon_sym_PLUS] = ACTIONS(209),
    [anon_sym_DASH] = ACTIONS(211),
    [anon_sym_SLASH] = ACTIONS(211),
    [anon_sym_PERCENT] = ACTIONS(209),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_AMP] = ACTIONS(209),
    [anon_sym_CARET] = ACTIONS(209),
    [anon_sym_TILDE] = ACTIONS(209),
    [anon_sym_COLON_COLON] = ACTIONS(209),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_cte_definition_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_quoted_identifier] = ACTIONS(209),
    [sym_number] = ACTIONS(209),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(234),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(232),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(232),
    [anon_sym_LT] = ACTIONS(232),
    [anon_sym_GT] = ACTIONS(232),
    [anon_sym_BANG] = ACTIONS(232),
    [anon_sym_PLUS] = ACTIONS(232),
    [anon_sym_DASH] = ACTIONS(234),
    [anon_sym_SLASH] = ACTIONS(234),
    [anon_sym_PERCENT] = ACTIONS(232),
    [anon_sym_PIPE] = ACTIONS(232),
    [anon_sym_AMP] = ACTIONS(232),
    [anon_sym_CARET] = ACTIONS(232),
    [anon_sym_TILDE] = ACTIONS(232),
    [anon_sym_COLON_COLON] = ACTIONS(232),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_cte_definition_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_quoted_identifier] = ACTIONS(232),
    [sym_number] = ACTIONS(232),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(72)] = {
    [sym_comment] = STATE(72),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(228),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(228),
    [anon_sym_LT] = ACTIONS(228),
    [anon_sym_GT] = ACTIONS(228),
    [anon_sym_BANG] = ACTIONS(228),
    [anon_sym_PLUS] = ACTIONS(228),
    [anon_sym_DASH] = ACTIONS(230),
    [anon_sym_SLASH] = ACTIONS(230),
    [anon_sym_PERCENT] = ACTIONS(228),
    [anon_sym_PIPE] = ACTIONS(228),
    [anon_sym_AMP] = ACTIONS(228),
    [anon_sym_CARET] = ACTIONS(228),
    [anon_sym_TILDE] = ACTIONS(228),
    [anon_sym_COLON_COLON] = ACTIONS(228),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_cte_definition_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_quoted_identifier] = ACTIONS(228),
    [sym_number] = ACTIONS(228),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(73)] = {
    [sym_comment] = STATE(73),
    [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(74)] = {
    [sym_comment] = STATE(74),
    [sym_bare_identifier] = ACTIONS(285),
    [anon_sym_COMMA] = ACTIONS(283),
    [anon_sym_STAR] = ACTIONS(283),
    [anon_sym_DOT] = ACTIONS(285),
    [anon_sym_EQ] = ACTIONS(283),
    [anon_sym_LT] = ACTIONS(283),
    [anon_sym_GT] = ACTIONS(283),
    [anon_sym_BANG] = ACTIONS(283),
    [anon_sym_PLUS] = ACTIONS(283),
    [anon_sym_DASH] = ACTIONS(285),
    [anon_sym_SLASH] = ACTIONS(285),
    [anon_sym_PERCENT] = ACTIONS(283),
    [anon_sym_PIPE] = ACTIONS(283),
    [anon_sym_AMP] = ACTIONS(283),
    [anon_sym_CARET] = ACTIONS(283),
    [anon_sym_TILDE] = ACTIONS(283),
    [anon_sym_COLON_COLON] = ACTIONS(283),
    [anon_sym_LPAREN] = ACTIONS(283),
    [anon_sym_RPAREN] = ACTIONS(283),
    [aux_sym_cast_expression_token1] = ACTIONS(285),
    [aux_sym_cast_expression_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token1] = ACTIONS(285),
    [aux_sym_sql_keyword_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token3] = ACTIONS(285),
    [aux_sym_sql_keyword_token4] = ACTIONS(285),
    [aux_sym_sql_keyword_token5] = ACTIONS(285),
    [aux_sym_sql_keyword_token6] = ACTIONS(285),
    [aux_sym_sql_keyword_token7] = ACTIONS(285),
    [aux_sym_sql_keyword_token8] = ACTIONS(285),
    [aux_sym_sql_keyword_token9] = ACTIONS(285),
    [aux_sym_sql_keyword_token10] = ACTIONS(285),
    [aux_sym_sql_keyword_token11] = ACTIONS(285),
    [aux_sym_sql_keyword_token12] = ACTIONS(285),
    [aux_sym_sql_keyword_token13] = ACTIONS(285),
    [aux_sym_sql_keyword_token14] = ACTIONS(285),
    [aux_sym_sql_keyword_token15] = ACTIONS(285),
    [aux_sym_sql_keyword_token16] = ACTIONS(285),
    [aux_sym_sql_keyword_token17] = ACTIONS(285),
    [aux_sym_sql_keyword_token18] = ACTIONS(285),
    [aux_sym_sql_keyword_token19] = ACTIONS(285),
    [aux_sym_sql_keyword_token20] = ACTIONS(285),
    [aux_sym_sql_keyword_token21] = ACTIONS(285),
    [aux_sym_sql_keyword_token22] = ACTIONS(285),
    [aux_sym_sql_keyword_token23] = ACTIONS(285),
    [aux_sym_sql_keyword_token24] = ACTIONS(285),
    [aux_sym_sql_keyword_token25] = ACTIONS(285),
    [aux_sym_sql_keyword_token26] = ACTIONS(285),
    [aux_sym_sql_keyword_token27] = ACTIONS(285),
    [aux_sym_sql_keyword_token28] = ACTIONS(285),
    [aux_sym_sql_keyword_token29] = ACTIONS(285),
    [aux_sym_sql_keyword_token30] = ACTIONS(285),
    [aux_sym_sql_keyword_token31] = ACTIONS(285),
    [aux_sym_sql_keyword_token32] = ACTIONS(285),
    [aux_sym_sql_keyword_token33] = ACTIONS(285),
    [aux_sym_sql_keyword_token34] = ACTIONS(285),
    [aux_sym_sql_keyword_token35] = ACTIONS(285),
    [aux_sym_sql_keyword_token36] = ACTIONS(285),
    [aux_sym_sql_keyword_token37] = ACTIONS(285),
    [aux_sym_sql_keyword_token38] = ACTIONS(285),
    [aux_sym_sql_keyword_token39] = ACTIONS(285),
    [aux_sym_sql_keyword_token40] = ACTIONS(285),
    [aux_sym_sql_keyword_token41] = ACTIONS(285),
    [aux_sym_sql_keyword_token42] = ACTIONS(285),
    [aux_sym_sql_keyword_token43] = ACTIONS(285),
    [aux_sym_sql_keyword_token44] = ACTIONS(285),
    [aux_sym_sql_keyword_token45] = ACTIONS(285),
    [aux_sym_sql_keyword_token46] = ACTIONS(285),
    [aux_sym_sql_keyword_token47] = ACTIONS(285),
    [aux_sym_sql_keyword_token48] = ACTIONS(285),
    [aux_sym_sql_keyword_token49] = ACTIONS(285),
    [aux_sym_sql_keyword_token50] = ACTIONS(285),
    [sym_quoted_identifier] = ACTIONS(283),
    [sym_number] = ACTIONS(283),
    [anon_sym_SQUOTE] = ACTIONS(283),
    [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(250),
    [anon_sym_COMMA] = ACTIONS(248),
    [anon_sym_STAR] = ACTIONS(248),
    [anon_sym_DOT] = ACTIONS(250),
    [anon_sym_EQ] = ACTIONS(248),
    [anon_sym_LT] = ACTIONS(248),
    [anon_sym_GT] = ACTIONS(248),
    [anon_sym_BANG] = ACTIONS(248),
    [anon_sym_PLUS] = ACTIONS(248),
    [anon_sym_DASH] = ACTIONS(250),
    [anon_sym_SLASH] = ACTIONS(250),
    [anon_sym_PERCENT] = ACTIONS(248),
    [anon_sym_PIPE] = ACTIONS(248),
    [anon_sym_AMP] = ACTIONS(248),
    [anon_sym_CARET] = ACTIONS(248),
    [anon_sym_TILDE] = ACTIONS(248),
    [anon_sym_COLON_COLON] = ACTIONS(248),
    [anon_sym_LPAREN] = ACTIONS(248),
    [anon_sym_RPAREN] = ACTIONS(248),
    [aux_sym_cast_expression_token1] = ACTIONS(250),
    [aux_sym_cast_expression_token2] = ACTIONS(250),
    [aux_sym_sql_keyword_token1] = ACTIONS(250),
    [aux_sym_sql_keyword_token2] = ACTIONS(250),
    [aux_sym_sql_keyword_token3] = ACTIONS(250),
    [aux_sym_sql_keyword_token4] = ACTIONS(250),
    [aux_sym_sql_keyword_token5] = ACTIONS(250),
    [aux_sym_sql_keyword_token6] = ACTIONS(250),
    [aux_sym_sql_keyword_token7] = ACTIONS(250),
    [aux_sym_sql_keyword_token8] = ACTIONS(250),
    [aux_sym_sql_keyword_token9] = ACTIONS(250),
    [aux_sym_sql_keyword_token10] = ACTIONS(250),
    [aux_sym_sql_keyword_token11] = ACTIONS(250),
    [aux_sym_sql_keyword_token12] = ACTIONS(250),
    [aux_sym_sql_keyword_token13] = ACTIONS(250),
    [aux_sym_sql_keyword_token14] = ACTIONS(250),
    [aux_sym_sql_keyword_token15] = ACTIONS(250),
    [aux_sym_sql_keyword_token16] = ACTIONS(250),
    [aux_sym_sql_keyword_token17] = ACTIONS(250),
    [aux_sym_sql_keyword_token18] = ACTIONS(250),
    [aux_sym_sql_keyword_token19] = ACTIONS(250),
    [aux_sym_sql_keyword_token20] = ACTIONS(250),
    [aux_sym_sql_keyword_token21] = ACTIONS(250),
    [aux_sym_sql_keyword_token22] = ACTIONS(250),
    [aux_sym_sql_keyword_token23] = ACTIONS(250),
    [aux_sym_sql_keyword_token24] = ACTIONS(250),
    [aux_sym_sql_keyword_token25] = ACTIONS(250),
    [aux_sym_sql_keyword_token26] = ACTIONS(250),
    [aux_sym_sql_keyword_token27] = ACTIONS(250),
    [aux_sym_sql_keyword_token28] = ACTIONS(250),
    [aux_sym_sql_keyword_token29] = ACTIONS(250),
    [aux_sym_sql_keyword_token30] = ACTIONS(250),
    [aux_sym_sql_keyword_token31] = ACTIONS(250),
    [aux_sym_sql_keyword_token32] = ACTIONS(250),
    [aux_sym_sql_keyword_token33] = ACTIONS(250),
    [aux_sym_sql_keyword_token34] = ACTIONS(250),
    [aux_sym_sql_keyword_token35] = ACTIONS(250),
    [aux_sym_sql_keyword_token36] = ACTIONS(250),
    [aux_sym_sql_keyword_token37] = ACTIONS(250),
    [aux_sym_sql_keyword_token38] = ACTIONS(250),
    [aux_sym_sql_keyword_token39] = ACTIONS(250),
    [aux_sym_sql_keyword_token40] = ACTIONS(250),
    [aux_sym_sql_keyword_token41] = ACTIONS(250),
    [aux_sym_sql_keyword_token42] = ACTIONS(250),
    [aux_sym_sql_keyword_token43] = ACTIONS(250),
    [aux_sym_sql_keyword_token44] = ACTIONS(250),
    [aux_sym_sql_keyword_token45] = ACTIONS(250),
    [aux_sym_sql_keyword_token46] = ACTIONS(250),
    [aux_sym_sql_keyword_token47] = ACTIONS(250),
    [aux_sym_sql_keyword_token48] = ACTIONS(250),
    [aux_sym_sql_keyword_token49] = ACTIONS(250),
    [aux_sym_sql_keyword_token50] = ACTIONS(250),
    [sym_quoted_identifier] = ACTIONS(248),
    [sym_number] = ACTIONS(248),
    [anon_sym_SQUOTE] = ACTIONS(248),
    [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(254),
    [anon_sym_COMMA] = ACTIONS(252),
    [anon_sym_STAR] = ACTIONS(252),
    [anon_sym_DOT] = ACTIONS(254),
    [anon_sym_EQ] = ACTIONS(252),
    [anon_sym_LT] = ACTIONS(252),
    [anon_sym_GT] = ACTIONS(252),
    [anon_sym_BANG] = ACTIONS(252),
    [anon_sym_PLUS] = ACTIONS(252),
    [anon_sym_DASH] = ACTIONS(254),
    [anon_sym_SLASH] = ACTIONS(254),
    [anon_sym_PERCENT] = ACTIONS(252),
    [anon_sym_PIPE] = ACTIONS(252),
    [anon_sym_AMP] = ACTIONS(252),
    [anon_sym_CARET] = ACTIONS(252),
    [anon_sym_TILDE] = ACTIONS(252),
    [anon_sym_COLON_COLON] = ACTIONS(252),
    [anon_sym_LPAREN] = ACTIONS(252),
    [anon_sym_RPAREN] = ACTIONS(252),
    [aux_sym_cast_expression_token1] = ACTIONS(254),
    [aux_sym_cast_expression_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token1] = ACTIONS(254),
    [aux_sym_sql_keyword_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token3] = ACTIONS(254),
    [aux_sym_sql_keyword_token4] = ACTIONS(254),
    [aux_sym_sql_keyword_token5] = ACTIONS(254),
    [aux_sym_sql_keyword_token6] = ACTIONS(254),
    [aux_sym_sql_keyword_token7] = ACTIONS(254),
    [aux_sym_sql_keyword_token8] = ACTIONS(254),
    [aux_sym_sql_keyword_token9] = ACTIONS(254),
    [aux_sym_sql_keyword_token10] = ACTIONS(254),
    [aux_sym_sql_keyword_token11] = ACTIONS(254),
    [aux_sym_sql_keyword_token12] = ACTIONS(254),
    [aux_sym_sql_keyword_token13] = ACTIONS(254),
    [aux_sym_sql_keyword_token14] = ACTIONS(254),
    [aux_sym_sql_keyword_token15] = ACTIONS(254),
    [aux_sym_sql_keyword_token16] = ACTIONS(254),
    [aux_sym_sql_keyword_token17] = ACTIONS(254),
    [aux_sym_sql_keyword_token18] = ACTIONS(254),
    [aux_sym_sql_keyword_token19] = ACTIONS(254),
    [aux_sym_sql_keyword_token20] = ACTIONS(254),
    [aux_sym_sql_keyword_token21] = ACTIONS(254),
    [aux_sym_sql_keyword_token22] = ACTIONS(254),
    [aux_sym_sql_keyword_token23] = ACTIONS(254),
    [aux_sym_sql_keyword_token24] = ACTIONS(254),
    [aux_sym_sql_keyword_token25] = ACTIONS(254),
    [aux_sym_sql_keyword_token26] = ACTIONS(254),
    [aux_sym_sql_keyword_token27] = ACTIONS(254),
    [aux_sym_sql_keyword_token28] = ACTIONS(254),
    [aux_sym_sql_keyword_token29] = ACTIONS(254),
    [aux_sym_sql_keyword_token30] = ACTIONS(254),
    [aux_sym_sql_keyword_token31] = ACTIONS(254),
    [aux_sym_sql_keyword_token32] = ACTIONS(254),
    [aux_sym_sql_keyword_token33] = ACTIONS(254),
    [aux_sym_sql_keyword_token34] = ACTIONS(254),
    [aux_sym_sql_keyword_token35] = ACTIONS(254),
    [aux_sym_sql_keyword_token36] = ACTIONS(254),
    [aux_sym_sql_keyword_token37] = ACTIONS(254),
    [aux_sym_sql_keyword_token38] = ACTIONS(254),
    [aux_sym_sql_keyword_token39] = ACTIONS(254),
    [aux_sym_sql_keyword_token40] = ACTIONS(254),
    [aux_sym_sql_keyword_token41] = ACTIONS(254),
    [aux_sym_sql_keyword_token42] = ACTIONS(254),
    [aux_sym_sql_keyword_token43] = ACTIONS(254),
    [aux_sym_sql_keyword_token44] = ACTIONS(254),
    [aux_sym_sql_keyword_token45] = ACTIONS(254),
    [aux_sym_sql_keyword_token46] = ACTIONS(254),
    [aux_sym_sql_keyword_token47] = ACTIONS(254),
    [aux_sym_sql_keyword_token48] = ACTIONS(254),
    [aux_sym_sql_keyword_token49] = ACTIONS(254),
    [aux_sym_sql_keyword_token50] = ACTIONS(254),
    [sym_quoted_identifier] = ACTIONS(252),
    [sym_number] = ACTIONS(252),
    [anon_sym_SQUOTE] = ACTIONS(252),
    [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(289),
    [anon_sym_COMMA] = ACTIONS(287),
    [anon_sym_STAR] = ACTIONS(287),
    [anon_sym_DOT] = ACTIONS(289),
    [anon_sym_EQ] = ACTIONS(287),
    [anon_sym_LT] = ACTIONS(287),
    [anon_sym_GT] = ACTIONS(287),
    [anon_sym_BANG] = ACTIONS(287),
    [anon_sym_PLUS] = ACTIONS(287),
    [anon_sym_DASH] = ACTIONS(289),
    [anon_sym_SLASH] = ACTIONS(289),
    [anon_sym_PERCENT] = ACTIONS(287),
    [anon_sym_PIPE] = ACTIONS(287),
    [anon_sym_AMP] = ACTIONS(287),
    [anon_sym_CARET] = ACTIONS(287),
    [anon_sym_TILDE] = ACTIONS(287),
    [anon_sym_COLON_COLON] = ACTIONS(287),
    [anon_sym_LPAREN] = ACTIONS(287),
    [anon_sym_RPAREN] = ACTIONS(287),
    [aux_sym_cast_expression_token1] = ACTIONS(289),
    [aux_sym_cast_expression_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token1] = ACTIONS(289),
    [aux_sym_sql_keyword_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token3] = ACTIONS(289),
    [aux_sym_sql_keyword_token4] = ACTIONS(289),
    [aux_sym_sql_keyword_token5] = ACTIONS(289),
    [aux_sym_sql_keyword_token6] = ACTIONS(289),
    [aux_sym_sql_keyword_token7] = ACTIONS(289),
    [aux_sym_sql_keyword_token8] = ACTIONS(289),
    [aux_sym_sql_keyword_token9] = ACTIONS(289),
    [aux_sym_sql_keyword_token10] = ACTIONS(289),
    [aux_sym_sql_keyword_token11] = ACTIONS(289),
    [aux_sym_sql_keyword_token12] = ACTIONS(289),
    [aux_sym_sql_keyword_token13] = ACTIONS(289),
    [aux_sym_sql_keyword_token14] = ACTIONS(289),
    [aux_sym_sql_keyword_token15] = ACTIONS(289),
    [aux_sym_sql_keyword_token16] = ACTIONS(289),
    [aux_sym_sql_keyword_token17] = ACTIONS(289),
    [aux_sym_sql_keyword_token18] = ACTIONS(289),
    [aux_sym_sql_keyword_token19] = ACTIONS(289),
    [aux_sym_sql_keyword_token20] = ACTIONS(289),
    [aux_sym_sql_keyword_token21] = ACTIONS(289),
    [aux_sym_sql_keyword_token22] = ACTIONS(289),
    [aux_sym_sql_keyword_token23] = ACTIONS(289),
    [aux_sym_sql_keyword_token24] = ACTIONS(289),
    [aux_sym_sql_keyword_token25] = ACTIONS(289),
    [aux_sym_sql_keyword_token26] = ACTIONS(289),
    [aux_sym_sql_keyword_token27] = ACTIONS(289),
    [aux_sym_sql_keyword_token28] = ACTIONS(289),
    [aux_sym_sql_keyword_token29] = ACTIONS(289),
    [aux_sym_sql_keyword_token30] = ACTIONS(289),
    [aux_sym_sql_keyword_token31] = ACTIONS(289),
    [aux_sym_sql_keyword_token32] = ACTIONS(289),
    [aux_sym_sql_keyword_token33] = ACTIONS(289),
    [aux_sym_sql_keyword_token34] = ACTIONS(289),
    [aux_sym_sql_keyword_token35] = ACTIONS(289),
    [aux_sym_sql_keyword_token36] = ACTIONS(289),
    [aux_sym_sql_keyword_token37] = ACTIONS(289),
    [aux_sym_sql_keyword_token38] = ACTIONS(289),
    [aux_sym_sql_keyword_token39] = ACTIONS(289),
    [aux_sym_sql_keyword_token40] = ACTIONS(347),
    [aux_sym_sql_keyword_token41] = ACTIONS(289),
    [aux_sym_sql_keyword_token42] = ACTIONS(289),
    [aux_sym_sql_keyword_token43] = ACTIONS(289),
    [aux_sym_sql_keyword_token44] = ACTIONS(289),
    [aux_sym_sql_keyword_token45] = ACTIONS(289),
    [aux_sym_sql_keyword_token46] = ACTIONS(289),
    [aux_sym_sql_keyword_token47] = ACTIONS(289),
    [aux_sym_sql_keyword_token48] = ACTIONS(289),
    [aux_sym_sql_keyword_token49] = ACTIONS(289),
    [aux_sym_sql_keyword_token50] = ACTIONS(289),
    [sym_quoted_identifier] = ACTIONS(287),
    [sym_number] = ACTIONS(287),
    [anon_sym_SQUOTE] = ACTIONS(287),
    [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(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(79)] = {
    [sym_comment] = STATE(79),
    [sym_bare_identifier] = ACTIONS(315),
    [anon_sym_COMMA] = ACTIONS(313),
    [anon_sym_STAR] = ACTIONS(313),
    [anon_sym_DOT] = ACTIONS(315),
    [anon_sym_EQ] = ACTIONS(313),
    [anon_sym_LT] = ACTIONS(313),
    [anon_sym_GT] = ACTIONS(313),
    [anon_sym_BANG] = ACTIONS(313),
    [anon_sym_PLUS] = ACTIONS(313),
    [anon_sym_DASH] = ACTIONS(315),
    [anon_sym_SLASH] = ACTIONS(315),
    [anon_sym_PERCENT] = ACTIONS(313),
    [anon_sym_PIPE] = ACTIONS(313),
    [anon_sym_AMP] = ACTIONS(313),
    [anon_sym_CARET] = ACTIONS(313),
    [anon_sym_TILDE] = ACTIONS(313),
    [anon_sym_COLON_COLON] = ACTIONS(313),
    [anon_sym_LPAREN] = ACTIONS(313),
    [anon_sym_RPAREN] = ACTIONS(313),
    [aux_sym_cast_expression_token1] = ACTIONS(315),
    [aux_sym_cast_expression_token2] = ACTIONS(315),
    [aux_sym_sql_keyword_token1] = ACTIONS(315),
    [aux_sym_sql_keyword_token2] = ACTIONS(315),
    [aux_sym_sql_keyword_token3] = ACTIONS(315),
    [aux_sym_sql_keyword_token4] = ACTIONS(315),
    [aux_sym_sql_keyword_token5] = ACTIONS(315),
    [aux_sym_sql_keyword_token6] = ACTIONS(315),
    [aux_sym_sql_keyword_token7] = ACTIONS(315),
    [aux_sym_sql_keyword_token8] = ACTIONS(315),
    [aux_sym_sql_keyword_token9] = ACTIONS(315),
    [aux_sym_sql_keyword_token10] = ACTIONS(315),
    [aux_sym_sql_keyword_token11] = ACTIONS(315),
    [aux_sym_sql_keyword_token12] = ACTIONS(315),
    [aux_sym_sql_keyword_token13] = ACTIONS(315),
    [aux_sym_sql_keyword_token14] = ACTIONS(315),
    [aux_sym_sql_keyword_token15] = ACTIONS(315),
    [aux_sym_sql_keyword_token16] = ACTIONS(315),
    [aux_sym_sql_keyword_token17] = ACTIONS(315),
    [aux_sym_sql_keyword_token18] = ACTIONS(315),
    [aux_sym_sql_keyword_token19] = ACTIONS(315),
    [aux_sym_sql_keyword_token20] = ACTIONS(315),
    [aux_sym_sql_keyword_token21] = ACTIONS(315),
    [aux_sym_sql_keyword_token22] = ACTIONS(315),
    [aux_sym_sql_keyword_token23] = ACTIONS(315),
    [aux_sym_sql_keyword_token24] = ACTIONS(315),
    [aux_sym_sql_keyword_token25] = ACTIONS(315),
    [aux_sym_sql_keyword_token26] = ACTIONS(315),
    [aux_sym_sql_keyword_token27] = ACTIONS(315),
    [aux_sym_sql_keyword_token28] = ACTIONS(315),
    [aux_sym_sql_keyword_token29] = ACTIONS(315),
    [aux_sym_sql_keyword_token30] = ACTIONS(315),
    [aux_sym_sql_keyword_token31] = ACTIONS(315),
    [aux_sym_sql_keyword_token32] = ACTIONS(315),
    [aux_sym_sql_keyword_token33] = ACTIONS(315),
    [aux_sym_sql_keyword_token34] = ACTIONS(315),
    [aux_sym_sql_keyword_token35] = ACTIONS(315),
    [aux_sym_sql_keyword_token36] = ACTIONS(315),
    [aux_sym_sql_keyword_token37] = ACTIONS(315),
    [aux_sym_sql_keyword_token38] = ACTIONS(315),
    [aux_sym_sql_keyword_token39] = ACTIONS(315),
    [aux_sym_sql_keyword_token40] = ACTIONS(315),
    [aux_sym_sql_keyword_token41] = ACTIONS(315),
    [aux_sym_sql_keyword_token42] = ACTIONS(315),
    [aux_sym_sql_keyword_token43] = ACTIONS(315),
    [aux_sym_sql_keyword_token44] = ACTIONS(315),
    [aux_sym_sql_keyword_token45] = ACTIONS(315),
    [aux_sym_sql_keyword_token46] = ACTIONS(315),
    [aux_sym_sql_keyword_token47] = ACTIONS(315),
    [aux_sym_sql_keyword_token48] = ACTIONS(315),
    [aux_sym_sql_keyword_token49] = ACTIONS(315),
    [aux_sym_sql_keyword_token50] = ACTIONS(315),
    [sym_quoted_identifier] = ACTIONS(313),
    [sym_number] = ACTIONS(313),
    [anon_sym_SQUOTE] = ACTIONS(313),
    [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(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(349),
    [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(81)] = {
    [sym_comment] = STATE(81),
    [sym_bare_identifier] = ACTIONS(254),
    [anon_sym_COMMA] = ACTIONS(252),
    [anon_sym_STAR] = ACTIONS(252),
    [anon_sym_DOT] = ACTIONS(254),
    [anon_sym_EQ] = ACTIONS(252),
    [anon_sym_LT] = ACTIONS(252),
    [anon_sym_GT] = ACTIONS(252),
    [anon_sym_BANG] = ACTIONS(252),
    [anon_sym_PLUS] = ACTIONS(252),
    [anon_sym_DASH] = ACTIONS(254),
    [anon_sym_SLASH] = ACTIONS(254),
    [anon_sym_PERCENT] = ACTIONS(252),
    [anon_sym_PIPE] = ACTIONS(252),
    [anon_sym_AMP] = ACTIONS(252),
    [anon_sym_CARET] = ACTIONS(252),
    [anon_sym_TILDE] = ACTIONS(252),
    [anon_sym_COLON_COLON] = ACTIONS(252),
    [anon_sym_LPAREN] = ACTIONS(351),
    [anon_sym_RPAREN] = ACTIONS(252),
    [aux_sym_cast_expression_token1] = ACTIONS(254),
    [aux_sym_cast_expression_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token1] = ACTIONS(254),
    [aux_sym_sql_keyword_token2] = ACTIONS(254),
    [aux_sym_sql_keyword_token3] = ACTIONS(254),
    [aux_sym_sql_keyword_token4] = ACTIONS(254),
    [aux_sym_sql_keyword_token5] = ACTIONS(254),
    [aux_sym_sql_keyword_token6] = ACTIONS(254),
    [aux_sym_sql_keyword_token7] = ACTIONS(254),
    [aux_sym_sql_keyword_token8] = ACTIONS(254),
    [aux_sym_sql_keyword_token9] = ACTIONS(254),
    [aux_sym_sql_keyword_token10] = ACTIONS(254),
    [aux_sym_sql_keyword_token11] = ACTIONS(254),
    [aux_sym_sql_keyword_token12] = ACTIONS(254),
    [aux_sym_sql_keyword_token13] = ACTIONS(254),
    [aux_sym_sql_keyword_token14] = ACTIONS(254),
    [aux_sym_sql_keyword_token15] = ACTIONS(254),
    [aux_sym_sql_keyword_token16] = ACTIONS(254),
    [aux_sym_sql_keyword_token17] = ACTIONS(254),
    [aux_sym_sql_keyword_token18] = ACTIONS(254),
    [aux_sym_sql_keyword_token19] = ACTIONS(254),
    [aux_sym_sql_keyword_token20] = ACTIONS(254),
    [aux_sym_sql_keyword_token21] = ACTIONS(254),
    [aux_sym_sql_keyword_token22] = ACTIONS(254),
    [aux_sym_sql_keyword_token23] = ACTIONS(254),
    [aux_sym_sql_keyword_token24] = ACTIONS(254),
    [aux_sym_sql_keyword_token25] = ACTIONS(254),
    [aux_sym_sql_keyword_token26] = ACTIONS(254),
    [aux_sym_sql_keyword_token27] = ACTIONS(254),
    [aux_sym_sql_keyword_token28] = ACTIONS(254),
    [aux_sym_sql_keyword_token29] = ACTIONS(254),
    [aux_sym_sql_keyword_token30] = ACTIONS(254),
    [aux_sym_sql_keyword_token31] = ACTIONS(254),
    [aux_sym_sql_keyword_token32] = ACTIONS(254),
    [aux_sym_sql_keyword_token33] = ACTIONS(254),
    [aux_sym_sql_keyword_token34] = ACTIONS(254),
    [aux_sym_sql_keyword_token35] = ACTIONS(254),
    [aux_sym_sql_keyword_token36] = ACTIONS(254),
    [aux_sym_sql_keyword_token37] = ACTIONS(254),
    [aux_sym_sql_keyword_token38] = ACTIONS(254),
    [aux_sym_sql_keyword_token39] = ACTIONS(254),
    [aux_sym_sql_keyword_token40] = ACTIONS(254),
    [aux_sym_sql_keyword_token41] = ACTIONS(254),
    [aux_sym_sql_keyword_token42] = ACTIONS(254),
    [aux_sym_sql_keyword_token43] = ACTIONS(254),
    [aux_sym_sql_keyword_token44] = ACTIONS(254),
    [aux_sym_sql_keyword_token45] = ACTIONS(254),
    [aux_sym_sql_keyword_token46] = ACTIONS(254),
    [aux_sym_sql_keyword_token47] = ACTIONS(254),
    [aux_sym_sql_keyword_token48] = ACTIONS(254),
    [aux_sym_sql_keyword_token49] = ACTIONS(254),
    [aux_sym_sql_keyword_token50] = ACTIONS(254),
    [sym_quoted_identifier] = ACTIONS(252),
    [sym_number] = ACTIONS(252),
    [anon_sym_SQUOTE] = ACTIONS(252),
    [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(277),
    [anon_sym_COMMA] = ACTIONS(275),
    [anon_sym_STAR] = ACTIONS(275),
    [anon_sym_DOT] = ACTIONS(277),
    [anon_sym_EQ] = ACTIONS(275),
    [anon_sym_LT] = ACTIONS(275),
    [anon_sym_GT] = ACTIONS(275),
    [anon_sym_BANG] = ACTIONS(275),
    [anon_sym_PLUS] = ACTIONS(275),
    [anon_sym_DASH] = ACTIONS(277),
    [anon_sym_SLASH] = ACTIONS(277),
    [anon_sym_PERCENT] = ACTIONS(275),
    [anon_sym_PIPE] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(275),
    [anon_sym_CARET] = ACTIONS(275),
    [anon_sym_TILDE] = ACTIONS(275),
    [anon_sym_COLON_COLON] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(275),
    [anon_sym_RPAREN] = ACTIONS(275),
    [aux_sym_cast_expression_token1] = ACTIONS(277),
    [aux_sym_cast_expression_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token1] = ACTIONS(277),
    [aux_sym_sql_keyword_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token3] = ACTIONS(277),
    [aux_sym_sql_keyword_token4] = ACTIONS(277),
    [aux_sym_sql_keyword_token5] = ACTIONS(277),
    [aux_sym_sql_keyword_token6] = ACTIONS(277),
    [aux_sym_sql_keyword_token7] = ACTIONS(277),
    [aux_sym_sql_keyword_token8] = ACTIONS(277),
    [aux_sym_sql_keyword_token9] = ACTIONS(277),
    [aux_sym_sql_keyword_token10] = ACTIONS(277),
    [aux_sym_sql_keyword_token11] = ACTIONS(277),
    [aux_sym_sql_keyword_token12] = ACTIONS(277),
    [aux_sym_sql_keyword_token13] = ACTIONS(277),
    [aux_sym_sql_keyword_token14] = ACTIONS(277),
    [aux_sym_sql_keyword_token15] = ACTIONS(277),
    [aux_sym_sql_keyword_token16] = ACTIONS(277),
    [aux_sym_sql_keyword_token17] = ACTIONS(277),
    [aux_sym_sql_keyword_token18] = ACTIONS(277),
    [aux_sym_sql_keyword_token19] = ACTIONS(277),
    [aux_sym_sql_keyword_token20] = ACTIONS(277),
    [aux_sym_sql_keyword_token21] = ACTIONS(277),
    [aux_sym_sql_keyword_token22] = ACTIONS(277),
    [aux_sym_sql_keyword_token23] = ACTIONS(277),
    [aux_sym_sql_keyword_token24] = ACTIONS(277),
    [aux_sym_sql_keyword_token25] = ACTIONS(277),
    [aux_sym_sql_keyword_token26] = ACTIONS(277),
    [aux_sym_sql_keyword_token27] = ACTIONS(277),
    [aux_sym_sql_keyword_token28] = ACTIONS(277),
    [aux_sym_sql_keyword_token29] = ACTIONS(277),
    [aux_sym_sql_keyword_token30] = ACTIONS(277),
    [aux_sym_sql_keyword_token31] = ACTIONS(277),
    [aux_sym_sql_keyword_token32] = ACTIONS(277),
    [aux_sym_sql_keyword_token33] = ACTIONS(277),
    [aux_sym_sql_keyword_token34] = ACTIONS(277),
    [aux_sym_sql_keyword_token35] = ACTIONS(277),
    [aux_sym_sql_keyword_token36] = ACTIONS(277),
    [aux_sym_sql_keyword_token37] = ACTIONS(277),
    [aux_sym_sql_keyword_token38] = ACTIONS(277),
    [aux_sym_sql_keyword_token39] = ACTIONS(277),
    [aux_sym_sql_keyword_token40] = ACTIONS(277),
    [aux_sym_sql_keyword_token41] = ACTIONS(277),
    [aux_sym_sql_keyword_token42] = ACTIONS(277),
    [aux_sym_sql_keyword_token43] = ACTIONS(277),
    [aux_sym_sql_keyword_token44] = ACTIONS(277),
    [aux_sym_sql_keyword_token45] = ACTIONS(277),
    [aux_sym_sql_keyword_token46] = ACTIONS(277),
    [aux_sym_sql_keyword_token47] = ACTIONS(277),
    [aux_sym_sql_keyword_token48] = ACTIONS(277),
    [aux_sym_sql_keyword_token49] = ACTIONS(277),
    [aux_sym_sql_keyword_token50] = ACTIONS(277),
    [sym_quoted_identifier] = ACTIONS(275),
    [sym_number] = ACTIONS(275),
    [anon_sym_SQUOTE] = ACTIONS(275),
    [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(273),
    [anon_sym_COMMA] = ACTIONS(271),
    [anon_sym_STAR] = ACTIONS(271),
    [anon_sym_DOT] = ACTIONS(273),
    [anon_sym_EQ] = ACTIONS(271),
    [anon_sym_LT] = ACTIONS(271),
    [anon_sym_GT] = ACTIONS(271),
    [anon_sym_BANG] = ACTIONS(271),
    [anon_sym_PLUS] = ACTIONS(271),
    [anon_sym_DASH] = ACTIONS(273),
    [anon_sym_SLASH] = ACTIONS(273),
    [anon_sym_PERCENT] = ACTIONS(271),
    [anon_sym_PIPE] = ACTIONS(271),
    [anon_sym_AMP] = ACTIONS(271),
    [anon_sym_CARET] = ACTIONS(271),
    [anon_sym_TILDE] = ACTIONS(271),
    [anon_sym_COLON_COLON] = ACTIONS(271),
    [anon_sym_LPAREN] = ACTIONS(271),
    [anon_sym_RPAREN] = ACTIONS(271),
    [aux_sym_cast_expression_token1] = ACTIONS(273),
    [aux_sym_cast_expression_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token1] = ACTIONS(273),
    [aux_sym_sql_keyword_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token3] = ACTIONS(273),
    [aux_sym_sql_keyword_token4] = ACTIONS(273),
    [aux_sym_sql_keyword_token5] = ACTIONS(273),
    [aux_sym_sql_keyword_token6] = ACTIONS(273),
    [aux_sym_sql_keyword_token7] = ACTIONS(273),
    [aux_sym_sql_keyword_token8] = ACTIONS(273),
    [aux_sym_sql_keyword_token9] = ACTIONS(273),
    [aux_sym_sql_keyword_token10] = ACTIONS(273),
    [aux_sym_sql_keyword_token11] = ACTIONS(273),
    [aux_sym_sql_keyword_token12] = ACTIONS(273),
    [aux_sym_sql_keyword_token13] = ACTIONS(273),
    [aux_sym_sql_keyword_token14] = ACTIONS(273),
    [aux_sym_sql_keyword_token15] = ACTIONS(273),
    [aux_sym_sql_keyword_token16] = ACTIONS(273),
    [aux_sym_sql_keyword_token17] = ACTIONS(273),
    [aux_sym_sql_keyword_token18] = ACTIONS(273),
    [aux_sym_sql_keyword_token19] = ACTIONS(273),
    [aux_sym_sql_keyword_token20] = ACTIONS(273),
    [aux_sym_sql_keyword_token21] = ACTIONS(273),
    [aux_sym_sql_keyword_token22] = ACTIONS(273),
    [aux_sym_sql_keyword_token23] = ACTIONS(273),
    [aux_sym_sql_keyword_token24] = ACTIONS(273),
    [aux_sym_sql_keyword_token25] = ACTIONS(273),
    [aux_sym_sql_keyword_token26] = ACTIONS(273),
    [aux_sym_sql_keyword_token27] = ACTIONS(273),
    [aux_sym_sql_keyword_token28] = ACTIONS(273),
    [aux_sym_sql_keyword_token29] = ACTIONS(273),
    [aux_sym_sql_keyword_token30] = ACTIONS(273),
    [aux_sym_sql_keyword_token31] = ACTIONS(273),
    [aux_sym_sql_keyword_token32] = ACTIONS(273),
    [aux_sym_sql_keyword_token33] = ACTIONS(273),
    [aux_sym_sql_keyword_token34] = ACTIONS(273),
    [aux_sym_sql_keyword_token35] = ACTIONS(273),
    [aux_sym_sql_keyword_token36] = ACTIONS(273),
    [aux_sym_sql_keyword_token37] = ACTIONS(273),
    [aux_sym_sql_keyword_token38] = ACTIONS(273),
    [aux_sym_sql_keyword_token39] = ACTIONS(273),
    [aux_sym_sql_keyword_token40] = ACTIONS(273),
    [aux_sym_sql_keyword_token41] = ACTIONS(273),
    [aux_sym_sql_keyword_token42] = ACTIONS(273),
    [aux_sym_sql_keyword_token43] = ACTIONS(273),
    [aux_sym_sql_keyword_token44] = ACTIONS(273),
    [aux_sym_sql_keyword_token45] = ACTIONS(273),
    [aux_sym_sql_keyword_token46] = ACTIONS(273),
    [aux_sym_sql_keyword_token47] = ACTIONS(273),
    [aux_sym_sql_keyword_token48] = ACTIONS(273),
    [aux_sym_sql_keyword_token49] = ACTIONS(273),
    [aux_sym_sql_keyword_token50] = ACTIONS(273),
    [sym_quoted_identifier] = ACTIONS(271),
    [sym_number] = ACTIONS(271),
    [anon_sym_SQUOTE] = ACTIONS(271),
    [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(281),
    [anon_sym_COMMA] = ACTIONS(279),
    [anon_sym_STAR] = ACTIONS(279),
    [anon_sym_DOT] = ACTIONS(281),
    [anon_sym_EQ] = ACTIONS(279),
    [anon_sym_LT] = ACTIONS(279),
    [anon_sym_GT] = ACTIONS(279),
    [anon_sym_BANG] = ACTIONS(279),
    [anon_sym_PLUS] = ACTIONS(279),
    [anon_sym_DASH] = ACTIONS(281),
    [anon_sym_SLASH] = ACTIONS(281),
    [anon_sym_PERCENT] = ACTIONS(279),
    [anon_sym_PIPE] = ACTIONS(279),
    [anon_sym_AMP] = ACTIONS(279),
    [anon_sym_CARET] = ACTIONS(279),
    [anon_sym_TILDE] = ACTIONS(279),
    [anon_sym_COLON_COLON] = ACTIONS(279),
    [anon_sym_LPAREN] = ACTIONS(279),
    [anon_sym_RPAREN] = ACTIONS(279),
    [aux_sym_cast_expression_token1] = ACTIONS(281),
    [aux_sym_cast_expression_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token1] = ACTIONS(281),
    [aux_sym_sql_keyword_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token3] = ACTIONS(281),
    [aux_sym_sql_keyword_token4] = ACTIONS(281),
    [aux_sym_sql_keyword_token5] = ACTIONS(281),
    [aux_sym_sql_keyword_token6] = ACTIONS(281),
    [aux_sym_sql_keyword_token7] = ACTIONS(281),
    [aux_sym_sql_keyword_token8] = ACTIONS(281),
    [aux_sym_sql_keyword_token9] = ACTIONS(281),
    [aux_sym_sql_keyword_token10] = ACTIONS(281),
    [aux_sym_sql_keyword_token11] = ACTIONS(281),
    [aux_sym_sql_keyword_token12] = ACTIONS(281),
    [aux_sym_sql_keyword_token13] = ACTIONS(281),
    [aux_sym_sql_keyword_token14] = ACTIONS(281),
    [aux_sym_sql_keyword_token15] = ACTIONS(281),
    [aux_sym_sql_keyword_token16] = ACTIONS(281),
    [aux_sym_sql_keyword_token17] = ACTIONS(281),
    [aux_sym_sql_keyword_token18] = ACTIONS(281),
    [aux_sym_sql_keyword_token19] = ACTIONS(281),
    [aux_sym_sql_keyword_token20] = ACTIONS(281),
    [aux_sym_sql_keyword_token21] = ACTIONS(281),
    [aux_sym_sql_keyword_token22] = ACTIONS(281),
    [aux_sym_sql_keyword_token23] = ACTIONS(281),
    [aux_sym_sql_keyword_token24] = ACTIONS(281),
    [aux_sym_sql_keyword_token25] = ACTIONS(281),
    [aux_sym_sql_keyword_token26] = ACTIONS(281),
    [aux_sym_sql_keyword_token27] = ACTIONS(281),
    [aux_sym_sql_keyword_token28] = ACTIONS(281),
    [aux_sym_sql_keyword_token29] = ACTIONS(281),
    [aux_sym_sql_keyword_token30] = ACTIONS(281),
    [aux_sym_sql_keyword_token31] = ACTIONS(281),
    [aux_sym_sql_keyword_token32] = ACTIONS(281),
    [aux_sym_sql_keyword_token33] = ACTIONS(281),
    [aux_sym_sql_keyword_token34] = ACTIONS(281),
    [aux_sym_sql_keyword_token35] = ACTIONS(281),
    [aux_sym_sql_keyword_token36] = ACTIONS(281),
    [aux_sym_sql_keyword_token37] = ACTIONS(281),
    [aux_sym_sql_keyword_token38] = ACTIONS(281),
    [aux_sym_sql_keyword_token39] = ACTIONS(281),
    [aux_sym_sql_keyword_token40] = ACTIONS(281),
    [aux_sym_sql_keyword_token41] = ACTIONS(281),
    [aux_sym_sql_keyword_token42] = ACTIONS(281),
    [aux_sym_sql_keyword_token43] = ACTIONS(281),
    [aux_sym_sql_keyword_token44] = ACTIONS(281),
    [aux_sym_sql_keyword_token45] = ACTIONS(281),
    [aux_sym_sql_keyword_token46] = ACTIONS(281),
    [aux_sym_sql_keyword_token47] = ACTIONS(281),
    [aux_sym_sql_keyword_token48] = ACTIONS(281),
    [aux_sym_sql_keyword_token49] = ACTIONS(281),
    [aux_sym_sql_keyword_token50] = ACTIONS(281),
    [sym_quoted_identifier] = ACTIONS(279),
    [sym_number] = ACTIONS(279),
    [anon_sym_SQUOTE] = ACTIONS(279),
    [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(295),
    [anon_sym_COMMA] = ACTIONS(293),
    [anon_sym_STAR] = ACTIONS(293),
    [anon_sym_DOT] = ACTIONS(295),
    [anon_sym_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_PLUS] = ACTIONS(293),
    [anon_sym_DASH] = ACTIONS(295),
    [anon_sym_SLASH] = ACTIONS(295),
    [anon_sym_PERCENT] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_AMP] = ACTIONS(293),
    [anon_sym_CARET] = ACTIONS(293),
    [anon_sym_TILDE] = ACTIONS(293),
    [anon_sym_COLON_COLON] = ACTIONS(293),
    [anon_sym_LPAREN] = ACTIONS(293),
    [anon_sym_RPAREN] = ACTIONS(293),
    [aux_sym_cast_expression_token1] = ACTIONS(295),
    [aux_sym_cast_expression_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token1] = ACTIONS(295),
    [aux_sym_sql_keyword_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token3] = ACTIONS(295),
    [aux_sym_sql_keyword_token4] = ACTIONS(295),
    [aux_sym_sql_keyword_token5] = ACTIONS(295),
    [aux_sym_sql_keyword_token6] = ACTIONS(295),
    [aux_sym_sql_keyword_token7] = ACTIONS(295),
    [aux_sym_sql_keyword_token8] = ACTIONS(295),
    [aux_sym_sql_keyword_token9] = ACTIONS(295),
    [aux_sym_sql_keyword_token10] = ACTIONS(295),
    [aux_sym_sql_keyword_token11] = ACTIONS(295),
    [aux_sym_sql_keyword_token12] = ACTIONS(295),
    [aux_sym_sql_keyword_token13] = ACTIONS(295),
    [aux_sym_sql_keyword_token14] = ACTIONS(295),
    [aux_sym_sql_keyword_token15] = ACTIONS(295),
    [aux_sym_sql_keyword_token16] = ACTIONS(295),
    [aux_sym_sql_keyword_token17] = ACTIONS(295),
    [aux_sym_sql_keyword_token18] = ACTIONS(295),
    [aux_sym_sql_keyword_token19] = ACTIONS(295),
    [aux_sym_sql_keyword_token20] = ACTIONS(295),
    [aux_sym_sql_keyword_token21] = ACTIONS(295),
    [aux_sym_sql_keyword_token22] = ACTIONS(295),
    [aux_sym_sql_keyword_token23] = ACTIONS(295),
    [aux_sym_sql_keyword_token24] = ACTIONS(295),
    [aux_sym_sql_keyword_token25] = ACTIONS(295),
    [aux_sym_sql_keyword_token26] = ACTIONS(295),
    [aux_sym_sql_keyword_token27] = ACTIONS(295),
    [aux_sym_sql_keyword_token28] = ACTIONS(295),
    [aux_sym_sql_keyword_token29] = ACTIONS(295),
    [aux_sym_sql_keyword_token30] = ACTIONS(295),
    [aux_sym_sql_keyword_token31] = ACTIONS(295),
    [aux_sym_sql_keyword_token32] = ACTIONS(295),
    [aux_sym_sql_keyword_token33] = ACTIONS(295),
    [aux_sym_sql_keyword_token34] = ACTIONS(295),
    [aux_sym_sql_keyword_token35] = ACTIONS(295),
    [aux_sym_sql_keyword_token36] = ACTIONS(295),
    [aux_sym_sql_keyword_token37] = ACTIONS(295),
    [aux_sym_sql_keyword_token38] = ACTIONS(295),
    [aux_sym_sql_keyword_token39] = ACTIONS(295),
    [aux_sym_sql_keyword_token40] = ACTIONS(295),
    [aux_sym_sql_keyword_token41] = ACTIONS(295),
    [aux_sym_sql_keyword_token42] = ACTIONS(295),
    [aux_sym_sql_keyword_token43] = ACTIONS(295),
    [aux_sym_sql_keyword_token44] = ACTIONS(295),
    [aux_sym_sql_keyword_token45] = ACTIONS(295),
    [aux_sym_sql_keyword_token46] = ACTIONS(295),
    [aux_sym_sql_keyword_token47] = ACTIONS(295),
    [aux_sym_sql_keyword_token48] = ACTIONS(295),
    [aux_sym_sql_keyword_token49] = ACTIONS(295),
    [aux_sym_sql_keyword_token50] = ACTIONS(295),
    [sym_quoted_identifier] = ACTIONS(293),
    [sym_number] = ACTIONS(293),
    [anon_sym_SQUOTE] = ACTIONS(293),
    [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(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(87)] = {
    [sym_comment] = STATE(87),
    [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(311),
    [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(88)] = {
    [sym_comment] = STATE(88),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(228),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(228),
    [anon_sym_LT] = ACTIONS(228),
    [anon_sym_GT] = ACTIONS(228),
    [anon_sym_BANG] = ACTIONS(228),
    [anon_sym_PLUS] = ACTIONS(228),
    [anon_sym_DASH] = ACTIONS(230),
    [anon_sym_SLASH] = ACTIONS(230),
    [anon_sym_PERCENT] = ACTIONS(228),
    [anon_sym_PIPE] = ACTIONS(228),
    [anon_sym_AMP] = ACTIONS(228),
    [anon_sym_CARET] = ACTIONS(228),
    [anon_sym_TILDE] = ACTIONS(228),
    [anon_sym_COLON_COLON] = ACTIONS(228),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_quoted_identifier] = ACTIONS(228),
    [sym_number] = ACTIONS(228),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(211),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(209),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(209),
    [anon_sym_LT] = ACTIONS(209),
    [anon_sym_GT] = ACTIONS(209),
    [anon_sym_BANG] = ACTIONS(209),
    [anon_sym_PLUS] = ACTIONS(209),
    [anon_sym_DASH] = ACTIONS(211),
    [anon_sym_SLASH] = ACTIONS(211),
    [anon_sym_PERCENT] = ACTIONS(209),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_AMP] = ACTIONS(209),
    [anon_sym_CARET] = ACTIONS(209),
    [anon_sym_TILDE] = ACTIONS(209),
    [anon_sym_COLON_COLON] = ACTIONS(209),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_cast_expression_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_quoted_identifier] = ACTIONS(209),
    [sym_number] = ACTIONS(209),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(234),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(232),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(232),
    [anon_sym_LT] = ACTIONS(232),
    [anon_sym_GT] = ACTIONS(232),
    [anon_sym_BANG] = ACTIONS(232),
    [anon_sym_PLUS] = ACTIONS(232),
    [anon_sym_DASH] = ACTIONS(234),
    [anon_sym_SLASH] = ACTIONS(234),
    [anon_sym_PERCENT] = ACTIONS(232),
    [anon_sym_PIPE] = ACTIONS(232),
    [anon_sym_AMP] = ACTIONS(232),
    [anon_sym_CARET] = ACTIONS(232),
    [anon_sym_TILDE] = ACTIONS(232),
    [anon_sym_COLON_COLON] = ACTIONS(232),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_cast_expression_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_quoted_identifier] = ACTIONS(232),
    [sym_number] = ACTIONS(232),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(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(93)] = {
    [sym_comment] = STATE(93),
    [sym_bare_identifier] = ACTIONS(299),
    [anon_sym_COMMA] = ACTIONS(297),
    [anon_sym_STAR] = ACTIONS(297),
    [anon_sym_DOT] = ACTIONS(299),
    [anon_sym_EQ] = ACTIONS(297),
    [anon_sym_LT] = ACTIONS(297),
    [anon_sym_GT] = ACTIONS(297),
    [anon_sym_BANG] = ACTIONS(297),
    [anon_sym_PLUS] = ACTIONS(297),
    [anon_sym_DASH] = ACTIONS(299),
    [anon_sym_SLASH] = ACTIONS(299),
    [anon_sym_PERCENT] = ACTIONS(297),
    [anon_sym_PIPE] = ACTIONS(297),
    [anon_sym_AMP] = ACTIONS(297),
    [anon_sym_CARET] = ACTIONS(297),
    [anon_sym_TILDE] = ACTIONS(297),
    [anon_sym_COLON_COLON] = ACTIONS(297),
    [anon_sym_LPAREN] = ACTIONS(297),
    [anon_sym_RPAREN] = ACTIONS(297),
    [aux_sym_cast_expression_token1] = ACTIONS(299),
    [aux_sym_cast_expression_token2] = ACTIONS(299),
    [aux_sym_sql_keyword_token1] = ACTIONS(299),
    [aux_sym_sql_keyword_token2] = ACTIONS(299),
    [aux_sym_sql_keyword_token3] = ACTIONS(299),
    [aux_sym_sql_keyword_token4] = ACTIONS(299),
    [aux_sym_sql_keyword_token5] = ACTIONS(299),
    [aux_sym_sql_keyword_token6] = ACTIONS(299),
    [aux_sym_sql_keyword_token7] = ACTIONS(299),
    [aux_sym_sql_keyword_token8] = ACTIONS(299),
    [aux_sym_sql_keyword_token9] = ACTIONS(299),
    [aux_sym_sql_keyword_token10] = ACTIONS(299),
    [aux_sym_sql_keyword_token11] = ACTIONS(299),
    [aux_sym_sql_keyword_token12] = ACTIONS(299),
    [aux_sym_sql_keyword_token13] = ACTIONS(299),
    [aux_sym_sql_keyword_token14] = ACTIONS(299),
    [aux_sym_sql_keyword_token15] = ACTIONS(299),
    [aux_sym_sql_keyword_token16] = ACTIONS(299),
    [aux_sym_sql_keyword_token17] = ACTIONS(299),
    [aux_sym_sql_keyword_token18] = ACTIONS(299),
    [aux_sym_sql_keyword_token19] = ACTIONS(299),
    [aux_sym_sql_keyword_token20] = ACTIONS(299),
    [aux_sym_sql_keyword_token21] = ACTIONS(299),
    [aux_sym_sql_keyword_token22] = ACTIONS(299),
    [aux_sym_sql_keyword_token23] = ACTIONS(299),
    [aux_sym_sql_keyword_token24] = ACTIONS(299),
    [aux_sym_sql_keyword_token25] = ACTIONS(299),
    [aux_sym_sql_keyword_token26] = ACTIONS(299),
    [aux_sym_sql_keyword_token27] = ACTIONS(299),
    [aux_sym_sql_keyword_token28] = ACTIONS(299),
    [aux_sym_sql_keyword_token29] = ACTIONS(299),
    [aux_sym_sql_keyword_token30] = ACTIONS(299),
    [aux_sym_sql_keyword_token31] = ACTIONS(299),
    [aux_sym_sql_keyword_token32] = ACTIONS(299),
    [aux_sym_sql_keyword_token33] = ACTIONS(299),
    [aux_sym_sql_keyword_token34] = ACTIONS(299),
    [aux_sym_sql_keyword_token35] = ACTIONS(299),
    [aux_sym_sql_keyword_token36] = ACTIONS(299),
    [aux_sym_sql_keyword_token37] = ACTIONS(299),
    [aux_sym_sql_keyword_token38] = ACTIONS(299),
    [aux_sym_sql_keyword_token39] = ACTIONS(299),
    [aux_sym_sql_keyword_token40] = ACTIONS(299),
    [aux_sym_sql_keyword_token41] = ACTIONS(299),
    [aux_sym_sql_keyword_token42] = ACTIONS(299),
    [aux_sym_sql_keyword_token43] = ACTIONS(299),
    [aux_sym_sql_keyword_token44] = ACTIONS(299),
    [aux_sym_sql_keyword_token45] = ACTIONS(299),
    [aux_sym_sql_keyword_token46] = ACTIONS(299),
    [aux_sym_sql_keyword_token47] = ACTIONS(299),
    [aux_sym_sql_keyword_token48] = ACTIONS(299),
    [aux_sym_sql_keyword_token49] = ACTIONS(299),
    [aux_sym_sql_keyword_token50] = ACTIONS(299),
    [sym_quoted_identifier] = ACTIONS(297),
    [sym_number] = ACTIONS(297),
    [anon_sym_SQUOTE] = ACTIONS(297),
    [anon_sym_SLASH_SLASH] = ACTIONS(3),
    [anon_sym_SLASH_STAR] = ACTIONS(5),
    [anon_sym_DASH_DASH] = ACTIONS(3),
  },
  [STATE(94)] = {
    [sym_select_statement] = STATE(473),
    [sym_subquery] = STATE(127),
    [sym_sql_keyword] = STATE(127),
    [sym_identifier] = STATE(127),
    [sym_string] = STATE(127),
    [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(127),
    [sym_sql_keyword] = STATE(127),
    [sym_identifier] = STATE(127),
    [sym_string] = STATE(127),
    [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(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [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(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [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(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [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(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [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(427),
    [anon_sym_COMMA] = ACTIONS(429),
    [anon_sym_STAR] = ACTIONS(427),
    [anon_sym_DOT] = ACTIONS(427),
    [anon_sym_EQ] = ACTIONS(427),
    [anon_sym_LT] = ACTIONS(427),
    [anon_sym_GT] = ACTIONS(427),
    [anon_sym_BANG] = ACTIONS(427),
    [anon_sym_COLON_COLON] = ACTIONS(427),
    [anon_sym_LPAREN] = ACTIONS(429),
    [anon_sym_RPAREN] = ACTIONS(429),
    [aux_sym_subquery_body_token1] = ACTIONS(427),
    [aux_sym_cast_expression_token1] = ACTIONS(427),
    [aux_sym_cast_expression_token2] = ACTIONS(427),
    [aux_sym_sql_keyword_token1] = ACTIONS(427),
    [aux_sym_sql_keyword_token2] = ACTIONS(427),
    [aux_sym_sql_keyword_token3] = ACTIONS(427),
    [aux_sym_sql_keyword_token4] = ACTIONS(427),
    [aux_sym_sql_keyword_token5] = ACTIONS(427),
    [aux_sym_sql_keyword_token6] = ACTIONS(427),
    [aux_sym_sql_keyword_token7] = ACTIONS(427),
    [aux_sym_sql_keyword_token8] = ACTIONS(427),
    [aux_sym_sql_keyword_token9] = ACTIONS(427),
    [aux_sym_sql_keyword_token10] = ACTIONS(427),
    [aux_sym_sql_keyword_token11] = ACTIONS(427),
    [aux_sym_sql_keyword_token12] = ACTIONS(427),
    [aux_sym_sql_keyword_token13] = ACTIONS(427),
    [aux_sym_sql_keyword_token14] = ACTIONS(427),
    [aux_sym_sql_keyword_token15] = ACTIONS(427),
    [aux_sym_sql_keyword_token16] = ACTIONS(427),
    [aux_sym_sql_keyword_token17] = ACTIONS(427),
    [aux_sym_sql_keyword_token18] = ACTIONS(427),
    [aux_sym_sql_keyword_token19] = ACTIONS(427),
    [aux_sym_sql_keyword_token20] = ACTIONS(427),
    [aux_sym_sql_keyword_token21] = ACTIONS(427),
    [aux_sym_sql_keyword_token22] = ACTIONS(427),
    [aux_sym_sql_keyword_token23] = ACTIONS(427),
    [aux_sym_sql_keyword_token24] = ACTIONS(427),
    [aux_sym_sql_keyword_token25] = ACTIONS(427),
    [aux_sym_sql_keyword_token26] = ACTIONS(427),
    [aux_sym_sql_keyword_token27] = ACTIONS(427),
    [aux_sym_sql_keyword_token28] = ACTIONS(427),
    [aux_sym_sql_keyword_token29] = ACTIONS(427),
    [aux_sym_sql_keyword_token30] = ACTIONS(427),
    [aux_sym_sql_keyword_token31] = ACTIONS(427),
    [aux_sym_sql_keyword_token32] = ACTIONS(427),
    [aux_sym_sql_keyword_token33] = ACTIONS(427),
    [aux_sym_sql_keyword_token34] = ACTIONS(427),
    [aux_sym_sql_keyword_token35] = ACTIONS(427),
    [aux_sym_sql_keyword_token36] = ACTIONS(427),
    [aux_sym_sql_keyword_token37] = ACTIONS(427),
    [aux_sym_sql_keyword_token38] = ACTIONS(427),
    [aux_sym_sql_keyword_token39] = ACTIONS(427),
    [aux_sym_sql_keyword_token40] = ACTIONS(427),
    [aux_sym_sql_keyword_token41] = ACTIONS(427),
    [aux_sym_sql_keyword_token42] = ACTIONS(427),
    [aux_sym_sql_keyword_token43] = ACTIONS(427),
    [aux_sym_sql_keyword_token44] = ACTIONS(427),
    [aux_sym_sql_keyword_token45] = ACTIONS(427),
    [aux_sym_sql_keyword_token46] = ACTIONS(427),
    [aux_sym_sql_keyword_token47] = ACTIONS(427),
    [aux_sym_sql_keyword_token48] = ACTIONS(427),
    [aux_sym_sql_keyword_token49] = ACTIONS(427),
    [aux_sym_sql_keyword_token50] = ACTIONS(427),
    [sym_quoted_identifier] = ACTIONS(427),
    [sym_number] = ACTIONS(427),
    [anon_sym_SQUOTE] = ACTIONS(429),
    [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(427),
    [anon_sym_COMMA] = ACTIONS(429),
    [anon_sym_STAR] = ACTIONS(427),
    [anon_sym_DOT] = ACTIONS(427),
    [anon_sym_EQ] = ACTIONS(427),
    [anon_sym_LT] = ACTIONS(427),
    [anon_sym_GT] = ACTIONS(427),
    [anon_sym_BANG] = ACTIONS(427),
    [anon_sym_COLON_COLON] = ACTIONS(427),
    [anon_sym_LPAREN] = ACTIONS(431),
    [anon_sym_RPAREN] = ACTIONS(429),
    [aux_sym_subquery_body_token1] = ACTIONS(427),
    [aux_sym_cast_expression_token1] = ACTIONS(427),
    [aux_sym_cast_expression_token2] = ACTIONS(427),
    [aux_sym_sql_keyword_token1] = ACTIONS(427),
    [aux_sym_sql_keyword_token2] = ACTIONS(427),
    [aux_sym_sql_keyword_token3] = ACTIONS(427),
    [aux_sym_sql_keyword_token4] = ACTIONS(427),
    [aux_sym_sql_keyword_token5] = ACTIONS(427),
    [aux_sym_sql_keyword_token6] = ACTIONS(427),
    [aux_sym_sql_keyword_token7] = ACTIONS(427),
    [aux_sym_sql_keyword_token8] = ACTIONS(427),
    [aux_sym_sql_keyword_token9] = ACTIONS(427),
    [aux_sym_sql_keyword_token10] = ACTIONS(427),
    [aux_sym_sql_keyword_token11] = ACTIONS(427),
    [aux_sym_sql_keyword_token12] = ACTIONS(427),
    [aux_sym_sql_keyword_token13] = ACTIONS(427),
    [aux_sym_sql_keyword_token14] = ACTIONS(427),
    [aux_sym_sql_keyword_token15] = ACTIONS(427),
    [aux_sym_sql_keyword_token16] = ACTIONS(427),
    [aux_sym_sql_keyword_token17] = ACTIONS(427),
    [aux_sym_sql_keyword_token18] = ACTIONS(427),
    [aux_sym_sql_keyword_token19] = ACTIONS(427),
    [aux_sym_sql_keyword_token20] = ACTIONS(427),
    [aux_sym_sql_keyword_token21] = ACTIONS(427),
    [aux_sym_sql_keyword_token22] = ACTIONS(427),
    [aux_sym_sql_keyword_token23] = ACTIONS(427),
    [aux_sym_sql_keyword_token24] = ACTIONS(427),
    [aux_sym_sql_keyword_token25] = ACTIONS(427),
    [aux_sym_sql_keyword_token26] = ACTIONS(427),
    [aux_sym_sql_keyword_token27] = ACTIONS(427),
    [aux_sym_sql_keyword_token28] = ACTIONS(427),
    [aux_sym_sql_keyword_token29] = ACTIONS(427),
    [aux_sym_sql_keyword_token30] = ACTIONS(427),
    [aux_sym_sql_keyword_token31] = ACTIONS(427),
    [aux_sym_sql_keyword_token32] = ACTIONS(427),
    [aux_sym_sql_keyword_token33] = ACTIONS(427),
    [aux_sym_sql_keyword_token34] = ACTIONS(427),
    [aux_sym_sql_keyword_token35] = ACTIONS(427),
    [aux_sym_sql_keyword_token36] = ACTIONS(427),
    [aux_sym_sql_keyword_token37] = ACTIONS(427),
    [aux_sym_sql_keyword_token38] = ACTIONS(427),
    [aux_sym_sql_keyword_token39] = ACTIONS(427),
    [aux_sym_sql_keyword_token40] = ACTIONS(427),
    [aux_sym_sql_keyword_token41] = ACTIONS(427),
    [aux_sym_sql_keyword_token42] = ACTIONS(427),
    [aux_sym_sql_keyword_token43] = ACTIONS(427),
    [aux_sym_sql_keyword_token44] = ACTIONS(427),
    [aux_sym_sql_keyword_token45] = ACTIONS(427),
    [aux_sym_sql_keyword_token46] = ACTIONS(427),
    [aux_sym_sql_keyword_token47] = ACTIONS(427),
    [aux_sym_sql_keyword_token48] = ACTIONS(427),
    [aux_sym_sql_keyword_token49] = ACTIONS(427),
    [aux_sym_sql_keyword_token50] = ACTIONS(427),
    [sym_quoted_identifier] = ACTIONS(427),
    [sym_number] = ACTIONS(427),
    [anon_sym_SQUOTE] = ACTIONS(429),
    [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(289),
    [anon_sym_COMMA] = ACTIONS(287),
    [anon_sym_STAR] = ACTIONS(289),
    [anon_sym_DOT] = ACTIONS(289),
    [anon_sym_EQ] = ACTIONS(289),
    [anon_sym_LT] = ACTIONS(289),
    [anon_sym_GT] = ACTIONS(289),
    [anon_sym_BANG] = ACTIONS(289),
    [anon_sym_COLON_COLON] = ACTIONS(289),
    [anon_sym_LPAREN] = ACTIONS(287),
    [anon_sym_RPAREN] = ACTIONS(287),
    [aux_sym_subquery_body_token1] = ACTIONS(289),
    [aux_sym_cast_expression_token1] = ACTIONS(289),
    [aux_sym_cast_expression_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token1] = ACTIONS(289),
    [aux_sym_sql_keyword_token2] = ACTIONS(289),
    [aux_sym_sql_keyword_token3] = ACTIONS(289),
    [aux_sym_sql_keyword_token4] = ACTIONS(289),
    [aux_sym_sql_keyword_token5] = ACTIONS(289),
    [aux_sym_sql_keyword_token6] = ACTIONS(289),
    [aux_sym_sql_keyword_token7] = ACTIONS(289),
    [aux_sym_sql_keyword_token8] = ACTIONS(289),
    [aux_sym_sql_keyword_token9] = ACTIONS(289),
    [aux_sym_sql_keyword_token10] = ACTIONS(289),
    [aux_sym_sql_keyword_token11] = ACTIONS(289),
    [aux_sym_sql_keyword_token12] = ACTIONS(289),
    [aux_sym_sql_keyword_token13] = ACTIONS(289),
    [aux_sym_sql_keyword_token14] = ACTIONS(289),
    [aux_sym_sql_keyword_token15] = ACTIONS(289),
    [aux_sym_sql_keyword_token16] = ACTIONS(289),
    [aux_sym_sql_keyword_token17] = ACTIONS(289),
    [aux_sym_sql_keyword_token18] = ACTIONS(289),
    [aux_sym_sql_keyword_token19] = ACTIONS(289),
    [aux_sym_sql_keyword_token20] = ACTIONS(289),
    [aux_sym_sql_keyword_token21] = ACTIONS(289),
    [aux_sym_sql_keyword_token22] = ACTIONS(289),
    [aux_sym_sql_keyword_token23] = ACTIONS(289),
    [aux_sym_sql_keyword_token24] = ACTIONS(289),
    [aux_sym_sql_keyword_token25] = ACTIONS(289),
    [aux_sym_sql_keyword_token26] = ACTIONS(289),
    [aux_sym_sql_keyword_token27] = ACTIONS(289),
    [aux_sym_sql_keyword_token28] = ACTIONS(289),
    [aux_sym_sql_keyword_token29] = ACTIONS(289),
    [aux_sym_sql_keyword_token30] = ACTIONS(289),
    [aux_sym_sql_keyword_token31] = ACTIONS(289),
    [aux_sym_sql_keyword_token32] = ACTIONS(289),
    [aux_sym_sql_keyword_token33] = ACTIONS(289),
    [aux_sym_sql_keyword_token34] = ACTIONS(289),
    [aux_sym_sql_keyword_token35] = ACTIONS(289),
    [aux_sym_sql_keyword_token36] = ACTIONS(289),
    [aux_sym_sql_keyword_token37] = ACTIONS(289),
    [aux_sym_sql_keyword_token38] = ACTIONS(289),
    [aux_sym_sql_keyword_token39] = ACTIONS(289),
    [aux_sym_sql_keyword_token40] = ACTIONS(433),
    [aux_sym_sql_keyword_token41] = ACTIONS(289),
    [aux_sym_sql_keyword_token42] = ACTIONS(289),
    [aux_sym_sql_keyword_token43] = ACTIONS(289),
    [aux_sym_sql_keyword_token44] = ACTIONS(289),
    [aux_sym_sql_keyword_token45] = ACTIONS(289),
    [aux_sym_sql_keyword_token46] = ACTIONS(289),
    [aux_sym_sql_keyword_token47] = ACTIONS(289),
    [aux_sym_sql_keyword_token48] = ACTIONS(289),
    [aux_sym_sql_keyword_token49] = ACTIONS(289),
    [aux_sym_sql_keyword_token50] = ACTIONS(289),
    [sym_quoted_identifier] = ACTIONS(289),
    [sym_number] = ACTIONS(289),
    [anon_sym_SQUOTE] = ACTIONS(287),
    [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(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(435),
    [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(104)] = {
    [sym_comment] = STATE(104),
    [sym_bare_identifier] = ACTIONS(273),
    [anon_sym_COMMA] = ACTIONS(271),
    [anon_sym_STAR] = ACTIONS(273),
    [anon_sym_DOT] = ACTIONS(273),
    [anon_sym_EQ] = ACTIONS(273),
    [anon_sym_LT] = ACTIONS(273),
    [anon_sym_GT] = ACTIONS(273),
    [anon_sym_BANG] = ACTIONS(273),
    [anon_sym_COLON_COLON] = ACTIONS(273),
    [anon_sym_LPAREN] = ACTIONS(271),
    [anon_sym_RPAREN] = ACTIONS(271),
    [aux_sym_subquery_body_token1] = ACTIONS(273),
    [aux_sym_cast_expression_token1] = ACTIONS(273),
    [aux_sym_cast_expression_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token1] = ACTIONS(273),
    [aux_sym_sql_keyword_token2] = ACTIONS(273),
    [aux_sym_sql_keyword_token3] = ACTIONS(273),
    [aux_sym_sql_keyword_token4] = ACTIONS(273),
    [aux_sym_sql_keyword_token5] = ACTIONS(273),
    [aux_sym_sql_keyword_token6] = ACTIONS(273),
    [aux_sym_sql_keyword_token7] = ACTIONS(273),
    [aux_sym_sql_keyword_token8] = ACTIONS(273),
    [aux_sym_sql_keyword_token9] = ACTIONS(273),
    [aux_sym_sql_keyword_token10] = ACTIONS(273),
    [aux_sym_sql_keyword_token11] = ACTIONS(273),
    [aux_sym_sql_keyword_token12] = ACTIONS(273),
    [aux_sym_sql_keyword_token13] = ACTIONS(273),
    [aux_sym_sql_keyword_token14] = ACTIONS(273),
    [aux_sym_sql_keyword_token15] = ACTIONS(273),
    [aux_sym_sql_keyword_token16] = ACTIONS(273),
    [aux_sym_sql_keyword_token17] = ACTIONS(273),
    [aux_sym_sql_keyword_token18] = ACTIONS(273),
    [aux_sym_sql_keyword_token19] = ACTIONS(273),
    [aux_sym_sql_keyword_token20] = ACTIONS(273),
    [aux_sym_sql_keyword_token21] = ACTIONS(273),
    [aux_sym_sql_keyword_token22] = ACTIONS(273),
    [aux_sym_sql_keyword_token23] = ACTIONS(273),
    [aux_sym_sql_keyword_token24] = ACTIONS(273),
    [aux_sym_sql_keyword_token25] = ACTIONS(273),
    [aux_sym_sql_keyword_token26] = ACTIONS(273),
    [aux_sym_sql_keyword_token27] = ACTIONS(273),
    [aux_sym_sql_keyword_token28] = ACTIONS(273),
    [aux_sym_sql_keyword_token29] = ACTIONS(273),
    [aux_sym_sql_keyword_token30] = ACTIONS(273),
    [aux_sym_sql_keyword_token31] = ACTIONS(273),
    [aux_sym_sql_keyword_token32] = ACTIONS(273),
    [aux_sym_sql_keyword_token33] = ACTIONS(273),
    [aux_sym_sql_keyword_token34] = ACTIONS(273),
    [aux_sym_sql_keyword_token35] = ACTIONS(273),
    [aux_sym_sql_keyword_token36] = ACTIONS(273),
    [aux_sym_sql_keyword_token37] = ACTIONS(273),
    [aux_sym_sql_keyword_token38] = ACTIONS(273),
    [aux_sym_sql_keyword_token39] = ACTIONS(273),
    [aux_sym_sql_keyword_token40] = ACTIONS(273),
    [aux_sym_sql_keyword_token41] = ACTIONS(273),
    [aux_sym_sql_keyword_token42] = ACTIONS(273),
    [aux_sym_sql_keyword_token43] = ACTIONS(273),
    [aux_sym_sql_keyword_token44] = ACTIONS(273),
    [aux_sym_sql_keyword_token45] = ACTIONS(273),
    [aux_sym_sql_keyword_token46] = ACTIONS(273),
    [aux_sym_sql_keyword_token47] = ACTIONS(273),
    [aux_sym_sql_keyword_token48] = ACTIONS(273),
    [aux_sym_sql_keyword_token49] = ACTIONS(273),
    [aux_sym_sql_keyword_token50] = ACTIONS(273),
    [sym_quoted_identifier] = ACTIONS(273),
    [sym_number] = ACTIONS(273),
    [anon_sym_SQUOTE] = ACTIONS(271),
    [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(277),
    [anon_sym_COMMA] = ACTIONS(275),
    [anon_sym_STAR] = ACTIONS(277),
    [anon_sym_DOT] = ACTIONS(277),
    [anon_sym_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_BANG] = ACTIONS(277),
    [anon_sym_COLON_COLON] = ACTIONS(277),
    [anon_sym_LPAREN] = ACTIONS(275),
    [anon_sym_RPAREN] = ACTIONS(275),
    [aux_sym_subquery_body_token1] = ACTIONS(277),
    [aux_sym_cast_expression_token1] = ACTIONS(277),
    [aux_sym_cast_expression_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token1] = ACTIONS(277),
    [aux_sym_sql_keyword_token2] = ACTIONS(277),
    [aux_sym_sql_keyword_token3] = ACTIONS(277),
    [aux_sym_sql_keyword_token4] = ACTIONS(277),
    [aux_sym_sql_keyword_token5] = ACTIONS(277),
    [aux_sym_sql_keyword_token6] = ACTIONS(277),
    [aux_sym_sql_keyword_token7] = ACTIONS(277),
    [aux_sym_sql_keyword_token8] = ACTIONS(277),
    [aux_sym_sql_keyword_token9] = ACTIONS(277),
    [aux_sym_sql_keyword_token10] = ACTIONS(277),
    [aux_sym_sql_keyword_token11] = ACTIONS(277),
    [aux_sym_sql_keyword_token12] = ACTIONS(277),
    [aux_sym_sql_keyword_token13] = ACTIONS(277),
    [aux_sym_sql_keyword_token14] = ACTIONS(277),
    [aux_sym_sql_keyword_token15] = ACTIONS(277),
    [aux_sym_sql_keyword_token16] = ACTIONS(277),
    [aux_sym_sql_keyword_token17] = ACTIONS(277),
    [aux_sym_sql_keyword_token18] = ACTIONS(277),
    [aux_sym_sql_keyword_token19] = ACTIONS(277),
    [aux_sym_sql_keyword_token20] = ACTIONS(277),
    [aux_sym_sql_keyword_token21] = ACTIONS(277),
    [aux_sym_sql_keyword_token22] = ACTIONS(277),
    [aux_sym_sql_keyword_token23] = ACTIONS(277),
    [aux_sym_sql_keyword_token24] = ACTIONS(277),
    [aux_sym_sql_keyword_token25] = ACTIONS(277),
    [aux_sym_sql_keyword_token26] = ACTIONS(277),
    [aux_sym_sql_keyword_token27] = ACTIONS(277),
    [aux_sym_sql_keyword_token28] = ACTIONS(277),
    [aux_sym_sql_keyword_token29] = ACTIONS(277),
    [aux_sym_sql_keyword_token30] = ACTIONS(277),
    [aux_sym_sql_keyword_token31] = ACTIONS(277),
    [aux_sym_sql_keyword_token32] = ACTIONS(277),
    [aux_sym_sql_keyword_token33] = ACTIONS(277),
    [aux_sym_sql_keyword_token34] = ACTIONS(277),
    [aux_sym_sql_keyword_token35] = ACTIONS(277),
    [aux_sym_sql_keyword_token36] = ACTIONS(277),
    [aux_sym_sql_keyword_token37] = ACTIONS(277),
    [aux_sym_sql_keyword_token38] = ACTIONS(277),
    [aux_sym_sql_keyword_token39] = ACTIONS(277),
    [aux_sym_sql_keyword_token40] = ACTIONS(277),
    [aux_sym_sql_keyword_token41] = ACTIONS(277),
    [aux_sym_sql_keyword_token42] = ACTIONS(277),
    [aux_sym_sql_keyword_token43] = ACTIONS(277),
    [aux_sym_sql_keyword_token44] = ACTIONS(277),
    [aux_sym_sql_keyword_token45] = ACTIONS(277),
    [aux_sym_sql_keyword_token46] = ACTIONS(277),
    [aux_sym_sql_keyword_token47] = ACTIONS(277),
    [aux_sym_sql_keyword_token48] = ACTIONS(277),
    [aux_sym_sql_keyword_token49] = ACTIONS(277),
    [aux_sym_sql_keyword_token50] = ACTIONS(277),
    [sym_quoted_identifier] = ACTIONS(277),
    [sym_number] = ACTIONS(277),
    [anon_sym_SQUOTE] = ACTIONS(275),
    [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(281),
    [anon_sym_COMMA] = ACTIONS(279),
    [anon_sym_STAR] = ACTIONS(281),
    [anon_sym_DOT] = ACTIONS(281),
    [anon_sym_EQ] = ACTIONS(281),
    [anon_sym_LT] = ACTIONS(281),
    [anon_sym_GT] = ACTIONS(281),
    [anon_sym_BANG] = ACTIONS(281),
    [anon_sym_COLON_COLON] = ACTIONS(281),
    [anon_sym_LPAREN] = ACTIONS(279),
    [anon_sym_RPAREN] = ACTIONS(279),
    [aux_sym_subquery_body_token1] = ACTIONS(281),
    [aux_sym_cast_expression_token1] = ACTIONS(281),
    [aux_sym_cast_expression_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token1] = ACTIONS(281),
    [aux_sym_sql_keyword_token2] = ACTIONS(281),
    [aux_sym_sql_keyword_token3] = ACTIONS(281),
    [aux_sym_sql_keyword_token4] = ACTIONS(281),
    [aux_sym_sql_keyword_token5] = ACTIONS(281),
    [aux_sym_sql_keyword_token6] = ACTIONS(281),
    [aux_sym_sql_keyword_token7] = ACTIONS(281),
    [aux_sym_sql_keyword_token8] = ACTIONS(281),
    [aux_sym_sql_keyword_token9] = ACTIONS(281),
    [aux_sym_sql_keyword_token10] = ACTIONS(281),
    [aux_sym_sql_keyword_token11] = ACTIONS(281),
    [aux_sym_sql_keyword_token12] = ACTIONS(281),
    [aux_sym_sql_keyword_token13] = ACTIONS(281),
    [aux_sym_sql_keyword_token14] = ACTIONS(281),
    [aux_sym_sql_keyword_token15] = ACTIONS(281),
    [aux_sym_sql_keyword_token16] = ACTIONS(281),
    [aux_sym_sql_keyword_token17] = ACTIONS(281),
    [aux_sym_sql_keyword_token18] = ACTIONS(281),
    [aux_sym_sql_keyword_token19] = ACTIONS(281),
    [aux_sym_sql_keyword_token20] = ACTIONS(281),
    [aux_sym_sql_keyword_token21] = ACTIONS(281),
    [aux_sym_sql_keyword_token22] = ACTIONS(281),
    [aux_sym_sql_keyword_token23] = ACTIONS(281),
    [aux_sym_sql_keyword_token24] = ACTIONS(281),
    [aux_sym_sql_keyword_token25] = ACTIONS(281),
    [aux_sym_sql_keyword_token26] = ACTIONS(281),
    [aux_sym_sql_keyword_token27] = ACTIONS(281),
    [aux_sym_sql_keyword_token28] = ACTIONS(281),
    [aux_sym_sql_keyword_token29] = ACTIONS(281),
    [aux_sym_sql_keyword_token30] = ACTIONS(281),
    [aux_sym_sql_keyword_token31] = ACTIONS(281),
    [aux_sym_sql_keyword_token32] = ACTIONS(281),
    [aux_sym_sql_keyword_token33] = ACTIONS(281),
    [aux_sym_sql_keyword_token34] = ACTIONS(281),
    [aux_sym_sql_keyword_token35] = ACTIONS(281),
    [aux_sym_sql_keyword_token36] = ACTIONS(281),
    [aux_sym_sql_keyword_token37] = ACTIONS(281),
    [aux_sym_sql_keyword_token38] = ACTIONS(281),
    [aux_sym_sql_keyword_token39] = ACTIONS(281),
    [aux_sym_sql_keyword_token40] = ACTIONS(281),
    [aux_sym_sql_keyword_token41] = ACTIONS(281),
    [aux_sym_sql_keyword_token42] = ACTIONS(281),
    [aux_sym_sql_keyword_token43] = ACTIONS(281),
    [aux_sym_sql_keyword_token44] = ACTIONS(281),
    [aux_sym_sql_keyword_token45] = ACTIONS(281),
    [aux_sym_sql_keyword_token46] = ACTIONS(281),
    [aux_sym_sql_keyword_token47] = ACTIONS(281),
    [aux_sym_sql_keyword_token48] = ACTIONS(281),
    [aux_sym_sql_keyword_token49] = ACTIONS(281),
    [aux_sym_sql_keyword_token50] = ACTIONS(281),
    [sym_quoted_identifier] = ACTIONS(281),
    [sym_number] = ACTIONS(281),
    [anon_sym_SQUOTE] = ACTIONS(279),
    [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(285),
    [anon_sym_COMMA] = ACTIONS(283),
    [anon_sym_STAR] = ACTIONS(285),
    [anon_sym_DOT] = ACTIONS(285),
    [anon_sym_EQ] = ACTIONS(285),
    [anon_sym_LT] = ACTIONS(285),
    [anon_sym_GT] = ACTIONS(285),
    [anon_sym_BANG] = ACTIONS(285),
    [anon_sym_COLON_COLON] = ACTIONS(285),
    [anon_sym_LPAREN] = ACTIONS(283),
    [anon_sym_RPAREN] = ACTIONS(283),
    [aux_sym_subquery_body_token1] = ACTIONS(285),
    [aux_sym_cast_expression_token1] = ACTIONS(285),
    [aux_sym_cast_expression_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token1] = ACTIONS(285),
    [aux_sym_sql_keyword_token2] = ACTIONS(285),
    [aux_sym_sql_keyword_token3] = ACTIONS(285),
    [aux_sym_sql_keyword_token4] = ACTIONS(285),
    [aux_sym_sql_keyword_token5] = ACTIONS(285),
    [aux_sym_sql_keyword_token6] = ACTIONS(285),
    [aux_sym_sql_keyword_token7] = ACTIONS(285),
    [aux_sym_sql_keyword_token8] = ACTIONS(285),
    [aux_sym_sql_keyword_token9] = ACTIONS(285),
    [aux_sym_sql_keyword_token10] = ACTIONS(285),
    [aux_sym_sql_keyword_token11] = ACTIONS(285),
    [aux_sym_sql_keyword_token12] = ACTIONS(285),
    [aux_sym_sql_keyword_token13] = ACTIONS(285),
    [aux_sym_sql_keyword_token14] = ACTIONS(285),
    [aux_sym_sql_keyword_token15] = ACTIONS(285),
    [aux_sym_sql_keyword_token16] = ACTIONS(285),
    [aux_sym_sql_keyword_token17] = ACTIONS(285),
    [aux_sym_sql_keyword_token18] = ACTIONS(285),
    [aux_sym_sql_keyword_token19] = ACTIONS(285),
    [aux_sym_sql_keyword_token20] = ACTIONS(285),
    [aux_sym_sql_keyword_token21] = ACTIONS(285),
    [aux_sym_sql_keyword_token22] = ACTIONS(285),
    [aux_sym_sql_keyword_token23] = ACTIONS(285),
    [aux_sym_sql_keyword_token24] = ACTIONS(285),
    [aux_sym_sql_keyword_token25] = ACTIONS(285),
    [aux_sym_sql_keyword_token26] = ACTIONS(285),
    [aux_sym_sql_keyword_token27] = ACTIONS(285),
    [aux_sym_sql_keyword_token28] = ACTIONS(285),
    [aux_sym_sql_keyword_token29] = ACTIONS(285),
    [aux_sym_sql_keyword_token30] = ACTIONS(285),
    [aux_sym_sql_keyword_token31] = ACTIONS(285),
    [aux_sym_sql_keyword_token32] = ACTIONS(285),
    [aux_sym_sql_keyword_token33] = ACTIONS(285),
    [aux_sym_sql_keyword_token34] = ACTIONS(285),
    [aux_sym_sql_keyword_token35] = ACTIONS(285),
    [aux_sym_sql_keyword_token36] = ACTIONS(285),
    [aux_sym_sql_keyword_token37] = ACTIONS(285),
    [aux_sym_sql_keyword_token38] = ACTIONS(285),
    [aux_sym_sql_keyword_token39] = ACTIONS(285),
    [aux_sym_sql_keyword_token40] = ACTIONS(285),
    [aux_sym_sql_keyword_token41] = ACTIONS(285),
    [aux_sym_sql_keyword_token42] = ACTIONS(285),
    [aux_sym_sql_keyword_token43] = ACTIONS(285),
    [aux_sym_sql_keyword_token44] = ACTIONS(285),
    [aux_sym_sql_keyword_token45] = ACTIONS(285),
    [aux_sym_sql_keyword_token46] = ACTIONS(285),
    [aux_sym_sql_keyword_token47] = ACTIONS(285),
    [aux_sym_sql_keyword_token48] = ACTIONS(285),
    [aux_sym_sql_keyword_token49] = ACTIONS(285),
    [aux_sym_sql_keyword_token50] = ACTIONS(285),
    [sym_quoted_identifier] = ACTIONS(285),
    [sym_number] = ACTIONS(285),
    [anon_sym_SQUOTE] = ACTIONS(283),
    [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(295),
    [anon_sym_COMMA] = ACTIONS(293),
    [anon_sym_STAR] = ACTIONS(295),
    [anon_sym_DOT] = ACTIONS(295),
    [anon_sym_EQ] = ACTIONS(295),
    [anon_sym_LT] = ACTIONS(295),
    [anon_sym_GT] = ACTIONS(295),
    [anon_sym_BANG] = ACTIONS(295),
    [anon_sym_COLON_COLON] = ACTIONS(295),
    [anon_sym_LPAREN] = ACTIONS(293),
    [anon_sym_RPAREN] = ACTIONS(293),
    [aux_sym_subquery_body_token1] = ACTIONS(295),
    [aux_sym_cast_expression_token1] = ACTIONS(295),
    [aux_sym_cast_expression_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token1] = ACTIONS(295),
    [aux_sym_sql_keyword_token2] = ACTIONS(295),
    [aux_sym_sql_keyword_token3] = ACTIONS(295),
    [aux_sym_sql_keyword_token4] = ACTIONS(295),
    [aux_sym_sql_keyword_token5] = ACTIONS(295),
    [aux_sym_sql_keyword_token6] = ACTIONS(295),
    [aux_sym_sql_keyword_token7] = ACTIONS(295),
    [aux_sym_sql_keyword_token8] = ACTIONS(295),
    [aux_sym_sql_keyword_token9] = ACTIONS(295),
    [aux_sym_sql_keyword_token10] = ACTIONS(295),
    [aux_sym_sql_keyword_token11] = ACTIONS(295),
    [aux_sym_sql_keyword_token12] = ACTIONS(295),
    [aux_sym_sql_keyword_token13] = ACTIONS(295),
    [aux_sym_sql_keyword_token14] = ACTIONS(295),
    [aux_sym_sql_keyword_token15] = ACTIONS(295),
    [aux_sym_sql_keyword_token16] = ACTIONS(295),
    [aux_sym_sql_keyword_token17] = ACTIONS(295),
    [aux_sym_sql_keyword_token18] = ACTIONS(295),
    [aux_sym_sql_keyword_token19] = ACTIONS(295),
    [aux_sym_sql_keyword_token20] = ACTIONS(295),
    [aux_sym_sql_keyword_token21] = ACTIONS(295),
    [aux_sym_sql_keyword_token22] = ACTIONS(295),
    [aux_sym_sql_keyword_token23] = ACTIONS(295),
    [aux_sym_sql_keyword_token24] = ACTIONS(295),
    [aux_sym_sql_keyword_token25] = ACTIONS(295),
    [aux_sym_sql_keyword_token26] = ACTIONS(295),
    [aux_sym_sql_keyword_token27] = ACTIONS(295),
    [aux_sym_sql_keyword_token28] = ACTIONS(295),
    [aux_sym_sql_keyword_token29] = ACTIONS(295),
    [aux_sym_sql_keyword_token30] = ACTIONS(295),
    [aux_sym_sql_keyword_token31] = ACTIONS(295),
    [aux_sym_sql_keyword_token32] = ACTIONS(295),
    [aux_sym_sql_keyword_token33] = ACTIONS(295),
    [aux_sym_sql_keyword_token34] = ACTIONS(295),
    [aux_sym_sql_keyword_token35] = ACTIONS(295),
    [aux_sym_sql_keyword_token36] = ACTIONS(295),
    [aux_sym_sql_keyword_token37] = ACTIONS(295),
    [aux_sym_sql_keyword_token38] = ACTIONS(295),
    [aux_sym_sql_keyword_token39] = ACTIONS(295),
    [aux_sym_sql_keyword_token40] = ACTIONS(295),
    [aux_sym_sql_keyword_token41] = ACTIONS(295),
    [aux_sym_sql_keyword_token42] = ACTIONS(295),
    [aux_sym_sql_keyword_token43] = ACTIONS(295),
    [aux_sym_sql_keyword_token44] = ACTIONS(295),
    [aux_sym_sql_keyword_token45] = ACTIONS(295),
    [aux_sym_sql_keyword_token46] = ACTIONS(295),
    [aux_sym_sql_keyword_token47] = ACTIONS(295),
    [aux_sym_sql_keyword_token48] = ACTIONS(295),
    [aux_sym_sql_keyword_token49] = ACTIONS(295),
    [aux_sym_sql_keyword_token50] = ACTIONS(295),
    [sym_quoted_identifier] = ACTIONS(295),
    [sym_number] = ACTIONS(295),
    [anon_sym_SQUOTE] = ACTIONS(293),
    [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(307),
    [anon_sym_COMMA] = ACTIONS(305),
    [anon_sym_STAR] = ACTIONS(307),
    [anon_sym_DOT] = ACTIONS(307),
    [anon_sym_EQ] = ACTIONS(307),
    [anon_sym_LT] = ACTIONS(307),
    [anon_sym_GT] = ACTIONS(307),
    [anon_sym_BANG] = ACTIONS(307),
    [anon_sym_COLON_COLON] = ACTIONS(307),
    [anon_sym_LPAREN] = ACTIONS(305),
    [anon_sym_RPAREN] = ACTIONS(305),
    [aux_sym_subquery_body_token1] = ACTIONS(307),
    [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(307),
    [sym_number] = ACTIONS(307),
    [anon_sym_SQUOTE] = ACTIONS(305),
    [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(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(311),
    [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(111)] = {
    [sym_comment] = STATE(111),
    [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(112)] = {
    [sym_comment] = STATE(112),
    [sym_bare_identifier] = ACTIONS(211),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(211),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(211),
    [anon_sym_LT] = ACTIONS(211),
    [anon_sym_GT] = ACTIONS(211),
    [anon_sym_BANG] = ACTIONS(211),
    [anon_sym_COLON_COLON] = ACTIONS(211),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_subquery_body_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token1] = ACTIONS(211),
    [aux_sym_cast_expression_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(211),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(230),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(230),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(230),
    [anon_sym_LT] = ACTIONS(230),
    [anon_sym_GT] = ACTIONS(230),
    [anon_sym_BANG] = ACTIONS(230),
    [anon_sym_COLON_COLON] = ACTIONS(230),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_subquery_body_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token1] = ACTIONS(230),
    [aux_sym_cast_expression_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_quoted_identifier] = ACTIONS(230),
    [sym_number] = ACTIONS(230),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(234),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(234),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(234),
    [anon_sym_LT] = ACTIONS(234),
    [anon_sym_GT] = ACTIONS(234),
    [anon_sym_BANG] = ACTIONS(234),
    [anon_sym_COLON_COLON] = ACTIONS(234),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_subquery_body_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token1] = ACTIONS(234),
    [aux_sym_cast_expression_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(234),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(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(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(119),
    [ts_builtin_sym_end] = ACTIONS(437),
    [anon_sym_SEMI] = ACTIONS(437),
    [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(437),
    [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(117)] = {
    [sym_subquery] = STATE(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [sym_comment] = STATE(117),
    [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(118)] = {
    [sym_subquery] = STATE(127),
    [sym_sql_keyword] = STATE(127),
    [sym_identifier] = STATE(127),
    [sym_string] = STATE(127),
    [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(138),
    [sym_sql_keyword] = STATE(138),
    [sym_string] = STATE(138),
    [sym_comment] = STATE(119),
    [aux_sym_other_sql_statement_repeat1] = STATE(119),
    [ts_builtin_sym_end] = ACTIONS(439),
    [anon_sym_SEMI] = ACTIONS(439),
    [anon_sym_COMMA] = ACTIONS(441),
    [anon_sym_STAR] = ACTIONS(444),
    [anon_sym_DOT] = ACTIONS(444),
    [anon_sym_EQ] = ACTIONS(444),
    [anon_sym_LPAREN] = ACTIONS(447),
    [anon_sym_RPAREN] = ACTIONS(441),
    [aux_sym_other_sql_statement_token1] = ACTIONS(444),
    [aux_sym_sql_keyword_token1] = ACTIONS(450),
    [aux_sym_sql_keyword_token2] = ACTIONS(453),
    [aux_sym_sql_keyword_token3] = ACTIONS(453),
    [aux_sym_sql_keyword_token4] = ACTIONS(450),
    [aux_sym_sql_keyword_token5] = ACTIONS(453),
    [aux_sym_sql_keyword_token6] = ACTIONS(453),
    [aux_sym_sql_keyword_token7] = ACTIONS(453),
    [aux_sym_sql_keyword_token8] = ACTIONS(450),
    [aux_sym_sql_keyword_token9] = ACTIONS(453),
    [aux_sym_sql_keyword_token10] = ACTIONS(453),
    [aux_sym_sql_keyword_token11] = ACTIONS(453),
    [aux_sym_sql_keyword_token12] = ACTIONS(450),
    [aux_sym_sql_keyword_token13] = ACTIONS(453),
    [aux_sym_sql_keyword_token14] = ACTIONS(450),
    [aux_sym_sql_keyword_token15] = ACTIONS(450),
    [aux_sym_sql_keyword_token16] = ACTIONS(450),
    [aux_sym_sql_keyword_token17] = ACTIONS(453),
    [aux_sym_sql_keyword_token18] = ACTIONS(453),
    [aux_sym_sql_keyword_token19] = ACTIONS(453),
    [aux_sym_sql_keyword_token20] = ACTIONS(453),
    [aux_sym_sql_keyword_token21] = ACTIONS(453),
    [aux_sym_sql_keyword_token22] = ACTIONS(450),
    [aux_sym_sql_keyword_token23] = ACTIONS(453),
    [aux_sym_sql_keyword_token24] = ACTIONS(453),
    [aux_sym_sql_keyword_token25] = ACTIONS(453),
    [aux_sym_sql_keyword_token26] = ACTIONS(453),
    [aux_sym_sql_keyword_token27] = ACTIONS(450),
    [aux_sym_sql_keyword_token28] = ACTIONS(453),
    [aux_sym_sql_keyword_token29] = ACTIONS(453),
    [aux_sym_sql_keyword_token30] = ACTIONS(453),
    [aux_sym_sql_keyword_token31] = ACTIONS(453),
    [aux_sym_sql_keyword_token32] = ACTIONS(453),
    [aux_sym_sql_keyword_token33] = ACTIONS(450),
    [aux_sym_sql_keyword_token34] = ACTIONS(450),
    [aux_sym_sql_keyword_token35] = ACTIONS(450),
    [aux_sym_sql_keyword_token36] = ACTIONS(453),
    [aux_sym_sql_keyword_token37] = ACTIONS(453),
    [aux_sym_sql_keyword_token38] = ACTIONS(453),
    [aux_sym_sql_keyword_token39] = ACTIONS(453),
    [aux_sym_sql_keyword_token40] = ACTIONS(453),
    [aux_sym_sql_keyword_token41] = ACTIONS(453),
    [aux_sym_sql_keyword_token42] = ACTIONS(450),
    [aux_sym_sql_keyword_token43] = ACTIONS(453),
    [aux_sym_sql_keyword_token44] = ACTIONS(453),
    [aux_sym_sql_keyword_token45] = ACTIONS(453),
    [aux_sym_sql_keyword_token46] = ACTIONS(453),
    [aux_sym_sql_keyword_token47] = ACTIONS(450),
    [aux_sym_sql_keyword_token48] = ACTIONS(453),
    [aux_sym_sql_keyword_token49] = ACTIONS(453),
    [aux_sym_sql_keyword_token50] = ACTIONS(453),
    [sym_visualise_keyword] = ACTIONS(439),
    [sym_number] = ACTIONS(444),
    [anon_sym_SQUOTE] = ACTIONS(456),
    [anon_sym_SLASH_SLASH] = ACTIONS(35),
    [anon_sym_SLASH_STAR] = ACTIONS(37),
    [anon_sym_DASH_DASH] = ACTIONS(35),
  },
  [STATE(120)] = {
    [sym_subquery] = STATE(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [sym_comment] = STATE(120),
    [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(121)] = {
    [sym_subquery] = STATE(128),
    [sym_sql_keyword] = STATE(128),
    [sym_identifier] = STATE(128),
    [sym_string] = STATE(128),
    [sym_comment] = STATE(121),
    [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(122)] = {
    [sym_comment] = STATE(122),
    [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(123)] = {
    [sym_comment] = STATE(123),
    [ts_builtin_sym_end] = ACTIONS(209),
    [sym_bare_identifier] = ACTIONS(211),
    [anon_sym_SEMI] = ACTIONS(209),
    [aux_sym_select_statement_token1] = ACTIONS(211),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(211),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(211),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_create_statement_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_visualise_keyword] = ACTIONS(209),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(211),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(228),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_SEMI] = ACTIONS(228),
    [aux_sym_select_statement_token1] = ACTIONS(230),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(230),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(230),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_create_statement_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_visualise_keyword] = ACTIONS(228),
    [sym_quoted_identifier] = ACTIONS(230),
    [sym_number] = ACTIONS(230),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(232),
    [sym_bare_identifier] = ACTIONS(234),
    [anon_sym_SEMI] = ACTIONS(232),
    [aux_sym_select_statement_token1] = ACTIONS(234),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(234),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(234),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_create_statement_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_visualise_keyword] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(234),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(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(127)] = {
    [sym_comment] = STATE(127),
    [ts_builtin_sym_end] = ACTIONS(110),
    [sym_bare_identifier] = ACTIONS(112),
    [anon_sym_SEMI] = ACTIONS(110),
    [aux_sym_select_statement_token1] = ACTIONS(112),
    [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_create_statement_token2] = ACTIONS(112),
    [aux_sym_sql_keyword_token1] = ACTIONS(112),
    [aux_sym_sql_keyword_token2] = ACTIONS(112),
    [aux_sym_sql_keyword_token3] = ACTIONS(112),
    [aux_sym_sql_keyword_token4] = ACTIONS(112),
    [aux_sym_sql_keyword_token5] = ACTIONS(112),
    [aux_sym_sql_keyword_token6] = ACTIONS(112),
    [aux_sym_sql_keyword_token7] = ACTIONS(112),
    [aux_sym_sql_keyword_token8] = ACTIONS(112),
    [aux_sym_sql_keyword_token9] = ACTIONS(112),
    [aux_sym_sql_keyword_token10] = ACTIONS(112),
    [aux_sym_sql_keyword_token11] = ACTIONS(112),
    [aux_sym_sql_keyword_token12] = ACTIONS(112),
    [aux_sym_sql_keyword_token13] = ACTIONS(112),
    [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(112),
    [aux_sym_sql_keyword_token18] = ACTIONS(112),
    [aux_sym_sql_keyword_token19] = ACTIONS(112),
    [aux_sym_sql_keyword_token20] = ACTIONS(112),
    [aux_sym_sql_keyword_token21] = ACTIONS(112),
    [aux_sym_sql_keyword_token22] = ACTIONS(112),
    [aux_sym_sql_keyword_token23] = ACTIONS(112),
    [aux_sym_sql_keyword_token24] = ACTIONS(112),
    [aux_sym_sql_keyword_token25] = ACTIONS(112),
    [aux_sym_sql_keyword_token26] = ACTIONS(112),
    [aux_sym_sql_keyword_token27] = ACTIONS(112),
    [aux_sym_sql_keyword_token28] = ACTIONS(112),
    [aux_sym_sql_keyword_token29] = ACTIONS(112),
    [aux_sym_sql_keyword_token30] = ACTIONS(112),
    [aux_sym_sql_keyword_token31] = ACTIONS(112),
    [aux_sym_sql_keyword_token32] = ACTIONS(112),
    [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(112),
    [aux_sym_sql_keyword_token37] = ACTIONS(112),
    [aux_sym_sql_keyword_token38] = ACTIONS(112),
    [aux_sym_sql_keyword_token39] = ACTIONS(112),
    [aux_sym_sql_keyword_token40] = ACTIONS(112),
    [aux_sym_sql_keyword_token41] = ACTIONS(112),
    [aux_sym_sql_keyword_token42] = ACTIONS(112),
    [aux_sym_sql_keyword_token43] = ACTIONS(112),
    [aux_sym_sql_keyword_token44] = ACTIONS(112),
    [aux_sym_sql_keyword_token45] = ACTIONS(112),
    [aux_sym_sql_keyword_token46] = ACTIONS(112),
    [aux_sym_sql_keyword_token47] = ACTIONS(112),
    [aux_sym_sql_keyword_token48] = ACTIONS(112),
    [aux_sym_sql_keyword_token49] = ACTIONS(112),
    [aux_sym_sql_keyword_token50] = ACTIONS(112),
    [sym_visualise_keyword] = ACTIONS(110),
    [sym_quoted_identifier] = ACTIONS(112),
    [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),
  },
  [STATE(128)] = {
    [sym_comment] = STATE(128),
    [ts_builtin_sym_end] = ACTIONS(110),
    [sym_bare_identifier] = ACTIONS(112),
    [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_create_statement_token2] = ACTIONS(112),
    [aux_sym_sql_keyword_token1] = ACTIONS(112),
    [aux_sym_sql_keyword_token2] = ACTIONS(112),
    [aux_sym_sql_keyword_token3] = ACTIONS(112),
    [aux_sym_sql_keyword_token4] = ACTIONS(112),
    [aux_sym_sql_keyword_token5] = ACTIONS(112),
    [aux_sym_sql_keyword_token6] = ACTIONS(112),
    [aux_sym_sql_keyword_token7] = ACTIONS(112),
    [aux_sym_sql_keyword_token8] = ACTIONS(112),
    [aux_sym_sql_keyword_token9] = ACTIONS(112),
    [aux_sym_sql_keyword_token10] = ACTIONS(112),
    [aux_sym_sql_keyword_token11] = ACTIONS(112),
    [aux_sym_sql_keyword_token12] = ACTIONS(112),
    [aux_sym_sql_keyword_token13] = ACTIONS(112),
    [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(112),
    [aux_sym_sql_keyword_token18] = ACTIONS(112),
    [aux_sym_sql_keyword_token19] = ACTIONS(112),
    [aux_sym_sql_keyword_token20] = ACTIONS(112),
    [aux_sym_sql_keyword_token21] = ACTIONS(112),
    [aux_sym_sql_keyword_token22] = ACTIONS(112),
    [aux_sym_sql_keyword_token23] = ACTIONS(112),
    [aux_sym_sql_keyword_token24] = ACTIONS(112),
    [aux_sym_sql_keyword_token25] = ACTIONS(112),
    [aux_sym_sql_keyword_token26] = ACTIONS(112),
    [aux_sym_sql_keyword_token27] = ACTIONS(112),
    [aux_sym_sql_keyword_token28] = ACTIONS(112),
    [aux_sym_sql_keyword_token29] = ACTIONS(112),
    [aux_sym_sql_keyword_token30] = ACTIONS(112),
    [aux_sym_sql_keyword_token31] = ACTIONS(112),
    [aux_sym_sql_keyword_token32] = ACTIONS(112),
    [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(112),
    [aux_sym_sql_keyword_token37] = ACTIONS(112),
    [aux_sym_sql_keyword_token38] = ACTIONS(112),
    [aux_sym_sql_keyword_token39] = ACTIONS(112),
    [aux_sym_sql_keyword_token40] = ACTIONS(112),
    [aux_sym_sql_keyword_token41] = ACTIONS(112),
    [aux_sym_sql_keyword_token42] = ACTIONS(112),
    [aux_sym_sql_keyword_token43] = ACTIONS(112),
    [aux_sym_sql_keyword_token44] = ACTIONS(112),
    [aux_sym_sql_keyword_token45] = ACTIONS(112),
    [aux_sym_sql_keyword_token46] = ACTIONS(112),
    [aux_sym_sql_keyword_token47] = ACTIONS(112),
    [aux_sym_sql_keyword_token48] = ACTIONS(112),
    [aux_sym_sql_keyword_token49] = ACTIONS(112),
    [aux_sym_sql_keyword_token50] = ACTIONS(112),
    [sym_visualise_keyword] = ACTIONS(110),
    [sym_quoted_identifier] = ACTIONS(112),
    [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),
  },
  [STATE(129)] = {
    [sym_comment] = STATE(129),
    [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(130)] = {
    [sym_comment] = STATE(130),
    [ts_builtin_sym_end] = ACTIONS(209),
    [sym_bare_identifier] = ACTIONS(211),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_COMMA] = ACTIONS(209),
    [anon_sym_STAR] = ACTIONS(211),
    [anon_sym_DOT] = ACTIONS(211),
    [anon_sym_EQ] = ACTIONS(211),
    [anon_sym_LPAREN] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(209),
    [aux_sym_create_statement_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token1] = ACTIONS(211),
    [aux_sym_sql_keyword_token2] = ACTIONS(211),
    [aux_sym_sql_keyword_token3] = ACTIONS(211),
    [aux_sym_sql_keyword_token4] = ACTIONS(211),
    [aux_sym_sql_keyword_token5] = ACTIONS(211),
    [aux_sym_sql_keyword_token6] = ACTIONS(211),
    [aux_sym_sql_keyword_token7] = ACTIONS(211),
    [aux_sym_sql_keyword_token8] = ACTIONS(211),
    [aux_sym_sql_keyword_token9] = ACTIONS(211),
    [aux_sym_sql_keyword_token10] = ACTIONS(211),
    [aux_sym_sql_keyword_token11] = ACTIONS(211),
    [aux_sym_sql_keyword_token12] = ACTIONS(211),
    [aux_sym_sql_keyword_token13] = ACTIONS(211),
    [aux_sym_sql_keyword_token14] = ACTIONS(211),
    [aux_sym_sql_keyword_token15] = ACTIONS(211),
    [aux_sym_sql_keyword_token16] = ACTIONS(211),
    [aux_sym_sql_keyword_token17] = ACTIONS(211),
    [aux_sym_sql_keyword_token18] = ACTIONS(211),
    [aux_sym_sql_keyword_token19] = ACTIONS(211),
    [aux_sym_sql_keyword_token20] = ACTIONS(211),
    [aux_sym_sql_keyword_token21] = ACTIONS(211),
    [aux_sym_sql_keyword_token22] = ACTIONS(211),
    [aux_sym_sql_keyword_token23] = ACTIONS(211),
    [aux_sym_sql_keyword_token24] = ACTIONS(211),
    [aux_sym_sql_keyword_token25] = ACTIONS(211),
    [aux_sym_sql_keyword_token26] = ACTIONS(211),
    [aux_sym_sql_keyword_token27] = ACTIONS(211),
    [aux_sym_sql_keyword_token28] = ACTIONS(211),
    [aux_sym_sql_keyword_token29] = ACTIONS(211),
    [aux_sym_sql_keyword_token30] = ACTIONS(211),
    [aux_sym_sql_keyword_token31] = ACTIONS(211),
    [aux_sym_sql_keyword_token32] = ACTIONS(211),
    [aux_sym_sql_keyword_token33] = ACTIONS(211),
    [aux_sym_sql_keyword_token34] = ACTIONS(211),
    [aux_sym_sql_keyword_token35] = ACTIONS(211),
    [aux_sym_sql_keyword_token36] = ACTIONS(211),
    [aux_sym_sql_keyword_token37] = ACTIONS(211),
    [aux_sym_sql_keyword_token38] = ACTIONS(211),
    [aux_sym_sql_keyword_token39] = ACTIONS(211),
    [aux_sym_sql_keyword_token40] = ACTIONS(211),
    [aux_sym_sql_keyword_token41] = ACTIONS(211),
    [aux_sym_sql_keyword_token42] = ACTIONS(211),
    [aux_sym_sql_keyword_token43] = ACTIONS(211),
    [aux_sym_sql_keyword_token44] = ACTIONS(211),
    [aux_sym_sql_keyword_token45] = ACTIONS(211),
    [aux_sym_sql_keyword_token46] = ACTIONS(211),
    [aux_sym_sql_keyword_token47] = ACTIONS(211),
    [aux_sym_sql_keyword_token48] = ACTIONS(211),
    [aux_sym_sql_keyword_token49] = ACTIONS(211),
    [aux_sym_sql_keyword_token50] = ACTIONS(211),
    [sym_visualise_keyword] = ACTIONS(209),
    [sym_quoted_identifier] = ACTIONS(211),
    [sym_number] = ACTIONS(211),
    [anon_sym_SQUOTE] = ACTIONS(209),
    [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(228),
    [sym_bare_identifier] = ACTIONS(230),
    [anon_sym_SEMI] = ACTIONS(228),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(230),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(230),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_create_statement_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(230),
    [aux_sym_sql_keyword_token3] = ACTIONS(230),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(230),
    [aux_sym_sql_keyword_token6] = ACTIONS(230),
    [aux_sym_sql_keyword_token7] = ACTIONS(230),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(230),
    [aux_sym_sql_keyword_token10] = ACTIONS(230),
    [aux_sym_sql_keyword_token11] = ACTIONS(230),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(230),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(230),
    [aux_sym_sql_keyword_token18] = ACTIONS(230),
    [aux_sym_sql_keyword_token19] = ACTIONS(230),
    [aux_sym_sql_keyword_token20] = ACTIONS(230),
    [aux_sym_sql_keyword_token21] = ACTIONS(230),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(230),
    [aux_sym_sql_keyword_token24] = ACTIONS(230),
    [aux_sym_sql_keyword_token25] = ACTIONS(230),
    [aux_sym_sql_keyword_token26] = ACTIONS(230),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(230),
    [aux_sym_sql_keyword_token29] = ACTIONS(230),
    [aux_sym_sql_keyword_token30] = ACTIONS(230),
    [aux_sym_sql_keyword_token31] = ACTIONS(230),
    [aux_sym_sql_keyword_token32] = ACTIONS(230),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(230),
    [aux_sym_sql_keyword_token37] = ACTIONS(230),
    [aux_sym_sql_keyword_token38] = ACTIONS(230),
    [aux_sym_sql_keyword_token39] = ACTIONS(230),
    [aux_sym_sql_keyword_token40] = ACTIONS(230),
    [aux_sym_sql_keyword_token41] = ACTIONS(230),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(230),
    [aux_sym_sql_keyword_token44] = ACTIONS(230),
    [aux_sym_sql_keyword_token45] = ACTIONS(230),
    [aux_sym_sql_keyword_token46] = ACTIONS(230),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(230),
    [aux_sym_sql_keyword_token49] = ACTIONS(230),
    [aux_sym_sql_keyword_token50] = ACTIONS(230),
    [sym_visualise_keyword] = ACTIONS(228),
    [sym_quoted_identifier] = ACTIONS(230),
    [sym_number] = ACTIONS(230),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(232),
    [sym_bare_identifier] = ACTIONS(234),
    [anon_sym_SEMI] = ACTIONS(232),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(234),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(234),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_create_statement_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(234),
    [aux_sym_sql_keyword_token3] = ACTIONS(234),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(234),
    [aux_sym_sql_keyword_token6] = ACTIONS(234),
    [aux_sym_sql_keyword_token7] = ACTIONS(234),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(234),
    [aux_sym_sql_keyword_token10] = ACTIONS(234),
    [aux_sym_sql_keyword_token11] = ACTIONS(234),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(234),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(234),
    [aux_sym_sql_keyword_token18] = ACTIONS(234),
    [aux_sym_sql_keyword_token19] = ACTIONS(234),
    [aux_sym_sql_keyword_token20] = ACTIONS(234),
    [aux_sym_sql_keyword_token21] = ACTIONS(234),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(234),
    [aux_sym_sql_keyword_token24] = ACTIONS(234),
    [aux_sym_sql_keyword_token25] = ACTIONS(234),
    [aux_sym_sql_keyword_token26] = ACTIONS(234),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(234),
    [aux_sym_sql_keyword_token29] = ACTIONS(234),
    [aux_sym_sql_keyword_token30] = ACTIONS(234),
    [aux_sym_sql_keyword_token31] = ACTIONS(234),
    [aux_sym_sql_keyword_token32] = ACTIONS(234),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(234),
    [aux_sym_sql_keyword_token37] = ACTIONS(234),
    [aux_sym_sql_keyword_token38] = ACTIONS(234),
    [aux_sym_sql_keyword_token39] = ACTIONS(234),
    [aux_sym_sql_keyword_token40] = ACTIONS(234),
    [aux_sym_sql_keyword_token41] = ACTIONS(234),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(234),
    [aux_sym_sql_keyword_token44] = ACTIONS(234),
    [aux_sym_sql_keyword_token45] = ACTIONS(234),
    [aux_sym_sql_keyword_token46] = ACTIONS(234),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(234),
    [aux_sym_sql_keyword_token49] = ACTIONS(234),
    [aux_sym_sql_keyword_token50] = ACTIONS(234),
    [sym_visualise_keyword] = ACTIONS(232),
    [sym_quoted_identifier] = ACTIONS(234),
    [sym_number] = ACTIONS(234),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(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(134)] = {
    [sym_comment] = STATE(134),
    [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(135)] = {
    [sym_comment] = STATE(135),
    [ts_builtin_sym_end] = ACTIONS(232),
    [anon_sym_SEMI] = ACTIONS(232),
    [anon_sym_COMMA] = ACTIONS(232),
    [anon_sym_STAR] = ACTIONS(234),
    [anon_sym_DOT] = ACTIONS(234),
    [anon_sym_EQ] = ACTIONS(234),
    [anon_sym_LPAREN] = ACTIONS(232),
    [anon_sym_RPAREN] = ACTIONS(232),
    [aux_sym_other_sql_statement_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token1] = ACTIONS(234),
    [aux_sym_sql_keyword_token2] = ACTIONS(232),
    [aux_sym_sql_keyword_token3] = ACTIONS(232),
    [aux_sym_sql_keyword_token4] = ACTIONS(234),
    [aux_sym_sql_keyword_token5] = ACTIONS(232),
    [aux_sym_sql_keyword_token6] = ACTIONS(232),
    [aux_sym_sql_keyword_token7] = ACTIONS(232),
    [aux_sym_sql_keyword_token8] = ACTIONS(234),
    [aux_sym_sql_keyword_token9] = ACTIONS(232),
    [aux_sym_sql_keyword_token10] = ACTIONS(232),
    [aux_sym_sql_keyword_token11] = ACTIONS(232),
    [aux_sym_sql_keyword_token12] = ACTIONS(234),
    [aux_sym_sql_keyword_token13] = ACTIONS(232),
    [aux_sym_sql_keyword_token14] = ACTIONS(234),
    [aux_sym_sql_keyword_token15] = ACTIONS(234),
    [aux_sym_sql_keyword_token16] = ACTIONS(234),
    [aux_sym_sql_keyword_token17] = ACTIONS(232),
    [aux_sym_sql_keyword_token18] = ACTIONS(232),
    [aux_sym_sql_keyword_token19] = ACTIONS(232),
    [aux_sym_sql_keyword_token20] = ACTIONS(232),
    [aux_sym_sql_keyword_token21] = ACTIONS(232),
    [aux_sym_sql_keyword_token22] = ACTIONS(234),
    [aux_sym_sql_keyword_token23] = ACTIONS(232),
    [aux_sym_sql_keyword_token24] = ACTIONS(232),
    [aux_sym_sql_keyword_token25] = ACTIONS(232),
    [aux_sym_sql_keyword_token26] = ACTIONS(232),
    [aux_sym_sql_keyword_token27] = ACTIONS(234),
    [aux_sym_sql_keyword_token28] = ACTIONS(232),
    [aux_sym_sql_keyword_token29] = ACTIONS(232),
    [aux_sym_sql_keyword_token30] = ACTIONS(232),
    [aux_sym_sql_keyword_token31] = ACTIONS(232),
    [aux_sym_sql_keyword_token32] = ACTIONS(232),
    [aux_sym_sql_keyword_token33] = ACTIONS(234),
    [aux_sym_sql_keyword_token34] = ACTIONS(234),
    [aux_sym_sql_keyword_token35] = ACTIONS(234),
    [aux_sym_sql_keyword_token36] = ACTIONS(232),
    [aux_sym_sql_keyword_token37] = ACTIONS(232),
    [aux_sym_sql_keyword_token38] = ACTIONS(232),
    [aux_sym_sql_keyword_token39] = ACTIONS(232),
    [aux_sym_sql_keyword_token40] = ACTIONS(232),
    [aux_sym_sql_keyword_token41] = ACTIONS(232),
    [aux_sym_sql_keyword_token42] = ACTIONS(234),
    [aux_sym_sql_keyword_token43] = ACTIONS(232),
    [aux_sym_sql_keyword_token44] = ACTIONS(232),
    [aux_sym_sql_keyword_token45] = ACTIONS(232),
    [aux_sym_sql_keyword_token46] = ACTIONS(232),
    [aux_sym_sql_keyword_token47] = ACTIONS(234),
    [aux_sym_sql_keyword_token48] = ACTIONS(232),
    [aux_sym_sql_keyword_token49] = ACTIONS(232),
    [aux_sym_sql_keyword_token50] = ACTIONS(232),
    [sym_visualise_keyword] = ACTIONS(232),
    [sym_number] = ACTIONS(234),
    [anon_sym_SQUOTE] = ACTIONS(232),
    [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(228),
    [anon_sym_SEMI] = ACTIONS(228),
    [anon_sym_COMMA] = ACTIONS(228),
    [anon_sym_STAR] = ACTIONS(230),
    [anon_sym_DOT] = ACTIONS(230),
    [anon_sym_EQ] = ACTIONS(230),
    [anon_sym_LPAREN] = ACTIONS(228),
    [anon_sym_RPAREN] = ACTIONS(228),
    [aux_sym_other_sql_statement_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token1] = ACTIONS(230),
    [aux_sym_sql_keyword_token2] = ACTIONS(228),
    [aux_sym_sql_keyword_token3] = ACTIONS(228),
    [aux_sym_sql_keyword_token4] = ACTIONS(230),
    [aux_sym_sql_keyword_token5] = ACTIONS(228),
    [aux_sym_sql_keyword_token6] = ACTIONS(228),
    [aux_sym_sql_keyword_token7] = ACTIONS(228),
    [aux_sym_sql_keyword_token8] = ACTIONS(230),
    [aux_sym_sql_keyword_token9] = ACTIONS(228),
    [aux_sym_sql_keyword_token10] = ACTIONS(228),
    [aux_sym_sql_keyword_token11] = ACTIONS(228),
    [aux_sym_sql_keyword_token12] = ACTIONS(230),
    [aux_sym_sql_keyword_token13] = ACTIONS(228),
    [aux_sym_sql_keyword_token14] = ACTIONS(230),
    [aux_sym_sql_keyword_token15] = ACTIONS(230),
    [aux_sym_sql_keyword_token16] = ACTIONS(230),
    [aux_sym_sql_keyword_token17] = ACTIONS(228),
    [aux_sym_sql_keyword_token18] = ACTIONS(228),
    [aux_sym_sql_keyword_token19] = ACTIONS(228),
    [aux_sym_sql_keyword_token20] = ACTIONS(228),
    [aux_sym_sql_keyword_token21] = ACTIONS(228),
    [aux_sym_sql_keyword_token22] = ACTIONS(230),
    [aux_sym_sql_keyword_token23] = ACTIONS(228),
    [aux_sym_sql_keyword_token24] = ACTIONS(228),
    [aux_sym_sql_keyword_token25] = ACTIONS(228),
    [aux_sym_sql_keyword_token26] = ACTIONS(228),
    [aux_sym_sql_keyword_token27] = ACTIONS(230),
    [aux_sym_sql_keyword_token28] = ACTIONS(228),
    [aux_sym_sql_keyword_token29] = ACTIONS(228),
    [aux_sym_sql_keyword_token30] = ACTIONS(228),
    [aux_sym_sql_keyword_token31] = ACTIONS(228),
    [aux_sym_sql_keyword_token32] = ACTIONS(228),
    [aux_sym_sql_keyword_token33] = ACTIONS(230),
    [aux_sym_sql_keyword_token34] = ACTIONS(230),
    [aux_sym_sql_keyword_token35] = ACTIONS(230),
    [aux_sym_sql_keyword_token36] = ACTIONS(228),
    [aux_sym_sql_keyword_token37] = ACTIONS(228),
    [aux_sym_sql_keyword_token38] = ACTIONS(228),
    [aux_sym_sql_keyword_token39] = ACTIONS(228),
    [aux_sym_sql_keyword_token40] = ACTIONS(228),
    [aux_sym_sql_keyword_token41] = ACTIONS(228),
    [aux_sym_sql_keyword_token42] = ACTIONS(230),
    [aux_sym_sql_keyword_token43] = ACTIONS(228),
    [aux_sym_sql_keyword_token44] = ACTIONS(228),
    [aux_sym_sql_keyword_token45] = ACTIONS(228),
    [aux_sym_sql_keyword_token46] = ACTIONS(228),
    [aux_sym_sql_keyword_token47] = ACTIONS(230),
    [aux_sym_sql_keyword_token48] = ACTIONS(228),
    [aux_sym_sql_keyword_token49] = ACTIONS(228),
    [aux_sym_sql_keyword_token50] = ACTIONS(228),
    [sym_visualise_keyword] = ACTIONS(228),
    [sym_number] = ACTIONS(230),
    [anon_sym_SQUOTE] = ACTIONS(228),
    [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(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(138)] = {
    [sym_comment] = STATE(138),
    [ts_builtin_sym_end] = ACTIONS(88),
    [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_other_sql_statement_token1] = ACTIONS(102),
    [aux_sym_sql_keyword_token1] = ACTIONS(102),
    [aux_sym_sql_keyword_token2] = ACTIONS(88),
    [aux_sym_sql_keyword_token3] = ACTIONS(88),
    [aux_sym_sql_keyword_token4] = ACTIONS(102),
    [aux_sym_sql_keyword_token5] = ACTIONS(88),
    [aux_sym_sql_keyword_token6] = ACTIONS(88),
    [aux_sym_sql_keyword_token7] = ACTIONS(88),
    [aux_sym_sql_keyword_token8] = ACTIONS(102),
    [aux_sym_sql_keyword_token9] = ACTIONS(88),
    [aux_sym_sql_keyword_token10] = ACTIONS(88),
    [aux_sym_sql_keyword_token11] = ACTIONS(88),
    [aux_sym_sql_keyword_token12] = ACTIONS(102),
    [aux_sym_sql_keyword_token13] = ACTIONS(88),
    [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(88),
    [aux_sym_sql_keyword_token18] = ACTIONS(88),
    [aux_sym_sql_keyword_token19] = ACTIONS(88),
    [aux_sym_sql_keyword_token20] = ACTIONS(88),
    [aux_sym_sql_keyword_token21] = ACTIONS(88),
    [aux_sym_sql_keyword_token22] = ACTIONS(102),
    [aux_sym_sql_keyword_token23] = ACTIONS(88),
    [aux_sym_sql_keyword_token24] = ACTIONS(88),
    [aux_sym_sql_keyword_token25] = ACTIONS(88),
    [aux_sym_sql_keyword_token26] = ACTIONS(88),
    [aux_sym_sql_keyword_token27] = ACTIONS(102),
    [aux_sym_sql_keyword_token28] = ACTIONS(88),
    [aux_sym_sql_keyword_token29] = ACTIONS(88),
    [aux_sym_sql_keyword_token30] = ACTIONS(88),
    [aux_sym_sql_keyword_token31] = ACTIONS(88),
    [aux_sym_sql_keyword_token32] = ACTIONS(88),
    [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(88),
    [aux_sym_sql_keyword_token37] = ACTIONS(88),
    [aux_sym_sql_keyword_token38] = ACTIONS(88),
    [aux_sym_sql_keyword_token39] = ACTIONS(88),
    [aux_sym_sql_keyword_token40] = ACTIONS(88),
    [aux_sym_sql_keyword_token41] = ACTIONS(88),
    [aux_sym_sql_keyword_token42] = ACTIONS(102),
    [aux_sym_sql_keyword_token43] = ACTIONS(88),
    [aux_sym_sql_keyword_token44] = ACTIONS(88),
    [aux_sym_sql_keyword_token45] = ACTIONS(88),
    [aux_sym_sql_keyword_token46] = ACTIONS(88),
    [aux_sym_sql_keyword_token47] = ACTIONS(102),
    [aux_sym_sql_keyword_token48] = ACTIONS(88),
    [aux_sym_sql_keyword_token49] = ACTIONS(88),
    [aux_sym_sql_keyword_token50] = ACTIONS(88),
    [sym_visualise_keyword] = ACTIONS(88),
    [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),
  },
};

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_filter_token,
    STATE(142), 1,
      sym_string,
    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), 10,
      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_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,
  [82] = 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_filter_token,
    STATE(142), 1,
      sym_string,
    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), 10,
      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_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,
  [166] = 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), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_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_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,
  [237] = 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), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_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_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,
  [308] = 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(230), 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(228), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_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_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,
  [379] = 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(244), 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(242), 47,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_cast_expression_token1,
      aux_sym_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_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,
  [450] = 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_filter_token,
    STATE(142), 1,
      sym_string,
    STATE(145), 1,
      sym_comment,
    STATE(305), 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,
  [525] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(146), 1,
      sym_comment,
    STATE(148), 1,
      sym_scale_type_identifier,
    STATE(177), 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), 39,
      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_theta,
      anon_sym_radius,
      anon_sym_thetamin,
      anon_sym_thetamax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_thetaend,
      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_family,
      anon_sym_fontface,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [599] = 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(177), 1,
      sym_identifier,
    STATE(219), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 39,
      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_theta,
      anon_sym_radius,
      anon_sym_thetamin,
      anon_sym_thetamax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_thetaend,
      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_family,
      anon_sym_fontface,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [663] = 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(177), 1,
      sym_identifier,
    STATE(180), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 39,
      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_theta,
      anon_sym_radius,
      anon_sym_thetamin,
      anon_sym_thetamax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_thetaend,
      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_family,
      anon_sym_fontface,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
  [727] = 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), 40,
      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_theta,
      anon_sym_radius,
      anon_sym_thetamin,
      anon_sym_thetamax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_thetaend,
      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_family,
      anon_sym_fontface,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_coef,
      anon_sym_intercept,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      sym_bare_identifier,
  [783] = 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(211), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(209), 36,
      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_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,
  [839] = 30,
    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_filter_token_token2,
    ACTIONS(508), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(510), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(512), 1,
      aux_sym_project_clause_token1,
    ACTIONS(514), 1,
      aux_sym_label_clause_token1,
    ACTIONS(516), 1,
      aux_sym_theme_clause_token1,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(151), 1,
      sym_comment,
    STATE(178), 1,
      sym_global_mapping,
    STATE(199), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(208), 1,
      sym_identifier,
    STATE(214), 1,
      sym_from_clause,
    STATE(215), 1,
      sym_mapping_element,
    STATE(328), 1,
      sym_mapping_list,
    STATE(346), 1,
      sym_viz_clause,
    STATE(517), 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(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(534), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(225), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(541), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [943] = 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(230), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(228), 27,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_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_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,
  [989] = 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(244), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(242), 27,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_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_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,
  [1035] = 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(211), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_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(209), 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,
  [1079] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(524), 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(186), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_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), 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,
  [1127] = 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(198), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(196), 25,
      ts_builtin_sym_end,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      aux_sym_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_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,
  [1171] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(526), 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(198), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_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(196), 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,
  [1217] = 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(198), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_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(196), 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,
  [1260] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(531), 1,
      sym_bare_identifier,
    ACTIONS(539), 1,
      sym_quoted_identifier,
    STATE(159), 1,
      sym_comment,
    STATE(160), 1,
      aux_sym_order_expression_repeat1,
    STATE(165), 1,
      sym_order_token,
    STATE(167), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(529), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(533), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(535), 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(537), 6,
      aux_sym_draw_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,
  [1312] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(543), 1,
      sym_bare_identifier,
    ACTIONS(554), 1,
      sym_quoted_identifier,
    STATE(165), 1,
      sym_order_token,
    STATE(167), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(541), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(160), 2,
      sym_comment,
      aux_sym_order_expression_repeat1,
    ACTIONS(546), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(549), 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(552), 6,
      aux_sym_draw_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,
  [1362] = 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(506), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(557), 1,
      aux_sym_sql_keyword_token1,
    STATE(161), 1,
      sym_comment,
    STATE(208), 1,
      sym_identifier,
    STATE(215), 1,
      sym_mapping_element,
    STATE(243), 1,
      sym_mapping_list,
    STATE(517), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(534), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(225), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(541), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1424] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(524), 1,
      anon_sym_DOT,
    ACTIONS(559), 1,
      anon_sym_LPAREN,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(162), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(561), 2,
      anon_sym_COLON_EQ,
      anon_sym_EQ_GT,
    ACTIONS(215), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(213), 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,
  [1468] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(565), 1,
      anon_sym_line,
    STATE(163), 1,
      sym_comment,
    STATE(168), 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_tile,
      anon_sym_polygon,
      anon_sym_ribbon,
      anon_sym_histogram,
      anon_sym_density,
      anon_sym_smooth,
      anon_sym_boxplot,
      anon_sym_violin,
      anon_sym_text,
      anon_sym_label,
      anon_sym_segment,
      anon_sym_arrow,
      anon_sym_rule,
      anon_sym_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(209), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(211), 13,
      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_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,
  [1541] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(165), 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), 13,
      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_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,
  [1576] = 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(506), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(166), 1,
      sym_comment,
    STATE(208), 1,
      sym_identifier,
    STATE(215), 1,
      sym_mapping_element,
    STATE(268), 1,
      sym_mapping_list,
    STATE(517), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(534), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(225), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(541), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1635] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(167), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(571), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(573), 13,
      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_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,
  [1670] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(581), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(583), 1,
      aux_sym_mapping_clause_token1,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(168), 1,
      sym_comment,
    STATE(176), 1,
      sym_mapping_clause,
    STATE(201), 1,
      sym_remapping_clause,
    STATE(245), 1,
      sym_setting_clause,
    STATE(270), 1,
      sym_filter_clause,
    STATE(296), 1,
      sym_partition_clause,
    STATE(340), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(575), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [1727] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(524), 1,
      anon_sym_DOT,
    ACTIONS(559), 1,
      anon_sym_LPAREN,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(169), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(215), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(213), 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,
  [1767] = 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(506), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(170), 1,
      sym_comment,
    STATE(208), 1,
      sym_identifier,
    STATE(218), 1,
      sym_mapping_element,
    STATE(517), 1,
      sym_mapping_value,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(534), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(225), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(541), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1823] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(593), 1,
      anon_sym_RPAREN,
    STATE(162), 1,
      sym_identifier,
    STATE(171), 1,
      sym_comment,
    STATE(210), 1,
      sym_positional_arg,
    STATE(462), 1,
      sym_function_arg,
    STATE(504), 1,
      sym_named_arg,
    STATE(512), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1879] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(597), 1,
      anon_sym_RPAREN,
    STATE(162), 1,
      sym_identifier,
    STATE(172), 1,
      sym_comment,
    STATE(210), 1,
      sym_positional_arg,
    STATE(462), 1,
      sym_function_arg,
    STATE(504), 1,
      sym_named_arg,
    STATE(525), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1935] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(599), 1,
      anon_sym_RPAREN,
    STATE(162), 1,
      sym_identifier,
    STATE(173), 1,
      sym_comment,
    STATE(210), 1,
      sym_positional_arg,
    STATE(462), 1,
      sym_function_arg,
    STATE(504), 1,
      sym_named_arg,
    STATE(561), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [1991] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(601), 1,
      anon_sym_RPAREN,
    STATE(162), 1,
      sym_identifier,
    STATE(174), 1,
      sym_comment,
    STATE(210), 1,
      sym_positional_arg,
    STATE(462), 1,
      sym_function_arg,
    STATE(504), 1,
      sym_named_arg,
    STATE(522), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2047] = 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(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(603), 1,
      sym_bare_identifier,
    ACTIONS(605), 1,
      sym_quoted_identifier,
    STATE(169), 1,
      sym_identifier,
    STATE(175), 1,
      sym_comment,
    STATE(221), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(511), 2,
      sym_select_statement,
      sym_with_statement,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2101] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(581), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(176), 1,
      sym_comment,
    STATE(200), 1,
      sym_remapping_clause,
    STATE(239), 1,
      sym_setting_clause,
    STATE(266), 1,
      sym_filter_clause,
    STATE(304), 1,
      sym_partition_clause,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [2152] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(177), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(609), 18,
      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_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,
  [2183] = 15,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(613), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(178), 1,
      sym_comment,
    STATE(193), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(197), 1,
      sym_from_clause,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(611), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2236] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(211), 1,
      sym_scale_from_clause,
    STATE(242), 1,
      sym_scale_to_clause,
    STATE(264), 1,
      sym_scale_via_clause,
    STATE(280), 1,
      sym_setting_clause,
    STATE(342), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(627), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [2287] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(180), 1,
      sym_comment,
    STATE(196), 1,
      sym_scale_from_clause,
    STATE(241), 1,
      sym_scale_to_clause,
    STATE(262), 1,
      sym_scale_via_clause,
    STATE(309), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [2338] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(559), 1,
      anon_sym_LPAREN,
    ACTIONS(639), 1,
      anon_sym_DOT,
    STATE(181), 1,
      sym_comment,
    STATE(184), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(215), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(213), 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,
  [2377] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    STATE(162), 1,
      sym_identifier,
    STATE(182), 1,
      sym_comment,
    STATE(210), 1,
      sym_positional_arg,
    STATE(498), 1,
      sym_function_arg,
    STATE(504), 1,
      sym_named_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2427] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(183), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(264), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(262), 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,
  [2459] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(639), 1,
      anon_sym_DOT,
    STATE(184), 1,
      sym_comment,
    STATE(190), 1,
      aux_sym_qualified_name_repeat1,
    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), 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,
  [2495] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(185), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(643), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(641), 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,
  [2527] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(186), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(647), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(645), 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,
  [2559] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(187), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(647), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(645), 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,
  [2591] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(188), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(289), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(287), 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,
  [2623] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(189), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(211), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(209), 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,
  [2655] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(649), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(190), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(198), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(196), 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,
  [2689] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(191), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(277), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(275), 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,
  [2721] = 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(654), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(652), 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,
  [2753] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(193), 1,
      sym_comment,
    STATE(209), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(656), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2800] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(194), 1,
      sym_comment,
    STATE(209), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(658), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2847] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(662), 1,
      anon_sym_COMMA,
    STATE(195), 1,
      sym_comment,
    STATE(212), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(660), 14,
      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_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,
  [2880] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(196), 1,
      sym_comment,
    STATE(238), 1,
      sym_scale_to_clause,
    STATE(258), 1,
      sym_scale_via_clause,
    STATE(308), 1,
      sym_setting_clause,
    STATE(345), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(664), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [2925] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(194), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(197), 1,
      sym_comment,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(656), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [2972] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(198), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(666), 16,
      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_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,
  [3001] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(199), 1,
      sym_comment,
    STATE(209), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(611), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [3048] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(200), 1,
      sym_comment,
    STATE(247), 1,
      sym_setting_clause,
    STATE(265), 1,
      sym_filter_clause,
    STATE(302), 1,
      sym_partition_clause,
    STATE(343), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(668), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(201), 1,
      sym_comment,
    STATE(239), 1,
      sym_setting_clause,
    STATE(266), 1,
      sym_filter_clause,
    STATE(304), 1,
      sym_partition_clause,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [3138] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(202), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(670), 16,
      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_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,
  [3167] = 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(672), 16,
      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_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,
  [3196] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(204), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(674), 16,
      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_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,
  [3225] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(205), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(676), 16,
      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_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,
  [3254] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(678), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(206), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
    ACTIONS(674), 14,
      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_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,
  [3285] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(531), 1,
      sym_bare_identifier,
    ACTIONS(539), 1,
      sym_quoted_identifier,
    STATE(159), 1,
      aux_sym_order_expression_repeat1,
    STATE(165), 1,
      sym_order_token,
    STATE(167), 1,
      sym_identifier,
    STATE(207), 1,
      sym_comment,
    STATE(341), 1,
      sym_order_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(533), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(535), 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,
  [3328] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(683), 1,
      aux_sym_cte_definition_token1,
    STATE(208), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(681), 15,
      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_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,
  [3359] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(687), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(690), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(693), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(696), 1,
      aux_sym_project_clause_token1,
    ACTIONS(699), 1,
      aux_sym_label_clause_token1,
    ACTIONS(702), 1,
      aux_sym_theme_clause_token1,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(685), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(209), 2,
      sym_comment,
      aux_sym_visualise_statement_repeat1,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [3404] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(210), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(705), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(709), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(707), 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,
  [3437] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(211), 1,
      sym_comment,
    STATE(241), 1,
      sym_scale_to_clause,
    STATE(262), 1,
      sym_scale_via_clause,
    STATE(309), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [3482] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(713), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(212), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(711), 14,
      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_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,
  [3513] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(213), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(716), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(709), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(707), 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,
  [3546] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(615), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(617), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(619), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(621), 1,
      aux_sym_project_clause_token1,
    ACTIONS(623), 1,
      aux_sym_label_clause_token1,
    ACTIONS(625), 1,
      aux_sym_theme_clause_token1,
    STATE(193), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(214), 1,
      sym_comment,
    STATE(346), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(611), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(349), 6,
      sym_draw_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
      sym_theme_clause,
  [3593] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(662), 1,
      anon_sym_COMMA,
    STATE(195), 1,
      aux_sym_mapping_list_repeat1,
    STATE(215), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(718), 14,
      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_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,
  [3626] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(720), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(216), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(196), 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_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,
  [3656] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      sym_bare_identifier,
    ACTIONS(725), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(217), 1,
      sym_comment,
    STATE(233), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [3700] = 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(711), 15,
      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_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,
  [3728] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(219), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(727), 15,
      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_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,
  [3756] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(729), 1,
      anon_sym_DOT,
    STATE(220), 1,
      sym_comment,
    STATE(229), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(213), 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_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,
  [3788] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(731), 1,
      anon_sym_RPAREN,
    STATE(221), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(709), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(707), 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,
  [3820] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      sym_bare_identifier,
    ACTIONS(725), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(187), 1,
      sym_positional_arg,
    STATE(222), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [3864] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(223), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(733), 15,
      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_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,
  [3892] = 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(735), 15,
      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_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,
  [3920] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(225), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(737), 15,
      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_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,
  [3948] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      sym_bare_identifier,
    ACTIONS(725), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(226), 1,
      sym_comment,
    STATE(230), 1,
      sym_positional_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [3992] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(603), 1,
      sym_bare_identifier,
    ACTIONS(605), 1,
      sym_quoted_identifier,
    STATE(169), 1,
      sym_identifier,
    STATE(187), 1,
      sym_positional_arg,
    STATE(227), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4036] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(603), 1,
      sym_bare_identifier,
    ACTIONS(605), 1,
      sym_quoted_identifier,
    STATE(169), 1,
      sym_identifier,
    STATE(213), 1,
      sym_positional_arg,
    STATE(228), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4080] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(729), 1,
      anon_sym_DOT,
    STATE(216), 1,
      aux_sym_qualified_name_repeat1,
    STATE(229), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(184), 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_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,
  [4112] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(743), 1,
      aux_sym_cte_definition_token1,
    STATE(230), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(741), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(739), 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,
  [4144] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(745), 1,
      aux_sym_cte_definition_token1,
    STATE(231), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(741), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(739), 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] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(747), 1,
      aux_sym_cte_definition_token1,
    STATE(232), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(741), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(739), 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,
  [4208] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(749), 1,
      aux_sym_cte_definition_token1,
    STATE(233), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(741), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(739), 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,
  [4240] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      sym_bare_identifier,
    ACTIONS(725), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(231), 1,
      sym_positional_arg,
    STATE(234), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4284] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(591), 1,
      anon_sym_LPAREN,
    ACTIONS(723), 1,
      sym_bare_identifier,
    ACTIONS(725), 1,
      sym_quoted_identifier,
    STATE(181), 1,
      sym_identifier,
    STATE(232), 1,
      sym_positional_arg,
    STATE(235), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(589), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(595), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [4328] = 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(751), 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_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,
  [4355] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(524), 1,
      anon_sym_DOT,
    STATE(155), 1,
      aux_sym_qualified_name_repeat1,
    STATE(237), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(213), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(215), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_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,
  [4388] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(238), 1,
      sym_comment,
    STATE(263), 1,
      sym_scale_via_clause,
    STATE(290), 1,
      sym_setting_clause,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(753), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4427] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(239), 1,
      sym_comment,
    STATE(265), 1,
      sym_filter_clause,
    STATE(302), 1,
      sym_partition_clause,
    STATE(343), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(668), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4466] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(757), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(240), 2,
      sym_comment,
      aux_sym_setting_clause_repeat1,
    ACTIONS(755), 12,
      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_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,
  [4495] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(241), 1,
      sym_comment,
    STATE(258), 1,
      sym_scale_via_clause,
    STATE(308), 1,
      sym_setting_clause,
    STATE(345), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(664), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4534] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 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(242), 1,
      sym_comment,
    STATE(262), 1,
      sym_scale_via_clause,
    STATE(309), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4573] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(762), 1,
      aux_sym_sql_keyword_token1,
    STATE(243), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(760), 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_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,
  [4602] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(766), 1,
      anon_sym_COMMA,
    STATE(244), 1,
      sym_comment,
    STATE(246), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(764), 12,
      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_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,
  [4633] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(245), 1,
      sym_comment,
    STATE(266), 1,
      sym_filter_clause,
    STATE(304), 1,
      sym_partition_clause,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4672] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(766), 1,
      anon_sym_COMMA,
    STATE(240), 1,
      aux_sym_setting_clause_repeat1,
    STATE(246), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(768), 12,
      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_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,
  [4703] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(587), 1,
      aux_sym_filter_clause_token1,
    STATE(247), 1,
      sym_comment,
    STATE(259), 1,
      sym_filter_clause,
    STATE(288), 1,
      sym_partition_clause,
    STATE(350), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(770), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [4742] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(248), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(242), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(244), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_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,
  [4770] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(249), 1,
      sym_comment,
    STATE(282), 1,
      sym_label_assignment,
    STATE(539), 1,
      sym_label_type,
    STATE(568), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(772), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(774), 6,
      aux_sym_draw_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,
  [4808] = 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(776), 13,
      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_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,
  [4834] = 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(778), 13,
      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_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,
  [4860] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(228), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(230), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_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,
  [4888] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(780), 1,
      aux_sym_cte_definition_token1,
    STATE(253), 1,
      sym_comment,
    STATE(312), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(190), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(192), 6,
      aux_sym_draw_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,
  [4924] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(254), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(755), 13,
      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_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,
  [4950] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(255), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(782), 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_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,
  [4976] = 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(784), 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_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,
  [5002] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(786), 1,
      aux_sym_cte_definition_token1,
    STATE(257), 1,
      sym_comment,
    STATE(325), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(203), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(205), 6,
      aux_sym_draw_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,
  [5038] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(258), 1,
      sym_comment,
    STATE(290), 1,
      sym_setting_clause,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(753), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5071] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    STATE(259), 1,
      sym_comment,
    STATE(297), 1,
      sym_partition_clause,
    STATE(334), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(788), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5104] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(260), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(232), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(234), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_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,
  [5131] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(261), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(790), 12,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5156] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(262), 1,
      sym_comment,
    STATE(308), 1,
      sym_setting_clause,
    STATE(345), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(664), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5189] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(263), 1,
      sym_comment,
    STATE(298), 1,
      sym_setting_clause,
    STATE(333), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(792), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(264), 1,
      sym_comment,
    STATE(309), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5255] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    STATE(265), 1,
      sym_comment,
    STATE(288), 1,
      sym_partition_clause,
    STATE(350), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(770), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5288] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    STATE(266), 1,
      sym_comment,
    STATE(302), 1,
      sym_partition_clause,
    STATE(343), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(668), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5321] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(267), 1,
      sym_comment,
    STATE(269), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(794), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5350] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(268), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(798), 12,
      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_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,
  [5375] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(206), 1,
      aux_sym_cte_definition_repeat1,
    STATE(269), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(800), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5404] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(579), 1,
      aux_sym_window_partition_clause_token1,
    STATE(270), 1,
      sym_comment,
    STATE(304), 1,
      sym_partition_clause,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5437] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(802), 1,
      sym_number,
    ACTIONS(804), 1,
      anon_sym_LBRACK,
    STATE(271), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(316), 4,
      sym_identifier,
      sym_string,
      sym_boolean,
      sym_array,
  [5473] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(808), 1,
      aux_sym_sql_keyword_token22,
    STATE(272), 1,
      sym_comment,
    STATE(344), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(806), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5503] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(206), 1,
      aux_sym_cte_definition_repeat1,
    STATE(273), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(810), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5531] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(804), 1,
      anon_sym_LBRACK,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    ACTIONS(814), 1,
      sym_number,
    STATE(251), 1,
      sym_parameter_value,
    STATE(274), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(816), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(250), 4,
      sym_string,
      sym_boolean,
      sym_array,
      sym_null_literal,
  [5567] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(273), 1,
      aux_sym_cte_definition_repeat1,
    STATE(275), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(818), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5595] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(276), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(820), 11,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5619] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(822), 1,
      anon_sym_COMMA,
    STATE(277), 1,
      sym_comment,
    STATE(291), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(236), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5646] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(826), 1,
      anon_sym_COMMA,
    STATE(278), 1,
      sym_comment,
    STATE(292), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(824), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5673] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(830), 1,
      anon_sym_COMMA,
    STATE(279), 1,
      sym_comment,
    STATE(311), 1,
      aux_sym_theme_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(828), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5700] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(280), 1,
      sym_comment,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5727] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(585), 1,
      aux_sym_setting_clause_token1,
    STATE(281), 1,
      sym_comment,
    STATE(347), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(832), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5754] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(836), 1,
      anon_sym_COMMA,
    STATE(282), 1,
      sym_comment,
    STATE(293), 1,
      aux_sym_label_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(834), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5781] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(838), 1,
      anon_sym_LPAREN,
    ACTIONS(840), 1,
      sym_namespaced_identifier,
    ACTIONS(842), 1,
      anon_sym_SQUOTE,
    STATE(237), 1,
      sym_identifier,
    STATE(257), 1,
      sym_subquery,
    STATE(277), 1,
      sym_table_ref,
    STATE(283), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(603), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(253), 2,
      sym_qualified_name,
      sym_string,
  [5818] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(846), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(284), 2,
      sym_comment,
      aux_sym_label_clause_repeat1,
    ACTIONS(844), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5843] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(830), 1,
      anon_sym_COMMA,
    STATE(285), 1,
      sym_comment,
    STATE(311), 1,
      aux_sym_theme_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(849), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5870] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(830), 1,
      anon_sym_COMMA,
    STATE(279), 1,
      aux_sym_theme_clause_repeat1,
    STATE(286), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(849), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5897] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(838), 1,
      anon_sym_LPAREN,
    ACTIONS(840), 1,
      sym_namespaced_identifier,
    ACTIONS(842), 1,
      anon_sym_SQUOTE,
    STATE(237), 1,
      sym_identifier,
    STATE(257), 1,
      sym_subquery,
    STATE(287), 1,
      sym_comment,
    STATE(320), 1,
      sym_table_ref,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(603), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(253), 2,
      sym_qualified_name,
      sym_string,
  [5934] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    STATE(288), 1,
      sym_comment,
    STATE(334), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(788), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5961] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(853), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(289), 2,
      sym_comment,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [5986] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(290), 1,
      sym_comment,
    STATE(333), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(792), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6013] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(822), 1,
      anon_sym_COMMA,
    STATE(291), 1,
      sym_comment,
    STATE(303), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(224), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6040] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(826), 1,
      anon_sym_COMMA,
    STATE(292), 1,
      sym_comment,
    STATE(299), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(856), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6067] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(836), 1,
      anon_sym_COMMA,
    STATE(284), 1,
      aux_sym_label_clause_repeat1,
    STATE(293), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(858), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6094] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(175), 1,
      anon_sym_LPAREN,
    ACTIONS(177), 1,
      sym_namespaced_identifier,
    ACTIONS(179), 1,
      anon_sym_SQUOTE,
    STATE(47), 1,
      sym_subquery,
    STATE(48), 1,
      sym_identifier,
    STATE(73), 1,
      sym_table_ref,
    STATE(294), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(173), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(46), 2,
      sym_qualified_name,
      sym_string,
  [6131] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(830), 1,
      anon_sym_COMMA,
    STATE(285), 1,
      aux_sym_theme_clause_repeat1,
    STATE(295), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(860), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6158] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    STATE(296), 1,
      sym_comment,
    STATE(337), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6185] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    STATE(297), 1,
      sym_comment,
    STATE(335), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(862), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6212] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(298), 1,
      sym_comment,
    STATE(336), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(864), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6239] = 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(299), 2,
      sym_comment,
      aux_sym_project_properties_repeat1,
    ACTIONS(866), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6264] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(873), 1,
      anon_sym_COMMA,
    STATE(300), 1,
      sym_comment,
    STATE(307), 1,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(871), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6291] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(165), 1,
      anon_sym_LPAREN,
    ACTIONS(169), 1,
      anon_sym_SQUOTE,
    ACTIONS(875), 1,
      sym_namespaced_identifier,
    STATE(27), 1,
      sym_subquery,
    STATE(29), 1,
      sym_identifier,
    STATE(41), 1,
      sym_table_ref,
    STATE(301), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(161), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(25), 2,
      sym_qualified_name,
      sym_string,
  [6328] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    STATE(302), 1,
      sym_comment,
    STATE(350), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(770), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6355] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(877), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(303), 2,
      sym_comment,
      aux_sym_from_clause_repeat1,
    ACTIONS(217), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6380] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(577), 1,
      aux_sym_sql_keyword_token20,
    STATE(304), 1,
      sym_comment,
    STATE(343), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(668), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6407] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(305), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(880), 10,
      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_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      aux_sym_theme_clause_token1,
  [6430] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(306), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(882), 10,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6453] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(873), 1,
      anon_sym_COMMA,
    STATE(289), 1,
      aux_sym_scale_renaming_clause_repeat1,
    STATE(307), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(884), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6480] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(308), 1,
      sym_comment,
    STATE(353), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(753), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6507] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(631), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(309), 1,
      sym_comment,
    STATE(345), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(664), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6534] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    ACTIONS(886), 1,
      sym_number,
    ACTIONS(888), 1,
      anon_sym_RBRACK,
    STATE(310), 1,
      sym_comment,
    STATE(486), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(816), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(507), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [6569] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(892), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(311), 2,
      sym_comment,
      aux_sym_theme_clause_repeat1,
    ACTIONS(890), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6594] = 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(297), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6616] = 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(851), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6638] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(314), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(866), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6660] = 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(895), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6682] = 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(897), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6704] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(901), 1,
      aux_sym_setting_clause_token1,
    STATE(317), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(899), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6728] = 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(301), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6750] = 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(313), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6772] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(320), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(217), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6794] = 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(903), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6816] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(907), 1,
      aux_sym_setting_clause_token1,
    STATE(322), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(905), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6840] = 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(844), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6862] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(324), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(909), 9,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6884] = 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(248), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6906] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(913), 1,
      aux_sym_setting_clause_token1,
    STATE(326), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(911), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6930] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    ACTIONS(886), 1,
      sym_number,
    STATE(327), 1,
      sym_comment,
    STATE(509), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(816), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(507), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [6962] = 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(915), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [6984] = 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(917), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7006] = 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(919), 9,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7028] = 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(921), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7050] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(332), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(890), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7072] = 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(864), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7093] = 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(862), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7114] = 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(923), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7135] = 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(925), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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(337), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(668), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7177] = 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(664), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7198] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(927), 1,
      anon_sym_RPAREN,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(933), 1,
      aux_sym_window_partition_clause_token1,
    STATE(339), 1,
      sym_comment,
    STATE(373), 1,
      sym_window_partition_clause,
    STATE(408), 1,
      sym_window_order_clause,
    STATE(567), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7231] = 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(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7252] = 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(935), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7273] = 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(637), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7294] = 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(770), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7315] = 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(937), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7336] = 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(753), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7357] = 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(939), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7378] = 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(941), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7399] = 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(943), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7420] = 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(945), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7441] = 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(788), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7462] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(933), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(947), 1,
      anon_sym_RPAREN,
    STATE(351), 1,
      sym_comment,
    STATE(376), 1,
      sym_window_partition_clause,
    STATE(423), 1,
      sym_window_order_clause,
    STATE(513), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7495] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(933), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(949), 1,
      anon_sym_RPAREN,
    STATE(352), 1,
      sym_comment,
    STATE(374), 1,
      sym_window_partition_clause,
    STATE(429), 1,
      sym_window_order_clause,
    STATE(529), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7528] = 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(792), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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(354), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(951), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_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,
  [7570] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    STATE(355), 1,
      sym_comment,
    STATE(356), 1,
      aux_sym_with_statement_repeat1,
    STATE(419), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(953), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7598] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(959), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(356), 2,
      sym_comment,
      aux_sym_with_statement_repeat1,
    ACTIONS(957), 5,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7620] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(962), 1,
      sym_namespaced_identifier,
    STATE(220), 1,
      sym_identifier,
    STATE(357), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(486), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(255), 2,
      sym_qualified_name,
      sym_string,
  [7648] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    ACTIONS(842), 1,
      anon_sym_SQUOTE,
    STATE(300), 1,
      sym_renaming_assignment,
    STATE(358), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(964), 2,
      anon_sym_STAR,
      sym_number,
    STATE(535), 2,
      sym_string,
      sym_null_literal,
  [7676] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    STATE(355), 1,
      aux_sym_with_statement_repeat1,
    STATE(359), 1,
      sym_comment,
    STATE(454), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(966), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7704] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(968), 1,
      sym_namespaced_identifier,
    STATE(220), 1,
      sym_identifier,
    STATE(360), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(486), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(256), 2,
      sym_qualified_name,
      sym_string,
  [7732] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    ACTIONS(842), 1,
      anon_sym_SQUOTE,
    STATE(313), 1,
      sym_renaming_assignment,
    STATE(361), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(964), 2,
      anon_sym_STAR,
      sym_number,
    STATE(535), 2,
      sym_string,
      sym_null_literal,
  [7760] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(974), 1,
      aux_sym_sql_keyword_token48,
    STATE(362), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(972), 2,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
    ACTIONS(970), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7784] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    STATE(363), 1,
      sym_comment,
    STATE(365), 1,
      aux_sym_with_statement_repeat1,
    STATE(419), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(953), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7812] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(364), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(209), 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,
  [7832] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    STATE(356), 1,
      aux_sym_with_statement_repeat1,
    STATE(365), 1,
      sym_comment,
    STATE(416), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(976), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7860] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(366), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(957), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7879] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(978), 1,
      sym_number,
    STATE(367), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(816), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(321), 2,
      sym_string,
      sym_boolean,
  [7904] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(368), 1,
      sym_comment,
    STATE(372), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(980), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7927] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(369), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(982), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7946] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(370), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(984), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7965] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(278), 1,
      sym_project_property,
    STATE(354), 1,
      sym_project_properties,
    STATE(371), 1,
      sym_comment,
    STATE(554), 1,
      sym_identifier,
    STATE(572), 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,
  [7992] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      anon_sym_COMMA,
    STATE(206), 1,
      aux_sym_cte_definition_repeat1,
    STATE(372), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(986), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8015] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(988), 1,
      anon_sym_RPAREN,
    STATE(373), 1,
      sym_comment,
    STATE(410), 1,
      sym_window_order_clause,
    STATE(545), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8042] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(990), 1,
      anon_sym_RPAREN,
    STATE(374), 1,
      sym_comment,
    STATE(430), 1,
      sym_window_order_clause,
    STATE(531), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8069] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(375), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(992), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8088] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(929), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(994), 1,
      anon_sym_RPAREN,
    STATE(376), 1,
      sym_comment,
    STATE(424), 1,
      sym_window_order_clause,
    STATE(515), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8115] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(278), 1,
      sym_project_property,
    STATE(348), 1,
      sym_project_properties,
    STATE(377), 1,
      sym_comment,
    STATE(554), 1,
      sym_identifier,
    STATE(572), 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,
  [8142] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(254), 1,
      sym_parameter_assignment,
    STATE(378), 1,
      sym_comment,
    STATE(546), 1,
      sym_parameter_name,
    STATE(547), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8166] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(996), 1,
      anon_sym_COMMA,
    STATE(379), 1,
      sym_comment,
    STATE(380), 1,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(998), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8188] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1000), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(380), 2,
      sym_comment,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(1003), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8208] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(244), 1,
      sym_parameter_assignment,
    STATE(381), 1,
      sym_comment,
    STATE(546), 1,
      sym_parameter_name,
    STATE(547), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8232] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1005), 1,
      aux_sym_setting_clause_token1,
    STATE(326), 1,
      sym_theme_name,
    STATE(330), 1,
      sym_identifier,
    STATE(382), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8258] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1009), 1,
      aux_sym_sql_keyword_token48,
    STATE(383), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1007), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8278] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(323), 1,
      sym_label_assignment,
    STATE(384), 1,
      sym_comment,
    STATE(539), 1,
      sym_label_type,
    STATE(568), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8302] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1011), 1,
      aux_sym_sql_keyword_token18,
    ACTIONS(1015), 1,
      aux_sym_sql_keyword_token46,
    STATE(385), 1,
      sym_comment,
    STATE(565), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1013), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [8326] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(286), 1,
      sym_theme_property,
    STATE(386), 1,
      sym_comment,
    STATE(510), 1,
      sym_theme_property_name,
    STATE(540), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8350] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    ACTIONS(966), 1,
      anon_sym_RPAREN,
    ACTIONS(1017), 1,
      aux_sym_select_statement_token1,
    STATE(387), 1,
      sym_comment,
    STATE(395), 1,
      aux_sym_with_statement_repeat1,
    STATE(454), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8376] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(953), 1,
      anon_sym_RPAREN,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    ACTIONS(1017), 1,
      aux_sym_select_statement_token1,
    STATE(388), 1,
      sym_comment,
    STATE(390), 1,
      aux_sym_with_statement_repeat1,
    STATE(419), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8402] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(996), 1,
      anon_sym_COMMA,
    STATE(379), 1,
      aux_sym_window_order_clause_repeat1,
    STATE(389), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1019), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8424] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    ACTIONS(976), 1,
      anon_sym_RPAREN,
    ACTIONS(1017), 1,
      aux_sym_select_statement_token1,
    STATE(356), 1,
      aux_sym_with_statement_repeat1,
    STATE(390), 1,
      sym_comment,
    STATE(416), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8450] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(804), 1,
      anon_sym_LBRACK,
    STATE(391), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(276), 2,
      sym_identifier,
      sym_array,
  [8472] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(332), 1,
      sym_theme_property,
    STATE(392), 1,
      sym_comment,
    STATE(510), 1,
      sym_theme_property_name,
    STATE(540), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8496] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(295), 1,
      sym_theme_property,
    STATE(393), 1,
      sym_comment,
    STATE(510), 1,
      sym_theme_property_name,
    STATE(540), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8520] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(41), 1,
      sym_bare_identifier,
    ACTIONS(55), 1,
      sym_quoted_identifier,
    ACTIONS(1021), 1,
      aux_sym_scale_to_clause_token1,
    STATE(394), 1,
      sym_comment,
    STATE(467), 1,
      sym_identifier,
    STATE(521), 1,
      sym_project_aesthetics,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8546] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(953), 1,
      anon_sym_RPAREN,
    ACTIONS(955), 1,
      anon_sym_COMMA,
    ACTIONS(1017), 1,
      aux_sym_select_statement_token1,
    STATE(356), 1,
      aux_sym_with_statement_repeat1,
    STATE(395), 1,
      sym_comment,
    STATE(419), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8572] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1023), 1,
      aux_sym_with_statement_token2,
    STATE(387), 1,
      sym_cte_definition,
    STATE(396), 1,
      sym_comment,
    STATE(503), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8598] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(1025), 1,
      aux_sym_with_statement_token2,
    STATE(359), 1,
      sym_cte_definition,
    STATE(397), 1,
      sym_comment,
    STATE(503), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8624] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(314), 1,
      sym_project_property,
    STATE(398), 1,
      sym_comment,
    STATE(554), 1,
      sym_identifier,
    STATE(572), 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,
  [8648] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(322), 1,
      sym_project_type,
    STATE(324), 1,
      sym_identifier,
    STATE(399), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8669] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(362), 1,
      sym_identifier,
    STATE(389), 1,
      sym_order_item,
    STATE(400), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1027), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8690] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1029), 1,
      ts_builtin_sym_end,
    ACTIONS(1031), 1,
      sym_visualise_keyword,
    STATE(506), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(401), 2,
      sym_comment,
      aux_sym_query_repeat1,
  [8711] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(402), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1034), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8728] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(317), 1,
      sym_project_type,
    STATE(324), 1,
      sym_identifier,
    STATE(403), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8749] = 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(1036), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8766] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1038), 1,
      anon_sym_SQUOTE,
    STATE(405), 1,
      sym_comment,
    STATE(450), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [8787] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(363), 1,
      sym_cte_definition,
    STATE(406), 1,
      sym_comment,
    STATE(503), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8808] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(407), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1042), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8825] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(988), 1,
      anon_sym_RPAREN,
    STATE(408), 1,
      sym_comment,
    STATE(545), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8846] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1044), 1,
      ts_builtin_sym_end,
    STATE(409), 1,
      sym_comment,
    STATE(452), 1,
      aux_sym_query_repeat1,
    STATE(506), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8869] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1046), 1,
      anon_sym_RPAREN,
    STATE(410), 1,
      sym_comment,
    STATE(566), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8890] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1050), 1,
      anon_sym_SEMI,
    STATE(411), 1,
      sym_comment,
    STATE(420), 1,
      aux_sym_sql_portion_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1048), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [8911] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(267), 1,
      sym_identifier,
    STATE(272), 1,
      sym_facet_vars,
    STATE(412), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8932] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1052), 1,
      anon_sym_SQUOTE,
    STATE(413), 1,
      sym_comment,
    STATE(415), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [8953] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(362), 1,
      sym_identifier,
    STATE(414), 1,
      sym_comment,
    STATE(458), 1,
      sym_order_item,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1027), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8974] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1054), 1,
      anon_sym_SQUOTE,
    STATE(415), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [8995] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(416), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1056), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9012] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(366), 1,
      sym_cte_definition,
    STATE(417), 1,
      sym_comment,
    STATE(503), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9033] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(418), 1,
      sym_comment,
    STATE(494), 1,
      sym_identifier,
    STATE(514), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9054] = 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(976), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9071] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1060), 1,
      anon_sym_SEMI,
    STATE(420), 1,
      sym_comment,
    STATE(422), 1,
      aux_sym_sql_portion_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1058), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [9092] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1015), 1,
      aux_sym_sql_keyword_token46,
    STATE(421), 1,
      sym_comment,
    STATE(527), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1013), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [9113] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1064), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1062), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(422), 2,
      sym_comment,
      aux_sym_sql_portion_repeat1,
  [9132] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(994), 1,
      anon_sym_RPAREN,
    STATE(423), 1,
      sym_comment,
    STATE(515), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9153] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_RPAREN,
    STATE(424), 1,
      sym_comment,
    STATE(516), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9174] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1069), 1,
      anon_sym_SQUOTE,
    STATE(425), 1,
      sym_comment,
    STATE(426), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9195] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(426), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9216] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1015), 1,
      aux_sym_sql_keyword_token46,
    STATE(427), 1,
      sym_comment,
    STATE(528), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1013), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [9237] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(275), 1,
      sym_identifier,
    STATE(331), 1,
      sym_partition_columns,
    STATE(428), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9258] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(990), 1,
      anon_sym_RPAREN,
    STATE(429), 1,
      sym_comment,
    STATE(531), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9279] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1073), 1,
      anon_sym_RPAREN,
    STATE(430), 1,
      sym_comment,
    STATE(532), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(931), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9300] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1075), 1,
      anon_sym_SQUOTE,
    STATE(431), 1,
      sym_comment,
    STATE(432), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9321] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1077), 1,
      anon_sym_SQUOTE,
    STATE(432), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9342] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1079), 1,
      anon_sym_SQUOTE,
    STATE(433), 1,
      sym_comment,
    STATE(434), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9363] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1081), 1,
      anon_sym_SQUOTE,
    STATE(434), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9384] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1083), 1,
      anon_sym_SQUOTE,
    STATE(435), 1,
      sym_comment,
    STATE(436), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9405] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1085), 1,
      anon_sym_SQUOTE,
    STATE(436), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9426] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1087), 1,
      anon_sym_SQUOTE,
    STATE(437), 1,
      sym_comment,
    STATE(438), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9447] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1089), 1,
      anon_sym_SQUOTE,
    STATE(438), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9468] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1091), 1,
      anon_sym_SQUOTE,
    STATE(439), 1,
      sym_comment,
    STATE(440), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9489] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1093), 1,
      anon_sym_SQUOTE,
    STATE(440), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9510] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1095), 1,
      anon_sym_SQUOTE,
    STATE(441), 1,
      sym_comment,
    STATE(442), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9531] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1097), 1,
      anon_sym_SQUOTE,
    STATE(442), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9552] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1099), 1,
      anon_sym_SQUOTE,
    STATE(443), 1,
      sym_comment,
    STATE(444), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9573] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1101), 1,
      anon_sym_SQUOTE,
    STATE(444), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9594] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1103), 1,
      anon_sym_SQUOTE,
    STATE(445), 1,
      sym_comment,
    STATE(446), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9615] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1105), 1,
      anon_sym_SQUOTE,
    STATE(446), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9636] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(812), 1,
      aux_sym_filter_token_token2,
    STATE(447), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(329), 2,
      sym_string,
      sym_null_literal,
  [9657] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(388), 1,
      sym_cte_definition,
    STATE(448), 1,
      sym_comment,
    STATE(503), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9678] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(449), 1,
      sym_comment,
    STATE(494), 1,
      sym_identifier,
    STATE(569), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9699] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1107), 1,
      anon_sym_SQUOTE,
    STATE(450), 1,
      sym_comment,
    STATE(456), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1040), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9720] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(451), 1,
      sym_comment,
    STATE(494), 1,
      sym_identifier,
    STATE(524), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9741] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1109), 1,
      ts_builtin_sym_end,
    STATE(401), 1,
      aux_sym_query_repeat1,
    STATE(452), 1,
      sym_comment,
    STATE(506), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9764] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(453), 1,
      sym_comment,
    STATE(494), 1,
      sym_identifier,
    STATE(536), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9785] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(454), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(953), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9802] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1111), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(674), 2,
      anon_sym_RPAREN,
      aux_sym_scale_to_clause_token1,
    STATE(455), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
  [9821] = 5,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1114), 1,
      anon_sym_SQUOTE,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1116), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
    STATE(456), 2,
      sym_comment,
      aux_sym_string_repeat1,
  [9840] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1044), 1,
      ts_builtin_sym_end,
    STATE(401), 1,
      aux_sym_query_repeat1,
    STATE(457), 1,
      sym_comment,
    STATE(506), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9863] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(458), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1003), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9880] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(267), 1,
      sym_identifier,
    STATE(281), 1,
      sym_facet_vars,
    STATE(459), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9901] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1119), 1,
      anon_sym_COMMA,
    ACTIONS(1121), 1,
      anon_sym_RBRACK,
    STATE(460), 1,
      sym_comment,
    STATE(465), 1,
      aux_sym_array_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9921] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(204), 1,
      sym_identifier,
    STATE(461), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9939] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1123), 1,
      anon_sym_COMMA,
    ACTIONS(1125), 1,
      anon_sym_RPAREN,
    STATE(462), 1,
      sym_comment,
    STATE(488), 1,
      aux_sym_function_args_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9959] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(319), 1,
      sym_identifier,
    STATE(463), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9977] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1127), 1,
      anon_sym_COMMA,
    ACTIONS(1129), 1,
      anon_sym_RPAREN,
    STATE(455), 1,
      aux_sym_cte_definition_repeat1,
    STATE(464), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9997] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1131), 1,
      anon_sym_COMMA,
    ACTIONS(1134), 1,
      anon_sym_RBRACK,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(465), 2,
      sym_comment,
      aux_sym_array_repeat1,
  [10015] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1127), 1,
      anon_sym_COMMA,
    ACTIONS(1136), 1,
      aux_sym_scale_to_clause_token1,
    STATE(455), 1,
      aux_sym_cte_definition_repeat1,
    STATE(466), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10035] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1127), 1,
      anon_sym_COMMA,
    ACTIONS(1138), 1,
      aux_sym_scale_to_clause_token1,
    STATE(466), 1,
      aux_sym_cte_definition_repeat1,
    STATE(467), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10055] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(204), 1,
      sym_identifier,
    STATE(468), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10073] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1127), 1,
      anon_sym_COMMA,
    ACTIONS(1140), 1,
      anon_sym_RPAREN,
    STATE(464), 1,
      aux_sym_cte_definition_repeat1,
    STATE(469), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10093] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(469), 1,
      sym_identifier,
    STATE(470), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10111] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(158), 1,
      sym_identifier,
    STATE(471), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10129] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(368), 1,
      sym_identifier,
    STATE(472), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10147] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(473), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1142), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10163] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(156), 1,
      sym_identifier,
    STATE(474), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(725), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10181] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(78), 1,
      sym_identifier,
    STATE(475), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(128), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10199] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(69), 1,
      sym_identifier,
    STATE(476), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1144), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10217] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1146), 1,
      anon_sym_COMMA,
    ACTIONS(1149), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(477), 2,
      sym_comment,
      aux_sym_function_args_repeat1,
  [10235] = 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,
  [10253] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(156), 1,
      sym_identifier,
    STATE(479), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10271] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(58), 1,
      sym_identifier,
    STATE(480), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10289] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(306), 1,
      sym_identifier,
    STATE(481), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10307] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(62), 1,
      sym_identifier,
    STATE(482), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10325] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    STATE(483), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1151), 3,
      anon_sym_SQUOTE,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [10341] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(484), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1153), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10357] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(32), 1,
      sym_identifier,
    STATE(485), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1155), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10375] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1119), 1,
      anon_sym_COMMA,
    ACTIONS(1157), 1,
      anon_sym_RBRACK,
    STATE(460), 1,
      aux_sym_array_repeat1,
    STATE(486), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10395] = 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(1062), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10411] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1123), 1,
      anon_sym_COMMA,
    ACTIONS(1159), 1,
      anon_sym_RPAREN,
    STATE(477), 1,
      aux_sym_function_args_repeat1,
    STATE(488), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10431] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(318), 1,
      sym_identifier,
    STATE(489), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10449] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(490), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1161), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10464] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1163), 1,
      anon_sym_LPAREN,
    STATE(104), 1,
      sym_window_specification,
    STATE(491), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10481] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1163), 1,
      anon_sym_LPAREN,
    STATE(107), 1,
      sym_window_specification,
    STATE(492), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10498] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(493), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1165), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10513] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1167), 1,
      anon_sym_LPAREN,
    ACTIONS(1169), 1,
      anon_sym_RPAREN,
    STATE(494), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10530] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1171), 1,
      anon_sym_LPAREN,
    STATE(83), 1,
      sym_window_specification,
    STATE(495), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10547] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1171), 1,
      anon_sym_LPAREN,
    STATE(74), 1,
      sym_window_specification,
    STATE(496), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10564] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1173), 1,
      anon_sym_LPAREN,
    STATE(54), 1,
      sym_window_specification,
    STATE(497), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10581] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(498), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1149), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [10596] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(315), 1,
      sym_string,
    STATE(499), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10613] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(804), 1,
      anon_sym_LBRACK,
    STATE(261), 1,
      sym_array,
    STATE(500), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10630] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(501), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1175), 2,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token13,
  [10645] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(502), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1177), 2,
      aux_sym_sql_keyword_token44,
      aux_sym_sql_keyword_token45,
  [10660] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1179), 1,
      anon_sym_LPAREN,
    ACTIONS(1181), 1,
      aux_sym_cte_definition_token1,
    STATE(503), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10677] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(504), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(705), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [10692] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1183), 1,
      anon_sym_COMMA,
    ACTIONS(1185), 1,
      anon_sym_RPAREN,
    STATE(505), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10709] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(506), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1187), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [10724] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(507), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1189), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [10739] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1173), 1,
      anon_sym_LPAREN,
    STATE(51), 1,
      sym_window_specification,
    STATE(508), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10756] = 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(1134), 2,
      anon_sym_COMMA,
      anon_sym_RBRACK,
  [10771] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1191), 1,
      anon_sym_EQ_GT,
    STATE(510), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10785] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1193), 1,
      anon_sym_RPAREN,
    STATE(511), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10799] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1195), 1,
      anon_sym_RPAREN,
    STATE(512), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10813] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(994), 1,
      anon_sym_RPAREN,
    STATE(513), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10827] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1197), 1,
      anon_sym_RPAREN,
    STATE(514), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10841] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_RPAREN,
    STATE(515), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10855] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1199), 1,
      anon_sym_RPAREN,
    STATE(516), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10869] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1201), 1,
      aux_sym_cte_definition_token1,
    STATE(517), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10883] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1203), 1,
      anon_sym_RPAREN,
    STATE(518), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10897] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1205), 1,
      anon_sym_RPAREN,
    STATE(519), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10911] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1207), 1,
      aux_sym_comment_token2,
    STATE(520), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10925] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1209), 1,
      aux_sym_scale_to_clause_token1,
    STATE(521), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10939] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1211), 1,
      anon_sym_RPAREN,
    STATE(522), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10953] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1213), 1,
      aux_sym_sql_keyword_token22,
    STATE(523), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10967] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1215), 1,
      anon_sym_RPAREN,
    STATE(524), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10981] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1217), 1,
      anon_sym_RPAREN,
    STATE(525), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10995] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1219), 1,
      aux_sym_sql_keyword_token22,
    STATE(526), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11009] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1221), 1,
      anon_sym_RPAREN,
    STATE(527), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11023] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1223), 1,
      aux_sym_sql_keyword_token13,
    STATE(528), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11037] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(990), 1,
      anon_sym_RPAREN,
    STATE(529), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11051] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1225), 1,
      anon_sym_RPAREN,
    STATE(530), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11065] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1073), 1,
      anon_sym_RPAREN,
    STATE(531), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11079] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1227), 1,
      anon_sym_RPAREN,
    STATE(532), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11093] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1229), 1,
      anon_sym_RPAREN,
    STATE(533), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11107] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1231), 1,
      aux_sym_cte_definition_token1,
    STATE(534), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11121] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1233), 1,
      anon_sym_EQ_GT,
    STATE(535), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11135] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1235), 1,
      anon_sym_RPAREN,
    STATE(536), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11149] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1237), 1,
      sym_number,
    STATE(537), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11163] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1239), 1,
      anon_sym_RPAREN,
    STATE(538), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11177] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1241), 1,
      anon_sym_EQ_GT,
    STATE(539), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11191] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1243), 1,
      anon_sym_EQ_GT,
    STATE(540), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11205] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1245), 1,
      aux_sym_cte_definition_token1,
    STATE(541), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11219] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1247), 1,
      anon_sym_RPAREN,
    STATE(542), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11233] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1249), 1,
      anon_sym_LPAREN,
    STATE(543), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11247] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1251), 1,
      aux_sym_cte_definition_token1,
    STATE(544), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11261] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1046), 1,
      anon_sym_RPAREN,
    STATE(545), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11275] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1253), 1,
      anon_sym_EQ_GT,
    STATE(546), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11289] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1255), 1,
      anon_sym_EQ_GT,
    STATE(547), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11303] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1257), 1,
      anon_sym_RPAREN,
    STATE(548), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11317] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1259), 1,
      anon_sym_LPAREN,
    STATE(549), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11331] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1261), 1,
      sym_number,
    STATE(550), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11345] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1263), 1,
      anon_sym_RPAREN,
    STATE(551), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11359] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1265), 1,
      aux_sym_sql_keyword_token22,
    STATE(552), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11373] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1267), 1,
      anon_sym_RPAREN,
    STATE(553), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11387] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1269), 1,
      anon_sym_EQ_GT,
    STATE(554), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11401] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1271), 1,
      aux_sym_sql_keyword_token22,
    STATE(555), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11415] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1273), 1,
      ts_builtin_sym_end,
    STATE(556), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11429] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1275), 1,
      aux_sym_cte_definition_token1,
    STATE(557), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11443] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1277), 1,
      aux_sym_comment_token1,
    STATE(558), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11457] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1279), 1,
      anon_sym_SLASH,
    STATE(559), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11471] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1281), 1,
      anon_sym_RPAREN,
    STATE(560), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11485] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1283), 1,
      anon_sym_RPAREN,
    STATE(561), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11499] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1285), 1,
      anon_sym_RPAREN,
    STATE(562), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11513] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1177), 1,
      aux_sym_sql_keyword_token47,
    STATE(563), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11527] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1287), 1,
      anon_sym_RPAREN,
    STATE(564), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11541] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1289), 1,
      anon_sym_RPAREN,
    STATE(565), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11555] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1291), 1,
      anon_sym_RPAREN,
    STATE(566), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11569] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(988), 1,
      anon_sym_RPAREN,
    STATE(567), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11583] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1293), 1,
      anon_sym_EQ_GT,
    STATE(568), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11597] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1295), 1,
      anon_sym_RPAREN,
    STATE(569), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11611] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1297), 1,
      anon_sym_LPAREN,
    STATE(570), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11625] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1299), 1,
      anon_sym_RPAREN,
    STATE(571), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11639] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1301), 1,
      anon_sym_EQ_GT,
    STATE(572), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11653] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1303), 1,
      anon_sym_LPAREN,
    STATE(573), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11667] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1305), 1,
      anon_sym_RPAREN,
    STATE(574), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11681] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1307), 1,
      anon_sym_LPAREN,
    STATE(575), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11695] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1309), 1,
      anon_sym_LPAREN,
    STATE(576), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11709] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1311), 1,
      anon_sym_LPAREN,
    STATE(577), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11723] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1313), 1,
      anon_sym_RPAREN,
    STATE(578), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11737] = 1,
    ACTIONS(1315), 1,
      ts_builtin_sym_end,
  [11741] = 1,
    ACTIONS(1317), 1,
      ts_builtin_sym_end,
};

static const uint32_t ts_small_parse_table_map[] = {
  [SMALL_STATE(139)] = 0,
  [SMALL_STATE(140)] = 82,
  [SMALL_STATE(141)] = 166,
  [SMALL_STATE(142)] = 237,
  [SMALL_STATE(143)] = 308,
  [SMALL_STATE(144)] = 379,
  [SMALL_STATE(145)] = 450,
  [SMALL_STATE(146)] = 525,
  [SMALL_STATE(147)] = 599,
  [SMALL_STATE(148)] = 663,
  [SMALL_STATE(149)] = 727,
  [SMALL_STATE(150)] = 783,
  [SMALL_STATE(151)] = 839,
  [SMALL_STATE(152)] = 943,
  [SMALL_STATE(153)] = 989,
  [SMALL_STATE(154)] = 1035,
  [SMALL_STATE(155)] = 1079,
  [SMALL_STATE(156)] = 1127,
  [SMALL_STATE(157)] = 1171,
  [SMALL_STATE(158)] = 1217,
  [SMALL_STATE(159)] = 1260,
  [SMALL_STATE(160)] = 1312,
  [SMALL_STATE(161)] = 1362,
  [SMALL_STATE(162)] = 1424,
  [SMALL_STATE(163)] = 1468,
  [SMALL_STATE(164)] = 1506,
  [SMALL_STATE(165)] = 1541,
  [SMALL_STATE(166)] = 1576,
  [SMALL_STATE(167)] = 1635,
  [SMALL_STATE(168)] = 1670,
  [SMALL_STATE(169)] = 1727,
  [SMALL_STATE(170)] = 1767,
  [SMALL_STATE(171)] = 1823,
  [SMALL_STATE(172)] = 1879,
  [SMALL_STATE(173)] = 1935,
  [SMALL_STATE(174)] = 1991,
  [SMALL_STATE(175)] = 2047,
  [SMALL_STATE(176)] = 2101,
  [SMALL_STATE(177)] = 2152,
  [SMALL_STATE(178)] = 2183,
  [SMALL_STATE(179)] = 2236,
  [SMALL_STATE(180)] = 2287,
  [SMALL_STATE(181)] = 2338,
  [SMALL_STATE(182)] = 2377,
  [SMALL_STATE(183)] = 2427,
  [SMALL_STATE(184)] = 2459,
  [SMALL_STATE(185)] = 2495,
  [SMALL_STATE(186)] = 2527,
  [SMALL_STATE(187)] = 2559,
  [SMALL_STATE(188)] = 2591,
  [SMALL_STATE(189)] = 2623,
  [SMALL_STATE(190)] = 2655,
  [SMALL_STATE(191)] = 2689,
  [SMALL_STATE(192)] = 2721,
  [SMALL_STATE(193)] = 2753,
  [SMALL_STATE(194)] = 2800,
  [SMALL_STATE(195)] = 2847,
  [SMALL_STATE(196)] = 2880,
  [SMALL_STATE(197)] = 2925,
  [SMALL_STATE(198)] = 2972,
  [SMALL_STATE(199)] = 3001,
  [SMALL_STATE(200)] = 3048,
  [SMALL_STATE(201)] = 3093,
  [SMALL_STATE(202)] = 3138,
  [SMALL_STATE(203)] = 3167,
  [SMALL_STATE(204)] = 3196,
  [SMALL_STATE(205)] = 3225,
  [SMALL_STATE(206)] = 3254,
  [SMALL_STATE(207)] = 3285,
  [SMALL_STATE(208)] = 3328,
  [SMALL_STATE(209)] = 3359,
  [SMALL_STATE(210)] = 3404,
  [SMALL_STATE(211)] = 3437,
  [SMALL_STATE(212)] = 3482,
  [SMALL_STATE(213)] = 3513,
  [SMALL_STATE(214)] = 3546,
  [SMALL_STATE(215)] = 3593,
  [SMALL_STATE(216)] = 3626,
  [SMALL_STATE(217)] = 3656,
  [SMALL_STATE(218)] = 3700,
  [SMALL_STATE(219)] = 3728,
  [SMALL_STATE(220)] = 3756,
  [SMALL_STATE(221)] = 3788,
  [SMALL_STATE(222)] = 3820,
  [SMALL_STATE(223)] = 3864,
  [SMALL_STATE(224)] = 3892,
  [SMALL_STATE(225)] = 3920,
  [SMALL_STATE(226)] = 3948,
  [SMALL_STATE(227)] = 3992,
  [SMALL_STATE(228)] = 4036,
  [SMALL_STATE(229)] = 4080,
  [SMALL_STATE(230)] = 4112,
  [SMALL_STATE(231)] = 4144,
  [SMALL_STATE(232)] = 4176,
  [SMALL_STATE(233)] = 4208,
  [SMALL_STATE(234)] = 4240,
  [SMALL_STATE(235)] = 4284,
  [SMALL_STATE(236)] = 4328,
  [SMALL_STATE(237)] = 4355,
  [SMALL_STATE(238)] = 4388,
  [SMALL_STATE(239)] = 4427,
  [SMALL_STATE(240)] = 4466,
  [SMALL_STATE(241)] = 4495,
  [SMALL_STATE(242)] = 4534,
  [SMALL_STATE(243)] = 4573,
  [SMALL_STATE(244)] = 4602,
  [SMALL_STATE(245)] = 4633,
  [SMALL_STATE(246)] = 4672,
  [SMALL_STATE(247)] = 4703,
  [SMALL_STATE(248)] = 4742,
  [SMALL_STATE(249)] = 4770,
  [SMALL_STATE(250)] = 4808,
  [SMALL_STATE(251)] = 4834,
  [SMALL_STATE(252)] = 4860,
  [SMALL_STATE(253)] = 4888,
  [SMALL_STATE(254)] = 4924,
  [SMALL_STATE(255)] = 4950,
  [SMALL_STATE(256)] = 4976,
  [SMALL_STATE(257)] = 5002,
  [SMALL_STATE(258)] = 5038,
  [SMALL_STATE(259)] = 5071,
  [SMALL_STATE(260)] = 5104,
  [SMALL_STATE(261)] = 5131,
  [SMALL_STATE(262)] = 5156,
  [SMALL_STATE(263)] = 5189,
  [SMALL_STATE(264)] = 5222,
  [SMALL_STATE(265)] = 5255,
  [SMALL_STATE(266)] = 5288,
  [SMALL_STATE(267)] = 5321,
  [SMALL_STATE(268)] = 5350,
  [SMALL_STATE(269)] = 5375,
  [SMALL_STATE(270)] = 5404,
  [SMALL_STATE(271)] = 5437,
  [SMALL_STATE(272)] = 5473,
  [SMALL_STATE(273)] = 5503,
  [SMALL_STATE(274)] = 5531,
  [SMALL_STATE(275)] = 5567,
  [SMALL_STATE(276)] = 5595,
  [SMALL_STATE(277)] = 5619,
  [SMALL_STATE(278)] = 5646,
  [SMALL_STATE(279)] = 5673,
  [SMALL_STATE(280)] = 5700,
  [SMALL_STATE(281)] = 5727,
  [SMALL_STATE(282)] = 5754,
  [SMALL_STATE(283)] = 5781,
  [SMALL_STATE(284)] = 5818,
  [SMALL_STATE(285)] = 5843,
  [SMALL_STATE(286)] = 5870,
  [SMALL_STATE(287)] = 5897,
  [SMALL_STATE(288)] = 5934,
  [SMALL_STATE(289)] = 5961,
  [SMALL_STATE(290)] = 5986,
  [SMALL_STATE(291)] = 6013,
  [SMALL_STATE(292)] = 6040,
  [SMALL_STATE(293)] = 6067,
  [SMALL_STATE(294)] = 6094,
  [SMALL_STATE(295)] = 6131,
  [SMALL_STATE(296)] = 6158,
  [SMALL_STATE(297)] = 6185,
  [SMALL_STATE(298)] = 6212,
  [SMALL_STATE(299)] = 6239,
  [SMALL_STATE(300)] = 6264,
  [SMALL_STATE(301)] = 6291,
  [SMALL_STATE(302)] = 6328,
  [SMALL_STATE(303)] = 6355,
  [SMALL_STATE(304)] = 6380,
  [SMALL_STATE(305)] = 6407,
  [SMALL_STATE(306)] = 6430,
  [SMALL_STATE(307)] = 6453,
  [SMALL_STATE(308)] = 6480,
  [SMALL_STATE(309)] = 6507,
  [SMALL_STATE(310)] = 6534,
  [SMALL_STATE(311)] = 6569,
  [SMALL_STATE(312)] = 6594,
  [SMALL_STATE(313)] = 6616,
  [SMALL_STATE(314)] = 6638,
  [SMALL_STATE(315)] = 6660,
  [SMALL_STATE(316)] = 6682,
  [SMALL_STATE(317)] = 6704,
  [SMALL_STATE(318)] = 6728,
  [SMALL_STATE(319)] = 6750,
  [SMALL_STATE(320)] = 6772,
  [SMALL_STATE(321)] = 6794,
  [SMALL_STATE(322)] = 6816,
  [SMALL_STATE(323)] = 6840,
  [SMALL_STATE(324)] = 6862,
  [SMALL_STATE(325)] = 6884,
  [SMALL_STATE(326)] = 6906,
  [SMALL_STATE(327)] = 6930,
  [SMALL_STATE(328)] = 6962,
  [SMALL_STATE(329)] = 6984,
  [SMALL_STATE(330)] = 7006,
  [SMALL_STATE(331)] = 7028,
  [SMALL_STATE(332)] = 7050,
  [SMALL_STATE(333)] = 7072,
  [SMALL_STATE(334)] = 7093,
  [SMALL_STATE(335)] = 7114,
  [SMALL_STATE(336)] = 7135,
  [SMALL_STATE(337)] = 7156,
  [SMALL_STATE(338)] = 7177,
  [SMALL_STATE(339)] = 7198,
  [SMALL_STATE(340)] = 7231,
  [SMALL_STATE(341)] = 7252,
  [SMALL_STATE(342)] = 7273,
  [SMALL_STATE(343)] = 7294,
  [SMALL_STATE(344)] = 7315,
  [SMALL_STATE(345)] = 7336,
  [SMALL_STATE(346)] = 7357,
  [SMALL_STATE(347)] = 7378,
  [SMALL_STATE(348)] = 7399,
  [SMALL_STATE(349)] = 7420,
  [SMALL_STATE(350)] = 7441,
  [SMALL_STATE(351)] = 7462,
  [SMALL_STATE(352)] = 7495,
  [SMALL_STATE(353)] = 7528,
  [SMALL_STATE(354)] = 7549,
  [SMALL_STATE(355)] = 7570,
  [SMALL_STATE(356)] = 7598,
  [SMALL_STATE(357)] = 7620,
  [SMALL_STATE(358)] = 7648,
  [SMALL_STATE(359)] = 7676,
  [SMALL_STATE(360)] = 7704,
  [SMALL_STATE(361)] = 7732,
  [SMALL_STATE(362)] = 7760,
  [SMALL_STATE(363)] = 7784,
  [SMALL_STATE(364)] = 7812,
  [SMALL_STATE(365)] = 7832,
  [SMALL_STATE(366)] = 7860,
  [SMALL_STATE(367)] = 7879,
  [SMALL_STATE(368)] = 7904,
  [SMALL_STATE(369)] = 7927,
  [SMALL_STATE(370)] = 7946,
  [SMALL_STATE(371)] = 7965,
  [SMALL_STATE(372)] = 7992,
  [SMALL_STATE(373)] = 8015,
  [SMALL_STATE(374)] = 8042,
  [SMALL_STATE(375)] = 8069,
  [SMALL_STATE(376)] = 8088,
  [SMALL_STATE(377)] = 8115,
  [SMALL_STATE(378)] = 8142,
  [SMALL_STATE(379)] = 8166,
  [SMALL_STATE(380)] = 8188,
  [SMALL_STATE(381)] = 8208,
  [SMALL_STATE(382)] = 8232,
  [SMALL_STATE(383)] = 8258,
  [SMALL_STATE(384)] = 8278,
  [SMALL_STATE(385)] = 8302,
  [SMALL_STATE(386)] = 8326,
  [SMALL_STATE(387)] = 8350,
  [SMALL_STATE(388)] = 8376,
  [SMALL_STATE(389)] = 8402,
  [SMALL_STATE(390)] = 8424,
  [SMALL_STATE(391)] = 8450,
  [SMALL_STATE(392)] = 8472,
  [SMALL_STATE(393)] = 8496,
  [SMALL_STATE(394)] = 8520,
  [SMALL_STATE(395)] = 8546,
  [SMALL_STATE(396)] = 8572,
  [SMALL_STATE(397)] = 8598,
  [SMALL_STATE(398)] = 8624,
  [SMALL_STATE(399)] = 8648,
  [SMALL_STATE(400)] = 8669,
  [SMALL_STATE(401)] = 8690,
  [SMALL_STATE(402)] = 8711,
  [SMALL_STATE(403)] = 8728,
  [SMALL_STATE(404)] = 8749,
  [SMALL_STATE(405)] = 8766,
  [SMALL_STATE(406)] = 8787,
  [SMALL_STATE(407)] = 8808,
  [SMALL_STATE(408)] = 8825,
  [SMALL_STATE(409)] = 8846,
  [SMALL_STATE(410)] = 8869,
  [SMALL_STATE(411)] = 8890,
  [SMALL_STATE(412)] = 8911,
  [SMALL_STATE(413)] = 8932,
  [SMALL_STATE(414)] = 8953,
  [SMALL_STATE(415)] = 8974,
  [SMALL_STATE(416)] = 8995,
  [SMALL_STATE(417)] = 9012,
  [SMALL_STATE(418)] = 9033,
  [SMALL_STATE(419)] = 9054,
  [SMALL_STATE(420)] = 9071,
  [SMALL_STATE(421)] = 9092,
  [SMALL_STATE(422)] = 9113,
  [SMALL_STATE(423)] = 9132,
  [SMALL_STATE(424)] = 9153,
  [SMALL_STATE(425)] = 9174,
  [SMALL_STATE(426)] = 9195,
  [SMALL_STATE(427)] = 9216,
  [SMALL_STATE(428)] = 9237,
  [SMALL_STATE(429)] = 9258,
  [SMALL_STATE(430)] = 9279,
  [SMALL_STATE(431)] = 9300,
  [SMALL_STATE(432)] = 9321,
  [SMALL_STATE(433)] = 9342,
  [SMALL_STATE(434)] = 9363,
  [SMALL_STATE(435)] = 9384,
  [SMALL_STATE(436)] = 9405,
  [SMALL_STATE(437)] = 9426,
  [SMALL_STATE(438)] = 9447,
  [SMALL_STATE(439)] = 9468,
  [SMALL_STATE(440)] = 9489,
  [SMALL_STATE(441)] = 9510,
  [SMALL_STATE(442)] = 9531,
  [SMALL_STATE(443)] = 9552,
  [SMALL_STATE(444)] = 9573,
  [SMALL_STATE(445)] = 9594,
  [SMALL_STATE(446)] = 9615,
  [SMALL_STATE(447)] = 9636,
  [SMALL_STATE(448)] = 9657,
  [SMALL_STATE(449)] = 9678,
  [SMALL_STATE(450)] = 9699,
  [SMALL_STATE(451)] = 9720,
  [SMALL_STATE(452)] = 9741,
  [SMALL_STATE(453)] = 9764,
  [SMALL_STATE(454)] = 9785,
  [SMALL_STATE(455)] = 9802,
  [SMALL_STATE(456)] = 9821,
  [SMALL_STATE(457)] = 9840,
  [SMALL_STATE(458)] = 9863,
  [SMALL_STATE(459)] = 9880,
  [SMALL_STATE(460)] = 9901,
  [SMALL_STATE(461)] = 9921,
  [SMALL_STATE(462)] = 9939,
  [SMALL_STATE(463)] = 9959,
  [SMALL_STATE(464)] = 9977,
  [SMALL_STATE(465)] = 9997,
  [SMALL_STATE(466)] = 10015,
  [SMALL_STATE(467)] = 10035,
  [SMALL_STATE(468)] = 10055,
  [SMALL_STATE(469)] = 10073,
  [SMALL_STATE(470)] = 10093,
  [SMALL_STATE(471)] = 10111,
  [SMALL_STATE(472)] = 10129,
  [SMALL_STATE(473)] = 10147,
  [SMALL_STATE(474)] = 10163,
  [SMALL_STATE(475)] = 10181,
  [SMALL_STATE(476)] = 10199,
  [SMALL_STATE(477)] = 10217,
  [SMALL_STATE(478)] = 10235,
  [SMALL_STATE(479)] = 10253,
  [SMALL_STATE(480)] = 10271,
  [SMALL_STATE(481)] = 10289,
  [SMALL_STATE(482)] = 10307,
  [SMALL_STATE(483)] = 10325,
  [SMALL_STATE(484)] = 10341,
  [SMALL_STATE(485)] = 10357,
  [SMALL_STATE(486)] = 10375,
  [SMALL_STATE(487)] = 10395,
  [SMALL_STATE(488)] = 10411,
  [SMALL_STATE(489)] = 10431,
  [SMALL_STATE(490)] = 10449,
  [SMALL_STATE(491)] = 10464,
  [SMALL_STATE(492)] = 10481,
  [SMALL_STATE(493)] = 10498,
  [SMALL_STATE(494)] = 10513,
  [SMALL_STATE(495)] = 10530,
  [SMALL_STATE(496)] = 10547,
  [SMALL_STATE(497)] = 10564,
  [SMALL_STATE(498)] = 10581,
  [SMALL_STATE(499)] = 10596,
  [SMALL_STATE(500)] = 10613,
  [SMALL_STATE(501)] = 10630,
  [SMALL_STATE(502)] = 10645,
  [SMALL_STATE(503)] = 10660,
  [SMALL_STATE(504)] = 10677,
  [SMALL_STATE(505)] = 10692,
  [SMALL_STATE(506)] = 10709,
  [SMALL_STATE(507)] = 10724,
  [SMALL_STATE(508)] = 10739,
  [SMALL_STATE(509)] = 10756,
  [SMALL_STATE(510)] = 10771,
  [SMALL_STATE(511)] = 10785,
  [SMALL_STATE(512)] = 10799,
  [SMALL_STATE(513)] = 10813,
  [SMALL_STATE(514)] = 10827,
  [SMALL_STATE(515)] = 10841,
  [SMALL_STATE(516)] = 10855,
  [SMALL_STATE(517)] = 10869,
  [SMALL_STATE(518)] = 10883,
  [SMALL_STATE(519)] = 10897,
  [SMALL_STATE(520)] = 10911,
  [SMALL_STATE(521)] = 10925,
  [SMALL_STATE(522)] = 10939,
  [SMALL_STATE(523)] = 10953,
  [SMALL_STATE(524)] = 10967,
  [SMALL_STATE(525)] = 10981,
  [SMALL_STATE(526)] = 10995,
  [SMALL_STATE(527)] = 11009,
  [SMALL_STATE(528)] = 11023,
  [SMALL_STATE(529)] = 11037,
  [SMALL_STATE(530)] = 11051,
  [SMALL_STATE(531)] = 11065,
  [SMALL_STATE(532)] = 11079,
  [SMALL_STATE(533)] = 11093,
  [SMALL_STATE(534)] = 11107,
  [SMALL_STATE(535)] = 11121,
  [SMALL_STATE(536)] = 11135,
  [SMALL_STATE(537)] = 11149,
  [SMALL_STATE(538)] = 11163,
  [SMALL_STATE(539)] = 11177,
  [SMALL_STATE(540)] = 11191,
  [SMALL_STATE(541)] = 11205,
  [SMALL_STATE(542)] = 11219,
  [SMALL_STATE(543)] = 11233,
  [SMALL_STATE(544)] = 11247,
  [SMALL_STATE(545)] = 11261,
  [SMALL_STATE(546)] = 11275,
  [SMALL_STATE(547)] = 11289,
  [SMALL_STATE(548)] = 11303,
  [SMALL_STATE(549)] = 11317,
  [SMALL_STATE(550)] = 11331,
  [SMALL_STATE(551)] = 11345,
  [SMALL_STATE(552)] = 11359,
  [SMALL_STATE(553)] = 11373,
  [SMALL_STATE(554)] = 11387,
  [SMALL_STATE(555)] = 11401,
  [SMALL_STATE(556)] = 11415,
  [SMALL_STATE(557)] = 11429,
  [SMALL_STATE(558)] = 11443,
  [SMALL_STATE(559)] = 11457,
  [SMALL_STATE(560)] = 11471,
  [SMALL_STATE(561)] = 11485,
  [SMALL_STATE(562)] = 11499,
  [SMALL_STATE(563)] = 11513,
  [SMALL_STATE(564)] = 11527,
  [SMALL_STATE(565)] = 11541,
  [SMALL_STATE(566)] = 11555,
  [SMALL_STATE(567)] = 11569,
  [SMALL_STATE(568)] = 11583,
  [SMALL_STATE(569)] = 11597,
  [SMALL_STATE(570)] = 11611,
  [SMALL_STATE(571)] = 11625,
  [SMALL_STATE(572)] = 11639,
  [SMALL_STATE(573)] = 11653,
  [SMALL_STATE(574)] = 11667,
  [SMALL_STATE(575)] = 11681,
  [SMALL_STATE(576)] = 11695,
  [SMALL_STATE(577)] = 11709,
  [SMALL_STATE(578)] = 11723,
  [SMALL_STATE(579)] = 11737,
  [SMALL_STATE(580)] = 11741,
};

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(558),
  [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(520),
  [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 0, 0, 0),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(397),
  [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
  [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
  [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
  [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
  [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(405),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(558),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(520),
  [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_body, 1, 0, 0),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
  [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
  [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(45),
  [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(549),
  [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
  [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61),
  [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
  [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(413),
  [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(28),
  [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(45),
  [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(45),
  [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(549),
  [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(61),
  [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(28),
  [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(413),
  [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [90] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112),
  [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100),
  [96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100),
  [98] = {.entry = {.count = 1, .reusable = false}}, SHIFT(396),
  [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(575),
  [106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111),
  [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(425),
  [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 1, 0, 0),
  [114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90),
  [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(76),
  [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(576),
  [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(13),
  [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89),
  [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90),
  [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(439),
  [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(76),
  [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(76),
  [141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(19),
  [144] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(576),
  [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
  [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(439),
  [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36),
  [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(25),
  [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(437),
  [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0),
  [173] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
  [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(443),
  [181] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0), REDUCE(sym_sql_portion, 3, 0, 0),
  [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(485),
  [190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 1),
  [192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 1),
  [194] = {.entry = {.count = 1, .reusable = false}}, SHIFT(480),
  [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [200] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(485),
  [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 0),
  [205] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 0),
  [207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(482),
  [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0),
  [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0),
  [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [221] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(301),
  [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3, 0, 0),
  [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3, 0, 0),
  [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0),
  [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2, 0, 0),
  [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery, 3, 0, 0),
  [234] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subquery, 3, 0, 0),
  [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2, 0, 0),
  [238] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2, 0, 0),
  [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301),
  [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(476),
  [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 3),
  [250] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 3),
  [252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(475),
  [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(478),
  [262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, 0, 0),
  [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, 0, 0),
  [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(497),
  [268] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(476),
  [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 5, 0, 9),
  [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 5, 0, 9),
  [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 2, 0, 0),
  [281] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 2, 0, 0),
  [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 6, 0, 9),
  [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 6, 0, 9),
  [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, 0, 0),
  [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, 0, 0),
  [291] = {.entry = {.count = 1, .reusable = false}}, SHIFT(508),
  [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 3, 0, 0),
  [295] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 3, 0, 0),
  [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 2),
  [299] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 2),
  [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(sym_window_specification, 4, 0, 0),
  [307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 4, 0, 0),
  [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 5, 0, 0),
  [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 5, 0, 0),
  [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 6),
  [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 6),
  [317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery_body, 1, 0, 0),
  [319] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(112),
  [322] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(100),
  [325] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(100),
  [328] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(21),
  [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0),
  [333] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(575),
  [336] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(111),
  [339] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(425),
  [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
  [344] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(294),
  [347] = {.entry = {.count = 1, .reusable = false}}, SHIFT(495),
  [349] = {.entry = {.count = 1, .reusable = false}}, SHIFT(496),
  [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
  [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 2, 0, 0),
  [355] = {.entry = {.count = 1, .reusable = false}}, SHIFT(123),
  [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
  [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127),
  [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
  [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122),
  [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431),
  [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(123),
  [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(127),
  [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(127),
  [382] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
  [385] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(122),
  [388] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(431),
  [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(128),
  [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128),
  [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
  [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433),
  [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_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(128),
  [413] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(128),
  [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(129),
  [422] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(433),
  [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 2, 0, 0),
  [427] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [433] = {.entry = {.count = 1, .reusable = false}}, SHIFT(491),
  [435] = {.entry = {.count = 1, .reusable = false}}, SHIFT(492),
  [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_other_sql_statement, 1, 0, 0),
  [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0),
  [441] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [444] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [447] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
  [450] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [453] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [456] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(405),
  [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(142),
  [464] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(142),
  [467] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(445),
  [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_expression, 1, 0, 0),
  [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
  [474] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142),
  [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(445),
  [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 1, 0, 0),
  [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_token, 1, 0, 0),
  [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_filter_token, 1, 0, 0),
  [486] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150),
  [488] = {.entry = {.count = 1, .reusable = false}}, SHIFT(177),
  [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(224),
  [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(283),
  [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
  [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202),
  [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146),
  [510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(412),
  [512] = {.entry = {.count = 1, .reusable = false}}, SHIFT(394),
  [514] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249),
  [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(382),
  [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(541),
  [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(435),
  [522] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223),
  [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(471),
  [526] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(471),
  [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_expression, 1, 0, 0),
  [531] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164),
  [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
  [535] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167),
  [537] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_expression, 1, 0, 0),
  [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
  [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [543] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(164),
  [546] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(167),
  [549] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(167),
  [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [554] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(164),
  [557] = {.entry = {.count = 1, .reusable = false}}, SHIFT(357),
  [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228),
  [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_order_token, 1, 0, 0),
  [573] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_token, 1, 0, 0),
  [575] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 2, 0, 0),
  [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(523),
  [579] = {.entry = {.count = 1, .reusable = true}}, SHIFT(526),
  [581] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
  [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
  [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(381),
  [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
  [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
  [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175),
  [593] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
  [595] = {.entry = {.count = 1, .reusable = false}}, SHIFT(577),
  [597] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188),
  [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
  [603] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
  [605] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154),
  [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 3, 0, 0),
  [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aesthetic_name, 1, 0, 0),
  [611] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 2, 1, 0),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
  [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [617] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
  [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(412),
  [621] = {.entry = {.count = 1, .reusable = true}}, SHIFT(394),
  [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382),
  [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 2, 0, 0),
  [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(500),
  [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358),
  [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(391),
  [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(481),
  [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 3, 0, 0),
  [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(474),
  [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [643] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [645] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_positional_arg, 3, 0, 0),
  [647] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_positional_arg, 3, 0, 0),
  [649] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(474),
  [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_positional_arg, 1, 0, 0),
  [654] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_positional_arg, 1, 0, 0),
  [656] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 3, 1, 0),
  [658] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 4, 1, 0),
  [660] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 2, 0, 0),
  [662] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
  [664] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 4, 0, 0),
  [666] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, 0, 0),
  [668] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 4, 0, 0),
  [670] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_literal, 1, 0, 0),
  [672] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2, 0, 0),
  [674] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0),
  [676] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, 0, 0),
  [678] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(461),
  [681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_implicit_mapping, 1, 0, 0),
  [683] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_reference, 1, 0, 0),
  [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0),
  [687] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [690] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(146),
  [693] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(412),
  [696] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(394),
  [699] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(249),
  [702] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(382),
  [705] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arg, 1, 0, 0),
  [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227),
  [709] = {.entry = {.count = 1, .reusable = false}}, SHIFT(227),
  [711] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0),
  [713] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(170),
  [716] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_arg, 3, 0, 8),
  [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 1, 0, 0),
  [720] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(479),
  [723] = {.entry = {.count = 1, .reusable = false}}, SHIFT(189),
  [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189),
  [727] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_explicit_mapping, 3, 0, 4),
  [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(479),
  [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
  [733] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0),
  [735] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_wildcard_mapping, 1, 0, 0),
  [737] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_element, 1, 0, 0),
  [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [741] = {.entry = {.count = 1, .reusable = false}}, SHIFT(222),
  [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(418),
  [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(449),
  [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(451),
  [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(453),
  [751] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_geom_type, 1, 0, 0),
  [753] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 5, 0, 0),
  [755] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0),
  [757] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(378),
  [760] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 2, 0, 0),
  [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(360),
  [764] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 2, 0, 0),
  [766] = {.entry = {.count = 1, .reusable = true}}, SHIFT(378),
  [768] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 3, 0, 0),
  [770] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 5, 0, 0),
  [772] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 1, 0, 0),
  [774] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_clause, 1, 0, 0),
  [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_value, 1, 0, 0),
  [778] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_assignment, 3, 0, 8),
  [780] = {.entry = {.count = 1, .reusable = false}}, SHIFT(489),
  [782] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 3, 0, 10),
  [784] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 4, 0, 11),
  [786] = {.entry = {.count = 1, .reusable = false}}, SHIFT(463),
  [788] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 6, 0, 0),
  [790] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_from_clause, 2, 0, 0),
  [792] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 6, 0, 0),
  [794] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 1, 0, 0),
  [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(461),
  [798] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remapping_clause, 2, 0, 0),
  [800] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 2, 0, 0),
  [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316),
  [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(310),
  [806] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 2, 0, 0),
  [808] = {.entry = {.count = 1, .reusable = true}}, SHIFT(459),
  [810] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 2, 0, 0),
  [812] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202),
  [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
  [816] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
  [818] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 1, 0, 0),
  [820] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_to_clause, 2, 0, 0),
  [822] = {.entry = {.count = 1, .reusable = true}}, SHIFT(287),
  [824] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 1, 0, 0),
  [826] = {.entry = {.count = 1, .reusable = true}}, SHIFT(398),
  [828] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 5, 0, 0),
  [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(392),
  [832] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 4, 0, 7),
  [834] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 2, 0, 0),
  [836] = {.entry = {.count = 1, .reusable = true}}, SHIFT(384),
  [838] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [840] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(441),
  [844] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0),
  [846] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(384),
  [849] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 4, 0, 0),
  [851] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0),
  [853] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(361),
  [856] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 2, 0, 0),
  [858] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 3, 0, 0),
  [860] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 3, 0, 0),
  [862] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 7, 0, 0),
  [864] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 7, 0, 0),
  [866] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0),
  [868] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0), SHIFT_REPEAT(398),
  [871] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 2, 0, 0),
  [873] = {.entry = {.count = 1, .reusable = true}}, SHIFT(361),
  [875] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
  [877] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(287),
  [880] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_clause, 2, 0, 0),
  [882] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_via_clause, 2, 0, 0),
  [884] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 3, 0, 0),
  [886] = {.entry = {.count = 1, .reusable = true}}, SHIFT(507),
  [888] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203),
  [890] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_theme_clause_repeat1, 2, 0, 0),
  [892] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_theme_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(392),
  [895] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_assignment, 3, 0, 8),
  [897] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property, 3, 0, 8),
  [899] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 4, 0, 0),
  [901] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [903] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_property, 3, 0, 8),
  [905] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 3, 0, 0),
  [907] = {.entry = {.count = 1, .reusable = true}}, SHIFT(377),
  [909] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_type, 1, 0, 0),
  [911] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_clause, 2, 0, 0),
  [913] = {.entry = {.count = 1, .reusable = true}}, SHIFT(386),
  [915] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mapping, 1, 0, 0),
  [917] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_renaming_assignment, 3, 0, 8),
  [919] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_name, 1, 0, 0),
  [921] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_clause, 3, 0, 0),
  [923] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 8, 0, 0),
  [925] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 8, 0, 0),
  [927] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [929] = {.entry = {.count = 1, .reusable = true}}, SHIFT(552),
  [931] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
  [933] = {.entry = {.count = 1, .reusable = true}}, SHIFT(555),
  [935] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_clause, 3, 0, 0),
  [937] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 3, 0, 0),
  [939] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 1, 0, 0),
  [941] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 5, 0, 7),
  [943] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 5, 0, 0),
  [945] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_viz_clause, 1, 0, 0),
  [947] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84),
  [951] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 6, 0, 0),
  [953] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 3, 0, 0),
  [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(417),
  [957] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0),
  [959] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(417),
  [962] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255),
  [964] = {.entry = {.count = 1, .reusable = true}}, SHIFT(535),
  [966] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 2, 0, 0),
  [968] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256),
  [970] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 1, 0, 0),
  [972] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [974] = {.entry = {.count = 1, .reusable = true}}, SHIFT(490),
  [976] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 4, 0, 0),
  [978] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
  [980] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 3, 0, 0),
  [982] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 9, 0, 0),
  [984] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 5, 0, 0),
  [986] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 4, 0, 0),
  [988] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [990] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
  [992] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 8, 0, 0),
  [994] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
  [996] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
  [998] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 4, 0, 0),
  [1000] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(414),
  [1003] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0),
  [1005] = {.entry = {.count = 1, .reusable = false}}, SHIFT(393),
  [1007] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 2, 0, 0),
  [1009] = {.entry = {.count = 1, .reusable = true}}, SHIFT(493),
  [1011] = {.entry = {.count = 1, .reusable = true}}, SHIFT(427),
  [1013] = {.entry = {.count = 1, .reusable = true}}, SHIFT(502),
  [1015] = {.entry = {.count = 1, .reusable = true}}, SHIFT(563),
  [1017] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [1019] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 3, 0, 0),
  [1021] = {.entry = {.count = 1, .reusable = false}}, SHIFT(399),
  [1023] = {.entry = {.count = 1, .reusable = false}}, SHIFT(448),
  [1025] = {.entry = {.count = 1, .reusable = false}}, SHIFT(406),
  [1027] = {.entry = {.count = 1, .reusable = true}}, SHIFT(364),
  [1029] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0),
  [1031] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0), SHIFT_REPEAT(151),
  [1034] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 3, 0, 0),
  [1036] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 4, 0, 0),
  [1038] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136),
  [1040] = {.entry = {.count = 1, .reusable = false}}, SHIFT(483),
  [1042] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2, 0, 0),
  [1044] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 1, 0, 0),
  [1046] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
  [1048] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 1, 0, 0),
  [1050] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [1052] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33),
  [1054] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
  [1056] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 5, 0, 0),
  [1058] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 2, 0, 0),
  [1060] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
  [1062] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0),
  [1064] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
  [1067] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
  [1069] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113),
  [1071] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115),
  [1073] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [1075] = {.entry = {.count = 1, .reusable = false}}, SHIFT(124),
  [1077] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126),
  [1079] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131),
  [1081] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
  [1083] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
  [1085] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
  [1087] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
  [1089] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
  [1091] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88),
  [1093] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92),
  [1095] = {.entry = {.count = 1, .reusable = false}}, SHIFT(252),
  [1097] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248),
  [1099] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72),
  [1101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63),
  [1103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143),
  [1105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144),
  [1107] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
  [1109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 2, 0, 0),
  [1111] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(468),
  [1114] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [1116] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(483),
  [1119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327),
  [1121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
  [1123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
  [1125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 1, 0, 0),
  [1127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(468),
  [1129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(544),
  [1131] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0), SHIFT_REPEAT(327),
  [1134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0),
  [1136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 2, 0, 0),
  [1138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 1, 0, 0),
  [1140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(557),
  [1142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 3, 0, 0),
  [1144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [1146] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0), SHIFT_REPEAT(182),
  [1149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0),
  [1151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 1, 0, 0),
  [1153] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_statement, 1, 0, 0),
  [1155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
  [1157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
  [1159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 2, 0, 0),
  [1161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(402),
  [1163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
  [1165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(404),
  [1167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(537),
  [1169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1, 0, 0),
  [1171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
  [1173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
  [1175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_bound, 2, 0, 0),
  [1177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(501),
  [1179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(470),
  [1181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(570),
  [1183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(550),
  [1185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(562),
  [1187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 1, 0, 0),
  [1189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_element, 1, 0, 0),
  [1191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367),
  [1193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
  [1195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
  [1197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
  [1199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
  [1201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [1203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [1205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370),
  [1207] = {.entry = {.count = 1, .reusable = false}}, SHIFT(559),
  [1209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(403),
  [1211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [1213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207),
  [1215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
  [1217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
  [1219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(428),
  [1221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 5, 0, 0),
  [1223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
  [1225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
  [1227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
  [1229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
  [1231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_value, 1, 0, 0),
  [1233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(447),
  [1235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
  [1237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(505),
  [1239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
  [1241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(499),
  [1243] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_theme_property_name, 1, 0, 0),
  [1245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal_value, 1, 0, 0),
  [1247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
  [1249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [1251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(573),
  [1253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274),
  [1255] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_name, 1, 0, 0),
  [1257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260),
  [1259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
  [1261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(560),
  [1263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
  [1265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(400),
  [1267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 6, 0, 0),
  [1269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property_name, 1, 0, 0),
  [1271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(472),
  [1273] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(543),
  [1277] = {.entry = {.count = 1, .reusable = false}}, SHIFT(580),
  [1279] = {.entry = {.count = 1, .reusable = false}}, SHIFT(579),
  [1281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(553),
  [1283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
  [1285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 4, 0, 0),
  [1287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
  [1289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 2, 0, 0),
  [1291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [1293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_type, 1, 0, 0),
  [1295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [1297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [1299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
  [1301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271),
  [1303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
  [1305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(369),
  [1307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234),
  [1309] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235),
  [1311] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
  [1313] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [1315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 0),
  [1317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 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 = 8,
    },
  };
  return &language;
}
#ifdef __cplusplus
}
#endif
