/* 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 571
#define LARGE_STATE_COUNT 139
#define SYMBOL_COUNT 315
#define ALIAS_COUNT 1
#define TOKEN_COUNT 206
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 6
#define MAX_ALIAS_SEQUENCE_LENGTH 9
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 12
#define SUPERTYPE_COUNT 0

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

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",
  [aux_sym_sql_keyword_token51] = "sql_keyword_token51",
  [aux_sym_sql_keyword_token52] = "sql_keyword_token52",
  [aux_sym_sql_keyword_token53] = "sql_keyword_token53",
  [aux_sym_sql_keyword_token54] = "sql_keyword_token54",
  [anon_sym_COLON_EQ] = ":=",
  [anon_sym_EQ_GT] = "=>",
  [anon_sym_PIPE_PIPE] = "||",
  [anon_sym_LT_EQ] = "<=",
  [anon_sym_GT_EQ] = ">=",
  [anon_sym_BANG_EQ] = "!=",
  [anon_sym_LT_GT] = "<>",
  [sym_namespaced_identifier] = "namespaced_identifier",
  [aux_sym_window_partition_clause_token1] = "window_partition_clause_token1",
  [sym_visualise_keyword] = "visualise_keyword",
  [aux_sym_draw_clause_token1] = "draw_clause_token1",
  [aux_sym_place_clause_token1] = "place_clause_token1",
  [aux_sym_remapping_clause_token1] = "remapping_clause_token1",
  [anon_sym_point] = "point",
  [anon_sym_line] = "line",
  [anon_sym_path] = "path",
  [anon_sym_bar] = "bar",
  [anon_sym_area] = "area",
  [anon_sym_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_errorbar] = "errorbar",
  [aux_sym_mapping_clause_token1] = "mapping_clause_token1",
  [aux_sym_setting_clause_token1] = "setting_clause_token1",
  [aux_sym_filter_clause_token1] = "filter_clause_token1",
  [aux_sym_filter_token_token1] = "filter_token_token1",
  [aux_sym_filter_token_token2] = "filter_token_token2",
  [aux_sym_filter_token_token3] = "filter_token_token3",
  [aux_sym_filter_token_token4] = "filter_token_token4",
  [aux_sym_filter_token_token5] = "filter_token_token5",
  [aux_sym_filter_token_token6] = "filter_token_token6",
  [aux_sym_filter_token_token7] = "filter_token_token7",
  [aux_sym_filter_token_token8] = "filter_token_token8",
  [aux_sym_filter_token_token9] = "filter_token_token9",
  [aux_sym_filter_token_token10] = "filter_token_token10",
  [aux_sym_filter_token_token11] = "filter_token_token11",
  [anon_sym_TILDE_STAR] = "~*",
  [anon_sym_BANG_TILDE_STAR] = "!~*",
  [anon_sym_BANG_TILDE] = "!~",
  [anon_sym_x] = "x",
  [anon_sym_y] = "y",
  [anon_sym_xmin] = "xmin",
  [anon_sym_xmax] = "xmax",
  [anon_sym_ymin] = "ymin",
  [anon_sym_ymax] = "ymax",
  [anon_sym_xend] = "xend",
  [anon_sym_yend] = "yend",
  [anon_sym_angle] = "angle",
  [anon_sym_radius] = "radius",
  [anon_sym_anglemin] = "anglemin",
  [anon_sym_anglemax] = "anglemax",
  [anon_sym_radiusmin] = "radiusmin",
  [anon_sym_radiusmax] = "radiusmax",
  [anon_sym_angleend] = "angleend",
  [anon_sym_radiusend] = "radiusend",
  [anon_sym_weight] = "weight",
  [anon_sym_color] = "color",
  [anon_sym_colour] = "colour",
  [anon_sym_fill] = "fill",
  [anon_sym_stroke] = "stroke",
  [anon_sym_opacity] = "opacity",
  [anon_sym_size] = "size",
  [anon_sym_shape] = "shape",
  [anon_sym_linetype] = "linetype",
  [anon_sym_linewidth] = "linewidth",
  [anon_sym_width] = "width",
  [anon_sym_height] = "height",
  [anon_sym_typeface] = "typeface",
  [anon_sym_fontweight] = "fontweight",
  [anon_sym_italic] = "italic",
  [anon_sym_fontsize] = "fontsize",
  [anon_sym_hjust] = "hjust",
  [anon_sym_vjust] = "vjust",
  [anon_sym_rotation] = "rotation",
  [anon_sym_slope] = "slope",
  [anon_sym_panel] = "panel",
  [anon_sym_row] = "row",
  [anon_sym_column] = "column",
  [anon_sym_offset] = "offset",
  [anon_sym_count] = "count",
  [anon_sym_intensity] = "intensity",
  [aux_sym_scale_clause_token1] = "scale_clause_token1",
  [aux_sym_scale_renaming_clause_token1] = "scale_renaming_clause_token1",
  [aux_sym_scale_type_identifier_token1] = "scale_type_identifier_token1",
  [aux_sym_scale_type_identifier_token2] = "scale_type_identifier_token2",
  [aux_sym_scale_type_identifier_token3] = "scale_type_identifier_token3",
  [aux_sym_scale_type_identifier_token4] = "scale_type_identifier_token4",
  [aux_sym_scale_type_identifier_token5] = "scale_type_identifier_token5",
  [aux_sym_scale_to_clause_token1] = "scale_to_clause_token1",
  [aux_sym_scale_via_clause_token1] = "scale_via_clause_token1",
  [aux_sym_facet_clause_token1] = "facet_clause_token1",
  [aux_sym_project_clause_token1] = "project_clause_token1",
  [aux_sym_label_clause_token1] = "label_clause_token1",
  [sym_quoted_identifier] = "quoted_identifier",
  [sym_filter_identifier] = "filter_identifier",
  [sym_number] = "number",
  [anon_sym_SQUOTE] = "'",
  [aux_sym_string_token1] = "string_token1",
  [aux_sym_string_token2] = "string_token2",
  [anon_sym_true] = "true",
  [anon_sym_false] = "false",
  [anon_sym_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [anon_sym_SLASH_SLASH] = "//",
  [aux_sym_comment_token1] = "comment_token1",
  [anon_sym_SLASH_STAR] = "/*",
  [aux_sym_comment_token2] = "comment_token2",
  [anon_sym_DASH_DASH] = "--",
  [sym_query] = "query",
  [sym_sql_portion] = "sql_portion",
  [sym_sql_statement] = "sql_statement",
  [sym_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_position_arg] = "position_arg",
  [sym_window_specification] = "window_specification",
  [sym_window_partition_clause] = "window_partition_clause",
  [sym_window_order_clause] = "window_order_clause",
  [sym_order_item] = "order_item",
  [sym_frame_clause] = "frame_clause",
  [sym_frame_bound] = "frame_bound",
  [sym_qualified_name] = "qualified_name",
  [sym_table_ref] = "table_ref",
  [sym_from_clause] = "from_clause",
  [sym_visualise_statement] = "visualise_statement",
  [sym_mapping_list] = "mapping_list",
  [sym_mapping_element] = "mapping_element",
  [sym_wildcard_mapping] = "wildcard_mapping",
  [sym_explicit_mapping] = "explicit_mapping",
  [sym_implicit_mapping] = "implicit_mapping",
  [sym_global_mapping] = "global_mapping",
  [sym_viz_clause] = "viz_clause",
  [sym_draw_clause] = "draw_clause",
  [sym_place_clause] = "place_clause",
  [sym_remapping_clause] = "remapping_clause",
  [sym_geom_type] = "geom_type",
  [sym_mapping_clause] = "mapping_clause",
  [sym_mapping_value] = "mapping_value",
  [sym_setting_clause] = "setting_clause",
  [sym_parameter_assignment] = "parameter_assignment",
  [sym_parameter_name] = "parameter_name",
  [sym_parameter_value] = "parameter_value",
  [sym_partition_clause] = "partition_clause",
  [sym_partition_columns] = "partition_columns",
  [sym_filter_clause] = "filter_clause",
  [sym_filter_expression] = "filter_expression",
  [sym_filter_token] = "filter_token",
  [sym_order_clause] = "order_clause",
  [sym_order_expression] = "order_expression",
  [sym_order_token] = "order_token",
  [sym_aesthetic_name] = "aesthetic_name",
  [sym_column_reference] = "column_reference",
  [sym_literal_value] = "literal_value",
  [sym_scale_clause] = "scale_clause",
  [sym_scale_renaming_clause] = "scale_renaming_clause",
  [sym_renaming_assignment] = "renaming_assignment",
  [sym_scale_type_identifier] = "scale_type_identifier",
  [sym_scale_from_clause] = "scale_from_clause",
  [sym_scale_to_clause] = "scale_to_clause",
  [sym_scale_via_clause] = "scale_via_clause",
  [sym_facet_clause] = "facet_clause",
  [sym_facet_vars] = "facet_vars",
  [sym_project_clause] = "project_clause",
  [sym_project_aesthetics] = "project_aesthetics",
  [sym_project_type] = "project_type",
  [sym_project_properties] = "project_properties",
  [sym_project_property] = "project_property",
  [sym_project_property_name] = "project_property_name",
  [sym_label_clause] = "label_clause",
  [sym_label_assignment] = "label_assignment",
  [sym_label_type] = "label_type",
  [sym_identifier] = "identifier",
  [sym_string] = "string",
  [sym_boolean] = "boolean",
  [sym_array] = "array",
  [sym_array_element] = "array_element",
  [sym_null_literal] = "null_literal",
  [sym_comment] = "comment",
  [aux_sym_query_repeat1] = "query_repeat1",
  [aux_sym_sql_portion_repeat1] = "sql_portion_repeat1",
  [aux_sym_select_body_repeat1] = "select_body_repeat1",
  [aux_sym_with_statement_repeat1] = "with_statement_repeat1",
  [aux_sym_cte_definition_repeat1] = "cte_definition_repeat1",
  [aux_sym_create_statement_repeat1] = "create_statement_repeat1",
  [aux_sym_other_sql_statement_repeat1] = "other_sql_statement_repeat1",
  [aux_sym_subquery_body_repeat1] = "subquery_body_repeat1",
  [aux_sym_function_args_repeat1] = "function_args_repeat1",
  [aux_sym_window_order_clause_repeat1] = "window_order_clause_repeat1",
  [aux_sym_qualified_name_repeat1] = "qualified_name_repeat1",
  [aux_sym_from_clause_repeat1] = "from_clause_repeat1",
  [aux_sym_visualise_statement_repeat1] = "visualise_statement_repeat1",
  [aux_sym_mapping_list_repeat1] = "mapping_list_repeat1",
  [aux_sym_setting_clause_repeat1] = "setting_clause_repeat1",
  [aux_sym_filter_expression_repeat1] = "filter_expression_repeat1",
  [aux_sym_order_expression_repeat1] = "order_expression_repeat1",
  [aux_sym_scale_renaming_clause_repeat1] = "scale_renaming_clause_repeat1",
  [aux_sym_project_properties_repeat1] = "project_properties_repeat1",
  [aux_sym_label_clause_repeat1] = "label_clause_repeat1",
  [aux_sym_string_repeat1] = "string_repeat1",
  [aux_sym_array_repeat1] = "array_repeat1",
  [alias_sym_facet_by] = "facet_by",
};

static const TSSymbol ts_symbol_map[] = {
  [ts_builtin_sym_end] = ts_builtin_sym_end,
  [sym_bare_identifier] = sym_bare_identifier,
  [anon_sym_SEMI] = anon_sym_SEMI,
  [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,
  [aux_sym_sql_keyword_token51] = aux_sym_sql_keyword_token51,
  [aux_sym_sql_keyword_token52] = aux_sym_sql_keyword_token52,
  [aux_sym_sql_keyword_token53] = aux_sym_sql_keyword_token53,
  [aux_sym_sql_keyword_token54] = aux_sym_sql_keyword_token54,
  [anon_sym_COLON_EQ] = anon_sym_COLON_EQ,
  [anon_sym_EQ_GT] = anon_sym_EQ_GT,
  [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE,
  [anon_sym_LT_EQ] = anon_sym_LT_EQ,
  [anon_sym_GT_EQ] = anon_sym_GT_EQ,
  [anon_sym_BANG_EQ] = anon_sym_BANG_EQ,
  [anon_sym_LT_GT] = anon_sym_LT_GT,
  [sym_namespaced_identifier] = sym_namespaced_identifier,
  [aux_sym_window_partition_clause_token1] = aux_sym_window_partition_clause_token1,
  [sym_visualise_keyword] = sym_visualise_keyword,
  [aux_sym_draw_clause_token1] = aux_sym_draw_clause_token1,
  [aux_sym_place_clause_token1] = aux_sym_place_clause_token1,
  [aux_sym_remapping_clause_token1] = aux_sym_remapping_clause_token1,
  [anon_sym_point] = anon_sym_point,
  [anon_sym_line] = anon_sym_line,
  [anon_sym_path] = anon_sym_path,
  [anon_sym_bar] = anon_sym_bar,
  [anon_sym_area] = anon_sym_area,
  [anon_sym_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_errorbar] = anon_sym_errorbar,
  [aux_sym_mapping_clause_token1] = aux_sym_mapping_clause_token1,
  [aux_sym_setting_clause_token1] = aux_sym_setting_clause_token1,
  [aux_sym_filter_clause_token1] = aux_sym_filter_clause_token1,
  [aux_sym_filter_token_token1] = aux_sym_filter_token_token1,
  [aux_sym_filter_token_token2] = aux_sym_filter_token_token2,
  [aux_sym_filter_token_token3] = aux_sym_filter_token_token3,
  [aux_sym_filter_token_token4] = aux_sym_filter_token_token4,
  [aux_sym_filter_token_token5] = aux_sym_filter_token_token5,
  [aux_sym_filter_token_token6] = aux_sym_filter_token_token6,
  [aux_sym_filter_token_token7] = aux_sym_filter_token_token7,
  [aux_sym_filter_token_token8] = aux_sym_filter_token_token8,
  [aux_sym_filter_token_token9] = aux_sym_filter_token_token9,
  [aux_sym_filter_token_token10] = aux_sym_filter_token_token10,
  [aux_sym_filter_token_token11] = aux_sym_filter_token_token11,
  [anon_sym_TILDE_STAR] = anon_sym_TILDE_STAR,
  [anon_sym_BANG_TILDE_STAR] = anon_sym_BANG_TILDE_STAR,
  [anon_sym_BANG_TILDE] = anon_sym_BANG_TILDE,
  [anon_sym_x] = anon_sym_x,
  [anon_sym_y] = anon_sym_y,
  [anon_sym_xmin] = anon_sym_xmin,
  [anon_sym_xmax] = anon_sym_xmax,
  [anon_sym_ymin] = anon_sym_ymin,
  [anon_sym_ymax] = anon_sym_ymax,
  [anon_sym_xend] = anon_sym_xend,
  [anon_sym_yend] = anon_sym_yend,
  [anon_sym_angle] = anon_sym_angle,
  [anon_sym_radius] = anon_sym_radius,
  [anon_sym_anglemin] = anon_sym_anglemin,
  [anon_sym_anglemax] = anon_sym_anglemax,
  [anon_sym_radiusmin] = anon_sym_radiusmin,
  [anon_sym_radiusmax] = anon_sym_radiusmax,
  [anon_sym_angleend] = anon_sym_angleend,
  [anon_sym_radiusend] = anon_sym_radiusend,
  [anon_sym_weight] = anon_sym_weight,
  [anon_sym_color] = anon_sym_color,
  [anon_sym_colour] = anon_sym_colour,
  [anon_sym_fill] = anon_sym_fill,
  [anon_sym_stroke] = anon_sym_stroke,
  [anon_sym_opacity] = anon_sym_opacity,
  [anon_sym_size] = anon_sym_size,
  [anon_sym_shape] = anon_sym_shape,
  [anon_sym_linetype] = anon_sym_linetype,
  [anon_sym_linewidth] = anon_sym_linewidth,
  [anon_sym_width] = anon_sym_width,
  [anon_sym_height] = anon_sym_height,
  [anon_sym_typeface] = anon_sym_typeface,
  [anon_sym_fontweight] = anon_sym_fontweight,
  [anon_sym_italic] = anon_sym_italic,
  [anon_sym_fontsize] = anon_sym_fontsize,
  [anon_sym_hjust] = anon_sym_hjust,
  [anon_sym_vjust] = anon_sym_vjust,
  [anon_sym_rotation] = anon_sym_rotation,
  [anon_sym_slope] = anon_sym_slope,
  [anon_sym_panel] = anon_sym_panel,
  [anon_sym_row] = anon_sym_row,
  [anon_sym_column] = anon_sym_column,
  [anon_sym_offset] = anon_sym_offset,
  [anon_sym_count] = anon_sym_count,
  [anon_sym_intensity] = anon_sym_intensity,
  [aux_sym_scale_clause_token1] = aux_sym_scale_clause_token1,
  [aux_sym_scale_renaming_clause_token1] = aux_sym_scale_renaming_clause_token1,
  [aux_sym_scale_type_identifier_token1] = aux_sym_scale_type_identifier_token1,
  [aux_sym_scale_type_identifier_token2] = aux_sym_scale_type_identifier_token2,
  [aux_sym_scale_type_identifier_token3] = aux_sym_scale_type_identifier_token3,
  [aux_sym_scale_type_identifier_token4] = aux_sym_scale_type_identifier_token4,
  [aux_sym_scale_type_identifier_token5] = aux_sym_scale_type_identifier_token5,
  [aux_sym_scale_to_clause_token1] = aux_sym_scale_to_clause_token1,
  [aux_sym_scale_via_clause_token1] = aux_sym_scale_via_clause_token1,
  [aux_sym_facet_clause_token1] = aux_sym_facet_clause_token1,
  [aux_sym_project_clause_token1] = aux_sym_project_clause_token1,
  [aux_sym_label_clause_token1] = aux_sym_label_clause_token1,
  [sym_quoted_identifier] = sym_quoted_identifier,
  [sym_filter_identifier] = sym_filter_identifier,
  [sym_number] = sym_number,
  [anon_sym_SQUOTE] = anon_sym_SQUOTE,
  [aux_sym_string_token1] = aux_sym_string_token1,
  [aux_sym_string_token2] = aux_sym_string_token2,
  [anon_sym_true] = anon_sym_true,
  [anon_sym_false] = anon_sym_false,
  [anon_sym_LBRACK] = anon_sym_LBRACK,
  [anon_sym_RBRACK] = anon_sym_RBRACK,
  [anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH,
  [aux_sym_comment_token1] = aux_sym_comment_token1,
  [anon_sym_SLASH_STAR] = anon_sym_SLASH_STAR,
  [aux_sym_comment_token2] = aux_sym_comment_token2,
  [anon_sym_DASH_DASH] = anon_sym_DASH_DASH,
  [sym_query] = sym_query,
  [sym_sql_portion] = sym_sql_portion,
  [sym_sql_statement] = sym_sql_statement,
  [sym_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_position_arg] = sym_position_arg,
  [sym_window_specification] = sym_window_specification,
  [sym_window_partition_clause] = sym_window_partition_clause,
  [sym_window_order_clause] = sym_window_order_clause,
  [sym_order_item] = sym_order_item,
  [sym_frame_clause] = sym_frame_clause,
  [sym_frame_bound] = sym_frame_bound,
  [sym_qualified_name] = sym_qualified_name,
  [sym_table_ref] = sym_table_ref,
  [sym_from_clause] = sym_from_clause,
  [sym_visualise_statement] = sym_visualise_statement,
  [sym_mapping_list] = sym_mapping_list,
  [sym_mapping_element] = sym_mapping_element,
  [sym_wildcard_mapping] = sym_wildcard_mapping,
  [sym_explicit_mapping] = sym_explicit_mapping,
  [sym_implicit_mapping] = sym_implicit_mapping,
  [sym_global_mapping] = sym_global_mapping,
  [sym_viz_clause] = sym_viz_clause,
  [sym_draw_clause] = sym_draw_clause,
  [sym_place_clause] = sym_place_clause,
  [sym_remapping_clause] = sym_remapping_clause,
  [sym_geom_type] = sym_geom_type,
  [sym_mapping_clause] = sym_mapping_clause,
  [sym_mapping_value] = sym_mapping_value,
  [sym_setting_clause] = sym_setting_clause,
  [sym_parameter_assignment] = sym_parameter_assignment,
  [sym_parameter_name] = sym_parameter_name,
  [sym_parameter_value] = sym_parameter_value,
  [sym_partition_clause] = sym_partition_clause,
  [sym_partition_columns] = sym_partition_columns,
  [sym_filter_clause] = sym_filter_clause,
  [sym_filter_expression] = sym_filter_expression,
  [sym_filter_token] = sym_filter_token,
  [sym_order_clause] = sym_order_clause,
  [sym_order_expression] = sym_order_expression,
  [sym_order_token] = sym_order_token,
  [sym_aesthetic_name] = sym_aesthetic_name,
  [sym_column_reference] = sym_column_reference,
  [sym_literal_value] = sym_literal_value,
  [sym_scale_clause] = sym_scale_clause,
  [sym_scale_renaming_clause] = sym_scale_renaming_clause,
  [sym_renaming_assignment] = sym_renaming_assignment,
  [sym_scale_type_identifier] = sym_scale_type_identifier,
  [sym_scale_from_clause] = sym_scale_from_clause,
  [sym_scale_to_clause] = sym_scale_to_clause,
  [sym_scale_via_clause] = sym_scale_via_clause,
  [sym_facet_clause] = sym_facet_clause,
  [sym_facet_vars] = sym_facet_vars,
  [sym_project_clause] = sym_project_clause,
  [sym_project_aesthetics] = sym_project_aesthetics,
  [sym_project_type] = sym_project_type,
  [sym_project_properties] = sym_project_properties,
  [sym_project_property] = sym_project_property,
  [sym_project_property_name] = sym_project_property_name,
  [sym_label_clause] = sym_label_clause,
  [sym_label_assignment] = sym_label_assignment,
  [sym_label_type] = sym_label_type,
  [sym_identifier] = sym_identifier,
  [sym_string] = sym_string,
  [sym_boolean] = sym_boolean,
  [sym_array] = sym_array,
  [sym_array_element] = sym_array_element,
  [sym_null_literal] = sym_null_literal,
  [sym_comment] = sym_comment,
  [aux_sym_query_repeat1] = aux_sym_query_repeat1,
  [aux_sym_sql_portion_repeat1] = aux_sym_sql_portion_repeat1,
  [aux_sym_select_body_repeat1] = aux_sym_select_body_repeat1,
  [aux_sym_with_statement_repeat1] = aux_sym_with_statement_repeat1,
  [aux_sym_cte_definition_repeat1] = aux_sym_cte_definition_repeat1,
  [aux_sym_create_statement_repeat1] = aux_sym_create_statement_repeat1,
  [aux_sym_other_sql_statement_repeat1] = aux_sym_other_sql_statement_repeat1,
  [aux_sym_subquery_body_repeat1] = aux_sym_subquery_body_repeat1,
  [aux_sym_function_args_repeat1] = aux_sym_function_args_repeat1,
  [aux_sym_window_order_clause_repeat1] = aux_sym_window_order_clause_repeat1,
  [aux_sym_qualified_name_repeat1] = aux_sym_qualified_name_repeat1,
  [aux_sym_from_clause_repeat1] = aux_sym_from_clause_repeat1,
  [aux_sym_visualise_statement_repeat1] = aux_sym_visualise_statement_repeat1,
  [aux_sym_mapping_list_repeat1] = aux_sym_mapping_list_repeat1,
  [aux_sym_setting_clause_repeat1] = aux_sym_setting_clause_repeat1,
  [aux_sym_filter_expression_repeat1] = aux_sym_filter_expression_repeat1,
  [aux_sym_order_expression_repeat1] = aux_sym_order_expression_repeat1,
  [aux_sym_scale_renaming_clause_repeat1] = aux_sym_scale_renaming_clause_repeat1,
  [aux_sym_project_properties_repeat1] = aux_sym_project_properties_repeat1,
  [aux_sym_label_clause_repeat1] = aux_sym_label_clause_repeat1,
  [aux_sym_string_repeat1] = aux_sym_string_repeat1,
  [aux_sym_array_repeat1] = aux_sym_array_repeat1,
  [alias_sym_facet_by] = alias_sym_facet_by,
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [sym_bare_identifier] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [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,
  },
  [aux_sym_sql_keyword_token51] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token52] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token53] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_keyword_token54] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_COLON_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_GT] = {
    .visible = true,
    .named = false,
  },
  [sym_namespaced_identifier] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_window_partition_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_visualise_keyword] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_draw_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_place_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_remapping_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_point] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_line] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_path] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_bar] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_area] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_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_errorbar] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_mapping_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_setting_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token6] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token7] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token8] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token9] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token10] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_token_token11] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_TILDE_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_TILDE_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_TILDE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_x] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_y] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xmin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xmax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ymin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_ymax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_xend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_yend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_angle] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radius] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_anglemin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_anglemax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmin] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusmax] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_angleend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_radiusend] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_weight] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_color] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_colour] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fill] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_stroke] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_opacity] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_size] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_shape] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_linetype] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_linewidth] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_width] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_height] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_typeface] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fontweight] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_italic] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fontsize] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_hjust] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_vjust] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_rotation] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_slope] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_panel] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_row] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_column] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_offset] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_count] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_intensity] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_scale_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_renaming_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token3] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token4] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_type_identifier_token5] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_to_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_via_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_facet_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_project_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_label_clause_token1] = {
    .visible = false,
    .named = false,
  },
  [sym_quoted_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_number] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_SQUOTE] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_string_token1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_true] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_false] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH_SLASH] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_comment_token1] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_SLASH_STAR] = {
    .visible = true,
    .named = false,
  },
  [aux_sym_comment_token2] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_DASH_DASH] = {
    .visible = true,
    .named = false,
  },
  [sym_query] = {
    .visible = true,
    .named = true,
  },
  [sym_sql_portion] = {
    .visible = true,
    .named = true,
  },
  [sym_sql_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_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_position_arg] = {
    .visible = true,
    .named = true,
  },
  [sym_window_specification] = {
    .visible = true,
    .named = true,
  },
  [sym_window_partition_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_window_order_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_order_item] = {
    .visible = true,
    .named = true,
  },
  [sym_frame_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_frame_bound] = {
    .visible = true,
    .named = true,
  },
  [sym_qualified_name] = {
    .visible = true,
    .named = true,
  },
  [sym_table_ref] = {
    .visible = true,
    .named = true,
  },
  [sym_from_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_visualise_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_list] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_element] = {
    .visible = true,
    .named = true,
  },
  [sym_wildcard_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_explicit_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_implicit_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_global_mapping] = {
    .visible = true,
    .named = true,
  },
  [sym_viz_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_draw_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_place_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_remapping_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_geom_type] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_mapping_value] = {
    .visible = true,
    .named = true,
  },
  [sym_setting_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_name] = {
    .visible = true,
    .named = true,
  },
  [sym_parameter_value] = {
    .visible = true,
    .named = true,
  },
  [sym_partition_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_partition_columns] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_filter_token] = {
    .visible = true,
    .named = true,
  },
  [sym_order_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_order_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_order_token] = {
    .visible = true,
    .named = true,
  },
  [sym_aesthetic_name] = {
    .visible = true,
    .named = true,
  },
  [sym_column_reference] = {
    .visible = true,
    .named = true,
  },
  [sym_literal_value] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_renaming_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_renaming_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_type_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_from_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_to_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_scale_via_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_facet_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_facet_vars] = {
    .visible = true,
    .named = true,
  },
  [sym_project_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_project_aesthetics] = {
    .visible = true,
    .named = true,
  },
  [sym_project_type] = {
    .visible = true,
    .named = true,
  },
  [sym_project_properties] = {
    .visible = true,
    .named = true,
  },
  [sym_project_property] = {
    .visible = true,
    .named = true,
  },
  [sym_project_property_name] = {
    .visible = true,
    .named = true,
  },
  [sym_label_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_label_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_label_type] = {
    .visible = true,
    .named = true,
  },
  [sym_identifier] = {
    .visible = true,
    .named = true,
  },
  [sym_string] = {
    .visible = true,
    .named = true,
  },
  [sym_boolean] = {
    .visible = true,
    .named = true,
  },
  [sym_array] = {
    .visible = true,
    .named = true,
  },
  [sym_array_element] = {
    .visible = true,
    .named = true,
  },
  [sym_null_literal] = {
    .visible = true,
    .named = true,
  },
  [sym_comment] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_query_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_sql_portion_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_select_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_with_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_cte_definition_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_create_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_other_sql_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_subquery_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_function_args_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_window_order_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_qualified_name_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_from_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_visualise_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_mapping_list_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_setting_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_filter_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_order_expression_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_scale_renaming_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_project_properties_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_label_clause_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_array_repeat1] = {
    .visible = false,
    .named = false,
  },
  [alias_sym_facet_by] = {
    .visible = true,
    .named = true,
  },
};

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

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

static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
  [1] = {.index = 0, .length = 1},
  [2] = {.index = 1, .length = 2},
  [3] = {.index = 3, .length = 1},
  [4] = {.index = 4, .length = 2},
  [5] = {.index = 6, .length = 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] = 7,
  [8] = 2,
  [9] = 3,
  [10] = 7,
  [11] = 11,
  [12] = 12,
  [13] = 13,
  [14] = 11,
  [15] = 15,
  [16] = 16,
  [17] = 17,
  [18] = 16,
  [19] = 19,
  [20] = 16,
  [21] = 16,
  [22] = 16,
  [23] = 16,
  [24] = 24,
  [25] = 25,
  [26] = 26,
  [27] = 27,
  [28] = 28,
  [29] = 29,
  [30] = 30,
  [31] = 31,
  [32] = 32,
  [33] = 33,
  [34] = 34,
  [35] = 24,
  [36] = 30,
  [37] = 27,
  [38] = 38,
  [39] = 39,
  [40] = 38,
  [41] = 41,
  [42] = 42,
  [43] = 43,
  [44] = 44,
  [45] = 45,
  [46] = 28,
  [47] = 29,
  [48] = 26,
  [49] = 31,
  [50] = 25,
  [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] = 32,
  [66] = 33,
  [67] = 67,
  [68] = 39,
  [69] = 30,
  [70] = 24,
  [71] = 34,
  [72] = 27,
  [73] = 62,
  [74] = 61,
  [75] = 58,
  [76] = 60,
  [77] = 59,
  [78] = 55,
  [79] = 57,
  [80] = 41,
  [81] = 24,
  [82] = 51,
  [83] = 38,
  [84] = 52,
  [85] = 27,
  [86] = 42,
  [87] = 30,
  [88] = 44,
  [89] = 45,
  [90] = 43,
  [91] = 53,
  [92] = 54,
  [93] = 56,
  [94] = 94,
  [95] = 95,
  [96] = 96,
  [97] = 97,
  [98] = 95,
  [99] = 99,
  [100] = 58,
  [101] = 42,
  [102] = 53,
  [103] = 54,
  [104] = 56,
  [105] = 57,
  [106] = 60,
  [107] = 41,
  [108] = 62,
  [109] = 55,
  [110] = 24,
  [111] = 30,
  [112] = 38,
  [113] = 113,
  [114] = 114,
  [115] = 27,
  [116] = 116,
  [117] = 117,
  [118] = 118,
  [119] = 119,
  [120] = 120,
  [121] = 121,
  [122] = 122,
  [123] = 24,
  [124] = 38,
  [125] = 55,
  [126] = 30,
  [127] = 27,
  [128] = 55,
  [129] = 24,
  [130] = 27,
  [131] = 38,
  [132] = 30,
  [133] = 122,
  [134] = 134,
  [135] = 38,
  [136] = 27,
  [137] = 30,
  [138] = 55,
  [139] = 139,
  [140] = 140,
  [141] = 141,
  [142] = 27,
  [143] = 30,
  [144] = 144,
  [145] = 145,
  [146] = 146,
  [147] = 147,
  [148] = 148,
  [149] = 149,
  [150] = 24,
  [151] = 151,
  [152] = 30,
  [153] = 27,
  [154] = 25,
  [155] = 33,
  [156] = 31,
  [157] = 24,
  [158] = 33,
  [159] = 159,
  [160] = 160,
  [161] = 161,
  [162] = 162,
  [163] = 163,
  [164] = 164,
  [165] = 165,
  [166] = 166,
  [167] = 167,
  [168] = 168,
  [169] = 24,
  [170] = 170,
  [171] = 171,
  [172] = 172,
  [173] = 173,
  [174] = 171,
  [175] = 175,
  [176] = 171,
  [177] = 177,
  [178] = 178,
  [179] = 179,
  [180] = 180,
  [181] = 181,
  [182] = 175,
  [183] = 31,
  [184] = 184,
  [185] = 25,
  [186] = 186,
  [187] = 187,
  [188] = 56,
  [189] = 189,
  [190] = 190,
  [191] = 24,
  [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] = 216,
  [217] = 217,
  [218] = 218,
  [219] = 219,
  [220] = 220,
  [221] = 219,
  [222] = 222,
  [223] = 218,
  [224] = 224,
  [225] = 26,
  [226] = 226,
  [227] = 227,
  [228] = 220,
  [229] = 31,
  [230] = 25,
  [231] = 231,
  [232] = 218,
  [233] = 218,
  [234] = 219,
  [235] = 219,
  [236] = 236,
  [237] = 26,
  [238] = 238,
  [239] = 239,
  [240] = 240,
  [241] = 241,
  [242] = 242,
  [243] = 243,
  [244] = 244,
  [245] = 245,
  [246] = 246,
  [247] = 247,
  [248] = 248,
  [249] = 28,
  [250] = 29,
  [251] = 251,
  [252] = 252,
  [253] = 253,
  [254] = 254,
  [255] = 255,
  [256] = 27,
  [257] = 257,
  [258] = 30,
  [259] = 38,
  [260] = 260,
  [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] = 277,
  [278] = 278,
  [279] = 279,
  [280] = 280,
  [281] = 281,
  [282] = 32,
  [283] = 283,
  [284] = 284,
  [285] = 39,
  [286] = 286,
  [287] = 287,
  [288] = 288,
  [289] = 289,
  [290] = 290,
  [291] = 34,
  [292] = 292,
  [293] = 293,
  [294] = 294,
  [295] = 295,
  [296] = 296,
  [297] = 297,
  [298] = 283,
  [299] = 299,
  [300] = 300,
  [301] = 301,
  [302] = 302,
  [303] = 303,
  [304] = 283,
  [305] = 305,
  [306] = 306,
  [307] = 307,
  [308] = 308,
  [309] = 309,
  [310] = 310,
  [311] = 45,
  [312] = 312,
  [313] = 313,
  [314] = 314,
  [315] = 315,
  [316] = 316,
  [317] = 51,
  [318] = 318,
  [319] = 52,
  [320] = 320,
  [321] = 321,
  [322] = 322,
  [323] = 323,
  [324] = 324,
  [325] = 43,
  [326] = 44,
  [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] = 336,
  [341] = 336,
  [342] = 342,
  [343] = 343,
  [344] = 344,
  [345] = 345,
  [346] = 346,
  [347] = 347,
  [348] = 348,
  [349] = 349,
  [350] = 350,
  [351] = 351,
  [352] = 352,
  [353] = 24,
  [354] = 354,
  [355] = 355,
  [356] = 356,
  [357] = 357,
  [358] = 358,
  [359] = 359,
  [360] = 360,
  [361] = 361,
  [362] = 362,
  [363] = 363,
  [364] = 364,
  [365] = 365,
  [366] = 363,
  [367] = 367,
  [368] = 368,
  [369] = 369,
  [370] = 370,
  [371] = 371,
  [372] = 363,
  [373] = 350,
  [374] = 374,
  [375] = 375,
  [376] = 351,
  [377] = 354,
  [378] = 378,
  [379] = 379,
  [380] = 380,
  [381] = 381,
  [382] = 382,
  [383] = 378,
  [384] = 384,
  [385] = 385,
  [386] = 386,
  [387] = 387,
  [388] = 357,
  [389] = 389,
  [390] = 390,
  [391] = 391,
  [392] = 392,
  [393] = 393,
  [394] = 212,
  [395] = 395,
  [396] = 396,
  [397] = 397,
  [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] = 413,
  [414] = 414,
  [415] = 415,
  [416] = 416,
  [417] = 389,
  [418] = 399,
  [419] = 419,
  [420] = 420,
  [421] = 421,
  [422] = 396,
  [423] = 410,
  [424] = 389,
  [425] = 399,
  [426] = 426,
  [427] = 396,
  [428] = 410,
  [429] = 389,
  [430] = 399,
  [431] = 389,
  [432] = 399,
  [433] = 433,
  [434] = 399,
  [435] = 389,
  [436] = 399,
  [437] = 389,
  [438] = 399,
  [439] = 389,
  [440] = 399,
  [441] = 389,
  [442] = 399,
  [443] = 389,
  [444] = 399,
  [445] = 402,
  [446] = 446,
  [447] = 447,
  [448] = 447,
  [449] = 447,
  [450] = 447,
  [451] = 389,
  [452] = 452,
  [453] = 453,
  [454] = 453,
  [455] = 455,
  [456] = 456,
  [457] = 452,
  [458] = 458,
  [459] = 459,
  [460] = 456,
  [461] = 461,
  [462] = 452,
  [463] = 463,
  [464] = 461,
  [465] = 452,
  [466] = 466,
  [467] = 467,
  [468] = 468,
  [469] = 469,
  [470] = 470,
  [471] = 471,
  [472] = 472,
  [473] = 473,
  [474] = 456,
  [475] = 475,
  [476] = 476,
  [477] = 477,
  [478] = 478,
  [479] = 479,
  [480] = 452,
  [481] = 481,
  [482] = 453,
  [483] = 483,
  [484] = 484,
  [485] = 485,
  [486] = 486,
  [487] = 487,
  [488] = 487,
  [489] = 489,
  [490] = 490,
  [491] = 491,
  [492] = 492,
  [493] = 489,
  [494] = 494,
  [495] = 495,
  [496] = 496,
  [497] = 497,
  [498] = 489,
  [499] = 487,
  [500] = 500,
  [501] = 501,
  [502] = 502,
  [503] = 503,
  [504] = 504,
  [505] = 505,
  [506] = 502,
  [507] = 503,
  [508] = 508,
  [509] = 508,
  [510] = 510,
  [511] = 511,
  [512] = 512,
  [513] = 513,
  [514] = 514,
  [515] = 514,
  [516] = 516,
  [517] = 517,
  [518] = 518,
  [519] = 503,
  [520] = 520,
  [521] = 505,
  [522] = 502,
  [523] = 523,
  [524] = 508,
  [525] = 525,
  [526] = 526,
  [527] = 514,
  [528] = 528,
  [529] = 508,
  [530] = 530,
  [531] = 531,
  [532] = 508,
  [533] = 533,
  [534] = 534,
  [535] = 508,
  [536] = 536,
  [537] = 537,
  [538] = 508,
  [539] = 539,
  [540] = 540,
  [541] = 508,
  [542] = 542,
  [543] = 543,
  [544] = 544,
  [545] = 545,
  [546] = 508,
  [547] = 547,
  [548] = 548,
  [549] = 549,
  [550] = 550,
  [551] = 551,
  [552] = 552,
  [553] = 553,
  [554] = 512,
  [555] = 555,
  [556] = 556,
  [557] = 557,
  [558] = 558,
  [559] = 512,
  [560] = 514,
  [561] = 505,
  [562] = 562,
  [563] = 563,
  [564] = 564,
  [565] = 563,
  [566] = 563,
  [567] = 563,
  [568] = 568,
  [569] = 569,
  [570] = 570,
};

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(137);
      ADVANCE_MAP(
        '!', 171,
        '"', 110,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 34,
        ';', 138,
        '<', 162,
        '=', 156,
        '>', 167,
        '[', 1129,
        '\\', 109,
        ']', 1130,
        '^', 182,
        '`', 111,
        '|', 180,
        '~', 184,
        'A', 920,
        'a', 920,
        'B', 855,
        'b', 855,
        'C', 799,
        'c', 799,
        'D', 807,
        'd', 807,
        'E', 929,
        'e', 929,
        'F', 800,
        'f', 800,
        'I', 928,
        'i', 928,
        'L', 801,
        'l', 801,
        'N', 956,
        'n', 956,
        'O', 900,
        'o', 900,
        'P', 810,
        'p', 810,
        'R', 802,
        'r', 802,
        'S', 836,
        's', 836,
        'T', 804,
        't', 804,
        'U', 942,
        'u', 942,
        'V', 814,
        'v', 814,
        'W', 905,
        'w', 905,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1:
      ADVANCE_MAP(
        '!', 171,
        '"', 110,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        '<', 161,
        '=', 155,
        '>', 166,
        '^', 182,
        '`', 111,
        '|', 180,
        '~', 183,
        'A', 922,
        'a', 922,
        'B', 855,
        'b', 855,
        'C', 826,
        'c', 826,
        'D', 809,
        'd', 809,
        'E', 1028,
        'e', 1028,
        'F', 965,
        'f', 965,
        'I', 950,
        'i', 950,
        'L', 829,
        'l', 829,
        'N', 957,
        'n', 957,
        'O', 900,
        'o', 900,
        'R', 802,
        'r', 802,
        'S', 839,
        's', 839,
        'T', 805,
        't', 805,
        'U', 943,
        'u', 943,
        'V', 815,
        'v', 815,
        'W', 908,
        'w', 908,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 2:
      ADVANCE_MAP(
        '!', 171,
        '"', 110,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        '<', 161,
        '=', 155,
        '>', 166,
        '^', 182,
        '`', 111,
        '|', 180,
        '~', 183,
        'A', 921,
        'a', 921,
        'B', 855,
        'b', 855,
        'C', 826,
        'c', 826,
        'D', 809,
        'd', 809,
        'E', 1028,
        'e', 1028,
        'F', 965,
        'f', 965,
        'I', 950,
        'i', 950,
        'L', 829,
        'l', 829,
        'N', 957,
        'n', 957,
        'O', 900,
        'o', 900,
        'R', 802,
        'r', 802,
        'S', 839,
        's', 839,
        'T', 805,
        't', 805,
        'U', 943,
        'u', 943,
        'V', 815,
        'v', 815,
        'W', 908,
        'w', 908,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 3:
      ADVANCE_MAP(
        '!', 171,
        '"', 106,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        '<', 161,
        '=', 155,
        '>', 166,
        '^', 182,
        '`', 107,
        '|', 180,
        '~', 183,
        'A', 731,
        'a', 731,
        'B', 699,
        'b', 699,
        'C', 675,
        'c', 675,
        'D', 680,
        'd', 680,
        'E', 795,
        'e', 795,
        'F', 758,
        'f', 758,
        'I', 740,
        'i', 740,
        'L', 683,
        'l', 683,
        'N', 752,
        'n', 752,
        'O', 721,
        'o', 721,
        'R', 682,
        'r', 682,
        'S', 694,
        's', 694,
        'T', 676,
        't', 676,
        'U', 741,
        'u', 741,
        'V', 679,
        'v', 679,
        'W', 725,
        'w', 725,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(3);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 4:
      ADVANCE_MAP(
        '!', 37,
        '%', 179,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        '<', 162,
        '=', 155,
        '>', 167,
        '|', 42,
        '~', 184,
        'A', 1080,
        'a', 1080,
        'B', 1051,
        'b', 1051,
        'C', 1034,
        'c', 1034,
        'E', 1085,
        'e', 1085,
        'F', 1042,
        'f', 1042,
        'I', 1084,
        'i', 1084,
        'L', 1070,
        'l', 1070,
        'N', 1095,
        'n', 1095,
        'O', 1099,
        'o', 1099,
        'T', 1068,
        't', 1068,
        'W', 1069,
        'w', 1069,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(4);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('D' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('d' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 5:
      ADVANCE_MAP(
        '!', 36,
        '"', 110,
        '%', 179,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 176,
        '.', 149,
        '/', 178,
        ':', 34,
        '<', 162,
        '=', 156,
        '>', 167,
        '[', 1129,
        '`', 111,
        '|', 42,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(5);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 6:
      ADVANCE_MAP(
        '!', 173,
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 147,
        ',', 143,
        '-', 414,
        '.', 154,
        '/', 413,
        ':', 416,
        '<', 164,
        '=', 159,
        '>', 169,
        '`', 417,
        'A', 477,
        'a', 477,
        'B', 458,
        'b', 458,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 530,
        'e', 530,
        'F', 502,
        'f', 502,
        'I', 484,
        'i', 484,
        'L', 430,
        'l', 430,
        'N', 492,
        'n', 492,
        'O', 462,
        'o', 462,
        'R', 428,
        'r', 428,
        'S', 436,
        's', 436,
        'T', 425,
        't', 425,
        'U', 485,
        'u', 485,
        'V', 422,
        'v', 422,
        'W', 467,
        'w', 467,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(6);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(534);
      END_STATE();
    case 7:
      ADVANCE_MAP(
        '!', 173,
        '"', 110,
        '\'', 1123,
        '(', 192,
        '*', 147,
        ',', 143,
        '-', 414,
        '.', 154,
        '/', 413,
        ':', 416,
        '<', 164,
        '=', 159,
        '>', 169,
        '`', 417,
        'A', 477,
        'a', 477,
        'B', 458,
        'b', 458,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 530,
        'e', 530,
        'F', 502,
        'f', 502,
        'I', 484,
        'i', 484,
        'L', 430,
        'l', 430,
        'N', 492,
        'n', 492,
        'O', 462,
        'o', 462,
        'R', 428,
        'r', 428,
        'S', 435,
        's', 435,
        'T', 425,
        't', 425,
        'U', 485,
        'u', 485,
        'V', 422,
        'v', 422,
        'W', 466,
        'w', 466,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(7);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\'' || '*' < lookahead) &&
          (lookahead < ',' || '>' < lookahead)) ADVANCE(534);
      END_STATE();
    case 8:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '-', 31,
        '.', 105,
        '/', 25,
        '[', 1129,
        ']', 1130,
        '`', 111,
        'N', 1019,
        'n', 1019,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(8);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 9:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '-', 31,
        '.', 105,
        '/', 25,
        '`', 111,
        'C', 827,
        'c', 827,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(9);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 10:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 148,
        ',', 143,
        '-', 198,
        '.', 153,
        '/', 197,
        '=', 160,
        '`', 201,
        'A', 259,
        'a', 259,
        'B', 230,
        'b', 230,
        'C', 283,
        'c', 283,
        'D', 208,
        'd', 208,
        'E', 315,
        'e', 315,
        'F', 285,
        'f', 285,
        'I', 268,
        'i', 268,
        'L', 211,
        'l', 211,
        'N', 278,
        'n', 278,
        'O', 246,
        'o', 246,
        'R', 210,
        'r', 210,
        'S', 220,
        's', 220,
        'T', 205,
        't', 205,
        'U', 269,
        'u', 269,
        'V', 207,
        'v', 207,
        'W', 251,
        'w', 251,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(10);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 11:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        '*', 144,
        '-', 31,
        '.', 105,
        '/', 25,
        '`', 111,
        'C', 827,
        'c', 827,
        'S', 898,
        's', 898,
        'W', 910,
        'w', 910,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(11);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 12:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        '-', 31,
        '.', 105,
        '/', 25,
        '[', 1129,
        '`', 111,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(12);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 13:
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '*', 144,
        '-', 31,
        '.', 105,
        '/', 25,
        '`', 111,
        'F', 965,
        'f', 965,
        'N', 1019,
        'n', 1019,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(13);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 14:
      ADVANCE_MAP(
        '"', 110,
        '(', 192,
        ')', 193,
        ',', 143,
        '-', 31,
        '.', 150,
        '/', 25,
        '`', 111,
        'D', 890,
        'd', 890,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(14);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 15:
      if (lookahead == '"') ADVANCE(1033);
      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(1033);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(19);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 17:
      if (lookahead == '"') ADVANCE(1033);
      if (lookahead != 0) ADVANCE(17);
      END_STATE();
    case 18:
      if (lookahead == '"') ADVANCE(106);
      if (lookahead == '\'') ADVANCE(1123);
      if (lookahead == '(') ADVANCE(192);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == '`') ADVANCE(107);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(18);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 19:
      if (lookahead == '"') ADVANCE(633);
      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(1123);
      if (lookahead == '-') ADVANCE(1126);
      if (lookahead == '/') ADVANCE(1125);
      if (lookahead == '\\') ADVANCE(109);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1127);
      if (lookahead != 0) ADVANCE(1124);
      END_STATE();
    case 21:
      ADVANCE_MAP(
        ')', 193,
        ',', 143,
        '-', 30,
        '/', 25,
        'D', 890,
        'd', 890,
        'R', 803,
        'r', 803,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(21);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 22:
      ADVANCE_MAP(
        ')', 193,
        ',', 143,
        '-', 30,
        '/', 25,
        'O', 976,
        'o', 976,
        'R', 803,
        'r', 803,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(22);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 23:
      if (lookahead == ')') ADVANCE(193);
      if (lookahead == ',') ADVANCE(143);
      if (lookahead == '-') ADVANCE(30);
      if (lookahead == '/') ADVANCE(25);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(803);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(23);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 24:
      ADVANCE_MAP(
        ')', 193,
        '-', 30,
        '/', 25,
        'O', 976,
        'o', 976,
        'P', 811,
        'p', 811,
        'R', 803,
        'r', 803,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(24);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 25:
      if (lookahead == '*') ADVANCE(1142);
      if (lookahead == '/') ADVANCE(1131);
      END_STATE();
    case 26:
      if (lookahead == '*') ADVANCE(1149);
      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(1149);
      if (lookahead == '-') ADVANCE(1151);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 28:
      if (lookahead == '*') ADVANCE(1149);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 29:
      if (lookahead == '*') ADVANCE(1143);
      if (lookahead == '/') ADVANCE(1132);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 30:
      if (lookahead == '-') ADVANCE(1150);
      END_STATE();
    case 31:
      if (lookahead == '-') ADVANCE(1150);
      if (lookahead == '.') ADVANCE(105);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      END_STATE();
    case 32:
      ADVANCE_MAP(
        '-', 31,
        '.', 105,
        '/', 25,
        'B', 66,
        'b', 66,
        'C', 98,
        'c', 98,
        'U', 81,
        'u', 81,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(32);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      END_STATE();
    case 33:
      if (lookahead == ':') ADVANCE(185);
      END_STATE();
    case 34:
      if (lookahead == ':') ADVANCE(185);
      if (lookahead == '=') ADVANCE(626);
      END_STATE();
    case 35:
      if (lookahead == ':') ADVANCE(39);
      if (lookahead == '`') ADVANCE(1033);
      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(631);
      END_STATE();
    case 37:
      if (lookahead == '=') ADVANCE(631);
      if (lookahead == '~') ADVANCE(666);
      END_STATE();
    case 38:
      if (lookahead == '>') ADVANCE(627);
      END_STATE();
    case 39:
      if (lookahead == '`') ADVANCE(1033);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(41);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 40:
      if (lookahead == '`') ADVANCE(1033);
      if (lookahead != 0) ADVANCE(40);
      END_STATE();
    case 41:
      if (lookahead == '`') ADVANCE(633);
      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(628);
      END_STATE();
    case 43:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(51);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(84);
      END_STATE();
    case 44:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(49);
      END_STATE();
    case 45:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(101);
      END_STATE();
    case 46:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(74);
      END_STATE();
    case 47:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(55);
      END_STATE();
    case 48:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(77);
      END_STATE();
    case 49:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(63);
      END_STATE();
    case 50:
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(86);
      END_STATE();
    case 51:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(61);
      END_STATE();
    case 52:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(95);
      END_STATE();
    case 53:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(94);
      END_STATE();
    case 54:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(48);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(76);
      END_STATE();
    case 55:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(59);
      END_STATE();
    case 56:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(613);
      END_STATE();
    case 57:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(65);
      END_STATE();
    case 58:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      END_STATE();
    case 59:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(640);
      END_STATE();
    case 60:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(667);
      END_STATE();
    case 61:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(93);
      END_STATE();
    case 62:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(52);
      END_STATE();
    case 63:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(73);
      END_STATE();
    case 64:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(82);
      END_STATE();
    case 65:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(56);
      END_STATE();
    case 66:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(97);
      END_STATE();
    case 67:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(79);
      END_STATE();
    case 68:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(67);
      END_STATE();
    case 69:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(53);
      END_STATE();
    case 70:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(92);
      END_STATE();
    case 71:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(91);
      END_STATE();
    case 72:
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(69);
      END_STATE();
    case 73:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(673);
      END_STATE();
    case 74:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(70);
      END_STATE();
    case 75:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(47);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(85);
      END_STATE();
    case 76:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(62);
      END_STATE();
    case 77:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(60);
      END_STATE();
    case 78:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(538);
      END_STATE();
    case 79:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(570);
      END_STATE();
    case 80:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(57);
      END_STATE();
    case 81:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(50);
      END_STATE();
    case 82:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(96);
      END_STATE();
    case 83:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(102);
      END_STATE();
    case 84:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(78);
      END_STATE();
    case 85:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(72);
      END_STATE();
    case 86:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(99);
      END_STATE();
    case 87:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(45);
      END_STATE();
    case 88:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(89);
      END_STATE();
    case 89:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(64);
      END_STATE();
    case 90:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(194);
      END_STATE();
    case 91:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(100);
      END_STATE();
    case 92:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(58);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(58);
      END_STATE();
    case 93:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(669);
      END_STATE();
    case 94:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(671);
      END_STATE();
    case 95:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(139);
      END_STATE();
    case 96:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(616);
      END_STATE();
    case 97:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(103);
      END_STATE();
    case 98:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(88);
      END_STATE();
    case 99:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(80);
      END_STATE();
    case 100:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 101:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(638);
      END_STATE();
    case 102:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(619);
      END_STATE();
    case 103:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(68);
      END_STATE();
    case 104:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(579);
      END_STATE();
    case 105:
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1122);
      END_STATE();
    case 106:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 107:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(35);
      if (lookahead != 0 &&
          (lookahead < '_' || 'z' < lookahead)) ADVANCE(40);
      END_STATE();
    case 108:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(634);
      END_STATE();
    case 109:
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1128);
      END_STATE();
    case 110:
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(17);
      END_STATE();
    case 111:
      if (lookahead != 0 &&
          lookahead != '`') ADVANCE(40);
      END_STATE();
    case 112:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 171,
        '"', 110,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        ';', 138,
        '<', 161,
        '=', 155,
        '>', 166,
        ']', 1130,
        '^', 182,
        '`', 111,
        '|', 180,
        '~', 183,
        'A', 922,
        'a', 922,
        'B', 855,
        'b', 855,
        'C', 826,
        'c', 826,
        'D', 809,
        'd', 809,
        'E', 1028,
        'e', 1028,
        'F', 965,
        'f', 965,
        'I', 950,
        'i', 950,
        'L', 829,
        'l', 829,
        'N', 957,
        'n', 957,
        'O', 900,
        'o', 900,
        'R', 802,
        'r', 802,
        'S', 839,
        's', 839,
        'T', 805,
        't', 805,
        'U', 943,
        'u', 943,
        'V', 814,
        'v', 814,
        'W', 908,
        'w', 908,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(112);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 113:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 171,
        '"', 110,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        ';', 138,
        '<', 161,
        '=', 155,
        '>', 166,
        '^', 182,
        '`', 111,
        '|', 180,
        '~', 183,
        'A', 921,
        'a', 921,
        'B', 855,
        'b', 855,
        'C', 826,
        'c', 826,
        'D', 809,
        'd', 809,
        'E', 1028,
        'e', 1028,
        'F', 965,
        'f', 965,
        'I', 950,
        'i', 950,
        'L', 829,
        'l', 829,
        'N', 957,
        'n', 957,
        'O', 900,
        'o', 900,
        'R', 802,
        'r', 802,
        'S', 839,
        's', 839,
        'T', 805,
        't', 805,
        'U', 943,
        'u', 943,
        'V', 814,
        'v', 814,
        'W', 908,
        'w', 908,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(113);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 114:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 171,
        '"', 106,
        '%', 179,
        '&', 181,
        '\'', 1123,
        '(', 192,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        ';', 138,
        '<', 161,
        '=', 155,
        '>', 166,
        '^', 182,
        '`', 107,
        '|', 180,
        '~', 183,
        'A', 731,
        'a', 731,
        'B', 699,
        'b', 699,
        'C', 675,
        'c', 675,
        'D', 680,
        'd', 680,
        'E', 795,
        'e', 795,
        'F', 758,
        'f', 758,
        'I', 740,
        'i', 740,
        'L', 683,
        'l', 683,
        'N', 752,
        'n', 752,
        'O', 721,
        'o', 721,
        'R', 682,
        'r', 682,
        'S', 694,
        's', 694,
        'T', 676,
        't', 676,
        'U', 741,
        'u', 741,
        'V', 678,
        'v', 678,
        'W', 725,
        'w', 725,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(114);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 115:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 172,
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 145,
        ',', 143,
        '-', 326,
        '.', 152,
        '/', 324,
        ':', 329,
        ';', 138,
        '<', 163,
        '=', 157,
        '>', 168,
        '`', 330,
        'A', 367,
        'a', 367,
        'B', 351,
        'b', 351,
        'C', 419,
        'c', 419,
        'D', 420,
        'd', 420,
        'E', 404,
        'e', 404,
        'F', 390,
        'f', 390,
        'I', 484,
        'i', 484,
        'L', 339,
        'l', 339,
        'N', 379,
        'n', 379,
        'O', 357,
        'o', 357,
        'R', 335,
        'r', 335,
        'S', 435,
        's', 435,
        'T', 336,
        't', 336,
        'U', 485,
        'u', 485,
        'V', 421,
        'v', 421,
        'W', 466,
        'w', 466,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(115);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0) ADVANCE(410);
      END_STATE();
    case 116:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 174,
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 148,
        ',', 143,
        '-', 198,
        '.', 153,
        '/', 197,
        ':', 200,
        ';', 138,
        '<', 165,
        '=', 160,
        '>', 170,
        '`', 201,
        'A', 259,
        'a', 259,
        'B', 230,
        'b', 230,
        'C', 204,
        'c', 204,
        'D', 208,
        'd', 208,
        'E', 315,
        'e', 315,
        'F', 285,
        'f', 285,
        'I', 268,
        'i', 268,
        'L', 211,
        'l', 211,
        'N', 278,
        'n', 278,
        'O', 246,
        'o', 246,
        'R', 210,
        'r', 210,
        'S', 219,
        's', 219,
        'T', 205,
        't', 205,
        'U', 269,
        'u', 269,
        'V', 206,
        'v', 206,
        'W', 250,
        'w', 250,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(116);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 117:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 37,
        '%', 179,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 177,
        '.', 150,
        '/', 178,
        ':', 33,
        '<', 162,
        '=', 155,
        '>', 167,
        '|', 42,
        '~', 184,
        'A', 1080,
        'a', 1080,
        'B', 1051,
        'b', 1051,
        'C', 1034,
        'c', 1034,
        'D', 1100,
        'd', 1100,
        'E', 1085,
        'e', 1085,
        'F', 1035,
        'f', 1035,
        'I', 1084,
        'i', 1084,
        'L', 1036,
        'l', 1036,
        'N', 1095,
        'n', 1095,
        'O', 1097,
        'o', 1097,
        'P', 1039,
        'p', 1039,
        'S', 1044,
        's', 1044,
        'T', 1068,
        't', 1068,
        'V', 1073,
        'v', 1073,
        'W', 1069,
        'w', 1069,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(117);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 118:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 36,
        '"', 110,
        '%', 179,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 176,
        '.', 149,
        '/', 178,
        ':', 33,
        '<', 162,
        '=', 155,
        '>', 167,
        '`', 111,
        '|', 42,
        'A', 979,
        'a', 979,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(118);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 119:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 36,
        '%', 179,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 176,
        '.', 149,
        '/', 178,
        ':', 34,
        '<', 162,
        '=', 156,
        '>', 167,
        '|', 42,
        'A', 979,
        'a', 979,
        'B', 1030,
        'b', 1030,
        'D', 964,
        'd', 964,
        'F', 824,
        'f', 824,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'R', 803,
        'r', 803,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(119);
      if (('C' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('c' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 120:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 36,
        '%', 179,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 176,
        '.', 149,
        '/', 178,
        ':', 33,
        ';', 138,
        '<', 162,
        '=', 155,
        '>', 167,
        '|', 42,
        'A', 90,
        'a', 90,
        'B', 104,
        'b', 104,
        'D', 87,
        'd', 87,
        'F', 43,
        'f', 43,
        'L', 44,
        'l', 44,
        'P', 75,
        'p', 75,
        'R', 83,
        'r', 83,
        'S', 54,
        's', 54,
        'V', 71,
        'v', 71,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(120);
      END_STATE();
    case 121:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '!', 36,
        '%', 179,
        '(', 192,
        ')', 193,
        '*', 144,
        '+', 175,
        ',', 143,
        '-', 176,
        '.', 149,
        '/', 178,
        ':', 33,
        '<', 162,
        '=', 155,
        '>', 167,
        ']', 1130,
        '|', 42,
        'A', 979,
        'a', 979,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(121);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 122:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 148,
        ',', 143,
        '-', 198,
        '.', 153,
        '/', 197,
        ';', 138,
        '=', 160,
        '`', 201,
        'A', 259,
        'a', 259,
        'B', 230,
        'b', 230,
        'C', 283,
        'c', 283,
        'D', 208,
        'd', 208,
        'E', 315,
        'e', 315,
        'F', 285,
        'f', 285,
        'I', 268,
        'i', 268,
        'L', 211,
        'l', 211,
        'N', 278,
        'n', 278,
        'O', 246,
        'o', 246,
        'R', 210,
        'r', 210,
        'S', 219,
        's', 219,
        'T', 205,
        't', 205,
        'U', 269,
        'u', 269,
        'V', 206,
        'v', 206,
        'W', 251,
        'w', 251,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(122);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 123:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 148,
        ',', 143,
        '-', 198,
        '.', 153,
        '/', 197,
        ';', 138,
        '=', 160,
        '`', 201,
        'A', 259,
        'a', 259,
        'B', 230,
        'b', 230,
        'C', 283,
        'c', 283,
        'D', 208,
        'd', 208,
        'E', 315,
        'e', 315,
        'F', 285,
        'f', 285,
        'I', 268,
        'i', 268,
        'L', 211,
        'l', 211,
        'N', 278,
        'n', 278,
        'O', 246,
        'o', 246,
        'R', 210,
        'r', 210,
        'S', 220,
        's', 220,
        'T', 205,
        't', 205,
        'U', 269,
        'u', 269,
        'V', 206,
        'v', 206,
        'W', 251,
        'w', 251,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(123);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0) ADVANCE(319);
      END_STATE();
    case 124:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        '\'', 1123,
        '*', 144,
        '-', 31,
        '.', 105,
        '/', 25,
        '`', 111,
        'D', 964,
        'd', 964,
        'F', 824,
        'f', 824,
        'L', 817,
        'l', 817,
        'N', 1019,
        'n', 1019,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(124);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 125:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        '(', 192,
        ')', 193,
        ',', 143,
        '-', 31,
        '.', 150,
        '/', 25,
        '`', 111,
        'D', 889,
        'd', 889,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(125);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 126:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        ',', 143,
        '-', 30,
        '/', 25,
        '=', 38,
        '`', 111,
        'A', 979,
        'a', 979,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(126);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 127:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '"', 110,
        '-', 30,
        '/', 25,
        '`', 111,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(127);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 128:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 146,
        ',', 143,
        '-', 325,
        '.', 151,
        '/', 323,
        ';', 138,
        '=', 158,
        'A', 364,
        'a', 364,
        'B', 348,
        'b', 348,
        'C', 963,
        'c', 963,
        'D', 808,
        'd', 808,
        'E', 403,
        'e', 403,
        'F', 385,
        'f', 385,
        'I', 941,
        'i', 941,
        'L', 334,
        'l', 334,
        'N', 377,
        'n', 377,
        'O', 354,
        'o', 354,
        'R', 332,
        'r', 332,
        'S', 838,
        's', 838,
        'T', 333,
        't', 333,
        'U', 942,
        'u', 942,
        'V', 814,
        'v', 814,
        'W', 907,
        'w', 907,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(128);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(412);
      END_STATE();
    case 129:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '\'', 1123,
        '(', 192,
        ')', 193,
        '*', 146,
        ',', 143,
        '-', 325,
        '.', 151,
        '/', 323,
        ';', 138,
        '=', 158,
        'A', 364,
        'a', 364,
        'B', 348,
        'b', 348,
        'C', 971,
        'c', 971,
        'D', 809,
        'd', 809,
        'E', 403,
        'e', 403,
        'F', 385,
        'f', 385,
        'I', 950,
        'i', 950,
        'L', 334,
        'l', 334,
        'N', 377,
        'n', 377,
        'O', 354,
        'o', 354,
        'R', 332,
        'r', 332,
        'S', 839,
        's', 839,
        'T', 333,
        't', 333,
        'U', 943,
        'u', 943,
        'V', 814,
        'v', 814,
        'W', 908,
        'w', 908,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(129);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if (('G' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('g' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          lookahead != '"') ADVANCE(412);
      END_STATE();
    case 130:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ')', 193,
        ',', 143,
        '-', 30,
        '/', 25,
        '=', 38,
        ']', 1130,
        'A', 979,
        'a', 979,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(130);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 131:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ')', 193,
        ',', 143,
        '-', 30,
        '/', 25,
        'B', 1030,
        'b', 1030,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 927,
        'p', 927,
        'R', 803,
        'r', 803,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(131);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 132:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ',', 143,
        '-', 30,
        '.', 149,
        '/', 25,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(132);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 133:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ',', 143,
        '-', 30,
        '/', 25,
        'A', 979,
        'a', 979,
        'D', 964,
        'd', 964,
        'F', 824,
        'f', 824,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(133);
      if (('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 134:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ',', 143,
        '-', 30,
        '/', 25,
        'B', 1030,
        'b', 1030,
        'D', 964,
        'd', 964,
        'F', 825,
        'f', 825,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(134);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 135:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        ',', 143,
        '-', 30,
        '/', 25,
        'D', 964,
        'd', 964,
        'F', 824,
        'f', 824,
        'L', 817,
        'l', 817,
        'O', 976,
        'o', 976,
        'P', 810,
        'p', 810,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(135);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 136:
      if (eof) ADVANCE(137);
      ADVANCE_MAP(
        '-', 30,
        '/', 25,
        'D', 964,
        'd', 964,
        'F', 824,
        'f', 824,
        'L', 817,
        'l', 817,
        'P', 927,
        'p', 927,
        'S', 840,
        's', 840,
        'V', 913,
        'v', 913,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(136);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 137:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 138:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 139:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      END_STATE();
    case 140:
      ACCEPT_TOKEN(aux_sym_select_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 143:
      ACCEPT_TOKEN(anon_sym_COMMA);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 145:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 146:
      ACCEPT_TOKEN(anon_sym_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_DOT);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1122);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(407);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(408);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(317);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_DOT);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(532);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '>') ADVANCE(627);
      END_STATE();
    case 157:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_EQ);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 160:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 161:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 162:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=') ADVANCE(629);
      if (lookahead == '>') ADVANCE(632);
      END_STATE();
    case 163:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 166:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=') ADVANCE(630);
      END_STATE();
    case 168:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 172:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 173:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(anon_sym_PLUS);
      END_STATE();
    case 176:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1150);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-') ADVANCE(1150);
      if (lookahead == '.') ADVANCE(105);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(anon_sym_SLASH);
      if (lookahead == '*') ADVANCE(1142);
      if (lookahead == '/') ADVANCE(1131);
      END_STATE();
    case 179:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      END_STATE();
    case 180:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(anon_sym_CARET);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(anon_sym_TILDE);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_TILDE);
      if (lookahead == '*') ADVANCE(664);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      END_STATE();
    case 186:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(anon_sym_COLON_COLON);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(aux_sym_with_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(aux_sym_cte_definition_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(aux_sym_create_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '*') ADVANCE(1147);
      if (lookahead == '/') ADVANCE(1136);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '-') ADVANCE(1155);
      if (lookahead == '.') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '.') ADVANCE(317);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(199);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == ':') ADVANCE(188);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == '`') ADVANCE(319);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(201);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 203:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(258);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(294);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(275);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(215);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(265);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(260);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(231);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 207:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(260);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(232);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 208:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(302);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(292);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(296);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 209:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(216);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 210:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(270);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(312);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 211:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(308);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(247);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(257);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(261);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 213:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(293);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 214:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(282);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(262);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(213);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 217:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(276);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(277);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 218:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 219:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(253);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(263);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 220:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(253);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 221:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 222:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(303);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 223:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 224:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(233);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(236);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(239);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(229);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(236);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 229:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(305);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 231:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(312);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(309);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 232:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(312);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(314);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 234:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(222);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 235:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(266);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 236:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(281);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(267);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 238:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(290);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(272);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(287);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(237);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(221);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 245:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(248);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(318);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(226);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 247:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 248:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 249:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(245);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(306);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(245);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(191);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 253:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(235);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 254:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(299);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 255:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(273);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 256:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 257:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(258);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(223);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(311);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(254);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(234);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 264:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(280);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 266:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(202);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 267:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 268:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(224);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 269:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(217);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 270:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(249);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 271:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(225);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 272:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 273:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(221);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 274:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(295);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(310);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 277:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(267);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 278:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(288);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 280:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(279);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 282:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(316);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 283:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(275);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(284);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 284:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(289);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 285:
      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(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(203);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(214);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(240);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(300);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 291:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(218);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 293:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(228);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 294:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(301);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 295:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 296:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(304);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 297:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(307);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(238);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 299:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(227);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(227);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 300:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(244);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 301:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 302:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(209);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(142);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 304:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(255);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 305:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(313);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(252);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 307:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(291);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 308:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(242);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 309:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(212);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 310:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(271);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(241);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 313:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(243);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 314:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 315:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(256);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 316:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(318);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 317:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(317);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(318);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(aux_sym_create_statement_token2);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 320:
      ACCEPT_TOKEN(aux_sym_insert_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 321:
      ACCEPT_TOKEN(aux_sym_update_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 322:
      ACCEPT_TOKEN(aux_sym_delete_statement_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 323:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1145);
      if (lookahead == '/') ADVANCE(1134);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '*') ADVANCE(1144);
      if (lookahead == '/') ADVANCE(1133);
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 325:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1153);
      if (lookahead == '.') ADVANCE(407);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '-') ADVANCE(1152);
      if (lookahead == '.') ADVANCE(408);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(407);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(327);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 328:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '.') ADVANCE(408);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(328);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 329:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == ':') ADVANCE(186);
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == '`') ADVANCE(410);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(417);
      if (lookahead != 0) ADVANCE(330);
      END_STATE();
    case 331:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(363);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(373);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(399);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 333:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(341);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(370);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 334:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(394);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(356);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(918);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(374);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(400);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(342);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(372);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 337:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(365);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(384);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 339:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(397);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(358);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(473);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 340:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(387);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 341:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(366);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 342:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(368);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 343:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(555);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 344:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(533);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 345:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(887);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 346:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(452);
      if (lookahead == 'C' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 347:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 348:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(396);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 349:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(383);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(398);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 352:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(388);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 353:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(392);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 354:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(353);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(409);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(345);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 355:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(391);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(393);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 357:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(355);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(411);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(346);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 358:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(395);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(347);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 360:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(350);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 361:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(989);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(512);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 363:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 364:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(363);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(343);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 365:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(347);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 367:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(365);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(344);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 368:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(350);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(381);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 371:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(382);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(359);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 374:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(360);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 375:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(369);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 376:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(386);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 377:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(393);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 378:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(371);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 379:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(395);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 380:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(389);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(376);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 382:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(380);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 383:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(331);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 384:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(405);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 385:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(375);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(338);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 387:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(406);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 388:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(337);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 389:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(340);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 390:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(378);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 391:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(453);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(893);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 393:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 394:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(349);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 395:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 396:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(402);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 397:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(352);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 398:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(401);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          ('S' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          ('s' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 399:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 621,
        'w', 621,
        'C', 1032,
        'D', 1032,
        'I', 1032,
        'S', 1032,
        'U', 1032,
        'V', 1032,
        'c', 1032,
        'd', 1032,
        'i', 1032,
        's', 1032,
        'u', 1032,
        'v', 1032,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 400:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 533,
        'w', 533,
        'C', 533,
        'D', 533,
        'I', 533,
        'S', 533,
        'U', 533,
        'V', 533,
        'c', 533,
        'd', 533,
        'i', 533,
        's', 533,
        'u', 533,
        'v', 533,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 459,
        'w', 459,
        'C', 533,
        'D', 533,
        'I', 533,
        'S', 533,
        'U', 533,
        'V', 533,
        'c', 533,
        'd', 533,
        'i', 533,
        's', 533,
        'u', 533,
        'v', 533,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 402:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      ADVANCE_MAP(
        'W', 897,
        'w', 897,
        'C', 1032,
        'D', 1032,
        'I', 1032,
        'S', 1032,
        'U', 1032,
        'V', 1032,
        'c', 1032,
        'd', 1032,
        'i', 1032,
        's', 1032,
        'u', 1032,
        'v', 1032,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 403:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(361);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 404:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(362);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(409);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 406:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(411);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(407);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 408:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(408);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(1032);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(409);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(412);
      END_STATE();
    case 410:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if (lookahead == 'C' ||
          lookahead == 'D' ||
          lookahead == 'I' ||
          lookahead == 'S' ||
          ('U' <= lookahead && lookahead <= 'W') ||
          lookahead == 'c' ||
          lookahead == 'd' ||
          lookahead == 'i' ||
          lookahead == 's' ||
          ('u' <= lookahead && lookahead <= 'w')) ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(411);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 412:
      ACCEPT_TOKEN(aux_sym_other_sql_statement_token1);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 413:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '*') ADVANCE(1146);
      if (lookahead == '/') ADVANCE(1135);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || '*' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 414:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '-') ADVANCE(1154);
      if (lookahead == '.') ADVANCE(532);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          (lookahead < ',' || '.' < lookahead) &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 415:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '.') ADVANCE(532);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(415);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 416:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == ':') ADVANCE(187);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ':' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == '`') ADVANCE(534);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ' ||
          lookahead == '"' ||
          ('\'' <= lookahead && lookahead <= ')') ||
          lookahead == ',' ||
          lookahead == ';') ADVANCE(40);
      if (lookahead != 0) ADVANCE(417);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(508);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(491);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(499);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(517);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(507);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(511);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(475);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(445);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(475);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(446);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 423:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(432);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 424:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(476);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 425:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(433);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(481);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 426:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(474);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(509);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 428:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(487);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(527);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 429:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(498);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 430:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(523);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(463);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(473);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 431:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(493);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(490);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 432:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(427);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 433:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(478);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 434:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 435:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(469);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(479);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 436:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(469);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 437:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 438:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(519);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 439:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 440:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(447);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(452);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(456);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 441:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(450);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(452);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 443:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 444:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(527);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(524);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 446:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(527);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 447:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(529);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 448:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(482);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 449:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(438);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 450:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 451:
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 453:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 454:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(488);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 455:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(506);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 456:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(501);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 457:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(503);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 458:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(521);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 459:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(451);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 460:
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 461:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(437);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 462:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(464);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(533);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(442);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 463:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 464:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(513);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 465:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 466:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(460);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(520);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 467:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(460);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 468:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(190);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 469:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(448);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 470:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(514);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 471:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(489);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 472:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(512);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 473:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 474:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 475:
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 476:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(470);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 477:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(474);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(439);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 478:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 479:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(449);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 480:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 481:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(496);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 482:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(418);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 483:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 484:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(440);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 485:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(431);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 486:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(441);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 487:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(465);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 488:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 489:
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 490:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(483);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 491:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(510);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 492:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 493:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(525);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 494:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(480);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 495:
      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(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 496:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(495);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 497:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 498:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(531);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 499:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(505);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 500:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 501:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(515);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 502:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(494);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 503:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(426);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 504:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(429);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 505:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(454);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 506:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 507:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(434);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 508:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(516);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 509:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(444);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 510:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(506);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 511:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(518);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 512:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(522);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 513:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(453);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 514:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(443);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(443);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 515:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(461);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 516:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 517:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(423);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 518:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(471);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 519:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(141);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 520:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(468);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 521:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(528);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 522:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(506);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 523:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(457);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 524:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(424);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 525:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(486);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 526:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(455);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 527:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 528:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(459);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 529:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 530:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(472);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 531:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(533);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 532:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(532);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 533:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(533);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 534:
      ACCEPT_TOKEN(aux_sym_subquery_body_token1);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 535:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      END_STATE();
    case 536:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 537:
      ACCEPT_TOKEN(aux_sym_cast_expression_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 538:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      END_STATE();
    case 539:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 540:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 541:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 542:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 543:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 544:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 545:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 546:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 547:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 548:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 549:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 550:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 551:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 552:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token12);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 553:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      END_STATE();
    case 554:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 555:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token13);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 556:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      END_STATE();
    case 557:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(714);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 558:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(1064);
      END_STATE();
    case 559:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token14);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(887);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 560:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      END_STATE();
    case 561:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 562:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token15);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 563:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      END_STATE();
    case 564:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(705);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(710);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(711);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 565:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      ADVANCE_MAP(
        'D', 859,
        'd', 859,
        'N', 878,
        'n', 878,
        'S', 894,
        's', 894,
        'T', 883,
        't', 883,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 566:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token16);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(859);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(878);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(883);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 567:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      END_STATE();
    case 568:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 569:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token17);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 570:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      END_STATE();
    case 571:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 572:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token18);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 573:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      END_STATE();
    case 574:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 575:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token19);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 576:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      END_STATE();
    case 577:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 578:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token20);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 579:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      END_STATE();
    case 580:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 581:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token22);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 582:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 583:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token25);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 584:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 585:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token26);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 586:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      END_STATE();
    case 587:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 588:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token27);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 589:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 590:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token29);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 591:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 592:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token30);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 593:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 594:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token31);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 595:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 596:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token32);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 597:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 598:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token33);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 599:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(759);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 600:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token34);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(972);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 601:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 602:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token35);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 603:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 604:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token36);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 605:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 606:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token37);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 607:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 608:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token38);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 609:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 610:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token39);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 611:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 612:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token42);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 613:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      END_STATE();
    case 614:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 615:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token43);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 616:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      END_STATE();
    case 617:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 618:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token46);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 619:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      END_STATE();
    case 620:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 621:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token47);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 622:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token52);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 623:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token52);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 624:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token53);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 625:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token53);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 626:
      ACCEPT_TOKEN(anon_sym_COLON_EQ);
      END_STATE();
    case 627:
      ACCEPT_TOKEN(anon_sym_EQ_GT);
      END_STATE();
    case 628:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 629:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 630:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 631:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 632:
      ACCEPT_TOKEN(anon_sym_LT_GT);
      END_STATE();
    case 633:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      END_STATE();
    case 634:
      ACCEPT_TOKEN(sym_namespaced_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(634);
      END_STATE();
    case 635:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      END_STATE();
    case 636:
      ACCEPT_TOKEN(aux_sym_window_partition_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 637:
      ACCEPT_TOKEN(sym_visualise_keyword);
      END_STATE();
    case 638:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      END_STATE();
    case 639:
      ACCEPT_TOKEN(aux_sym_draw_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 640:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      END_STATE();
    case 641:
      ACCEPT_TOKEN(aux_sym_place_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 642:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      END_STATE();
    case 643:
      ACCEPT_TOKEN(aux_sym_filter_token_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 644:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      END_STATE();
    case 645:
      ACCEPT_TOKEN(aux_sym_filter_token_token2);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 646:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      END_STATE();
    case 647:
      ACCEPT_TOKEN(aux_sym_filter_token_token3);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 648:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      END_STATE();
    case 649:
      ACCEPT_TOKEN(aux_sym_filter_token_token4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 650:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      END_STATE();
    case 651:
      ACCEPT_TOKEN(aux_sym_filter_token_token5);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 652:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      END_STATE();
    case 653:
      ACCEPT_TOKEN(aux_sym_filter_token_token6);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 654:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      END_STATE();
    case 655:
      ACCEPT_TOKEN(aux_sym_filter_token_token7);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 656:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      END_STATE();
    case 657:
      ACCEPT_TOKEN(aux_sym_filter_token_token8);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 658:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      END_STATE();
    case 659:
      ACCEPT_TOKEN(aux_sym_filter_token_token9);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 660:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      END_STATE();
    case 661:
      ACCEPT_TOKEN(aux_sym_filter_token_token10);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 662:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      END_STATE();
    case 663:
      ACCEPT_TOKEN(aux_sym_filter_token_token11);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 664:
      ACCEPT_TOKEN(anon_sym_TILDE_STAR);
      END_STATE();
    case 665:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE_STAR);
      END_STATE();
    case 666:
      ACCEPT_TOKEN(anon_sym_BANG_TILDE);
      if (lookahead == '*') ADVANCE(665);
      END_STATE();
    case 667:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      END_STATE();
    case 668:
      ACCEPT_TOKEN(aux_sym_scale_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 669:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      END_STATE();
    case 670:
      ACCEPT_TOKEN(aux_sym_facet_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 671:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      END_STATE();
    case 672:
      ACCEPT_TOKEN(aux_sym_project_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 673:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      END_STATE();
    case 674:
      ACCEPT_TOKEN(aux_sym_label_clause_token1);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 675:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(769);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(749);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(757);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 676:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(688);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(737);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 677:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(609);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 678:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(733);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(707);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 679:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(733);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(708);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 680:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(776);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(764);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(770);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 681:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(689);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 682:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(742);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(792);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 683:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(788);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(723);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(730);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 684:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(735);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 685:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(734);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 686:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(756);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 687:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(774);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 688:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(736);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 689:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(687);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 690:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(750);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(751);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 691:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(589);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 692:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(783);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 693:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(784);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 694:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(726);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(778);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 695:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(554);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 696:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(614);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 697:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(706);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 698:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 699:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(786);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(580);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 700:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(574);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 701:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(611);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 702:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(597);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 703:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(541);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 704:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(607);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 705:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(796);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 706:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(696);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 707:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(793);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(789);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 708:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(793);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 709:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(739);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 710:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(754);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 711:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(763);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(591);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 712:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(747);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 713:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(762);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 714:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(755);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 715:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(767);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 716:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(744);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 717:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(781);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 718:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(716);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 719:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(693);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 720:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(761);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 721:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(722);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(551);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(557);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 722:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(771);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 723:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(780);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 724:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(701);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 725:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(720);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 726:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(709);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 727:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(775);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 728:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(746);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 729:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(772);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 730:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(700);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 731:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(732);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(695);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 732:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(587);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 733:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(791);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 734:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(547);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 735:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(727);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 736:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(702);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 737:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(753);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 738:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(539);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 739:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(677);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 740:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(564);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 741:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(690);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 742:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(724);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 743:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(622);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 744:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(571);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 745:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(697);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 746:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(692);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 747:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(782);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 748:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(738);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 749:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(768);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 750:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(790);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 751:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(743);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 752:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(777);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 753:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(599);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 754:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(545);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 755:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(577);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 756:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(797);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 757:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(760);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 758:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(748);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 759:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(686);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 760:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(712);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 761:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(703);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 762:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(685);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 763:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(773);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 764:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(691);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 765:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(549);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 766:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(568);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 767:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(593);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 768:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(765);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 769:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(779);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 770:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(785);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 771:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(717);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 772:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(787);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 773:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(719);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 774:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(704);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 775:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(698);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(698);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(798);
      END_STATE();
    case 776:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(681);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 777:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(561);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 778:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(595);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 779:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(536);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 780:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(543);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 781:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(582);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 782:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(617);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 783:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(584);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 784:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(624);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 785:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(728);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 786:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(794);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 787:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(766);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 788:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(713);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 789:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(684);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 790:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(745);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 791:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(715);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 792:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(620);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 793:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(603);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 794:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(718);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 795:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(729);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 796:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(605);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 797:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(601);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 798:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == ':') ADVANCE(108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(798);
      END_STATE();
    case 799:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(980);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(875);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 800:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(846);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(955);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 801:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(833);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(901);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(918);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 802:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(944);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1024);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 803:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(944);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 804:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 835,
        'a', 835,
        'E', 938,
        'e', 938,
        'H', 874,
        'h', 874,
        'R', 1022,
        'r', 1022,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 805:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(835);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(938);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 806:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(610);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 807:
      ACCEPT_TOKEN(sym_bare_identifier);
      ADVANCE_MAP(
        'A', 1011,
        'a', 1011,
        'E', 930,
        'e', 930,
        'I', 987,
        'i', 987,
        'R', 816,
        'r', 816,
      );
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 808:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1011);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(930);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(987);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 809:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1011);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(981);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(987);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 810:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(970);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(813);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(954);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 811:
      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(1032);
      END_STATE();
    case 812:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(832);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 813:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(845);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 814:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(937);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(881);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 815:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(937);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(882);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 816:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1025);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 817:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(834);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 818:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(935);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(876);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 819:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(935);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 820:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(932);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 821:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(926);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 822:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1016);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 823:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(968);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 824:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(847);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(955);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 825:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(847);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 826:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(991);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(960);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 827:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(991);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 828:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1018);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 829:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1015);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(901);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(918);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 830:
      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(1032);
      END_STATE();
    case 831:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(959);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(958);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 832:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(830);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 833:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(884);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(885);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 834:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(884);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 835:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(936);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 836:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(818);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(933);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 837:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(590);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 838:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(906);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(933);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 839:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(906);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(997);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 840:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(819);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 841:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1004);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 842:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1006);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 843:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1007);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 844:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1008);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 845:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(864);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 846:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(891);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(990);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 847:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(891);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 848:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(555);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(649);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 849:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(555);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 850:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(659);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 851:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(615);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 852:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(887);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 853:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(879);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 854:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(828);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 855:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1009);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(581);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 856:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(946);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 857:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(651);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(537);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 858:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(657);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 859:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1029);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 860:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(575);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 861:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(661);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 862:
      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(1032);
      END_STATE();
    case 863:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(647);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 864:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(641);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 865:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(612);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 866:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(668);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 867:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(598);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 868:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(542);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 869:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(196);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 870:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(322);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 871:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(321);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 872:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(608);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 873:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 874:
      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(1032);
      END_STATE();
    case 875:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(822);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(988);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 876:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(940);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 877:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(841);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 878:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(966);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 879:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(851);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 880:
      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(1032);
      END_STATE();
    case 881:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1026);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1020);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 882:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1026);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 883:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(978);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(592);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 884:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(925);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 885:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(977);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 886:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(984);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 887:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(967);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 888:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(948);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 889:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(981);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(816);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 890:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(981);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 891:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1001);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 892:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(974);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 893:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1003);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 894:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(973);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 895:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(842);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 896:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1017);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 897:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(888);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 898:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(934);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 899:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(844);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 900:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(902);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(552);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(559);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 901:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(1000);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 902:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(994);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 903:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(865);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 904:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(189);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 905:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(856);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(998);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 906:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(876);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 907:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(892);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(998);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 908:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(892);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 909:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(993);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 910:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(998);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 911:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(961);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 912:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(953);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 913:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(985);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 914:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1013);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 915:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(919);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 916:
      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(1032);
      END_STATE();
    case 917:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(895);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 918:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(860);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 919:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(863);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 920:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(923);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(848);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(195);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 921:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(923);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(849);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(195);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 922:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(923);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(849);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 923:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(588);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 924:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(645);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 925:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(674);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 926:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(548);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 927:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(813);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(954);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 928:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(915);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(565);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(643);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 929:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(986);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(850);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(916);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 930:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(896);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(837);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 931:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(924);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 932:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(909);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 933:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(877);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(596);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 934:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(877);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 935:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(866);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 936:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(867);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 937:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1023);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 938:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(962);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 939:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(540);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 940:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(806);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 941:
      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(1032);
      END_STATE();
    case 942:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(831);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(854);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 943:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(831);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 944:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(903);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 945:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(655);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 946:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(653);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(868);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 947:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(623);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 948:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(572);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 949:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(636);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 950:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(566);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 951:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(853);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 952:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1005);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 953:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(843);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 954:
      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(1032);
      END_STATE();
    case 955:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(939);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 956:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(996);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(931);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 957:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(996);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 958:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(947);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 959:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1021);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 960:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(988);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 961:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(949);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 962:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(600);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 963:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(875);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 964:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(816);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 965:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(955);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 966:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(546);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 967:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(578);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 968:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1031);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 969:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(975);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 970:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1012);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 971:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(960);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(969);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 972:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(823);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 973:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1002);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 974:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(868);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 975:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(880);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 976:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(852);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 977:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(821);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 978:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(995);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 979:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(195);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 980:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(857);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 981:
      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(1032);
      END_STATE();
    case 982:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(550);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 983:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(569);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 984:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(594);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 985:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1020);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 986:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(858);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 987:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1010);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 988:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(982);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 989:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1014);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 990:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(862);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 991:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(999);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 992:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(872);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 993:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(873);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(873);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1032);
      END_STATE();
    case 994:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(893);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 995:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(899);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 996:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(562);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 997:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(596);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 998:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(904);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 999:
      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(1032);
      END_STATE();
    case 1000:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(544);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1001:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(670);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1002:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(320);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1003:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(583);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1004:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(140);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1005:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(618);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1006:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(672);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1007:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(585);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1008:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(625);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1009:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1027);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1010:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(912);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1011:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(812);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1012:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(914);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1013:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(911);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1014:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(983);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1015:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(885);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1016:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(869);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1017:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(870);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1018:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(871);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1019:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(931);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1020:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(820);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1021:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(951);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1022:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(861);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1023:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(886);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1024:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(621);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1025:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(639);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1026:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(604);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1027:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(897);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1028:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(916);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1029:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(606);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1030:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(581);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1031:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(602);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1032:
      ACCEPT_TOKEN(sym_bare_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1032);
      END_STATE();
    case 1033:
      ACCEPT_TOKEN(sym_quoted_identifier);
      END_STATE();
    case 1034:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1102);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1035:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1047);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1036:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1043);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1078);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1037:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1046);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1038:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1118);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1039:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1101);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1037);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1094);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1040:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1088);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1041:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1087);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1042:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(1089);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('B' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1043:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'B' ||
          lookahead == 'b') ADVANCE(1065);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1044:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1040);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1045:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1112);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1046:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1059);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1047:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(1066);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1107);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1048:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(553);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(648);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1049:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(658);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1050:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(637);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1051:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1109);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1052:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1090);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1053:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(650);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(535);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1054:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(656);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1055:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(573);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1056:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(660);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1057:
      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(1120);
      END_STATE();
    case 1058:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(646);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1059:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(640);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1060:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(667);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1061:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1091);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1062:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1045);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1063:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1092);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1064:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1098);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1065:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1083);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1066:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1111);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1067:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(1063);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1068:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1052);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1117);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1069:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(1061);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1070:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1078);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1071:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1108);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1072:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1096);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1073:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1104);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1074:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1106);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1075:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1114);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1076:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(1079);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1077:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'J' ||
          lookahead == 'j') ADVANCE(1062);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1078:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1055);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1079:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'K' ||
          lookahead == 'k') ADVANCE(1058);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1080:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1081);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1048);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(194);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1081:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(586);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1082:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(644);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1083:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(673);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1084:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1076);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(563);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(642);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1085:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1105);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(1049);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(1074);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1086:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1082);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1087:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1071);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1088:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1060);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1089:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(1107);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1090:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(654);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1091:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(652);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1092:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(570);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1093:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(635);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1094:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1077);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1095:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1110);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1086);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1096:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(1093);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1097:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(558);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1098:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(576);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1099:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(556);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1100:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1038);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1101:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(1113);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1102:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1053);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1103:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(567);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1104:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1116);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1105:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1054);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1106:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1115);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1107:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1057);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1108:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(1050);
      if (lookahead == 'Z' ||
          lookahead == 'z') ADVANCE(1050);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Y') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'y')) ADVANCE(1120);
      END_STATE();
    case 1109:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1119);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1110:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(560);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1111:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(669);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1112:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(671);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1113:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1075);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1114:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1072);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1115:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(1103);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1116:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1041);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1117:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(1056);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1118:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(638);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1119:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(1067);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1120:
      ACCEPT_TOKEN(sym_filter_identifier);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z')) ADVANCE(1120);
      END_STATE();
    case 1121:
      ACCEPT_TOKEN(sym_number);
      if (lookahead == '.') ADVANCE(1122);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1121);
      END_STATE();
    case 1122:
      ACCEPT_TOKEN(sym_number);
      if (('0' <= lookahead && lookahead <= '9')) ADVANCE(1122);
      END_STATE();
    case 1123:
      ACCEPT_TOKEN(anon_sym_SQUOTE);
      END_STATE();
    case 1124:
      ACCEPT_TOKEN(aux_sym_string_token1);
      END_STATE();
    case 1125:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '*') ADVANCE(1142);
      if (lookahead == '/') ADVANCE(1131);
      END_STATE();
    case 1126:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1150);
      END_STATE();
    case 1127:
      ACCEPT_TOKEN(aux_sym_string_token1);
      if (lookahead == '-') ADVANCE(1126);
      if (lookahead == '/') ADVANCE(1125);
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1127);
      if (lookahead != 0 &&
          lookahead != '\'' &&
          lookahead != '\\') ADVANCE(1124);
      END_STATE();
    case 1128:
      ACCEPT_TOKEN(aux_sym_string_token2);
      END_STATE();
    case 1129:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 1130:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 1131:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      END_STATE();
    case 1132:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead == '*') ADVANCE(1149);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1133:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1134:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1135:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 1136:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1137:
      ACCEPT_TOKEN(anon_sym_SLASH_SLASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      END_STATE();
    case 1138:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '*') ADVANCE(1148);
      if (lookahead == '/') ADVANCE(1137);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      END_STATE();
    case 1139:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1140);
      if (lookahead == '/') ADVANCE(1138);
      if (lookahead == '\t' ||
          (0x0b <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') ADVANCE(1139);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead)) ADVANCE(1141);
      END_STATE();
    case 1140:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead == '-') ADVANCE(1156);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      END_STATE();
    case 1141:
      ACCEPT_TOKEN(aux_sym_comment_token1);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      END_STATE();
    case 1142:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      END_STATE();
    case 1143:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead == '*') ADVANCE(1149);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1144:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1145:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1146:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 1147:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1148:
      ACCEPT_TOKEN(anon_sym_SLASH_STAR);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      END_STATE();
    case 1149:
      ACCEPT_TOKEN(aux_sym_comment_token2);
      if (lookahead == '*') ADVANCE(1149);
      if (lookahead != 0 &&
          lookahead != '/') ADVANCE(28);
      END_STATE();
    case 1150:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      END_STATE();
    case 1151:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead == '*') ADVANCE(1149);
      if (lookahead != 0) ADVANCE(28);
      END_STATE();
    case 1152:
      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(534);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(410);
      END_STATE();
    case 1153:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if ((!eof && set_contains(aux_sym_other_sql_statement_token1_character_set_1, 15, lookahead))) ADVANCE(412);
      END_STATE();
    case 1154:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(534);
      END_STATE();
    case 1155:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          (lookahead < '\t' || '\r' < lookahead) &&
          lookahead != ' ' &&
          lookahead != '"' &&
          (lookahead < '\'' || ')' < lookahead) &&
          lookahead != ',' &&
          lookahead != ';') ADVANCE(319);
      END_STATE();
    case 1156:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      if (lookahead != 0 &&
          lookahead != '\n') ADVANCE(1141);
      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,
        'E', 5,
        'F', 6,
        'H', 7,
        'I', 8,
        'L', 9,
        'O', 10,
        'P', 11,
        'R', 12,
        'S', 13,
        'T', 14,
        'V', 15,
        'a', 16,
        'b', 17,
        'c', 18,
        'd', 19,
        'e', 20,
        'f', 21,
        'h', 22,
        'i', 23,
        'l', 24,
        'o', 25,
        'p', 26,
        'r', 27,
        's', 28,
        't', 29,
        'v', 30,
        'w', 31,
        'x', 32,
        'y', 33,
        'G', 34,
        'g', 34,
        'J', 35,
        'j', 35,
        'M', 36,
        'm', 36,
        'N', 37,
        'n', 37,
        'Q', 38,
        'q', 38,
      );
      if (('\t' <= lookahead && lookahead <= '\r') ||
          lookahead == ' ') SKIP(0);
      END_STATE();
    case 1:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(39);
      END_STATE();
    case 2:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(40);
      END_STATE();
    case 3:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(41);
      END_STATE();
    case 4:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(42);
      END_STATE();
    case 5:
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(43);
      END_STATE();
    case 6:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(44);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(45);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 7:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(47);
      END_STATE();
    case 8:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(48);
      END_STATE();
    case 9:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(49);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(50);
      END_STATE();
    case 10:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(51);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(52);
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(53);
      END_STATE();
    case 11:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(54);
      END_STATE();
    case 12:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(55);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(56);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(57);
      END_STATE();
    case 13:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(58);
      END_STATE();
    case 14:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(59);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(60);
      END_STATE();
    case 15:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(61);
      END_STATE();
    case 16:
      if (lookahead == 'n') ADVANCE(62);
      if (lookahead == 'r') ADVANCE(63);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(39);
      END_STATE();
    case 17:
      if (lookahead == 'a') ADVANCE(64);
      if (lookahead == 'o') ADVANCE(65);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(40);
      END_STATE();
    case 18:
      if (lookahead == 'O') ADVANCE(41);
      if (lookahead == 'o') ADVANCE(66);
      END_STATE();
    case 19:
      if (lookahead == 'e') ADVANCE(67);
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(42);
      END_STATE();
    case 20:
      if (lookahead == 'r') ADVANCE(68);
      if (lookahead == 'X' ||
          lookahead == 'x') ADVANCE(43);
      END_STATE();
    case 21:
      if (lookahead == 'I') ADVANCE(44);
      if (lookahead == 'O') ADVANCE(45);
      if (lookahead == 'a') ADVANCE(69);
      if (lookahead == 'i') ADVANCE(70);
      if (lookahead == 'o') ADVANCE(71);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(46);
      END_STATE();
    case 22:
      if (lookahead == 'e') ADVANCE(72);
      if (lookahead == 'i') ADVANCE(73);
      if (lookahead == 'j') ADVANCE(74);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(47);
      END_STATE();
    case 23:
      if (lookahead == 'n') ADVANCE(75);
      if (lookahead == 't') ADVANCE(76);
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(48);
      END_STATE();
    case 24:
      if (lookahead == 'A') ADVANCE(49);
      if (lookahead == 'I') ADVANCE(50);
      if (lookahead == 'a') ADVANCE(77);
      if (lookahead == 'i') ADVANCE(78);
      END_STATE();
    case 25:
      ADVANCE_MAP(
        'f', 79,
        'p', 80,
        'R', 51,
        'r', 51,
        'U', 52,
        'u', 52,
        'V', 53,
        'v', 53,
      );
      END_STATE();
    case 26:
      if (lookahead == 'a') ADVANCE(81);
      if (lookahead == 'o') ADVANCE(82);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(54);
      END_STATE();
    case 27:
      ADVANCE_MAP(
        'I', 56,
        'O', 57,
        'a', 83,
        'i', 84,
        'o', 85,
        'u', 86,
        'E', 55,
        'e', 55,
      );
      END_STATE();
    case 28:
      if (lookahead == 'E') ADVANCE(58);
      if (lookahead == 'e') ADVANCE(87);
      if (lookahead == 'h') ADVANCE(88);
      if (lookahead == 'i') ADVANCE(89);
      if (lookahead == 'l') ADVANCE(90);
      if (lookahead == 'm') ADVANCE(91);
      if (lookahead == 't') ADVANCE(92);
      END_STATE();
    case 29:
      if (lookahead == 'R') ADVANCE(60);
      if (lookahead == 'e') ADVANCE(93);
      if (lookahead == 'i') ADVANCE(94);
      if (lookahead == 'r') ADVANCE(95);
      if (lookahead == 'y') ADVANCE(96);
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(59);
      END_STATE();
    case 30:
      if (lookahead == 'I') ADVANCE(61);
      if (lookahead == 'i') ADVANCE(97);
      if (lookahead == 'j') ADVANCE(98);
      END_STATE();
    case 31:
      if (lookahead == 'e') ADVANCE(99);
      if (lookahead == 'i') ADVANCE(100);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_x);
      if (lookahead == 'e') ADVANCE(101);
      if (lookahead == 'm') ADVANCE(102);
      END_STATE();
    case 33:
      ACCEPT_TOKEN(anon_sym_y);
      if (lookahead == 'e') ADVANCE(103);
      if (lookahead == 'm') ADVANCE(104);
      END_STATE();
    case 34:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(105);
      END_STATE();
    case 35:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(106);
      END_STATE();
    case 36:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(107);
      END_STATE();
    case 37:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(108);
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(109);
      END_STATE();
    case 38:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(110);
      END_STATE();
    case 39:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(111);
      END_STATE();
    case 40:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(112);
      END_STATE();
    case 41:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(113);
      END_STATE();
    case 42:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(114);
      END_STATE();
    case 43:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(115);
      END_STATE();
    case 44:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(116);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(117);
      END_STATE();
    case 45:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(118);
      END_STATE();
    case 46:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(119);
      END_STATE();
    case 47:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(120);
      END_STATE();
    case 48:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(121);
      END_STATE();
    case 49:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(122);
      END_STATE();
    case 50:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(123);
      END_STATE();
    case 51:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(124);
      END_STATE();
    case 52:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(125);
      END_STATE();
    case 53:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(126);
      END_STATE();
    case 54:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(127);
      END_STATE();
    case 55:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(128);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(129);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(130);
      END_STATE();
    case 56:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(131);
      END_STATE();
    case 57:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(132);
      END_STATE();
    case 58:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(133);
      END_STATE();
    case 59:
      ACCEPT_TOKEN(aux_sym_scale_to_clause_token1);
      END_STATE();
    case 60:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(134);
      END_STATE();
    case 61:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(135);
      END_STATE();
    case 62:
      if (lookahead == 'g') ADVANCE(136);
      END_STATE();
    case 63:
      if (lookahead == 'e') ADVANCE(137);
      if (lookahead == 'r') ADVANCE(138);
      END_STATE();
    case 64:
      if (lookahead == 'r') ADVANCE(139);
      END_STATE();
    case 65:
      if (lookahead == 'x') ADVANCE(140);
      END_STATE();
    case 66:
      if (lookahead == 'l') ADVANCE(141);
      if (lookahead == 'u') ADVANCE(142);
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(113);
      END_STATE();
    case 67:
      if (lookahead == 'n') ADVANCE(143);
      END_STATE();
    case 68:
      if (lookahead == 'r') ADVANCE(144);
      END_STATE();
    case 69:
      if (lookahead == 'l') ADVANCE(145);
      END_STATE();
    case 70:
      if (lookahead == 'L') ADVANCE(116);
      if (lookahead == 'l') ADVANCE(146);
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(117);
      END_STATE();
    case 71:
      if (lookahead == 'n') ADVANCE(147);
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(118);
      END_STATE();
    case 72:
      if (lookahead == 'i') ADVANCE(148);
      END_STATE();
    case 73:
      if (lookahead == 's') ADVANCE(149);
      END_STATE();
    case 74:
      if (lookahead == 'u') ADVANCE(150);
      END_STATE();
    case 75:
      if (lookahead == 't') ADVANCE(151);
      END_STATE();
    case 76:
      if (lookahead == 'a') ADVANCE(152);
      END_STATE();
    case 77:
      if (lookahead == 'b') ADVANCE(153);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(122);
      END_STATE();
    case 78:
      if (lookahead == 'n') ADVANCE(154);
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(123);
      END_STATE();
    case 79:
      if (lookahead == 'f') ADVANCE(155);
      END_STATE();
    case 80:
      if (lookahead == 'a') ADVANCE(156);
      END_STATE();
    case 81:
      if (lookahead == 'n') ADVANCE(157);
      if (lookahead == 't') ADVANCE(158);
      END_STATE();
    case 82:
      if (lookahead == 'i') ADVANCE(159);
      if (lookahead == 'l') ADVANCE(160);
      END_STATE();
    case 83:
      if (lookahead == 'd') ADVANCE(161);
      END_STATE();
    case 84:
      if (lookahead == 'b') ADVANCE(162);
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(131);
      END_STATE();
    case 85:
      if (lookahead == 'W') ADVANCE(132);
      if (lookahead == 't') ADVANCE(163);
      if (lookahead == 'w') ADVANCE(164);
      END_STATE();
    case 86:
      if (lookahead == 'l') ADVANCE(165);
      END_STATE();
    case 87:
      if (lookahead == 'g') ADVANCE(166);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(133);
      END_STATE();
    case 88:
      if (lookahead == 'a') ADVANCE(167);
      END_STATE();
    case 89:
      if (lookahead == 'z') ADVANCE(168);
      END_STATE();
    case 90:
      if (lookahead == 'o') ADVANCE(169);
      END_STATE();
    case 91:
      if (lookahead == 'o') ADVANCE(170);
      END_STATE();
    case 92:
      if (lookahead == 'r') ADVANCE(171);
      END_STATE();
    case 93:
      if (lookahead == 'x') ADVANCE(172);
      END_STATE();
    case 94:
      if (lookahead == 'l') ADVANCE(173);
      END_STATE();
    case 95:
      if (lookahead == 'u') ADVANCE(174);
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(134);
      END_STATE();
    case 96:
      if (lookahead == 'p') ADVANCE(175);
      END_STATE();
    case 97:
      if (lookahead == 'o') ADVANCE(176);
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(135);
      END_STATE();
    case 98:
      if (lookahead == 'u') ADVANCE(177);
      END_STATE();
    case 99:
      if (lookahead == 'i') ADVANCE(178);
      END_STATE();
    case 100:
      if (lookahead == 'd') ADVANCE(179);
      END_STATE();
    case 101:
      if (lookahead == 'n') ADVANCE(180);
      END_STATE();
    case 102:
      if (lookahead == 'a') ADVANCE(181);
      if (lookahead == 'i') ADVANCE(182);
      END_STATE();
    case 103:
      if (lookahead == 'n') ADVANCE(183);
      END_STATE();
    case 104:
      if (lookahead == 'a') ADVANCE(184);
      if (lookahead == 'i') ADVANCE(185);
      END_STATE();
    case 105:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(186);
      END_STATE();
    case 106:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(187);
      END_STATE();
    case 107:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(188);
      END_STATE();
    case 108:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(189);
      END_STATE();
    case 109:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(190);
      END_STATE();
    case 110:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(191);
      END_STATE();
    case 111:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token28);
      END_STATE();
    case 112:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(192);
      END_STATE();
    case 113:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(193);
      END_STATE();
    case 114:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(194);
      END_STATE();
    case 115:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(195);
      END_STATE();
    case 116:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(196);
      END_STATE();
    case 117:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(197);
      END_STATE();
    case 118:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(198);
      END_STATE();
    case 119:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(199);
      END_STATE();
    case 120:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(200);
      END_STATE();
    case 121:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(201);
      END_STATE();
    case 122:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(202);
      END_STATE();
    case 123:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(203);
      END_STATE();
    case 124:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(204);
      END_STATE();
    case 125:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(205);
      END_STATE();
    case 126:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(206);
      END_STATE();
    case 127:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(207);
      END_STATE();
    case 128:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(208);
      END_STATE();
    case 129:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(209);
      END_STATE();
    case 130:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(210);
      END_STATE();
    case 131:
      if (lookahead == 'H' ||
          lookahead == 'h') ADVANCE(211);
      END_STATE();
    case 132:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(212);
      END_STATE();
    case 133:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(213);
      END_STATE();
    case 134:
      if (lookahead == '_') ADVANCE(214);
      END_STATE();
    case 135:
      ACCEPT_TOKEN(aux_sym_scale_via_clause_token1);
      END_STATE();
    case 136:
      if (lookahead == 'l') ADVANCE(215);
      END_STATE();
    case 137:
      if (lookahead == 'a') ADVANCE(216);
      END_STATE();
    case 138:
      if (lookahead == 'o') ADVANCE(217);
      END_STATE();
    case 139:
      ACCEPT_TOKEN(anon_sym_bar);
      END_STATE();
    case 140:
      if (lookahead == 'p') ADVANCE(218);
      END_STATE();
    case 141:
      if (lookahead == 'o') ADVANCE(219);
      if (lookahead == 'u') ADVANCE(220);
      END_STATE();
    case 142:
      if (lookahead == 'n') ADVANCE(221);
      END_STATE();
    case 143:
      if (lookahead == 's') ADVANCE(222);
      END_STATE();
    case 144:
      if (lookahead == 'o') ADVANCE(223);
      END_STATE();
    case 145:
      if (lookahead == 's') ADVANCE(224);
      END_STATE();
    case 146:
      if (lookahead == 'l') ADVANCE(225);
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(196);
      END_STATE();
    case 147:
      if (lookahead == 't') ADVANCE(226);
      END_STATE();
    case 148:
      if (lookahead == 'g') ADVANCE(227);
      END_STATE();
    case 149:
      if (lookahead == 't') ADVANCE(228);
      END_STATE();
    case 150:
      if (lookahead == 's') ADVANCE(229);
      END_STATE();
    case 151:
      if (lookahead == 'e') ADVANCE(230);
      END_STATE();
    case 152:
      if (lookahead == 'l') ADVANCE(231);
      END_STATE();
    case 153:
      if (lookahead == 'e') ADVANCE(232);
      END_STATE();
    case 154:
      if (lookahead == 'e') ADVANCE(233);
      END_STATE();
    case 155:
      if (lookahead == 's') ADVANCE(234);
      END_STATE();
    case 156:
      if (lookahead == 'c') ADVANCE(235);
      END_STATE();
    case 157:
      if (lookahead == 'e') ADVANCE(236);
      END_STATE();
    case 158:
      if (lookahead == 'h') ADVANCE(237);
      END_STATE();
    case 159:
      if (lookahead == 'n') ADVANCE(238);
      END_STATE();
    case 160:
      if (lookahead == 'y') ADVANCE(239);
      END_STATE();
    case 161:
      if (lookahead == 'i') ADVANCE(240);
      END_STATE();
    case 162:
      if (lookahead == 'b') ADVANCE(241);
      END_STATE();
    case 163:
      if (lookahead == 'a') ADVANCE(242);
      END_STATE();
    case 164:
      ACCEPT_TOKEN(anon_sym_row);
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(212);
      END_STATE();
    case 165:
      if (lookahead == 'e') ADVANCE(243);
      END_STATE();
    case 166:
      if (lookahead == 'm') ADVANCE(244);
      END_STATE();
    case 167:
      if (lookahead == 'p') ADVANCE(245);
      END_STATE();
    case 168:
      if (lookahead == 'e') ADVANCE(246);
      END_STATE();
    case 169:
      if (lookahead == 'p') ADVANCE(247);
      END_STATE();
    case 170:
      if (lookahead == 'o') ADVANCE(248);
      END_STATE();
    case 171:
      if (lookahead == 'o') ADVANCE(249);
      END_STATE();
    case 172:
      if (lookahead == 't') ADVANCE(250);
      END_STATE();
    case 173:
      if (lookahead == 'e') ADVANCE(251);
      END_STATE();
    case 174:
      if (lookahead == 'e') ADVANCE(252);
      END_STATE();
    case 175:
      if (lookahead == 'e') ADVANCE(253);
      END_STATE();
    case 176:
      if (lookahead == 'l') ADVANCE(254);
      END_STATE();
    case 177:
      if (lookahead == 's') ADVANCE(255);
      END_STATE();
    case 178:
      if (lookahead == 'g') ADVANCE(256);
      END_STATE();
    case 179:
      if (lookahead == 't') ADVANCE(257);
      END_STATE();
    case 180:
      if (lookahead == 'd') ADVANCE(258);
      END_STATE();
    case 181:
      if (lookahead == 'x') ADVANCE(259);
      END_STATE();
    case 182:
      if (lookahead == 'n') ADVANCE(260);
      END_STATE();
    case 183:
      if (lookahead == 'd') ADVANCE(261);
      END_STATE();
    case 184:
      if (lookahead == 'x') ADVANCE(262);
      END_STATE();
    case 185:
      if (lookahead == 'n') ADVANCE(263);
      END_STATE();
    case 186:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(264);
      END_STATE();
    case 187:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(265);
      END_STATE();
    case 188:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(266);
      END_STATE();
    case 189:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(267);
      END_STATE();
    case 190:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(268);
      END_STATE();
    case 191:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(269);
      END_STATE();
    case 192:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(270);
      END_STATE();
    case 193:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(271);
      END_STATE();
    case 194:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(272);
      END_STATE();
    case 195:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(273);
      END_STATE();
    case 196:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(274);
      END_STATE();
    case 197:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(275);
      END_STATE();
    case 198:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(276);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token11);
      END_STATE();
    case 200:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(277);
      END_STATE();
    case 201:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(278);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token50);
      END_STATE();
    case 203:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(279);
      END_STATE();
    case 204:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(280);
      END_STATE();
    case 205:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(281);
      END_STATE();
    case 206:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token40);
      END_STATE();
    case 207:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(282);
      END_STATE();
    case 208:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(283);
      END_STATE();
    case 209:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(284);
      END_STATE();
    case 210:
      if (lookahead == 'M' ||
          lookahead == 'm') ADVANCE(285);
      END_STATE();
    case 211:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(286);
      END_STATE();
    case 212:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token41);
      END_STATE();
    case 213:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(287);
      END_STATE();
    case 214:
      if (lookahead == 'C' ||
          lookahead == 'c') ADVANCE(288);
      END_STATE();
    case 215:
      if (lookahead == 'e') ADVANCE(289);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(anon_sym_area);
      END_STATE();
    case 217:
      if (lookahead == 'w') ADVANCE(290);
      END_STATE();
    case 218:
      if (lookahead == 'l') ADVANCE(291);
      END_STATE();
    case 219:
      if (lookahead == 'r') ADVANCE(292);
      if (lookahead == 'u') ADVANCE(293);
      END_STATE();
    case 220:
      if (lookahead == 'm') ADVANCE(294);
      END_STATE();
    case 221:
      if (lookahead == 't') ADVANCE(295);
      END_STATE();
    case 222:
      if (lookahead == 'i') ADVANCE(296);
      END_STATE();
    case 223:
      if (lookahead == 'r') ADVANCE(297);
      END_STATE();
    case 224:
      if (lookahead == 'e') ADVANCE(298);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(anon_sym_fill);
      END_STATE();
    case 226:
      if (lookahead == 's') ADVANCE(299);
      if (lookahead == 'w') ADVANCE(300);
      END_STATE();
    case 227:
      if (lookahead == 'h') ADVANCE(301);
      END_STATE();
    case 228:
      if (lookahead == 'o') ADVANCE(302);
      END_STATE();
    case 229:
      if (lookahead == 't') ADVANCE(303);
      END_STATE();
    case 230:
      if (lookahead == 'n') ADVANCE(304);
      END_STATE();
    case 231:
      if (lookahead == 'i') ADVANCE(305);
      END_STATE();
    case 232:
      if (lookahead == 'l') ADVANCE(306);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(anon_sym_line);
      if (lookahead == 't') ADVANCE(307);
      if (lookahead == 'w') ADVANCE(308);
      END_STATE();
    case 234:
      if (lookahead == 'e') ADVANCE(309);
      END_STATE();
    case 235:
      if (lookahead == 'i') ADVANCE(310);
      END_STATE();
    case 236:
      if (lookahead == 'l') ADVANCE(311);
      END_STATE();
    case 237:
      ACCEPT_TOKEN(anon_sym_path);
      END_STATE();
    case 238:
      if (lookahead == 't') ADVANCE(312);
      END_STATE();
    case 239:
      if (lookahead == 'g') ADVANCE(313);
      END_STATE();
    case 240:
      if (lookahead == 'u') ADVANCE(314);
      END_STATE();
    case 241:
      if (lookahead == 'o') ADVANCE(315);
      END_STATE();
    case 242:
      if (lookahead == 't') ADVANCE(316);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(anon_sym_rule);
      END_STATE();
    case 244:
      if (lookahead == 'e') ADVANCE(317);
      END_STATE();
    case 245:
      if (lookahead == 'e') ADVANCE(318);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(anon_sym_size);
      END_STATE();
    case 247:
      if (lookahead == 'e') ADVANCE(319);
      END_STATE();
    case 248:
      if (lookahead == 't') ADVANCE(320);
      END_STATE();
    case 249:
      if (lookahead == 'k') ADVANCE(321);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(anon_sym_text);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(anon_sym_tile);
      END_STATE();
    case 252:
      ACCEPT_TOKEN(anon_sym_true);
      END_STATE();
    case 253:
      if (lookahead == 'f') ADVANCE(322);
      END_STATE();
    case 254:
      if (lookahead == 'i') ADVANCE(323);
      END_STATE();
    case 255:
      if (lookahead == 't') ADVANCE(324);
      END_STATE();
    case 256:
      if (lookahead == 'h') ADVANCE(325);
      END_STATE();
    case 257:
      if (lookahead == 'h') ADVANCE(326);
      END_STATE();
    case 258:
      ACCEPT_TOKEN(anon_sym_xend);
      END_STATE();
    case 259:
      ACCEPT_TOKEN(anon_sym_xmax);
      END_STATE();
    case 260:
      ACCEPT_TOKEN(anon_sym_xmin);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(anon_sym_yend);
      END_STATE();
    case 262:
      ACCEPT_TOKEN(anon_sym_ymax);
      END_STATE();
    case 263:
      ACCEPT_TOKEN(anon_sym_ymin);
      END_STATE();
    case 264:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(327);
      END_STATE();
    case 265:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token3);
      END_STATE();
    case 266:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(328);
      END_STATE();
    case 267:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(329);
      END_STATE();
    case 268:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(330);
      END_STATE();
    case 269:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(331);
      END_STATE();
    case 270:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(332);
      END_STATE();
    case 271:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(333);
      END_STATE();
    case 272:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(334);
      END_STATE();
    case 273:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(335);
      END_STATE();
    case 274:
      if (lookahead == 'R' ||
          lookahead == 'r') ADVANCE(336);
      END_STATE();
    case 275:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token49);
      END_STATE();
    case 276:
      if (lookahead == 'W' ||
          lookahead == 'w') ADVANCE(337);
      END_STATE();
    case 277:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(338);
      END_STATE();
    case 278:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(339);
      END_STATE();
    case 279:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token24);
      END_STATE();
    case 280:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(340);
      END_STATE();
    case 281:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token7);
      END_STATE();
    case 282:
      if (lookahead == 'D' ||
          lookahead == 'd') ADVANCE(341);
      END_STATE();
    case 283:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(342);
      END_STATE();
    case 284:
      if (lookahead == 'P' ||
          lookahead == 'p') ADVANCE(343);
      END_STATE();
    case 285:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(344);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token5);
      END_STATE();
    case 287:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(345);
      END_STATE();
    case 288:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(346);
      END_STATE();
    case 289:
      ACCEPT_TOKEN(anon_sym_angle);
      if (lookahead == 'e') ADVANCE(347);
      if (lookahead == 'm') ADVANCE(348);
      END_STATE();
    case 290:
      ACCEPT_TOKEN(anon_sym_arrow);
      END_STATE();
    case 291:
      if (lookahead == 'o') ADVANCE(349);
      END_STATE();
    case 292:
      ACCEPT_TOKEN(anon_sym_color);
      END_STATE();
    case 293:
      if (lookahead == 'r') ADVANCE(350);
      END_STATE();
    case 294:
      if (lookahead == 'n') ADVANCE(351);
      END_STATE();
    case 295:
      ACCEPT_TOKEN(anon_sym_count);
      END_STATE();
    case 296:
      if (lookahead == 't') ADVANCE(352);
      END_STATE();
    case 297:
      if (lookahead == 'b') ADVANCE(353);
      END_STATE();
    case 298:
      ACCEPT_TOKEN(anon_sym_false);
      END_STATE();
    case 299:
      if (lookahead == 'i') ADVANCE(354);
      END_STATE();
    case 300:
      if (lookahead == 'e') ADVANCE(355);
      END_STATE();
    case 301:
      if (lookahead == 't') ADVANCE(356);
      END_STATE();
    case 302:
      if (lookahead == 'g') ADVANCE(357);
      END_STATE();
    case 303:
      ACCEPT_TOKEN(anon_sym_hjust);
      END_STATE();
    case 304:
      if (lookahead == 's') ADVANCE(358);
      END_STATE();
    case 305:
      if (lookahead == 'c') ADVANCE(359);
      END_STATE();
    case 306:
      ACCEPT_TOKEN(anon_sym_label);
      END_STATE();
    case 307:
      if (lookahead == 'y') ADVANCE(360);
      END_STATE();
    case 308:
      if (lookahead == 'i') ADVANCE(361);
      END_STATE();
    case 309:
      if (lookahead == 't') ADVANCE(362);
      END_STATE();
    case 310:
      if (lookahead == 't') ADVANCE(363);
      END_STATE();
    case 311:
      ACCEPT_TOKEN(anon_sym_panel);
      END_STATE();
    case 312:
      ACCEPT_TOKEN(anon_sym_point);
      END_STATE();
    case 313:
      if (lookahead == 'o') ADVANCE(364);
      END_STATE();
    case 314:
      if (lookahead == 's') ADVANCE(365);
      END_STATE();
    case 315:
      if (lookahead == 'n') ADVANCE(366);
      END_STATE();
    case 316:
      if (lookahead == 'i') ADVANCE(367);
      END_STATE();
    case 317:
      if (lookahead == 'n') ADVANCE(368);
      END_STATE();
    case 318:
      ACCEPT_TOKEN(anon_sym_shape);
      END_STATE();
    case 319:
      ACCEPT_TOKEN(anon_sym_slope);
      END_STATE();
    case 320:
      if (lookahead == 'h') ADVANCE(369);
      END_STATE();
    case 321:
      if (lookahead == 'e') ADVANCE(370);
      END_STATE();
    case 322:
      if (lookahead == 'a') ADVANCE(371);
      END_STATE();
    case 323:
      if (lookahead == 'n') ADVANCE(372);
      END_STATE();
    case 324:
      ACCEPT_TOKEN(anon_sym_vjust);
      END_STATE();
    case 325:
      if (lookahead == 't') ADVANCE(373);
      END_STATE();
    case 326:
      ACCEPT_TOKEN(anon_sym_width);
      END_STATE();
    case 327:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token21);
      END_STATE();
    case 328:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(374);
      END_STATE();
    case 329:
      if (lookahead == 'A' ||
          lookahead == 'a') ADVANCE(375);
      END_STATE();
    case 330:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token48);
      END_STATE();
    case 331:
      if (lookahead == 'F' ||
          lookahead == 'f') ADVANCE(376);
      END_STATE();
    case 332:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token3);
      END_STATE();
    case 333:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(377);
      END_STATE();
    case 334:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(378);
      END_STATE();
    case 335:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token54);
      END_STATE();
    case 336:
      ACCEPT_TOKEN(aux_sym_filter_clause_token1);
      END_STATE();
    case 337:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(379);
      END_STATE();
    case 338:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token23);
      END_STATE();
    case 339:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(380);
      END_STATE();
    case 340:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(381);
      END_STATE();
    case 341:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(382);
      END_STATE();
    case 342:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(383);
      END_STATE();
    case 343:
      if (lookahead == 'I' ||
          lookahead == 'i') ADVANCE(384);
      END_STATE();
    case 344:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(385);
      END_STATE();
    case 345:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(386);
      END_STATE();
    case 346:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(387);
      END_STATE();
    case 347:
      if (lookahead == 'n') ADVANCE(388);
      END_STATE();
    case 348:
      if (lookahead == 'a') ADVANCE(389);
      if (lookahead == 'i') ADVANCE(390);
      END_STATE();
    case 349:
      if (lookahead == 't') ADVANCE(391);
      END_STATE();
    case 350:
      ACCEPT_TOKEN(anon_sym_colour);
      END_STATE();
    case 351:
      ACCEPT_TOKEN(anon_sym_column);
      END_STATE();
    case 352:
      if (lookahead == 'y') ADVANCE(392);
      END_STATE();
    case 353:
      if (lookahead == 'a') ADVANCE(393);
      END_STATE();
    case 354:
      if (lookahead == 'z') ADVANCE(394);
      END_STATE();
    case 355:
      if (lookahead == 'i') ADVANCE(395);
      END_STATE();
    case 356:
      ACCEPT_TOKEN(anon_sym_height);
      END_STATE();
    case 357:
      if (lookahead == 'r') ADVANCE(396);
      END_STATE();
    case 358:
      if (lookahead == 'i') ADVANCE(397);
      END_STATE();
    case 359:
      ACCEPT_TOKEN(anon_sym_italic);
      END_STATE();
    case 360:
      if (lookahead == 'p') ADVANCE(398);
      END_STATE();
    case 361:
      if (lookahead == 'd') ADVANCE(399);
      END_STATE();
    case 362:
      ACCEPT_TOKEN(anon_sym_offset);
      END_STATE();
    case 363:
      if (lookahead == 'y') ADVANCE(400);
      END_STATE();
    case 364:
      if (lookahead == 'n') ADVANCE(401);
      END_STATE();
    case 365:
      ACCEPT_TOKEN(anon_sym_radius);
      if (lookahead == 'e') ADVANCE(402);
      if (lookahead == 'm') ADVANCE(403);
      END_STATE();
    case 366:
      ACCEPT_TOKEN(anon_sym_ribbon);
      END_STATE();
    case 367:
      if (lookahead == 'o') ADVANCE(404);
      END_STATE();
    case 368:
      if (lookahead == 't') ADVANCE(405);
      END_STATE();
    case 369:
      ACCEPT_TOKEN(anon_sym_smooth);
      END_STATE();
    case 370:
      ACCEPT_TOKEN(anon_sym_stroke);
      END_STATE();
    case 371:
      if (lookahead == 'c') ADVANCE(406);
      END_STATE();
    case 372:
      ACCEPT_TOKEN(anon_sym_violin);
      END_STATE();
    case 373:
      ACCEPT_TOKEN(anon_sym_weight);
      END_STATE();
    case 374:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(407);
      END_STATE();
    case 375:
      if (lookahead == 'L' ||
          lookahead == 'l') ADVANCE(408);
      END_STATE();
    case 376:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(409);
      END_STATE();
    case 377:
      if (lookahead == 'O' ||
          lookahead == 'o') ADVANCE(410);
      END_STATE();
    case 378:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(411);
      END_STATE();
    case 379:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(412);
      END_STATE();
    case 380:
      if (lookahead == 'Y' ||
          lookahead == 'y') ADVANCE(413);
      END_STATE();
    case 381:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token4);
      END_STATE();
    case 382:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(414);
      END_STATE();
    case 383:
      if (lookahead == 'V' ||
          lookahead == 'v') ADVANCE(415);
      END_STATE();
    case 384:
      if (lookahead == 'N' ||
          lookahead == 'n') ADVANCE(416);
      END_STATE();
    case 385:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(417);
      END_STATE();
    case 386:
      ACCEPT_TOKEN(aux_sym_setting_clause_token1);
      END_STATE();
    case 387:
      if (lookahead == 'T' ||
          lookahead == 't') ADVANCE(418);
      END_STATE();
    case 388:
      if (lookahead == 'd') ADVANCE(419);
      END_STATE();
    case 389:
      if (lookahead == 'x') ADVANCE(420);
      END_STATE();
    case 390:
      if (lookahead == 'n') ADVANCE(421);
      END_STATE();
    case 391:
      ACCEPT_TOKEN(anon_sym_boxplot);
      END_STATE();
    case 392:
      ACCEPT_TOKEN(anon_sym_density);
      END_STATE();
    case 393:
      if (lookahead == 'r') ADVANCE(422);
      END_STATE();
    case 394:
      if (lookahead == 'e') ADVANCE(423);
      END_STATE();
    case 395:
      if (lookahead == 'g') ADVANCE(424);
      END_STATE();
    case 396:
      if (lookahead == 'a') ADVANCE(425);
      END_STATE();
    case 397:
      if (lookahead == 't') ADVANCE(426);
      END_STATE();
    case 398:
      if (lookahead == 'e') ADVANCE(427);
      END_STATE();
    case 399:
      if (lookahead == 't') ADVANCE(428);
      END_STATE();
    case 400:
      ACCEPT_TOKEN(anon_sym_opacity);
      END_STATE();
    case 401:
      ACCEPT_TOKEN(anon_sym_polygon);
      END_STATE();
    case 402:
      if (lookahead == 'n') ADVANCE(429);
      END_STATE();
    case 403:
      if (lookahead == 'a') ADVANCE(430);
      if (lookahead == 'i') ADVANCE(431);
      END_STATE();
    case 404:
      if (lookahead == 'n') ADVANCE(432);
      END_STATE();
    case 405:
      ACCEPT_TOKEN(anon_sym_segment);
      END_STATE();
    case 406:
      if (lookahead == 'e') ADVANCE(433);
      END_STATE();
    case 407:
      ACCEPT_TOKEN(aux_sym_mapping_clause_token1);
      END_STATE();
    case 408:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token10);
      END_STATE();
    case 409:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token51);
      END_STATE();
    case 410:
      if (lookahead == 'U' ||
          lookahead == 'u') ADVANCE(434);
      END_STATE();
    case 411:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token2);
      END_STATE();
    case 412:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(435);
      END_STATE();
    case 413:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token5);
      END_STATE();
    case 414:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(436);
      END_STATE();
    case 415:
      if (lookahead == 'E' ||
          lookahead == 'e') ADVANCE(437);
      END_STATE();
    case 416:
      if (lookahead == 'G' ||
          lookahead == 'g') ADVANCE(438);
      END_STATE();
    case 417:
      ACCEPT_TOKEN(aux_sym_scale_renaming_clause_token1);
      END_STATE();
    case 418:
      ACCEPT_TOKEN(aux_sym_cast_expression_token2);
      END_STATE();
    case 419:
      ACCEPT_TOKEN(anon_sym_angleend);
      END_STATE();
    case 420:
      ACCEPT_TOKEN(anon_sym_anglemax);
      END_STATE();
    case 421:
      ACCEPT_TOKEN(anon_sym_anglemin);
      END_STATE();
    case 422:
      ACCEPT_TOKEN(anon_sym_errorbar);
      END_STATE();
    case 423:
      ACCEPT_TOKEN(anon_sym_fontsize);
      END_STATE();
    case 424:
      if (lookahead == 'h') ADVANCE(439);
      END_STATE();
    case 425:
      if (lookahead == 'm') ADVANCE(440);
      END_STATE();
    case 426:
      if (lookahead == 'y') ADVANCE(441);
      END_STATE();
    case 427:
      ACCEPT_TOKEN(anon_sym_linetype);
      END_STATE();
    case 428:
      if (lookahead == 'h') ADVANCE(442);
      END_STATE();
    case 429:
      if (lookahead == 'd') ADVANCE(443);
      END_STATE();
    case 430:
      if (lookahead == 'x') ADVANCE(444);
      END_STATE();
    case 431:
      if (lookahead == 'n') ADVANCE(445);
      END_STATE();
    case 432:
      ACCEPT_TOKEN(anon_sym_rotation);
      END_STATE();
    case 433:
      ACCEPT_TOKEN(anon_sym_typeface);
      END_STATE();
    case 434:
      if (lookahead == 'S' ||
          lookahead == 's') ADVANCE(446);
      END_STATE();
    case 435:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token45);
      END_STATE();
    case 436:
      ACCEPT_TOKEN(aux_sym_sql_keyword_token44);
      END_STATE();
    case 437:
      ACCEPT_TOKEN(aux_sym_with_statement_token2);
      END_STATE();
    case 438:
      ACCEPT_TOKEN(aux_sym_remapping_clause_token1);
      END_STATE();
    case 439:
      if (lookahead == 't') ADVANCE(447);
      END_STATE();
    case 440:
      ACCEPT_TOKEN(anon_sym_histogram);
      END_STATE();
    case 441:
      ACCEPT_TOKEN(anon_sym_intensity);
      END_STATE();
    case 442:
      ACCEPT_TOKEN(anon_sym_linewidth);
      END_STATE();
    case 443:
      ACCEPT_TOKEN(anon_sym_radiusend);
      END_STATE();
    case 444:
      ACCEPT_TOKEN(anon_sym_radiusmax);
      END_STATE();
    case 445:
      ACCEPT_TOKEN(anon_sym_radiusmin);
      END_STATE();
    case 446:
      ACCEPT_TOKEN(aux_sym_scale_type_identifier_token1);
      END_STATE();
    case 447:
      ACCEPT_TOKEN(anon_sym_fontweight);
      END_STATE();
    default:
      return false;
  }
}

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

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(144), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_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(144), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_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_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [237] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(142), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(203), 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(201), 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_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [308] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(143), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(219), 9,
      anon_sym_DOT,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      anon_sym_TILDE,
      aux_sym_sql_keyword_token14,
      anon_sym_BANG_TILDE,
      sym_filter_identifier,
    ACTIONS(217), 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_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [379] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(144), 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_place_clause_token1,
      aux_sym_filter_token_token1,
      aux_sym_filter_token_token2,
      aux_sym_filter_token_token3,
      aux_sym_filter_token_token4,
      aux_sym_filter_token_token5,
      aux_sym_filter_token_token6,
      aux_sym_filter_token_token7,
      aux_sym_filter_token_token8,
      aux_sym_filter_token_token9,
      aux_sym_filter_token_token10,
      aux_sym_filter_token_token11,
      anon_sym_TILDE_STAR,
      anon_sym_BANG_TILDE_STAR,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_number,
      anon_sym_SQUOTE,
  [450] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(145), 1,
      sym_comment,
    STATE(148), 1,
      sym_scale_type_identifier,
    STATE(179), 1,
      sym_aesthetic_name,
    STATE(180), 1,
      sym_identifier,
    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), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [529] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(476), 1,
      anon_sym_SQUOTE,
    STATE(140), 1,
      aux_sym_filter_expression_repeat1,
    STATE(141), 1,
      sym_filter_token,
    STATE(144), 1,
      sym_string,
    STATE(146), 1,
      sym_comment,
    STATE(287), 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,
  [604] = 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(180), 1,
      sym_identifier,
    STATE(231), 1,
      sym_aesthetic_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [673] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(148), 1,
      sym_comment,
    STATE(178), 1,
      sym_aesthetic_name,
    STATE(180), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(488), 44,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
  [742] = 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), 45,
      anon_sym_density,
      anon_sym_label,
      anon_sym_x,
      anon_sym_y,
      anon_sym_xmin,
      anon_sym_xmax,
      anon_sym_ymin,
      anon_sym_ymax,
      anon_sym_xend,
      anon_sym_yend,
      anon_sym_angle,
      anon_sym_radius,
      anon_sym_anglemin,
      anon_sym_anglemax,
      anon_sym_radiusmin,
      anon_sym_radiusmax,
      anon_sym_angleend,
      anon_sym_radiusend,
      anon_sym_weight,
      anon_sym_color,
      anon_sym_colour,
      anon_sym_fill,
      anon_sym_stroke,
      anon_sym_opacity,
      anon_sym_size,
      anon_sym_shape,
      anon_sym_linetype,
      anon_sym_linewidth,
      anon_sym_width,
      anon_sym_height,
      anon_sym_typeface,
      anon_sym_fontweight,
      anon_sym_italic,
      anon_sym_fontsize,
      anon_sym_hjust,
      anon_sym_vjust,
      anon_sym_rotation,
      anon_sym_slope,
      anon_sym_panel,
      anon_sym_row,
      anon_sym_column,
      anon_sym_offset,
      anon_sym_count,
      anon_sym_intensity,
      sym_bare_identifier,
  [803] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(150), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(186), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(184), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [859] = 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_place_clause_token1,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(510), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(512), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(514), 1,
      aux_sym_project_clause_token1,
    ACTIONS(516), 1,
      aux_sym_label_clause_token1,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(151), 1,
      sym_comment,
    STATE(181), 1,
      sym_global_mapping,
    STATE(199), 1,
      sym_from_clause,
    STATE(208), 1,
      sym_mapping_element,
    STATE(210), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(215), 1,
      sym_identifier,
    STATE(322), 1,
      sym_mapping_list,
    STATE(345), 1,
      sym_viz_clause,
    STATE(534), 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(564), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(226), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(526), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [963] = 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(219), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(217), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1009] = 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(203), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(201), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1055] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(524), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(154), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(190), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(188), 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,
  [1101] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(155), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(190), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(188), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1145] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(527), 1,
      anon_sym_DOT,
    STATE(154), 1,
      aux_sym_qualified_name_repeat1,
    STATE(156), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(223), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(221), 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,
  [1193] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(157), 1,
      sym_comment,
    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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(184), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
  [1237] = 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(190), 12,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
    ACTIONS(188), 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,
  [1280] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(531), 1,
      sym_bare_identifier,
    ACTIONS(542), 1,
      sym_quoted_identifier,
    STATE(166), 1,
      sym_identifier,
    STATE(167), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(529), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(159), 2,
      sym_comment,
      aux_sym_order_expression_repeat1,
    ACTIONS(534), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(537), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
    ACTIONS(540), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1330] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(547), 1,
      sym_bare_identifier,
    ACTIONS(555), 1,
      sym_quoted_identifier,
    STATE(159), 1,
      aux_sym_order_expression_repeat1,
    STATE(160), 1,
      sym_comment,
    STATE(166), 1,
      sym_identifier,
    STATE(167), 1,
      sym_order_token,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(545), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(549), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(551), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
    ACTIONS(553), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1382] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(527), 1,
      anon_sym_DOT,
    ACTIONS(557), 1,
      anon_sym_LPAREN,
    STATE(156), 1,
      aux_sym_qualified_name_repeat1,
    STATE(161), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(559), 2,
      anon_sym_COLON_EQ,
      anon_sym_EQ_GT,
    ACTIONS(197), 5,
      anon_sym_EQ,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(195), 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,
  [1426] = 18,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(561), 1,
      aux_sym_sql_keyword_token1,
    STATE(162), 1,
      sym_comment,
    STATE(208), 1,
      sym_mapping_element,
    STATE(215), 1,
      sym_identifier,
    STATE(241), 1,
      sym_mapping_list,
    STATE(534), 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(564), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(226), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(526), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1488] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(163), 1,
      sym_comment,
    STATE(165), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(563), 19,
      anon_sym_point,
      anon_sym_line,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_tile,
      anon_sym_polygon,
      anon_sym_ribbon,
      anon_sym_histogram,
      anon_sym_density,
      anon_sym_smooth,
      anon_sym_boxplot,
      anon_sym_violin,
      anon_sym_text,
      anon_sym_label,
      anon_sym_segment,
      anon_sym_arrow,
      anon_sym_rule,
      anon_sym_errorbar,
  [1523] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(164), 1,
      sym_comment,
    STATE(308), 1,
      sym_geom_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(563), 19,
      anon_sym_point,
      anon_sym_line,
      anon_sym_path,
      anon_sym_bar,
      anon_sym_area,
      anon_sym_tile,
      anon_sym_polygon,
      anon_sym_ribbon,
      anon_sym_histogram,
      anon_sym_density,
      anon_sym_smooth,
      anon_sym_boxplot,
      anon_sym_violin,
      anon_sym_text,
      anon_sym_label,
      anon_sym_segment,
      anon_sym_arrow,
      anon_sym_rule,
      anon_sym_errorbar,
  [1558] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(571), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(573), 1,
      aux_sym_mapping_clause_token1,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(165), 1,
      sym_comment,
    STATE(177), 1,
      sym_mapping_clause,
    STATE(214), 1,
      sym_remapping_clause,
    STATE(240), 1,
      sym_setting_clause,
    STATE(268), 1,
      sym_filter_clause,
    STATE(303), 1,
      sym_partition_clause,
    STATE(349), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(565), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [1615] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(166), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(579), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(581), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [1650] = 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(583), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(585), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [1685] = 17,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(168), 1,
      sym_comment,
    STATE(208), 1,
      sym_mapping_element,
    STATE(215), 1,
      sym_identifier,
    STATE(262), 1,
      sym_mapping_list,
    STATE(534), 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(564), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(226), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(526), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1744] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(169), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(184), 7,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_visualise_keyword,
      sym_quoted_identifier,
      sym_number,
    ACTIONS(186), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [1779] = 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(589), 1,
      anon_sym_LPAREN,
    ACTIONS(591), 1,
      anon_sym_RPAREN,
    STATE(161), 1,
      sym_identifier,
    STATE(170), 1,
      sym_comment,
    STATE(216), 1,
      sym_position_arg,
    STATE(483), 1,
      sym_function_arg,
    STATE(500), 1,
      sym_named_arg,
    STATE(525), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [1835] = 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(589), 1,
      anon_sym_LPAREN,
    ACTIONS(595), 1,
      anon_sym_RPAREN,
    STATE(161), 1,
      sym_identifier,
    STATE(171), 1,
      sym_comment,
    STATE(216), 1,
      sym_position_arg,
    STATE(483), 1,
      sym_function_arg,
    STATE(500), 1,
      sym_named_arg,
    STATE(559), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [1891] = 16,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(500), 1,
      anon_sym_STAR,
    ACTIONS(508), 1,
      aux_sym_filter_token_token2,
    ACTIONS(518), 1,
      sym_number,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    STATE(172), 1,
      sym_comment,
    STATE(215), 1,
      sym_identifier,
    STATE(224), 1,
      sym_mapping_element,
    STATE(534), 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(564), 2,
      sym_column_reference,
      sym_literal_value,
    STATE(226), 3,
      sym_wildcard_mapping,
      sym_explicit_mapping,
      sym_implicit_mapping,
    STATE(526), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [1947] = 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(589), 1,
      anon_sym_LPAREN,
    ACTIONS(597), 1,
      sym_bare_identifier,
    ACTIONS(599), 1,
      sym_quoted_identifier,
    STATE(173), 1,
      sym_comment,
    STATE(175), 1,
      sym_identifier,
    STATE(236), 1,
      sym_position_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 2,
      aux_sym_cast_expression_token1,
      aux_sym_cast_expression_token2,
    STATE(547), 2,
      sym_select_statement,
      sym_with_statement,
    STATE(192), 5,
      sym_scalar_subquery,
      sym_cast_expression,
      sym_function_call,
      sym_qualified_name,
      sym_string,
  [2001] = 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(589), 1,
      anon_sym_LPAREN,
    ACTIONS(601), 1,
      anon_sym_RPAREN,
    STATE(161), 1,
      sym_identifier,
    STATE(174), 1,
      sym_comment,
    STATE(216), 1,
      sym_position_arg,
    STATE(483), 1,
      sym_function_arg,
    STATE(500), 1,
      sym_named_arg,
    STATE(554), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [2057] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(527), 1,
      anon_sym_DOT,
    ACTIONS(557), 1,
      anon_sym_LPAREN,
    STATE(156), 1,
      aux_sym_qualified_name_repeat1,
    STATE(175), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(197), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(195), 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,
  [2097] = 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(589), 1,
      anon_sym_LPAREN,
    ACTIONS(603), 1,
      anon_sym_RPAREN,
    STATE(161), 1,
      sym_identifier,
    STATE(176), 1,
      sym_comment,
    STATE(216), 1,
      sym_position_arg,
    STATE(483), 1,
      sym_function_arg,
    STATE(500), 1,
      sym_named_arg,
    STATE(512), 1,
      sym_function_args,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [2153] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(571), 1,
      aux_sym_remapping_clause_token1,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(177), 1,
      sym_comment,
    STATE(204), 1,
      sym_remapping_clause,
    STATE(247), 1,
      sym_setting_clause,
    STATE(267), 1,
      sym_filter_clause,
    STATE(281), 1,
      sym_partition_clause,
    STATE(344), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2204] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(609), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(613), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(178), 1,
      sym_comment,
    STATE(205), 1,
      sym_scale_from_clause,
    STATE(238), 1,
      sym_scale_to_clause,
    STATE(270), 1,
      sym_scale_via_clause,
    STATE(301), 1,
      sym_setting_clause,
    STATE(328), 1,
      sym_scale_renaming_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2255] = 14,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(609), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(613), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(179), 1,
      sym_comment,
    STATE(203), 1,
      sym_scale_from_clause,
    STATE(243), 1,
      sym_scale_to_clause,
    STATE(260), 1,
      sym_scale_via_clause,
    STATE(294), 1,
      sym_setting_clause,
    STATE(347), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(617), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2306] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(180), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(619), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2337] = 15,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(623), 1,
      aux_sym_sql_keyword_token1,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(181), 1,
      sym_comment,
    STATE(198), 1,
      sym_from_clause,
    STATE(211), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(621), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [2390] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(557), 1,
      anon_sym_LPAREN,
    ACTIONS(637), 1,
      anon_sym_DOT,
    STATE(182), 1,
      sym_comment,
    STATE(183), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(197), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(195), 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,
  [2429] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(637), 1,
      anon_sym_DOT,
    STATE(183), 1,
      sym_comment,
    STATE(185), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(223), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(221), 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,
  [2465] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(184), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(252), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(250), 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,
  [2497] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(639), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(185), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(190), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(188), 11,
      anon_sym_STAR,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [2531] = 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(589), 1,
      anon_sym_LPAREN,
    STATE(161), 1,
      sym_identifier,
    STATE(186), 1,
      sym_comment,
    STATE(216), 1,
      sym_position_arg,
    STATE(486), 1,
      sym_function_arg,
    STATE(500), 1,
      sym_named_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [2581] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(187), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(642), 17,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_sql_keyword_token20,
      anon_sym_EQ_GT,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      anon_sym_RBRACK,
  [2611] = 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(293), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(291), 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,
  [2643] = 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(283), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(281), 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,
  [2675] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(190), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(646), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(644), 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,
  [2707] = 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(186), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(184), 13,
      anon_sym_STAR,
      anon_sym_DOT,
      anon_sym_EQ,
      anon_sym_PLUS,
      anon_sym_PERCENT,
      anon_sym_COLON_COLON,
      anon_sym_LPAREN,
      aux_sym_cte_definition_token1,
      anon_sym_PIPE_PIPE,
      anon_sym_LT_EQ,
      anon_sym_GT_EQ,
      anon_sym_BANG_EQ,
      anon_sym_LT_GT,
  [2739] = 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(650), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(648), 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,
  [2771] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(193), 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,
  [2803] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(194), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(646), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(644), 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,
  [2835] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(658), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(195), 2,
      sym_comment,
      aux_sym_mapping_list_repeat1,
    ACTIONS(656), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [2866] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(196), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(661), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(665), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(663), 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,
  [2899] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(197), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(667), 16,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_cte_definition_token1,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      anon_sym_RBRACK,
  [2928] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(198), 1,
      sym_comment,
    STATE(200), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(669), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [2975] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(199), 1,
      sym_comment,
    STATE(211), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(621), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3022] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(200), 1,
      sym_comment,
    STATE(201), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(671), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3069] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(675), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(678), 1,
      aux_sym_place_clause_token1,
    ACTIONS(681), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(684), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(687), 1,
      aux_sym_project_clause_token1,
    ACTIONS(690), 1,
      aux_sym_label_clause_token1,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(673), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(201), 2,
      sym_comment,
      aux_sym_visualise_statement_repeat1,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3114] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(547), 1,
      sym_bare_identifier,
    ACTIONS(555), 1,
      sym_quoted_identifier,
    STATE(160), 1,
      aux_sym_order_expression_repeat1,
    STATE(166), 1,
      sym_identifier,
    STATE(167), 1,
      sym_order_token,
    STATE(202), 1,
      sym_comment,
    STATE(330), 1,
      sym_order_expression,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(549), 4,
      anon_sym_COMMA,
      anon_sym_LPAREN,
      anon_sym_RPAREN,
      sym_number,
    ACTIONS(551), 6,
      anon_sym_DOT,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token48,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [3157] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(613), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(203), 1,
      sym_comment,
    STATE(238), 1,
      sym_scale_to_clause,
    STATE(270), 1,
      sym_scale_via_clause,
    STATE(301), 1,
      sym_setting_clause,
    STATE(328), 1,
      sym_scale_renaming_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3202] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(204), 1,
      sym_comment,
    STATE(239), 1,
      sym_setting_clause,
    STATE(265), 1,
      sym_filter_clause,
    STATE(289), 1,
      sym_partition_clause,
    STATE(333), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(693), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3247] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(613), 1,
      aux_sym_scale_to_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(205), 1,
      sym_comment,
    STATE(244), 1,
      sym_scale_to_clause,
    STATE(266), 1,
      sym_scale_via_clause,
    STATE(302), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(695), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3292] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(206), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(697), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3321] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(207), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(699), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3350] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(703), 1,
      anon_sym_COMMA,
    STATE(208), 1,
      sym_comment,
    STATE(213), 1,
      aux_sym_mapping_list_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(701), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3383] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(209), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(705), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3412] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(201), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(210), 1,
      sym_comment,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(621), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3459] = 13,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(625), 1,
      aux_sym_draw_clause_token1,
    ACTIONS(627), 1,
      aux_sym_place_clause_token1,
    ACTIONS(629), 1,
      aux_sym_scale_clause_token1,
    ACTIONS(631), 1,
      aux_sym_facet_clause_token1,
    ACTIONS(633), 1,
      aux_sym_project_clause_token1,
    ACTIONS(635), 1,
      aux_sym_label_clause_token1,
    STATE(201), 1,
      aux_sym_visualise_statement_repeat1,
    STATE(211), 1,
      sym_comment,
    STATE(345), 1,
      sym_viz_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(669), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(346), 6,
      sym_draw_clause,
      sym_place_clause,
      sym_scale_clause,
      sym_facet_clause,
      sym_project_clause,
      sym_label_clause,
  [3506] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(707), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(212), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
    ACTIONS(699), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3537] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(703), 1,
      anon_sym_COMMA,
    STATE(195), 1,
      aux_sym_mapping_list_repeat1,
    STATE(213), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(710), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3570] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(214), 1,
      sym_comment,
    STATE(247), 1,
      sym_setting_clause,
    STATE(267), 1,
      sym_filter_clause,
    STATE(281), 1,
      sym_partition_clause,
    STATE(344), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3615] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(714), 1,
      aux_sym_cte_definition_token1,
    STATE(215), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(712), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3646] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(216), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(716), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
    ACTIONS(665), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(663), 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,
  [3679] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(217), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(718), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3708] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(724), 1,
      aux_sym_cte_definition_token1,
    STATE(218), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(722), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(720), 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,
  [3740] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(726), 1,
      sym_bare_identifier,
    ACTIONS(728), 1,
      sym_quoted_identifier,
    STATE(182), 1,
      sym_identifier,
    STATE(219), 1,
      sym_comment,
    STATE(233), 1,
      sym_position_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [3784] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(726), 1,
      sym_bare_identifier,
    ACTIONS(728), 1,
      sym_quoted_identifier,
    STATE(182), 1,
      sym_identifier,
    STATE(194), 1,
      sym_position_arg,
    STATE(220), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [3828] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(726), 1,
      sym_bare_identifier,
    ACTIONS(728), 1,
      sym_quoted_identifier,
    STATE(182), 1,
      sym_identifier,
    STATE(221), 1,
      sym_comment,
    STATE(223), 1,
      sym_position_arg,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [3872] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(597), 1,
      sym_bare_identifier,
    ACTIONS(599), 1,
      sym_quoted_identifier,
    STATE(175), 1,
      sym_identifier,
    STATE(196), 1,
      sym_position_arg,
    STATE(222), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [3916] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(730), 1,
      aux_sym_cte_definition_token1,
    STATE(223), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(722), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(720), 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,
  [3948] = 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(656), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [3976] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(732), 1,
      anon_sym_DOT,
    STATE(225), 1,
      sym_comment,
    STATE(229), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(195), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_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,
  [4008] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(226), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(734), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4036] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(227), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(736), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4064] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(597), 1,
      sym_bare_identifier,
    ACTIONS(599), 1,
      sym_quoted_identifier,
    STATE(175), 1,
      sym_identifier,
    STATE(194), 1,
      sym_position_arg,
    STATE(228), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [4108] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(732), 1,
      anon_sym_DOT,
    STATE(229), 1,
      sym_comment,
    STATE(230), 1,
      aux_sym_qualified_name_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(221), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_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,
  [4140] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(738), 1,
      anon_sym_DOT,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(230), 2,
      sym_comment,
      aux_sym_qualified_name_repeat1,
    ACTIONS(188), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_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,
  [4170] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(231), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(741), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4198] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(743), 1,
      aux_sym_cte_definition_token1,
    STATE(232), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(722), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(720), 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,
  [4230] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(745), 1,
      aux_sym_cte_definition_token1,
    STATE(233), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(722), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(720), 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,
  [4262] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(726), 1,
      sym_bare_identifier,
    ACTIONS(728), 1,
      sym_quoted_identifier,
    STATE(182), 1,
      sym_identifier,
    STATE(218), 1,
      sym_position_arg,
    STATE(234), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [4306] = 12,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(589), 1,
      anon_sym_LPAREN,
    ACTIONS(726), 1,
      sym_bare_identifier,
    ACTIONS(728), 1,
      sym_quoted_identifier,
    STATE(182), 1,
      sym_identifier,
    STATE(232), 1,
      sym_position_arg,
    STATE(235), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(587), 2,
      anon_sym_STAR,
      sym_number,
    ACTIONS(593), 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,
  [4350] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(747), 1,
      anon_sym_RPAREN,
    STATE(236), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(665), 4,
      anon_sym_LT,
      anon_sym_GT,
      anon_sym_DASH,
      anon_sym_SLASH,
    ACTIONS(663), 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,
  [4382] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(527), 1,
      anon_sym_DOT,
    STATE(156), 1,
      aux_sym_qualified_name_repeat1,
    STATE(237), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(195), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(197), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [4415] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(238), 1,
      sym_comment,
    STATE(266), 1,
      sym_scale_via_clause,
    STATE(302), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(695), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4454] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(239), 1,
      sym_comment,
    STATE(271), 1,
      sym_filter_clause,
    STATE(293), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(749), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4493] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(240), 1,
      sym_comment,
    STATE(267), 1,
      sym_filter_clause,
    STATE(281), 1,
      sym_partition_clause,
    STATE(344), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4532] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(753), 1,
      aux_sym_sql_keyword_token1,
    STATE(241), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(751), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_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,
  [4561] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(757), 1,
      anon_sym_COMMA,
    STATE(242), 1,
      sym_comment,
    STATE(246), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    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_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4592] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(243), 1,
      sym_comment,
    STATE(270), 1,
      sym_scale_via_clause,
    STATE(301), 1,
      sym_setting_clause,
    STATE(328), 1,
      sym_scale_renaming_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4631] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    ACTIONS(615), 1,
      aux_sym_scale_via_clause_token1,
    STATE(244), 1,
      sym_comment,
    STATE(272), 1,
      sym_scale_via_clause,
    STATE(297), 1,
      sym_setting_clause,
    STATE(332), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(759), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4670] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(245), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(761), 14,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_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,
  [4697] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(757), 1,
      anon_sym_COMMA,
    STATE(246), 1,
      sym_comment,
    STATE(248), 1,
      aux_sym_setting_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(763), 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_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4728] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(577), 1,
      aux_sym_filter_clause_token1,
    STATE(247), 1,
      sym_comment,
    STATE(265), 1,
      sym_filter_clause,
    STATE(289), 1,
      sym_partition_clause,
    STATE(333), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(693), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4767] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(767), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(248), 2,
      sym_comment,
      aux_sym_setting_clause_repeat1,
    ACTIONS(765), 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_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4796] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(770), 1,
      aux_sym_cte_definition_token1,
    STATE(249), 1,
      sym_comment,
    STATE(317), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(205), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(207), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4832] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(772), 1,
      aux_sym_cte_definition_token1,
    STATE(250), 1,
      sym_comment,
    STATE(319), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(211), 3,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
    ACTIONS(213), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4868] = 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(774), 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_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4894] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(765), 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_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4920] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    STATE(253), 1,
      sym_comment,
    STATE(284), 1,
      sym_label_assignment,
    STATE(511), 1,
      sym_identifier,
    STATE(537), 1,
      sym_label_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(776), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    ACTIONS(778), 6,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [4958] = 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(780), 13,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_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,
  [4984] = 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,
      anon_sym_COMMA,
      aux_sym_sql_keyword_token20,
      aux_sym_window_partition_clause_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5010] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(256), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(201), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(203), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [5038] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(257), 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_place_clause_token1,
      aux_sym_remapping_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5064] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(258), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(217), 5,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      anon_sym_EQ_GT,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(219), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [5092] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(259), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(238), 4,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      sym_quoted_identifier,
    ACTIONS(240), 8,
      aux_sym_cte_definition_token1,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
      sym_bare_identifier,
  [5119] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(260), 1,
      sym_comment,
    STATE(301), 1,
      sym_setting_clause,
    STATE(328), 1,
      sym_scale_renaming_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5152] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(212), 1,
      aux_sym_cte_definition_repeat1,
    STATE(261), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(786), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5181] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(262), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(790), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_filter_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5206] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(261), 1,
      aux_sym_cte_definition_repeat1,
    STATE(263), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(792), 10,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token22,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5235] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(794), 1,
      anon_sym_LPAREN,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(798), 1,
      sym_number,
    ACTIONS(802), 1,
      anon_sym_LBRACK,
    STATE(255), 1,
      sym_parameter_value,
    STATE(264), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(800), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(251), 4,
      sym_string,
      sym_boolean,
      sym_array,
      sym_null_literal,
  [5274] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    STATE(265), 1,
      sym_comment,
    STATE(293), 1,
      sym_partition_clause,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(749), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5307] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(266), 1,
      sym_comment,
    STATE(297), 1,
      sym_setting_clause,
    STATE(332), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(759), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5340] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    STATE(267), 1,
      sym_comment,
    STATE(289), 1,
      sym_partition_clause,
    STATE(333), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(693), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5373] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    STATE(268), 1,
      sym_comment,
    STATE(281), 1,
      sym_partition_clause,
    STATE(344), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5406] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(269), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(804), 12,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_to_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5431] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(270), 1,
      sym_comment,
    STATE(302), 1,
      sym_setting_clause,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(695), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5464] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(569), 1,
      aux_sym_window_partition_clause_token1,
    STATE(271), 1,
      sym_comment,
    STATE(278), 1,
      sym_partition_clause,
    STATE(335), 1,
      sym_order_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5497] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(272), 1,
      sym_comment,
    STATE(305), 1,
      sym_setting_clause,
    STATE(337), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(808), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5530] = 11,
    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(794), 1,
      anon_sym_LPAREN,
    ACTIONS(802), 1,
      anon_sym_LBRACK,
    ACTIONS(810), 1,
      sym_number,
    STATE(273), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(522), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(324), 4,
      sym_identifier,
      sym_string,
      sym_boolean,
      sym_array,
  [5569] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    ACTIONS(814), 1,
      aux_sym_sql_keyword_token22,
    STATE(274), 1,
      sym_comment,
    STATE(329), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(812), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5599] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(275), 1,
      sym_comment,
    STATE(276), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(816), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5627] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(212), 1,
      aux_sym_cte_definition_repeat1,
    STATE(276), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5655] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(277), 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_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_scale_via_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5679] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    STATE(278), 1,
      sym_comment,
    STATE(342), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(822), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5706] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(826), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(279), 2,
      sym_comment,
      aux_sym_label_clause_repeat1,
    ACTIONS(824), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5731] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(831), 1,
      anon_sym_COMMA,
    STATE(280), 1,
      sym_comment,
    STATE(299), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(829), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5758] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    STATE(281), 1,
      sym_comment,
    STATE(333), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(693), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5785] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(282), 1,
      sym_comment,
    STATE(285), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(225), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5812] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(835), 1,
      anon_sym_LPAREN,
    ACTIONS(837), 1,
      sym_namespaced_identifier,
    ACTIONS(839), 1,
      anon_sym_SQUOTE,
    STATE(237), 1,
      sym_identifier,
    STATE(250), 1,
      sym_subquery,
    STATE(283), 1,
      sym_comment,
    STATE(311), 1,
      sym_table_ref,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(597), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(249), 2,
      sym_qualified_name,
      sym_string,
  [5849] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(843), 1,
      anon_sym_COMMA,
    STATE(284), 1,
      sym_comment,
    STATE(307), 1,
      aux_sym_label_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(841), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5876] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(833), 1,
      anon_sym_COMMA,
    STATE(285), 1,
      sym_comment,
    STATE(291), 1,
      aux_sym_from_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(242), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5903] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(845), 1,
      anon_sym_RPAREN,
    ACTIONS(847), 1,
      sym_number,
    STATE(286), 1,
      sym_comment,
    STATE(472), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(800), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(484), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [5938] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(287), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(849), 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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [5961] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(845), 1,
      anon_sym_RBRACK,
    ACTIONS(847), 1,
      sym_number,
    STATE(288), 1,
      sym_comment,
    STATE(467), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(800), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(484), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [5996] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    STATE(289), 1,
      sym_comment,
    STATE(339), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(749), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6023] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(853), 1,
      anon_sym_COMMA,
    STATE(290), 1,
      sym_comment,
    STATE(300), 1,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(851), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6050] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(855), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(291), 2,
      sym_comment,
      aux_sym_from_clause_repeat1,
    ACTIONS(231), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6075] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(292), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(858), 10,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_scale_renaming_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6098] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    STATE(293), 1,
      sym_comment,
    STATE(335), 1,
      sym_order_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6125] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(294), 1,
      sym_comment,
    STATE(328), 1,
      sym_scale_renaming_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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6152] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(835), 1,
      anon_sym_LPAREN,
    ACTIONS(837), 1,
      sym_namespaced_identifier,
    ACTIONS(839), 1,
      anon_sym_SQUOTE,
    STATE(237), 1,
      sym_identifier,
    STATE(250), 1,
      sym_subquery,
    STATE(282), 1,
      sym_table_ref,
    STATE(295), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(597), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(249), 2,
      sym_qualified_name,
      sym_string,
  [6189] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(862), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(296), 2,
      sym_comment,
      aux_sym_scale_renaming_clause_repeat1,
    ACTIONS(860), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6214] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(297), 1,
      sym_comment,
    STATE(337), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(808), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6241] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(178), 1,
      anon_sym_LPAREN,
    ACTIONS(180), 1,
      sym_namespaced_identifier,
    ACTIONS(182), 1,
      anon_sym_SQUOTE,
    STATE(47), 1,
      sym_subquery,
    STATE(48), 1,
      sym_identifier,
    STATE(89), 1,
      sym_table_ref,
    STATE(298), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(176), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(46), 2,
      sym_qualified_name,
      sym_string,
  [6278] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(831), 1,
      anon_sym_COMMA,
    STATE(299), 1,
      sym_comment,
    STATE(306), 1,
      aux_sym_project_properties_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(865), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6305] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(853), 1,
      anon_sym_COMMA,
    STATE(296), 1,
      aux_sym_scale_renaming_clause_repeat1,
    STATE(300), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(867), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6332] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(301), 1,
      sym_comment,
    STATE(338), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(695), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6359] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(302), 1,
      sym_comment,
    STATE(332), 1,
      sym_scale_renaming_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(759), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6386] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(567), 1,
      aux_sym_sql_keyword_token20,
    STATE(303), 1,
      sym_comment,
    STATE(344), 1,
      sym_order_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6413] = 11,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(165), 1,
      anon_sym_LPAREN,
    ACTIONS(169), 1,
      anon_sym_SQUOTE,
    ACTIONS(869), 1,
      sym_namespaced_identifier,
    STATE(26), 1,
      sym_identifier,
    STATE(29), 1,
      sym_subquery,
    STATE(45), 1,
      sym_table_ref,
    STATE(304), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(161), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(28), 2,
      sym_qualified_name,
      sym_string,
  [6450] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(611), 1,
      aux_sym_scale_renaming_clause_token1,
    STATE(305), 1,
      sym_comment,
    STATE(343), 1,
      sym_scale_renaming_clause,
    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_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6477] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(875), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(306), 2,
      sym_comment,
      aux_sym_project_properties_repeat1,
    ACTIONS(873), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6502] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(843), 1,
      anon_sym_COMMA,
    STATE(279), 1,
      aux_sym_label_clause_repeat1,
    STATE(307), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(878), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6529] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    STATE(308), 1,
      sym_comment,
    STATE(331), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(880), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6556] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(575), 1,
      aux_sym_setting_clause_token1,
    STATE(309), 1,
      sym_comment,
    STATE(348), 1,
      sym_setting_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(882), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6583] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(310), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(884), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6605] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(311), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(231), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6627] = 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(886), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6649] = 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(824), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6671] = 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(888), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token20,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6693] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(892), 1,
      aux_sym_setting_clause_token1,
    STATE(315), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(890), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6717] = 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(894), 9,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_setting_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6739] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(317), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(273), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6761] = 9,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(57), 1,
      anon_sym_SQUOTE,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(847), 1,
      sym_number,
    STATE(318), 1,
      sym_comment,
    STATE(485), 1,
      sym_array_element,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(800), 2,
      anon_sym_true,
      anon_sym_false,
    STATE(484), 3,
      sym_string,
      sym_boolean,
      sym_null_literal,
  [6793] = 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(277), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6815] = 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(860), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6837] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(898), 1,
      aux_sym_setting_clause_token1,
    STATE(321), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(896), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6861] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(322), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(900), 9,
      ts_builtin_sym_end,
      aux_sym_sql_keyword_token1,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6883] = 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(873), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6905] = 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(902), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6927] = 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(256), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6949] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(326), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(260), 9,
      ts_builtin_sym_end,
      anon_sym_COMMA,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6971] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(327), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(904), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [6992] = 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(695), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7013] = 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(906), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7034] = 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(908), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7055] = 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(910), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7076] = 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(808), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7097] = 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(749), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7118] = 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(912), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7139] = 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(822), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7160] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(914), 1,
      anon_sym_RPAREN,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(920), 1,
      aux_sym_window_partition_clause_token1,
    STATE(336), 1,
      sym_comment,
    STATE(372), 1,
      sym_window_partition_clause,
    STATE(396), 1,
      sym_window_order_clause,
    STATE(507), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7193] = 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(871), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7214] = 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(759), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7235] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(339), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(806), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7256] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(920), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(922), 1,
      anon_sym_RPAREN,
    STATE(340), 1,
      sym_comment,
    STATE(366), 1,
      sym_window_partition_clause,
    STATE(422), 1,
      sym_window_order_clause,
    STATE(503), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7289] = 10,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(920), 1,
      aux_sym_window_partition_clause_token1,
    ACTIONS(924), 1,
      anon_sym_RPAREN,
    STATE(341), 1,
      sym_comment,
    STATE(363), 1,
      sym_window_partition_clause,
    STATE(427), 1,
      sym_window_order_clause,
    STATE(519), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7322] = 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(926), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7343] = 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(928), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7364] = 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(693), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7385] = 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(930), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7406] = 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(932), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7427] = 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(607), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7448] = 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(934), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7469] = 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(605), 8,
      ts_builtin_sym_end,
      sym_visualise_keyword,
      aux_sym_draw_clause_token1,
      aux_sym_place_clause_token1,
      aux_sym_scale_clause_token1,
      aux_sym_facet_clause_token1,
      aux_sym_project_clause_token1,
      aux_sym_label_clause_token1,
  [7490] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    STATE(350), 1,
      sym_comment,
    STATE(355), 1,
      aux_sym_with_statement_repeat1,
    STATE(392), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(936), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7518] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    STATE(351), 1,
      sym_comment,
    STATE(354), 1,
      aux_sym_with_statement_repeat1,
    STATE(392), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(936), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7546] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(839), 1,
      anon_sym_SQUOTE,
    STATE(320), 1,
      sym_renaming_assignment,
    STATE(352), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(940), 2,
      anon_sym_STAR,
      sym_number,
    STATE(558), 2,
      sym_string,
      sym_null_literal,
  [7574] = 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(184), 7,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
      aux_sym_sql_keyword_token48,
  [7594] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    STATE(354), 1,
      sym_comment,
    STATE(355), 1,
      aux_sym_with_statement_repeat1,
    STATE(391), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(942), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7622] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(946), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(355), 2,
      sym_comment,
      aux_sym_with_statement_repeat1,
    ACTIONS(944), 5,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7644] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    ACTIONS(839), 1,
      anon_sym_SQUOTE,
    STATE(290), 1,
      sym_renaming_assignment,
    STATE(356), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(940), 2,
      anon_sym_STAR,
      sym_number,
    STATE(558), 2,
      sym_string,
      sym_null_literal,
  [7672] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(9), 1,
      aux_sym_select_statement_token1,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    STATE(350), 1,
      aux_sym_with_statement_repeat1,
    STATE(357), 1,
      sym_comment,
    STATE(446), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(949), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [7700] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(951), 1,
      sym_namespaced_identifier,
    STATE(225), 1,
      sym_identifier,
    STATE(358), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(486), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(254), 2,
      sym_qualified_name,
      sym_string,
  [7728] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(957), 1,
      aux_sym_sql_keyword_token48,
    STATE(359), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(955), 2,
      aux_sym_sql_keyword_token28,
      aux_sym_sql_keyword_token29,
    ACTIONS(953), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7752] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(959), 1,
      sym_namespaced_identifier,
    STATE(225), 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(257), 2,
      sym_qualified_name,
      sym_string,
  [7780] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(212), 1,
      aux_sym_cte_definition_repeat1,
    STATE(361), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(961), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7803] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(794), 1,
      anon_sym_LPAREN,
    ACTIONS(802), 1,
      anon_sym_LBRACK,
    STATE(362), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
    STATE(277), 2,
      sym_identifier,
      sym_array,
  [7828] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(963), 1,
      anon_sym_RPAREN,
    STATE(363), 1,
      sym_comment,
    STATE(428), 1,
      sym_window_order_clause,
    STATE(521), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7855] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(788), 1,
      anon_sym_COMMA,
    STATE(361), 1,
      aux_sym_cte_definition_repeat1,
    STATE(364), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(965), 4,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token20,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7878] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(365), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(967), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7897] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(969), 1,
      anon_sym_RPAREN,
    STATE(366), 1,
      sym_comment,
    STATE(423), 1,
      sym_window_order_clause,
    STATE(505), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [7924] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(280), 1,
      sym_project_property,
    STATE(334), 1,
      sym_project_properties,
    STATE(367), 1,
      sym_comment,
    STATE(504), 1,
      sym_project_property_name,
    STATE(518), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [7951] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(368), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(971), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7970] = 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(944), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [7989] = 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(973), 6,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      aux_sym_select_statement_token1,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8008] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(280), 1,
      sym_project_property,
    STATE(327), 1,
      sym_project_properties,
    STATE(371), 1,
      sym_comment,
    STATE(504), 1,
      sym_project_property_name,
    STATE(518), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8035] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(916), 1,
      aux_sym_sql_keyword_token20,
    ACTIONS(975), 1,
      anon_sym_RPAREN,
    STATE(372), 1,
      sym_comment,
    STATE(410), 1,
      sym_window_order_clause,
    STATE(561), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8062] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(936), 1,
      anon_sym_RPAREN,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    ACTIONS(977), 1,
      aux_sym_select_statement_token1,
    STATE(355), 1,
      aux_sym_with_statement_repeat1,
    STATE(373), 1,
      sym_comment,
    STATE(392), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8088] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(242), 1,
      sym_parameter_assignment,
    STATE(374), 1,
      sym_comment,
    STATE(542), 1,
      sym_parameter_name,
    STATE(548), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8112] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(979), 1,
      aux_sym_sql_keyword_token18,
    ACTIONS(983), 1,
      aux_sym_sql_keyword_token46,
    STATE(375), 1,
      sym_comment,
    STATE(550), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(981), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [8136] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(936), 1,
      anon_sym_RPAREN,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    ACTIONS(977), 1,
      aux_sym_select_statement_token1,
    STATE(376), 1,
      sym_comment,
    STATE(377), 1,
      aux_sym_with_statement_repeat1,
    STATE(392), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8162] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    ACTIONS(942), 1,
      anon_sym_RPAREN,
    ACTIONS(977), 1,
      aux_sym_select_statement_token1,
    STATE(355), 1,
      aux_sym_with_statement_repeat1,
    STATE(377), 1,
      sym_comment,
    STATE(391), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8188] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(985), 1,
      aux_sym_with_statement_token2,
    STATE(378), 1,
      sym_comment,
    STATE(388), 1,
      sym_cte_definition,
    STATE(501), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8214] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(989), 1,
      aux_sym_sql_keyword_token48,
    STATE(379), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(987), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8234] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(313), 1,
      sym_label_assignment,
    STATE(380), 1,
      sym_comment,
    STATE(511), 1,
      sym_identifier,
    STATE(537), 1,
      sym_label_type,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8258] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(991), 1,
      anon_sym_COMMA,
    STATE(381), 1,
      sym_comment,
    STATE(384), 1,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(993), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8280] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(323), 1,
      sym_project_property,
    STATE(382), 1,
      sym_comment,
    STATE(504), 1,
      sym_project_property_name,
    STATE(518), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8304] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(486), 1,
      sym_bare_identifier,
    ACTIONS(492), 1,
      sym_quoted_identifier,
    ACTIONS(995), 1,
      aux_sym_with_statement_token2,
    STATE(357), 1,
      sym_cte_definition,
    STATE(383), 1,
      sym_comment,
    STATE(501), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8330] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(997), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(384), 2,
      sym_comment,
      aux_sym_window_order_clause_repeat1,
    ACTIONS(1000), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8350] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(41), 1,
      sym_bare_identifier,
    ACTIONS(55), 1,
      sym_quoted_identifier,
    ACTIONS(1002), 1,
      aux_sym_scale_to_clause_token1,
    STATE(385), 1,
      sym_comment,
    STATE(468), 1,
      sym_identifier,
    STATE(553), 1,
      sym_project_aesthetics,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8376] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(252), 1,
      sym_parameter_assignment,
    STATE(386), 1,
      sym_comment,
    STATE(542), 1,
      sym_parameter_name,
    STATE(548), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8400] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(991), 1,
      anon_sym_COMMA,
    STATE(381), 1,
      aux_sym_window_order_clause_repeat1,
    STATE(387), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1004), 3,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8422] = 8,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(938), 1,
      anon_sym_COMMA,
    ACTIONS(949), 1,
      anon_sym_RPAREN,
    ACTIONS(977), 1,
      aux_sym_select_statement_token1,
    STATE(373), 1,
      aux_sym_with_statement_repeat1,
    STATE(388), 1,
      sym_comment,
    STATE(446), 1,
      sym_select_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8448] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1006), 1,
      anon_sym_SQUOTE,
    STATE(389), 1,
      sym_comment,
    STATE(434), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [8469] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    STATE(390), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(310), 2,
      sym_string,
      sym_null_literal,
  [8490] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(391), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1010), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8507] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(392), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(942), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8524] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(275), 1,
      sym_identifier,
    STATE(314), 1,
      sym_partition_columns,
    STATE(393), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8545] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1012), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(699), 2,
      anon_sym_RPAREN,
      aux_sym_scale_to_clause_token1,
    STATE(394), 2,
      sym_comment,
      aux_sym_cte_definition_repeat1,
  [8564] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1015), 1,
      ts_builtin_sym_end,
    STATE(395), 1,
      sym_comment,
    STATE(400), 1,
      aux_sym_query_repeat1,
    STATE(491), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8587] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(975), 1,
      anon_sym_RPAREN,
    STATE(396), 1,
      sym_comment,
    STATE(561), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8608] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(397), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1017), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [8625] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1021), 1,
      anon_sym_SEMI,
    STATE(398), 1,
      sym_comment,
    STATE(403), 1,
      aux_sym_sql_portion_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1019), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [8646] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1023), 1,
      anon_sym_SQUOTE,
    STATE(399), 1,
      sym_comment,
    STATE(411), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [8667] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1025), 1,
      ts_builtin_sym_end,
    STATE(400), 1,
      sym_comment,
    STATE(404), 1,
      aux_sym_query_repeat1,
    STATE(491), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8690] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(315), 1,
      sym_project_type,
    STATE(316), 1,
      sym_identifier,
    STATE(401), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8711] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(351), 1,
      sym_cte_definition,
    STATE(402), 1,
      sym_comment,
    STATE(501), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8732] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1029), 1,
      anon_sym_SEMI,
    STATE(403), 1,
      sym_comment,
    STATE(413), 1,
      aux_sym_sql_portion_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1027), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [8753] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1031), 1,
      ts_builtin_sym_end,
    ACTIONS(1033), 1,
      sym_visualise_keyword,
    STATE(491), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(404), 2,
      sym_comment,
      aux_sym_query_repeat1,
  [8774] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(263), 1,
      sym_identifier,
    STATE(274), 1,
      sym_facet_vars,
    STATE(405), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8795] = 7,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(31), 1,
      sym_visualise_keyword,
    ACTIONS(1015), 1,
      ts_builtin_sym_end,
    STATE(404), 1,
      aux_sym_query_repeat1,
    STATE(406), 1,
      sym_comment,
    STATE(491), 1,
      sym_visualise_statement,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [8818] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(359), 1,
      sym_identifier,
    STATE(387), 1,
      sym_order_item,
    STATE(407), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1036), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8839] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(983), 1,
      aux_sym_sql_keyword_token46,
    STATE(408), 1,
      sym_comment,
    STATE(528), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(981), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [8860] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(263), 1,
      sym_identifier,
    STATE(309), 1,
      sym_facet_vars,
    STATE(409), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8881] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1038), 1,
      anon_sym_RPAREN,
    STATE(410), 1,
      sym_comment,
    STATE(502), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [8902] = 5,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1040), 1,
      anon_sym_SQUOTE,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1042), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
    STATE(411), 2,
      sym_comment,
      aux_sym_string_repeat1,
  [8921] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1045), 1,
      anon_sym_COMMA,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1048), 2,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
    STATE(412), 2,
      sym_comment,
      aux_sym_array_repeat1,
  [8940] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1052), 1,
      anon_sym_SEMI,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1050), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
    STATE(413), 2,
      sym_comment,
      aux_sym_sql_portion_repeat1,
  [8959] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(316), 1,
      sym_identifier,
    STATE(321), 1,
      sym_project_type,
    STATE(414), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [8980] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(520), 1,
      anon_sym_SQUOTE,
    ACTIONS(796), 1,
      aux_sym_filter_token_token2,
    STATE(415), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(312), 2,
      sym_string,
      sym_null_literal,
  [9001] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(359), 1,
      sym_identifier,
    STATE(416), 1,
      sym_comment,
    STATE(420), 1,
      sym_order_item,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1036), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9022] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1055), 1,
      anon_sym_SQUOTE,
    STATE(399), 1,
      aux_sym_string_repeat1,
    STATE(417), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9043] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1057), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(418), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9064] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(983), 1,
      aux_sym_sql_keyword_token46,
    STATE(419), 1,
      sym_comment,
    STATE(517), 1,
      sym_frame_bound,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(981), 2,
      aux_sym_sql_keyword_token43,
      sym_number,
  [9085] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(420), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1000), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9102] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(369), 1,
      sym_cte_definition,
    STATE(421), 1,
      sym_comment,
    STATE(501), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9123] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(969), 1,
      anon_sym_RPAREN,
    STATE(422), 1,
      sym_comment,
    STATE(505), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9144] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1059), 1,
      anon_sym_RPAREN,
    STATE(423), 1,
      sym_comment,
    STATE(506), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9165] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1061), 1,
      anon_sym_SQUOTE,
    STATE(424), 1,
      sym_comment,
    STATE(425), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9186] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1063), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(425), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9207] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(426), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1065), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9224] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(963), 1,
      anon_sym_RPAREN,
    STATE(427), 1,
      sym_comment,
    STATE(521), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9245] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_RPAREN,
    STATE(428), 1,
      sym_comment,
    STATE(522), 1,
      sym_frame_clause,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(918), 2,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9266] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1069), 1,
      anon_sym_SQUOTE,
    STATE(429), 1,
      sym_comment,
    STATE(430), 1,
      aux_sym_string_repeat1,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9287] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1071), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(430), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9308] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1073), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9329] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1075), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(432), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9350] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(433), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1077), 4,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token41,
      aux_sym_sql_keyword_token42,
  [9367] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1079), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(434), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9388] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1081), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9409] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1083), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(436), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9430] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1085), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9451] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1087), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(438), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9472] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1089), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9493] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1091), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(440), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9514] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1093), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9535] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1095), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(442), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9556] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1097), 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(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9577] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1099), 1,
      anon_sym_SQUOTE,
    STATE(411), 1,
      aux_sym_string_repeat1,
    STATE(444), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9598] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(376), 1,
      sym_cte_definition,
    STATE(445), 1,
      sym_comment,
    STATE(501), 1,
      sym_identifier,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9619] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(446), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(936), 4,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      anon_sym_RPAREN,
      sym_visualise_keyword,
  [9636] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(447), 1,
      sym_comment,
    STATE(495), 1,
      sym_identifier,
    STATE(560), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9657] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(448), 1,
      sym_comment,
    STATE(495), 1,
      sym_identifier,
    STATE(515), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9678] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(449), 1,
      sym_comment,
    STATE(495), 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,
  [9699] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(450), 1,
      sym_comment,
    STATE(495), 1,
      sym_identifier,
    STATE(527), 1,
      sym_type_name,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9720] = 6,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1101), 1,
      anon_sym_SQUOTE,
    STATE(418), 1,
      aux_sym_string_repeat1,
    STATE(451), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1008), 2,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9741] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(158), 1,
      sym_identifier,
    STATE(452), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(599), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9759] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(43), 1,
      sym_identifier,
    STATE(453), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9777] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(90), 1,
      sym_identifier,
    STATE(454), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(128), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9795] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(455), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1103), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [9811] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(88), 1,
      sym_identifier,
    STATE(456), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(128), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9829] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(155), 1,
      sym_identifier,
    STATE(457), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(728), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9847] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    STATE(458), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1105), 3,
      anon_sym_SQUOTE,
      aux_sym_string_token1,
      aux_sym_string_token2,
  [9863] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(364), 1,
      sym_identifier,
    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,
  [9881] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(326), 1,
      sym_identifier,
    STATE(460), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9899] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(207), 1,
      sym_identifier,
    STATE(461), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9917] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(66), 1,
      sym_identifier,
    STATE(462), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1107), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9935] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1109), 1,
      anon_sym_COMMA,
    ACTIONS(1111), 1,
      anon_sym_RPAREN,
    STATE(463), 1,
      sym_comment,
    STATE(469), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [9955] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(207), 1,
      sym_identifier,
    STATE(464), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9973] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(155), 1,
      sym_identifier,
    STATE(465), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [9991] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(466), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1050), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10007] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1113), 1,
      anon_sym_COMMA,
    ACTIONS(1115), 1,
      anon_sym_RBRACK,
    STATE(467), 1,
      sym_comment,
    STATE(475), 1,
      aux_sym_array_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10027] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1109), 1,
      anon_sym_COMMA,
    ACTIONS(1117), 1,
      aux_sym_scale_to_clause_token1,
    STATE(468), 1,
      sym_comment,
    STATE(471), 1,
      aux_sym_cte_definition_repeat1,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10047] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1109), 1,
      anon_sym_COMMA,
    ACTIONS(1119), 1,
      anon_sym_RPAREN,
    STATE(394), 1,
      aux_sym_cte_definition_repeat1,
    STATE(469), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10067] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1113), 1,
      anon_sym_COMMA,
    ACTIONS(1121), 1,
      anon_sym_RPAREN,
    STATE(412), 1,
      aux_sym_array_repeat1,
    STATE(470), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10087] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1109), 1,
      anon_sym_COMMA,
    ACTIONS(1123), 1,
      aux_sym_scale_to_clause_token1,
    STATE(394), 1,
      aux_sym_cte_definition_repeat1,
    STATE(471), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10107] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1113), 1,
      anon_sym_COMMA,
    ACTIONS(1115), 1,
      anon_sym_RPAREN,
    STATE(470), 1,
      aux_sym_array_repeat1,
    STATE(472), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10127] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1125), 1,
      anon_sym_COMMA,
    ACTIONS(1128), 1,
      anon_sym_RPAREN,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    STATE(473), 2,
      sym_comment,
      aux_sym_function_args_repeat1,
  [10145] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(44), 1,
      sym_identifier,
    STATE(474), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10163] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1113), 1,
      anon_sym_COMMA,
    ACTIONS(1121), 1,
      anon_sym_RBRACK,
    STATE(412), 1,
      aux_sym_array_repeat1,
    STATE(475), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10183] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(794), 1,
      anon_sym_LPAREN,
    ACTIONS(802), 1,
      anon_sym_LBRACK,
    STATE(269), 1,
      sym_array,
    STATE(476), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10203] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1132), 1,
      anon_sym_RPAREN,
    STATE(473), 1,
      aux_sym_function_args_repeat1,
    STATE(477), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10223] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(292), 1,
      sym_identifier,
    STATE(478), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10241] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(463), 1,
      sym_identifier,
    STATE(479), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(55), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10259] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(33), 1,
      sym_identifier,
    STATE(480), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1134), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10277] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(481), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1136), 3,
      ts_builtin_sym_end,
      anon_sym_SEMI,
      sym_visualise_keyword,
  [10293] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(325), 1,
      sym_identifier,
    STATE(482), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(492), 2,
      sym_bare_identifier,
      sym_quoted_identifier,
  [10311] = 6,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1130), 1,
      anon_sym_COMMA,
    ACTIONS(1138), 1,
      anon_sym_RPAREN,
    STATE(477), 1,
      aux_sym_function_args_repeat1,
    STATE(483), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10331] = 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(1140), 3,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
  [10347] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(485), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1048), 3,
      anon_sym_COMMA,
      anon_sym_RPAREN,
      anon_sym_RBRACK,
  [10363] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(486), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1128), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [10378] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1142), 1,
      anon_sym_LPAREN,
    STATE(92), 1,
      sym_window_specification,
    STATE(487), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10395] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      anon_sym_LPAREN,
    STATE(103), 1,
      sym_window_specification,
    STATE(488), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10412] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1142), 1,
      anon_sym_LPAREN,
    STATE(75), 1,
      sym_window_specification,
    STATE(489), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10429] = 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(1146), 2,
      aux_sym_sql_keyword_token44,
      aux_sym_sql_keyword_token45,
  [10444] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(491), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1148), 2,
      ts_builtin_sym_end,
      sym_visualise_keyword,
  [10459] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1150), 1,
      anon_sym_COMMA,
    ACTIONS(1152), 1,
      anon_sym_RPAREN,
    STATE(492), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10476] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1144), 1,
      anon_sym_LPAREN,
    STATE(100), 1,
      sym_window_specification,
    STATE(493), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10493] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(494), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1154), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10508] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1156), 1,
      anon_sym_LPAREN,
    ACTIONS(1158), 1,
      anon_sym_RPAREN,
    STATE(495), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10525] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(496), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1160), 2,
      aux_sym_sql_keyword_token49,
      aux_sym_sql_keyword_token50,
  [10540] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(497), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(1162), 2,
      anon_sym_RPAREN,
      aux_sym_sql_keyword_token13,
  [10555] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1164), 1,
      anon_sym_LPAREN,
    STATE(58), 1,
      sym_window_specification,
    STATE(498), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10572] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1164), 1,
      anon_sym_LPAREN,
    STATE(54), 1,
      sym_window_specification,
    STATE(499), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10589] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    STATE(500), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
    ACTIONS(716), 2,
      anon_sym_COMMA,
      anon_sym_RPAREN,
  [10604] = 5,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1166), 1,
      anon_sym_LPAREN,
    ACTIONS(1168), 1,
      aux_sym_cte_definition_token1,
    STATE(501), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10621] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1170), 1,
      anon_sym_RPAREN,
    STATE(502), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10635] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(969), 1,
      anon_sym_RPAREN,
    STATE(503), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10649] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1172), 1,
      anon_sym_EQ_GT,
    STATE(504), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10663] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1059), 1,
      anon_sym_RPAREN,
    STATE(505), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10677] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1174), 1,
      anon_sym_RPAREN,
    STATE(506), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10691] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(975), 1,
      anon_sym_RPAREN,
    STATE(507), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10705] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1176), 1,
      anon_sym_RPAREN,
    STATE(508), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10719] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1178), 1,
      anon_sym_RPAREN,
    STATE(509), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10733] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1180), 1,
      aux_sym_sql_keyword_token22,
    STATE(510), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10747] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1182), 1,
      anon_sym_EQ_GT,
    STATE(511), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10761] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1184), 1,
      anon_sym_RPAREN,
    STATE(512), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10775] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1186), 1,
      aux_sym_sql_keyword_token22,
    STATE(513), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10789] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1188), 1,
      anon_sym_RPAREN,
    STATE(514), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10803] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1190), 1,
      anon_sym_RPAREN,
    STATE(515), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10817] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1192), 1,
      anon_sym_LPAREN,
    STATE(516), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10831] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1194), 1,
      anon_sym_RPAREN,
    STATE(517), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10845] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1196), 1,
      anon_sym_EQ_GT,
    STATE(518), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10859] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(963), 1,
      anon_sym_RPAREN,
    STATE(519), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10873] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1198), 1,
      sym_number,
    STATE(520), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10887] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1067), 1,
      anon_sym_RPAREN,
    STATE(521), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10901] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1200), 1,
      anon_sym_RPAREN,
    STATE(522), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10915] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1202), 1,
      anon_sym_RPAREN,
    STATE(523), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10929] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1204), 1,
      anon_sym_RPAREN,
    STATE(524), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10943] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1206), 1,
      anon_sym_RPAREN,
    STATE(525), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10957] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1208), 1,
      aux_sym_cte_definition_token1,
    STATE(526), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10971] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1210), 1,
      anon_sym_RPAREN,
    STATE(527), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10985] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1212), 1,
      aux_sym_sql_keyword_token13,
    STATE(528), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [10999] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1214), 1,
      anon_sym_RPAREN,
    STATE(529), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11013] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1216), 1,
      aux_sym_cte_definition_token1,
    STATE(530), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11027] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1218), 1,
      aux_sym_comment_token1,
    STATE(531), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11041] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1220), 1,
      anon_sym_RPAREN,
    STATE(532), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11055] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1222), 1,
      anon_sym_RPAREN,
    STATE(533), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11069] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1224), 1,
      aux_sym_cte_definition_token1,
    STATE(534), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11083] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1226), 1,
      anon_sym_RPAREN,
    STATE(535), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11097] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1228), 1,
      anon_sym_RPAREN,
    STATE(536), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11111] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1230), 1,
      anon_sym_EQ_GT,
    STATE(537), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11125] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1232), 1,
      anon_sym_RPAREN,
    STATE(538), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11139] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1234), 1,
      ts_builtin_sym_end,
    STATE(539), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11153] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1236), 1,
      anon_sym_RPAREN,
    STATE(540), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11167] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1238), 1,
      anon_sym_RPAREN,
    STATE(541), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11181] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1240), 1,
      anon_sym_EQ_GT,
    STATE(542), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11195] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1242), 1,
      anon_sym_LPAREN,
    STATE(543), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11209] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1244), 1,
      aux_sym_sql_keyword_token22,
    STATE(544), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11223] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1246), 1,
      aux_sym_cte_definition_token1,
    STATE(545), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11237] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1248), 1,
      anon_sym_RPAREN,
    STATE(546), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11251] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1250), 1,
      anon_sym_RPAREN,
    STATE(547), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11265] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1252), 1,
      anon_sym_EQ_GT,
    STATE(548), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11279] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1146), 1,
      aux_sym_sql_keyword_token47,
    STATE(549), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11293] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1254), 1,
      anon_sym_RPAREN,
    STATE(550), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11307] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1256), 1,
      anon_sym_SLASH,
    STATE(551), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11321] = 4,
    ACTIONS(37), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1258), 1,
      aux_sym_comment_token2,
    STATE(552), 1,
      sym_comment,
    ACTIONS(35), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11335] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1260), 1,
      aux_sym_scale_to_clause_token1,
    STATE(553), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11349] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1262), 1,
      anon_sym_RPAREN,
    STATE(554), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11363] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1264), 1,
      aux_sym_sql_keyword_token22,
    STATE(555), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11377] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1266), 1,
      anon_sym_RPAREN,
    STATE(556), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11391] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1268), 1,
      anon_sym_LPAREN,
    STATE(557), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11405] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1270), 1,
      anon_sym_EQ_GT,
    STATE(558), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11419] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1272), 1,
      anon_sym_RPAREN,
    STATE(559), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11433] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1274), 1,
      anon_sym_RPAREN,
    STATE(560), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11447] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1038), 1,
      anon_sym_RPAREN,
    STATE(561), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11461] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1276), 1,
      anon_sym_RPAREN,
    STATE(562), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11475] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1278), 1,
      anon_sym_LPAREN,
    STATE(563), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11489] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1280), 1,
      aux_sym_cte_definition_token1,
    STATE(564), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11503] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1282), 1,
      anon_sym_LPAREN,
    STATE(565), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11517] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1284), 1,
      anon_sym_LPAREN,
    STATE(566), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11531] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1286), 1,
      anon_sym_LPAREN,
    STATE(567), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11545] = 4,
    ACTIONS(5), 1,
      anon_sym_SLASH_STAR,
    ACTIONS(1288), 1,
      sym_number,
    STATE(568), 1,
      sym_comment,
    ACTIONS(3), 2,
      anon_sym_SLASH_SLASH,
      anon_sym_DASH_DASH,
  [11559] = 1,
    ACTIONS(1290), 1,
      ts_builtin_sym_end,
  [11563] = 1,
    ACTIONS(1292), 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)] = 529,
  [SMALL_STATE(147)] = 604,
  [SMALL_STATE(148)] = 673,
  [SMALL_STATE(149)] = 742,
  [SMALL_STATE(150)] = 803,
  [SMALL_STATE(151)] = 859,
  [SMALL_STATE(152)] = 963,
  [SMALL_STATE(153)] = 1009,
  [SMALL_STATE(154)] = 1055,
  [SMALL_STATE(155)] = 1101,
  [SMALL_STATE(156)] = 1145,
  [SMALL_STATE(157)] = 1193,
  [SMALL_STATE(158)] = 1237,
  [SMALL_STATE(159)] = 1280,
  [SMALL_STATE(160)] = 1330,
  [SMALL_STATE(161)] = 1382,
  [SMALL_STATE(162)] = 1426,
  [SMALL_STATE(163)] = 1488,
  [SMALL_STATE(164)] = 1523,
  [SMALL_STATE(165)] = 1558,
  [SMALL_STATE(166)] = 1615,
  [SMALL_STATE(167)] = 1650,
  [SMALL_STATE(168)] = 1685,
  [SMALL_STATE(169)] = 1744,
  [SMALL_STATE(170)] = 1779,
  [SMALL_STATE(171)] = 1835,
  [SMALL_STATE(172)] = 1891,
  [SMALL_STATE(173)] = 1947,
  [SMALL_STATE(174)] = 2001,
  [SMALL_STATE(175)] = 2057,
  [SMALL_STATE(176)] = 2097,
  [SMALL_STATE(177)] = 2153,
  [SMALL_STATE(178)] = 2204,
  [SMALL_STATE(179)] = 2255,
  [SMALL_STATE(180)] = 2306,
  [SMALL_STATE(181)] = 2337,
  [SMALL_STATE(182)] = 2390,
  [SMALL_STATE(183)] = 2429,
  [SMALL_STATE(184)] = 2465,
  [SMALL_STATE(185)] = 2497,
  [SMALL_STATE(186)] = 2531,
  [SMALL_STATE(187)] = 2581,
  [SMALL_STATE(188)] = 2611,
  [SMALL_STATE(189)] = 2643,
  [SMALL_STATE(190)] = 2675,
  [SMALL_STATE(191)] = 2707,
  [SMALL_STATE(192)] = 2739,
  [SMALL_STATE(193)] = 2771,
  [SMALL_STATE(194)] = 2803,
  [SMALL_STATE(195)] = 2835,
  [SMALL_STATE(196)] = 2866,
  [SMALL_STATE(197)] = 2899,
  [SMALL_STATE(198)] = 2928,
  [SMALL_STATE(199)] = 2975,
  [SMALL_STATE(200)] = 3022,
  [SMALL_STATE(201)] = 3069,
  [SMALL_STATE(202)] = 3114,
  [SMALL_STATE(203)] = 3157,
  [SMALL_STATE(204)] = 3202,
  [SMALL_STATE(205)] = 3247,
  [SMALL_STATE(206)] = 3292,
  [SMALL_STATE(207)] = 3321,
  [SMALL_STATE(208)] = 3350,
  [SMALL_STATE(209)] = 3383,
  [SMALL_STATE(210)] = 3412,
  [SMALL_STATE(211)] = 3459,
  [SMALL_STATE(212)] = 3506,
  [SMALL_STATE(213)] = 3537,
  [SMALL_STATE(214)] = 3570,
  [SMALL_STATE(215)] = 3615,
  [SMALL_STATE(216)] = 3646,
  [SMALL_STATE(217)] = 3679,
  [SMALL_STATE(218)] = 3708,
  [SMALL_STATE(219)] = 3740,
  [SMALL_STATE(220)] = 3784,
  [SMALL_STATE(221)] = 3828,
  [SMALL_STATE(222)] = 3872,
  [SMALL_STATE(223)] = 3916,
  [SMALL_STATE(224)] = 3948,
  [SMALL_STATE(225)] = 3976,
  [SMALL_STATE(226)] = 4008,
  [SMALL_STATE(227)] = 4036,
  [SMALL_STATE(228)] = 4064,
  [SMALL_STATE(229)] = 4108,
  [SMALL_STATE(230)] = 4140,
  [SMALL_STATE(231)] = 4170,
  [SMALL_STATE(232)] = 4198,
  [SMALL_STATE(233)] = 4230,
  [SMALL_STATE(234)] = 4262,
  [SMALL_STATE(235)] = 4306,
  [SMALL_STATE(236)] = 4350,
  [SMALL_STATE(237)] = 4382,
  [SMALL_STATE(238)] = 4415,
  [SMALL_STATE(239)] = 4454,
  [SMALL_STATE(240)] = 4493,
  [SMALL_STATE(241)] = 4532,
  [SMALL_STATE(242)] = 4561,
  [SMALL_STATE(243)] = 4592,
  [SMALL_STATE(244)] = 4631,
  [SMALL_STATE(245)] = 4670,
  [SMALL_STATE(246)] = 4697,
  [SMALL_STATE(247)] = 4728,
  [SMALL_STATE(248)] = 4767,
  [SMALL_STATE(249)] = 4796,
  [SMALL_STATE(250)] = 4832,
  [SMALL_STATE(251)] = 4868,
  [SMALL_STATE(252)] = 4894,
  [SMALL_STATE(253)] = 4920,
  [SMALL_STATE(254)] = 4958,
  [SMALL_STATE(255)] = 4984,
  [SMALL_STATE(256)] = 5010,
  [SMALL_STATE(257)] = 5038,
  [SMALL_STATE(258)] = 5064,
  [SMALL_STATE(259)] = 5092,
  [SMALL_STATE(260)] = 5119,
  [SMALL_STATE(261)] = 5152,
  [SMALL_STATE(262)] = 5181,
  [SMALL_STATE(263)] = 5206,
  [SMALL_STATE(264)] = 5235,
  [SMALL_STATE(265)] = 5274,
  [SMALL_STATE(266)] = 5307,
  [SMALL_STATE(267)] = 5340,
  [SMALL_STATE(268)] = 5373,
  [SMALL_STATE(269)] = 5406,
  [SMALL_STATE(270)] = 5431,
  [SMALL_STATE(271)] = 5464,
  [SMALL_STATE(272)] = 5497,
  [SMALL_STATE(273)] = 5530,
  [SMALL_STATE(274)] = 5569,
  [SMALL_STATE(275)] = 5599,
  [SMALL_STATE(276)] = 5627,
  [SMALL_STATE(277)] = 5655,
  [SMALL_STATE(278)] = 5679,
  [SMALL_STATE(279)] = 5706,
  [SMALL_STATE(280)] = 5731,
  [SMALL_STATE(281)] = 5758,
  [SMALL_STATE(282)] = 5785,
  [SMALL_STATE(283)] = 5812,
  [SMALL_STATE(284)] = 5849,
  [SMALL_STATE(285)] = 5876,
  [SMALL_STATE(286)] = 5903,
  [SMALL_STATE(287)] = 5938,
  [SMALL_STATE(288)] = 5961,
  [SMALL_STATE(289)] = 5996,
  [SMALL_STATE(290)] = 6023,
  [SMALL_STATE(291)] = 6050,
  [SMALL_STATE(292)] = 6075,
  [SMALL_STATE(293)] = 6098,
  [SMALL_STATE(294)] = 6125,
  [SMALL_STATE(295)] = 6152,
  [SMALL_STATE(296)] = 6189,
  [SMALL_STATE(297)] = 6214,
  [SMALL_STATE(298)] = 6241,
  [SMALL_STATE(299)] = 6278,
  [SMALL_STATE(300)] = 6305,
  [SMALL_STATE(301)] = 6332,
  [SMALL_STATE(302)] = 6359,
  [SMALL_STATE(303)] = 6386,
  [SMALL_STATE(304)] = 6413,
  [SMALL_STATE(305)] = 6450,
  [SMALL_STATE(306)] = 6477,
  [SMALL_STATE(307)] = 6502,
  [SMALL_STATE(308)] = 6529,
  [SMALL_STATE(309)] = 6556,
  [SMALL_STATE(310)] = 6583,
  [SMALL_STATE(311)] = 6605,
  [SMALL_STATE(312)] = 6627,
  [SMALL_STATE(313)] = 6649,
  [SMALL_STATE(314)] = 6671,
  [SMALL_STATE(315)] = 6693,
  [SMALL_STATE(316)] = 6717,
  [SMALL_STATE(317)] = 6739,
  [SMALL_STATE(318)] = 6761,
  [SMALL_STATE(319)] = 6793,
  [SMALL_STATE(320)] = 6815,
  [SMALL_STATE(321)] = 6837,
  [SMALL_STATE(322)] = 6861,
  [SMALL_STATE(323)] = 6883,
  [SMALL_STATE(324)] = 6905,
  [SMALL_STATE(325)] = 6927,
  [SMALL_STATE(326)] = 6949,
  [SMALL_STATE(327)] = 6971,
  [SMALL_STATE(328)] = 6992,
  [SMALL_STATE(329)] = 7013,
  [SMALL_STATE(330)] = 7034,
  [SMALL_STATE(331)] = 7055,
  [SMALL_STATE(332)] = 7076,
  [SMALL_STATE(333)] = 7097,
  [SMALL_STATE(334)] = 7118,
  [SMALL_STATE(335)] = 7139,
  [SMALL_STATE(336)] = 7160,
  [SMALL_STATE(337)] = 7193,
  [SMALL_STATE(338)] = 7214,
  [SMALL_STATE(339)] = 7235,
  [SMALL_STATE(340)] = 7256,
  [SMALL_STATE(341)] = 7289,
  [SMALL_STATE(342)] = 7322,
  [SMALL_STATE(343)] = 7343,
  [SMALL_STATE(344)] = 7364,
  [SMALL_STATE(345)] = 7385,
  [SMALL_STATE(346)] = 7406,
  [SMALL_STATE(347)] = 7427,
  [SMALL_STATE(348)] = 7448,
  [SMALL_STATE(349)] = 7469,
  [SMALL_STATE(350)] = 7490,
  [SMALL_STATE(351)] = 7518,
  [SMALL_STATE(352)] = 7546,
  [SMALL_STATE(353)] = 7574,
  [SMALL_STATE(354)] = 7594,
  [SMALL_STATE(355)] = 7622,
  [SMALL_STATE(356)] = 7644,
  [SMALL_STATE(357)] = 7672,
  [SMALL_STATE(358)] = 7700,
  [SMALL_STATE(359)] = 7728,
  [SMALL_STATE(360)] = 7752,
  [SMALL_STATE(361)] = 7780,
  [SMALL_STATE(362)] = 7803,
  [SMALL_STATE(363)] = 7828,
  [SMALL_STATE(364)] = 7855,
  [SMALL_STATE(365)] = 7878,
  [SMALL_STATE(366)] = 7897,
  [SMALL_STATE(367)] = 7924,
  [SMALL_STATE(368)] = 7951,
  [SMALL_STATE(369)] = 7970,
  [SMALL_STATE(370)] = 7989,
  [SMALL_STATE(371)] = 8008,
  [SMALL_STATE(372)] = 8035,
  [SMALL_STATE(373)] = 8062,
  [SMALL_STATE(374)] = 8088,
  [SMALL_STATE(375)] = 8112,
  [SMALL_STATE(376)] = 8136,
  [SMALL_STATE(377)] = 8162,
  [SMALL_STATE(378)] = 8188,
  [SMALL_STATE(379)] = 8214,
  [SMALL_STATE(380)] = 8234,
  [SMALL_STATE(381)] = 8258,
  [SMALL_STATE(382)] = 8280,
  [SMALL_STATE(383)] = 8304,
  [SMALL_STATE(384)] = 8330,
  [SMALL_STATE(385)] = 8350,
  [SMALL_STATE(386)] = 8376,
  [SMALL_STATE(387)] = 8400,
  [SMALL_STATE(388)] = 8422,
  [SMALL_STATE(389)] = 8448,
  [SMALL_STATE(390)] = 8469,
  [SMALL_STATE(391)] = 8490,
  [SMALL_STATE(392)] = 8507,
  [SMALL_STATE(393)] = 8524,
  [SMALL_STATE(394)] = 8545,
  [SMALL_STATE(395)] = 8564,
  [SMALL_STATE(396)] = 8587,
  [SMALL_STATE(397)] = 8608,
  [SMALL_STATE(398)] = 8625,
  [SMALL_STATE(399)] = 8646,
  [SMALL_STATE(400)] = 8667,
  [SMALL_STATE(401)] = 8690,
  [SMALL_STATE(402)] = 8711,
  [SMALL_STATE(403)] = 8732,
  [SMALL_STATE(404)] = 8753,
  [SMALL_STATE(405)] = 8774,
  [SMALL_STATE(406)] = 8795,
  [SMALL_STATE(407)] = 8818,
  [SMALL_STATE(408)] = 8839,
  [SMALL_STATE(409)] = 8860,
  [SMALL_STATE(410)] = 8881,
  [SMALL_STATE(411)] = 8902,
  [SMALL_STATE(412)] = 8921,
  [SMALL_STATE(413)] = 8940,
  [SMALL_STATE(414)] = 8959,
  [SMALL_STATE(415)] = 8980,
  [SMALL_STATE(416)] = 9001,
  [SMALL_STATE(417)] = 9022,
  [SMALL_STATE(418)] = 9043,
  [SMALL_STATE(419)] = 9064,
  [SMALL_STATE(420)] = 9085,
  [SMALL_STATE(421)] = 9102,
  [SMALL_STATE(422)] = 9123,
  [SMALL_STATE(423)] = 9144,
  [SMALL_STATE(424)] = 9165,
  [SMALL_STATE(425)] = 9186,
  [SMALL_STATE(426)] = 9207,
  [SMALL_STATE(427)] = 9224,
  [SMALL_STATE(428)] = 9245,
  [SMALL_STATE(429)] = 9266,
  [SMALL_STATE(430)] = 9287,
  [SMALL_STATE(431)] = 9308,
  [SMALL_STATE(432)] = 9329,
  [SMALL_STATE(433)] = 9350,
  [SMALL_STATE(434)] = 9367,
  [SMALL_STATE(435)] = 9388,
  [SMALL_STATE(436)] = 9409,
  [SMALL_STATE(437)] = 9430,
  [SMALL_STATE(438)] = 9451,
  [SMALL_STATE(439)] = 9472,
  [SMALL_STATE(440)] = 9493,
  [SMALL_STATE(441)] = 9514,
  [SMALL_STATE(442)] = 9535,
  [SMALL_STATE(443)] = 9556,
  [SMALL_STATE(444)] = 9577,
  [SMALL_STATE(445)] = 9598,
  [SMALL_STATE(446)] = 9619,
  [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)] = 9759,
  [SMALL_STATE(454)] = 9777,
  [SMALL_STATE(455)] = 9795,
  [SMALL_STATE(456)] = 9811,
  [SMALL_STATE(457)] = 9829,
  [SMALL_STATE(458)] = 9847,
  [SMALL_STATE(459)] = 9863,
  [SMALL_STATE(460)] = 9881,
  [SMALL_STATE(461)] = 9899,
  [SMALL_STATE(462)] = 9917,
  [SMALL_STATE(463)] = 9935,
  [SMALL_STATE(464)] = 9955,
  [SMALL_STATE(465)] = 9973,
  [SMALL_STATE(466)] = 9991,
  [SMALL_STATE(467)] = 10007,
  [SMALL_STATE(468)] = 10027,
  [SMALL_STATE(469)] = 10047,
  [SMALL_STATE(470)] = 10067,
  [SMALL_STATE(471)] = 10087,
  [SMALL_STATE(472)] = 10107,
  [SMALL_STATE(473)] = 10127,
  [SMALL_STATE(474)] = 10145,
  [SMALL_STATE(475)] = 10163,
  [SMALL_STATE(476)] = 10183,
  [SMALL_STATE(477)] = 10203,
  [SMALL_STATE(478)] = 10223,
  [SMALL_STATE(479)] = 10241,
  [SMALL_STATE(480)] = 10259,
  [SMALL_STATE(481)] = 10277,
  [SMALL_STATE(482)] = 10293,
  [SMALL_STATE(483)] = 10311,
  [SMALL_STATE(484)] = 10331,
  [SMALL_STATE(485)] = 10347,
  [SMALL_STATE(486)] = 10363,
  [SMALL_STATE(487)] = 10378,
  [SMALL_STATE(488)] = 10395,
  [SMALL_STATE(489)] = 10412,
  [SMALL_STATE(490)] = 10429,
  [SMALL_STATE(491)] = 10444,
  [SMALL_STATE(492)] = 10459,
  [SMALL_STATE(493)] = 10476,
  [SMALL_STATE(494)] = 10493,
  [SMALL_STATE(495)] = 10508,
  [SMALL_STATE(496)] = 10525,
  [SMALL_STATE(497)] = 10540,
  [SMALL_STATE(498)] = 10555,
  [SMALL_STATE(499)] = 10572,
  [SMALL_STATE(500)] = 10589,
  [SMALL_STATE(501)] = 10604,
  [SMALL_STATE(502)] = 10621,
  [SMALL_STATE(503)] = 10635,
  [SMALL_STATE(504)] = 10649,
  [SMALL_STATE(505)] = 10663,
  [SMALL_STATE(506)] = 10677,
  [SMALL_STATE(507)] = 10691,
  [SMALL_STATE(508)] = 10705,
  [SMALL_STATE(509)] = 10719,
  [SMALL_STATE(510)] = 10733,
  [SMALL_STATE(511)] = 10747,
  [SMALL_STATE(512)] = 10761,
  [SMALL_STATE(513)] = 10775,
  [SMALL_STATE(514)] = 10789,
  [SMALL_STATE(515)] = 10803,
  [SMALL_STATE(516)] = 10817,
  [SMALL_STATE(517)] = 10831,
  [SMALL_STATE(518)] = 10845,
  [SMALL_STATE(519)] = 10859,
  [SMALL_STATE(520)] = 10873,
  [SMALL_STATE(521)] = 10887,
  [SMALL_STATE(522)] = 10901,
  [SMALL_STATE(523)] = 10915,
  [SMALL_STATE(524)] = 10929,
  [SMALL_STATE(525)] = 10943,
  [SMALL_STATE(526)] = 10957,
  [SMALL_STATE(527)] = 10971,
  [SMALL_STATE(528)] = 10985,
  [SMALL_STATE(529)] = 10999,
  [SMALL_STATE(530)] = 11013,
  [SMALL_STATE(531)] = 11027,
  [SMALL_STATE(532)] = 11041,
  [SMALL_STATE(533)] = 11055,
  [SMALL_STATE(534)] = 11069,
  [SMALL_STATE(535)] = 11083,
  [SMALL_STATE(536)] = 11097,
  [SMALL_STATE(537)] = 11111,
  [SMALL_STATE(538)] = 11125,
  [SMALL_STATE(539)] = 11139,
  [SMALL_STATE(540)] = 11153,
  [SMALL_STATE(541)] = 11167,
  [SMALL_STATE(542)] = 11181,
  [SMALL_STATE(543)] = 11195,
  [SMALL_STATE(544)] = 11209,
  [SMALL_STATE(545)] = 11223,
  [SMALL_STATE(546)] = 11237,
  [SMALL_STATE(547)] = 11251,
  [SMALL_STATE(548)] = 11265,
  [SMALL_STATE(549)] = 11279,
  [SMALL_STATE(550)] = 11293,
  [SMALL_STATE(551)] = 11307,
  [SMALL_STATE(552)] = 11321,
  [SMALL_STATE(553)] = 11335,
  [SMALL_STATE(554)] = 11349,
  [SMALL_STATE(555)] = 11363,
  [SMALL_STATE(556)] = 11377,
  [SMALL_STATE(557)] = 11391,
  [SMALL_STATE(558)] = 11405,
  [SMALL_STATE(559)] = 11419,
  [SMALL_STATE(560)] = 11433,
  [SMALL_STATE(561)] = 11447,
  [SMALL_STATE(562)] = 11461,
  [SMALL_STATE(563)] = 11475,
  [SMALL_STATE(564)] = 11489,
  [SMALL_STATE(565)] = 11503,
  [SMALL_STATE(566)] = 11517,
  [SMALL_STATE(567)] = 11531,
  [SMALL_STATE(568)] = 11545,
  [SMALL_STATE(569)] = 11559,
  [SMALL_STATE(570)] = 11563,
};

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(531),
  [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(552),
  [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 0, 0, 0),
  [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
  [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
  [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134),
  [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(383),
  [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(120),
  [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
  [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
  [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
  [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
  [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(417),
  [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(531),
  [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(552),
  [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_body, 1, 0, 0),
  [41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24),
  [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
  [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61),
  [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
  [49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(563),
  [51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11),
  [53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55),
  [55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
  [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(451),
  [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0),
  [61] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(24),
  [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(61),
  [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(61),
  [70] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(16),
  [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(563),
  [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(55),
  [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(24),
  [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(451),
  [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [90] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110),
  [92] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
  [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114),
  [96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(114),
  [98] = {.entry = {.count = 1, .reusable = false}}, SHIFT(378),
  [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
  [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 1, 0, 0),
  [104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(565),
  [106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109),
  [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(424),
  [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(81),
  [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
  [118] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74),
  [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
  [122] = {.entry = {.count = 1, .reusable = false}}, SHIFT(566),
  [124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
  [126] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78),
  [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
  [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(437),
  [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(81),
  [135] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(74),
  [138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(74),
  [141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(21),
  [144] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(566),
  [147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(14),
  [150] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(78),
  [153] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(81),
  [156] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 2, 0, 0), SHIFT_REPEAT(437),
  [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35),
  [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_sql_keyword, 1, 0, 0),
  [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
  [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
  [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(435),
  [171] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0), REDUCE(sym_sql_portion, 3, 0, 0),
  [174] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 1, 0, 0),
  [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70),
  [178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
  [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
  [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(441),
  [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1, 0, 0),
  [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1, 0, 0),
  [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0),
  [192] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(480),
  [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [197] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 1, 0, 0),
  [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(480),
  [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2, 0, 0),
  [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2, 0, 0),
  [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 1),
  [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 1),
  [209] = {.entry = {.count = 1, .reusable = false}}, SHIFT(453),
  [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 1, 0, 0),
  [213] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 1, 0, 0),
  [215] = {.entry = {.count = 1, .reusable = false}}, SHIFT(474),
  [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3, 0, 0),
  [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3, 0, 0),
  [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_qualified_name, 2, 0, 0),
  [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 2, 0, 0),
  [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 2, 0, 0),
  [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(304),
  [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0),
  [235] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(304),
  [238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery, 3, 0, 0),
  [240] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subquery, 3, 0, 0),
  [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_from_clause, 3, 0, 0),
  [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_from_clause, 3, 0, 0),
  [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 5, 0, 0),
  [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 5, 0, 0),
  [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 3, 0, 0),
  [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 3, 0, 0),
  [254] = {.entry = {.count = 1, .reusable = false}}, SHIFT(499),
  [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 5),
  [258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 5),
  [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 3, 0, 6),
  [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 3, 0, 6),
  [264] = {.entry = {.count = 1, .reusable = false}}, SHIFT(454),
  [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(456),
  [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(462),
  [270] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(462),
  [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 2),
  [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 2),
  [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_ref, 2, 0, 3),
  [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_ref, 2, 0, 3),
  [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 4, 0, 0),
  [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 4, 0, 0),
  [285] = {.entry = {.count = 1, .reusable = false}}, SHIFT(498),
  [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 5, 0, 9),
  [289] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 5, 0, 9),
  [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [293] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cast_expression, 6, 0, 0),
  [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 2, 0, 0),
  [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 2, 0, 0),
  [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_function, 6, 0, 9),
  [301] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_function, 6, 0, 9),
  [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_select_body_repeat1, 1, 0, 0),
  [307] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
  [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 3, 0, 0),
  [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 3, 0, 0),
  [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_specification, 4, 0, 0),
  [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_window_specification, 4, 0, 0),
  [317] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subquery_body, 1, 0, 0),
  [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298),
  [321] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(110),
  [324] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(114),
  [327] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(114),
  [330] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(20),
  [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0),
  [335] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(565),
  [338] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(109),
  [341] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 2, 0, 0), SHIFT_REPEAT(424),
  [344] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(298),
  [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
  [349] = {.entry = {.count = 1, .reusable = false}}, SHIFT(487),
  [351] = {.entry = {.count = 1, .reusable = false}}, SHIFT(489),
  [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(7),
  [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
  [361] = {.entry = {.count = 1, .reusable = false}}, SHIFT(122),
  [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
  [365] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125),
  [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(429),
  [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(122),
  [379] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(122),
  [382] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(6),
  [385] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(125),
  [388] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(429),
  [391] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_update_statement, 2, 0, 0),
  [393] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129),
  [395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
  [397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133),
  [399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
  [401] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128),
  [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(431),
  [405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_delete_statement, 2, 0, 0),
  [407] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(129),
  [410] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(133),
  [413] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(133),
  [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
  [419] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(128),
  [422] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_create_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(431),
  [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_insert_statement, 2, 0, 0),
  [427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(488),
  [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(493),
  [431] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_subquery_body_repeat1, 1, 0, 0),
  [435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
  [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0),
  [439] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [442] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(134),
  [445] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
  [448] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [451] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
  [454] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_other_sql_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(417),
  [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_other_sql_statement, 1, 0, 0),
  [459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0),
  [461] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(144),
  [464] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(144),
  [467] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_filter_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(443),
  [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_expression, 1, 0, 0),
  [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
  [474] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144),
  [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(443),
  [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(180),
  [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(227),
  [502] = {.entry = {.count = 1, .reusable = false}}, SHIFT(295),
  [504] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
  [506] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164),
  [508] = {.entry = {.count = 1, .reusable = false}}, SHIFT(187),
  [510] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145),
  [512] = {.entry = {.count = 1, .reusable = false}}, SHIFT(405),
  [514] = {.entry = {.count = 1, .reusable = false}}, SHIFT(385),
  [516] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253),
  [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(526),
  [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(389),
  [522] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197),
  [524] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(452),
  [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(452),
  [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [531] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(169),
  [534] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(166),
  [537] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(166),
  [540] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0),
  [542] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 2, 0, 0), SHIFT_REPEAT(169),
  [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_expression, 1, 0, 0),
  [547] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169),
  [549] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
  [551] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
  [553] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_expression, 1, 0, 0),
  [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169),
  [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
  [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222),
  [561] = {.entry = {.count = 1, .reusable = false}}, SHIFT(360),
  [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
  [565] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 2, 0, 0),
  [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(510),
  [569] = {.entry = {.count = 1, .reusable = true}}, SHIFT(513),
  [571] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
  [573] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
  [575] = {.entry = {.count = 1, .reusable = true}}, SHIFT(374),
  [577] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
  [579] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_token, 1, 0, 0),
  [581] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_order_token, 1, 0, 0),
  [583] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [585] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_order_expression_repeat1, 1, 0, 0),
  [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
  [589] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
  [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
  [593] = {.entry = {.count = 1, .reusable = false}}, SHIFT(567),
  [595] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
  [597] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157),
  [599] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
  [601] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101),
  [603] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
  [605] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 3, 0, 0),
  [607] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 3, 0, 0),
  [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(476),
  [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
  [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(362),
  [615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(478),
  [617] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 2, 0, 0),
  [619] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_aesthetic_name, 1, 0, 0),
  [621] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 2, 1, 0),
  [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(295),
  [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
  [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
  [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
  [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(405),
  [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(385),
  [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
  [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(457),
  [639] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(457),
  [642] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_null_literal, 1, 0, 0),
  [644] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_position_arg, 3, 0, 0),
  [646] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_position_arg, 3, 0, 0),
  [648] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_position_arg, 1, 0, 0),
  [650] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_position_arg, 1, 0, 0),
  [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [654] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_scalar_subquery, 3, 0, 0),
  [656] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0),
  [658] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_mapping_list_repeat1, 2, 0, 0), SHIFT_REPEAT(172),
  [661] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_arg, 3, 0, 8),
  [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228),
  [665] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228),
  [667] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1, 0, 0),
  [669] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 3, 1, 0),
  [671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_visualise_statement, 4, 1, 0),
  [673] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0),
  [675] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
  [678] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(164),
  [681] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(145),
  [684] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(405),
  [687] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(385),
  [690] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(253),
  [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 4, 0, 0),
  [695] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 4, 0, 0),
  [697] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 3, 0, 0),
  [699] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0),
  [701] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 1, 0, 0),
  [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
  [705] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 4, 0, 0),
  [707] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(464),
  [710] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_list, 2, 0, 0),
  [712] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_implicit_mapping, 1, 0, 0),
  [714] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_column_reference, 1, 0, 0),
  [716] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_arg, 1, 0, 0),
  [718] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array, 2, 0, 0),
  [720] = {.entry = {.count = 1, .reusable = true}}, SHIFT(220),
  [722] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220),
  [724] = {.entry = {.count = 1, .reusable = true}}, SHIFT(447),
  [726] = {.entry = {.count = 1, .reusable = false}}, SHIFT(191),
  [728] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
  [730] = {.entry = {.count = 1, .reusable = true}}, SHIFT(448),
  [732] = {.entry = {.count = 1, .reusable = true}}, SHIFT(465),
  [734] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_element, 1, 0, 0),
  [736] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_wildcard_mapping, 1, 0, 0),
  [738] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_qualified_name_repeat1, 2, 0, 0), SHIFT_REPEAT(465),
  [741] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_explicit_mapping, 3, 0, 4),
  [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(449),
  [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(450),
  [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190),
  [749] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 5, 0, 0),
  [751] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 2, 0, 0),
  [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(358),
  [755] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 2, 0, 0),
  [757] = {.entry = {.count = 1, .reusable = true}}, SHIFT(386),
  [759] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 5, 0, 0),
  [761] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_geom_type, 1, 0, 0),
  [763] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting_clause, 3, 0, 0),
  [765] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0),
  [767] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(386),
  [770] = {.entry = {.count = 1, .reusable = false}}, SHIFT(482),
  [772] = {.entry = {.count = 1, .reusable = false}}, SHIFT(460),
  [774] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_value, 1, 0, 0),
  [776] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 1, 0, 0),
  [778] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_clause, 1, 0, 0),
  [780] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 4, 0, 11),
  [782] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_assignment, 3, 0, 8),
  [784] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_clause, 3, 0, 10),
  [786] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 2, 0, 0),
  [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(464),
  [790] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_remapping_clause, 2, 0, 0),
  [792] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_vars, 1, 0, 0),
  [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286),
  [796] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187),
  [798] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
  [800] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
  [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288),
  [804] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_from_clause, 2, 0, 0),
  [806] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 6, 0, 0),
  [808] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 6, 0, 0),
  [810] = {.entry = {.count = 1, .reusable = true}}, SHIFT(324),
  [812] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 2, 0, 0),
  [814] = {.entry = {.count = 1, .reusable = true}}, SHIFT(409),
  [816] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 1, 0, 0),
  [818] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_columns, 2, 0, 0),
  [820] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_to_clause, 2, 0, 0),
  [822] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 7, 0, 0),
  [824] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0),
  [826] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_label_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(380),
  [829] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 1, 0, 0),
  [831] = {.entry = {.count = 1, .reusable = true}}, SHIFT(382),
  [833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(283),
  [835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
  [837] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
  [839] = {.entry = {.count = 1, .reusable = true}}, SHIFT(439),
  [841] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 2, 0, 0),
  [843] = {.entry = {.count = 1, .reusable = true}}, SHIFT(380),
  [845] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
  [847] = {.entry = {.count = 1, .reusable = true}}, SHIFT(484),
  [849] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_filter_clause, 2, 0, 0),
  [851] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 2, 0, 0),
  [853] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
  [855] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_from_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(283),
  [858] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_via_clause, 2, 0, 0),
  [860] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0),
  [862] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_scale_renaming_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(352),
  [865] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_properties, 2, 0, 0),
  [867] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_renaming_clause, 3, 0, 0),
  [869] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
  [871] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 7, 0, 0),
  [873] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0),
  [875] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_project_properties_repeat1, 2, 0, 0), SHIFT_REPEAT(382),
  [878] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_clause, 3, 0, 0),
  [880] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 2, 0, 0),
  [882] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 4, 0, 7),
  [884] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_renaming_assignment, 3, 0, 8),
  [886] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_assignment, 3, 0, 8),
  [888] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partition_clause, 3, 0, 0),
  [890] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 3, 0, 0),
  [892] = {.entry = {.count = 1, .reusable = true}}, SHIFT(371),
  [894] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_type, 1, 0, 0),
  [896] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 4, 0, 0),
  [898] = {.entry = {.count = 1, .reusable = true}}, SHIFT(367),
  [900] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mapping, 1, 0, 0),
  [902] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property, 3, 0, 8),
  [904] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 5, 0, 0),
  [906] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 3, 0, 0),
  [908] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_clause, 3, 0, 0),
  [910] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_place_clause, 3, 0, 0),
  [912] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_clause, 6, 0, 0),
  [914] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
  [916] = {.entry = {.count = 1, .reusable = true}}, SHIFT(544),
  [918] = {.entry = {.count = 1, .reusable = true}}, SHIFT(375),
  [920] = {.entry = {.count = 1, .reusable = true}}, SHIFT(555),
  [922] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105),
  [924] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
  [926] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_draw_clause, 8, 0, 0),
  [928] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_scale_clause, 8, 0, 0),
  [930] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_visualise_statement_repeat1, 1, 0, 0),
  [932] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_viz_clause, 1, 0, 0),
  [934] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_facet_clause, 5, 0, 7),
  [936] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 3, 0, 0),
  [938] = {.entry = {.count = 1, .reusable = true}}, SHIFT(421),
  [940] = {.entry = {.count = 1, .reusable = true}}, SHIFT(558),
  [942] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 4, 0, 0),
  [944] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0),
  [946] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_with_statement_repeat1, 2, 0, 0), SHIFT_REPEAT(421),
  [949] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 2, 0, 0),
  [951] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254),
  [953] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 1, 0, 0),
  [955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(379),
  [957] = {.entry = {.count = 1, .reusable = true}}, SHIFT(494),
  [959] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
  [961] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 4, 0, 0),
  [963] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
  [965] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_partition_clause, 3, 0, 0),
  [967] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 5, 0, 0),
  [969] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106),
  [971] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 8, 0, 0),
  [973] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cte_definition, 9, 0, 0),
  [975] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
  [977] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
  [979] = {.entry = {.count = 1, .reusable = true}}, SHIFT(408),
  [981] = {.entry = {.count = 1, .reusable = true}}, SHIFT(490),
  [983] = {.entry = {.count = 1, .reusable = true}}, SHIFT(549),
  [985] = {.entry = {.count = 1, .reusable = false}}, SHIFT(445),
  [987] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 2, 0, 0),
  [989] = {.entry = {.count = 1, .reusable = true}}, SHIFT(496),
  [991] = {.entry = {.count = 1, .reusable = true}}, SHIFT(416),
  [993] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 4, 0, 0),
  [995] = {.entry = {.count = 1, .reusable = false}}, SHIFT(402),
  [997] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0), SHIFT_REPEAT(416),
  [1000] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_window_order_clause_repeat1, 2, 0, 0),
  [1002] = {.entry = {.count = 1, .reusable = false}}, SHIFT(401),
  [1004] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_window_order_clause, 3, 0, 0),
  [1006] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
  [1008] = {.entry = {.count = 1, .reusable = false}}, SHIFT(458),
  [1010] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_with_statement, 5, 0, 0),
  [1012] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_cte_definition_repeat1, 2, 0, 0), SHIFT_REPEAT(461),
  [1015] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 1, 0, 0),
  [1017] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_statement, 2, 0, 0),
  [1019] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 1, 0, 0),
  [1021] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
  [1023] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
  [1025] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_query, 2, 0, 0),
  [1027] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_portion, 2, 0, 0),
  [1029] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
  [1031] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0),
  [1033] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 2, 0, 0), SHIFT_REPEAT(151),
  [1036] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353),
  [1038] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
  [1040] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0),
  [1042] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 2, 0, 0), SHIFT_REPEAT(458),
  [1045] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0), SHIFT_REPEAT(318),
  [1048] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_array_repeat1, 2, 0, 0),
  [1050] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0),
  [1052] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_sql_portion_repeat1, 2, 0, 0), SHIFT_REPEAT(13),
  [1055] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136),
  [1057] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
  [1059] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
  [1061] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115),
  [1063] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111),
  [1065] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 3, 0, 0),
  [1067] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
  [1069] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
  [1071] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126),
  [1073] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130),
  [1075] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132),
  [1077] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_order_item, 4, 0, 0),
  [1079] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
  [1081] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
  [1083] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36),
  [1085] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85),
  [1087] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87),
  [1089] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256),
  [1091] = {.entry = {.count = 1, .reusable = false}}, SHIFT(258),
  [1093] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72),
  [1095] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69),
  [1097] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142),
  [1099] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143),
  [1101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27),
  [1103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sql_statement, 1, 0, 0),
  [1105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_string_repeat1, 1, 0, 0),
  [1107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
  [1109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(461),
  [1111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(530),
  [1113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318),
  [1115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206),
  [1117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 1, 0, 0),
  [1119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(545),
  [1121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
  [1123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_aesthetics, 2, 0, 0),
  [1125] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0), SHIFT_REPEAT(186),
  [1128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_args_repeat1, 2, 0, 0),
  [1130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
  [1132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 2, 0, 0),
  [1134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
  [1136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_create_statement, 3, 0, 0),
  [1138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_args, 1, 0, 0),
  [1140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_array_element, 1, 0, 0),
  [1142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341),
  [1144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340),
  [1146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(497),
  [1148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_query_repeat1, 1, 0, 0),
  [1150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(520),
  [1152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(523),
  [1154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(426),
  [1156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(568),
  [1158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1, 0, 0),
  [1160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(433),
  [1162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_bound, 2, 0, 0),
  [1164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336),
  [1166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(479),
  [1168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(557),
  [1170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
  [1172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273),
  [1174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107),
  [1176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
  [1178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
  [1180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202),
  [1182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_type, 1, 0, 0),
  [1184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
  [1186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(393),
  [1188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93),
  [1190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
  [1192] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
  [1194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 5, 0, 0),
  [1196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_project_property_name, 1, 0, 0),
  [1198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(540),
  [1200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
  [1202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 4, 0, 0),
  [1204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
  [1206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189),
  [1208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal_value, 1, 0, 0),
  [1210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188),
  [1212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(419),
  [1214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
  [1216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(543),
  [1218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(569),
  [1220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
  [1222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(365),
  [1224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
  [1226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
  [1228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(370),
  [1230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(415),
  [1232] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259),
  [1234] = {.entry = {.count = 1, .reusable = true}},  ACCEPT_INPUT(),
  [1236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(556),
  [1238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
  [1240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
  [1242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
  [1244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(407),
  [1246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(516),
  [1248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
  [1250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193),
  [1252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_name, 1, 0, 0),
  [1254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_frame_clause, 2, 0, 0),
  [1256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(570),
  [1258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(551),
  [1260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(414),
  [1262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
  [1264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(459),
  [1266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 6, 0, 0),
  [1268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
  [1270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(390),
  [1272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
  [1274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104),
  [1276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(368),
  [1278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221),
  [1280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_mapping_value, 1, 0, 0),
  [1282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234),
  [1284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235),
  [1286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219),
  [1288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(492),
  [1290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0),
  [1292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 0),
};

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

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