This page describes the full CockroachDB SQL grammar. However, as a starting point, it's best to reference our SQL statements pages first, which provide detailed explanations and examples.
no references
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alter_split_index_stmt
- alter_split_stmt
- create_table_as_stmt
- create_view_stmt
- insert_rest
- preparable_stmt
- stmt
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alter_rename_table_stmt
- alter_rename_view_stmt
- alter_scatter_stmt
- alter_split_stmt
- col_qualification_elem
- constraint_elem
- copy_from_stmt
- create_index_stmt
- d_expr
- insert_target
- opt_interleave
- qualified_name_list
- relation_expr
- single_set_clause
- sortby
- table_name_with_index
- table_ref
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alias_clause
- alter_rename_database_stmt
- alter_rename_index_stmt
- alter_rename_table_stmt
- alter_table_cmd
- any_name
- col_qualification
- column_def
- create_database_stmt
- create_index_stmt
- create_user_stmt
- deallocate_stmt
- drop_database_stmt
- execute_stmt
- func_name
- grantee_list
- index_elem
- insert_target
- kv_option
- name_list
- opt_existing_window_name
- opt_name
- opt_name_parens
- over_clause
- prepare_stmt
- qualified_name
- relation_expr_opt_alias
- savepoint_name
- savepoint_stmt
- show_tables_stmt
- table_constraint
- table_pattern
- window_definition
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- create_table_as_stmt
- create_table_stmt
- create_view_stmt
- import_stmt
- show_csettings_stmt
- table_name_list
- var_name
referenced by:
referenced by:
referenced by:
- a_expr
- alter_column_default
- array_subscript
- cancel_job_stmt
- cancel_query_stmt
- case_arg
- case_default
- col_qualification_elem
- constraint_elem
- ctext_expr
- d_expr
- expr_list
- extract_list
- filter_clause
- func_expr_common_subexpr
- having_clause
- implicit_row
- join_qual
- offset_clause
- opt_select_fetch_first_value
- opt_slice_bound
- overlay_list
- overlay_placing
- pause_stmt
- resume_stmt
- select_limit_value
- sortby
- substr_for
- substr_from
- substr_list
- target_elem
- trim_list
- when_clause
- where_clause
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alias_clause
- constraint_elem
- drop_user_stmt
- family_def
- join_qual
- opt_column_list
- opt_conf_expr
- opt_interleave
- opt_storing
- targets
referenced by:
- opt_encoding_clause
- opt_lc_collate_clause
- opt_lc_ctype_clause
- opt_template_clause
- string_or_placeholder
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alter_onetable_stmt
- alter_rename_table_stmt
- alter_rename_view_stmt
- relation_expr_list
- relation_expr_opt_alias
- table_ref
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- alter_scatter_index_stmt
- alter_scatter_stmt
- array_expr
- execute_param_clause
- explicit_row
- extract_list
- func_application
- func_expr_common_subexpr
- group_clause
- implicit_row
- in_expr
- opt_partition_clause
- overlay_list
- substr_list
- table_ref
- trim_list
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- a_expr
- attrs
- col_qualification
- index_hints_param
- name_indirection
- opt_index_hints
- sortby
- table_name_with_index
- target_elem
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
- generic_set
- reset_csetting_stmt
- set_csetting_stmt
- show_columns_stmt
- show_constraints_stmt
- show_create_table_stmt
- show_create_view_stmt
- show_indexes_stmt
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
referenced by:
generated by Railroad Diagram Generator