@@ -10,92 +10,69 @@ This section provides a comprehensive reference for SQL support in Spice.ai, inc
1010
1111## Table of Contents
1212
13- - [ Data Types] ( /docs/reference/sql/data_types )
14- - [ Character Types] ( /docs/reference/sql/data_types#character-types )
15- - [ Numeric Types] ( /docs/reference/sql/data_types#numeric-types )
16- - [ Date/Time Types] ( /docs/reference/sql/data_types#datetime-types )
17- - [ Boolean Types] ( /docs/reference/sql/data_types#boolean-types )
18- - [ Binary Types] ( /docs/reference/sql/data_types#binary-types )
19- - [ Unsupported SQL Types] ( /docs/reference/sql/data_types#unsupported-sql-types )
20- - [ Supported Arrow Types] ( /docs/reference/sql/data_types#supported-arrow-types )
21- - [ SELECT Syntax] ( /docs/reference/sql/select )
22- - [ WITH Clause] ( /docs/reference/sql/select#with-clause )
23- - [ SELECT Clause] ( /docs/reference/sql/select#select-clause )
24- - [ FROM Clause] ( /docs/reference/sql/select#from-clause )
25- - [ WHERE Clause] ( /docs/reference/sql/select#where-clause )
26- - [ JOIN Clause] ( /docs/reference/sql/select#join-clause )
27- - [ GROUP BY Clause] ( /docs/reference/sql/select#group-by-clause )
28- - [ HAVING Clause] ( /docs/reference/sql/select#having-clause )
29- - [ UNION Clause] ( /docs/reference/sql/select#union-clause )
30- - [ ORDER BY Clause] ( /docs/reference/sql/select#order-by-clause )
31- - [ LIMIT Clause] ( /docs/reference/sql/select#limit-clause )
32- - [ EXCLUDE and EXCEPT Clause] ( /docs/reference/sql/select#exclude-and-except-clause )
33- - [ Subqueries] ( /docs/reference/sql/subqueries )
34- - [ Subquery Operators] ( /docs/reference/sql/subqueries#subquery-operators )
35- - [ SELECT Clause Subqueries] ( /docs/reference/sql/subqueries#select-clause-subqueries )
36- - [ FROM Clause Subqueries] ( /docs/reference/sql/subqueries#from-clause-subqueries )
37- - [ WHERE Clause Subqueries] ( /docs/reference/sql/subqueries#where-clause-subqueries )
38- - [ HAVING Clause Subqueries] ( /docs/reference/sql/subqueries#having-clause-subqueries )
39- - [ Subquery Categories] ( /docs/reference/sql/subqueries#subquery-categories )
40- - [ DDL] ( /docs/reference/sql/ddl )
41- - [ CREATE DATABASE] ( /docs/reference/sql/ddl#create-database )
42- - [ CREATE SCHEMA] ( /docs/reference/sql/ddl#create-schema )
43- - [ CREATE EXTERNAL TABLE] ( /docs/reference/sql/ddl#create-external-table )
44- - [ CREATE TABLE] ( /docs/reference/sql/ddl#create-table )
45- - [ DROP TABLE] ( /docs/reference/sql/ddl#drop-table )
46- - [ CREATE VIEW] ( /docs/reference/sql/ddl#create-view )
47- - [ DROP VIEW] ( /docs/reference/sql/ddl#drop-view )
48- - [ DML] ( /docs/reference/sql/dml )
49- - [ COPY] ( /docs/reference/sql/dml#copy )
50- - [ INSERT] ( /docs/reference/sql/dml#insert )
51- - [ EXPLAIN] ( /docs/reference/sql/explain )
52- - [ Syntax] ( /docs/reference/sql/explain#explain )
53- - [ EXPLAIN] ( /docs/reference/sql/explain#explain )
54- - [ EXPLAIN ANALYZE] ( /docs/reference/sql/explain#explain-analyze )
55- - [ Information Schema] ( /docs/reference/sql/information_schema )
56- - [ SHOW TABLES] ( /docs/reference/sql/information_schema#show-tables )
57- - [ SHOW COLUMNS] ( /docs/reference/sql/information_schema#show-columns )
58- - [ SHOW ALL (configuration options)] ( /docs/reference/sql/information_schema#show-all-configuration-options )
59- - [ SHOW FUNCTIONS] ( /docs/reference/sql/information_schema#show-functions )
60- - [ Operators and Literals] ( /docs/reference/sql/operators )
61- - [ Numerical Operators] ( /docs/reference/sql/operators#numerical-operators )
62- - [ Comparison Operators] ( /docs/reference/sql/operators#comparison-operators )
63- - [ Logical Operators] ( /docs/reference/sql/operators#logical-operators )
64- - [ Bitwise Operators] ( /docs/reference/sql/operators#bitwise-operators )
65- - [ Other Operators] ( /docs/reference/sql/operators#other-operators )
66- - [ Literals] ( /docs/reference/sql/operators#literals )
67- - [ Aggregate Functions] ( /docs/reference/sql/aggregate_functions )
68- - [ General Functions] ( /docs/reference/sql/aggregate_functions#general-functions )
69- - [ Statistical Functions] ( /docs/reference/sql/aggregate_functions#statistical-functions )
70- - [ Approximate Functions] ( /docs/reference/sql/aggregate_functions#approximate-functions )
71- - [ Window Functions] ( /docs/reference/sql/aggregate_functions#window-functions )
72- - [ Syntax] ( /docs/reference/sql/aggregate_functions#syntax )
73- - [ Aggregate Functions] ( /docs/reference/sql/aggregate_functions#window-aggregate-functions )
74- - [ Ranking Functions] ( /docs/reference/sql/aggregate_functions#ranking-functions )
75- - [ Analytical Functions] ( /docs/reference/sql/aggregate_functions#analytical-functions )
76- - [ Scalar Functions] ( /docs/reference/sql/scalar_functions )
77- - [ Math Functions] ( /docs/reference/sql/scalar_functions#math-functions )
78- - [ Conditional Functions] ( /docs/reference/sql/scalar_functions#conditional-functions )
79- - [ String Functions] ( /docs/reference/sql/scalar_functions#string-functions )
80- - [ Binary String Functions] ( /docs/reference/sql/scalar_functions#binary-string-functions )
81- - [ Regular Expression Functions] ( /docs/reference/sql/scalar_functions#regular-expression-functions )
82- - [ Time and Date Functions] ( /docs/reference/sql/scalar_functions#time-and-date-functions )
83- - [ Array Functions] ( /docs/reference/sql/scalar_functions#array-functions )
84- - [ Struct Functions] ( /docs/reference/sql/scalar_functions#struct-functions )
85- - [ Map Functions] ( /docs/reference/sql/scalar_functions#map-functions )
86- - [ Hashing Functions] ( /docs/reference/sql/scalar_functions#hashing-functions )
87- - [ Union Functions] ( /docs/reference/sql/scalar_functions#union-functions )
88- - [ Other Functions] ( /docs/reference/sql/scalar_functions#other-functions )
89- - [ Special Functions] ( /docs/reference/sql/special_functions )
90- - [ Expansion Functions] ( /docs/reference/sql/special_functions#expansion-functions )
91- - [ Format Options] ( /docs/reference/sql/format_options )
92- - [ Specifying Options and Order of Precedence] ( /docs/reference/sql/format_options#specifying-options-and-order-of-precedence )
93- - [ Available Options] ( /docs/reference/sql/format_options#available-options )
94- - [ JSON Format Options] ( /docs/reference/sql/format_options#json-format-options )
95- - [ CSV Format Options] ( /docs/reference/sql/format_options#csv-format-options )
96- - [ Parquet Format Options] ( /docs/reference/sql/format_options#parquet-format-options )
97- - [ Prepared Statements] ( /docs/reference/sql/prepared_statements )
98- - [ Inferred Types] ( /docs/reference/sql/prepared_statements#inferred-types )
99- - [ Positional Arguments] ( /docs/reference/sql/prepared_statements#positional-arguments )
13+ ### [ SELECT Syntax] ( /docs/reference/sql/select )
14+
15+ - [ WITH Clause] ( /docs/reference/sql/select#with-clause )
16+ - [ SELECT Clause] ( /docs/reference/sql/select#select-clause )
17+ - [ FROM Clause] ( /docs/reference/sql/select#from-clause )
18+ - [ WHERE Clause] ( /docs/reference/sql/select#where-clause )
19+ - [ JOIN Clause] ( /docs/reference/sql/select#join-clause )
20+ - [ GROUP BY Clause] ( /docs/reference/sql/select#group-by-clause )
21+ - [ HAVING Clause] ( /docs/reference/sql/select#having-clause )
22+ - [ UNION Clause] ( /docs/reference/sql/select#union-clause )
23+ - [ ORDER BY Clause] ( /docs/reference/sql/select#order-by-clause )
24+ - [ LIMIT Clause] ( /docs/reference/sql/select#limit-clause )
25+ - [ EXCLUDE and EXCEPT Clause] ( /docs/reference/sql/select#exclude-and-except-clause )
26+
27+ ### [ Subqueries] ( /docs/reference/sql/subqueries )
28+
29+ - [ Subquery Operators] ( /docs/reference/sql/subqueries#subquery-operators )
30+ - [ SELECT Clause Subqueries] ( /docs/reference/sql/subqueries#select-clause-subqueries )
31+ - [ FROM Clause Subqueries] ( /docs/reference/sql/subqueries#from-clause-subqueries )
32+ - [ WHERE Clause Subqueries] ( /docs/reference/sql/subqueries#where-clause-subqueries )
33+ - [ HAVING Clause Subqueries] ( /docs/reference/sql/subqueries#having-clause-subqueries )
34+ - [ Subquery Categories] ( /docs/reference/sql/subqueries#subquery-categories )
35+
36+ ### [ EXPLAIN] ( /docs/reference/sql/explain )
37+
38+ - [ Syntax] ( /docs/reference/sql/explain#explain )
39+ - [ EXPLAIN] ( /docs/reference/sql/explain#explain )
40+ - [ EXPLAIN ANALYZE] ( /docs/reference/sql/explain#explain-analyze )
41+
42+ ### [ Information Schema] ( /docs/reference/sql/information_schema )
43+
44+ - [ SHOW TABLES] ( /docs/reference/sql/information_schema#show-tables )
45+ - [ SHOW COLUMNS] ( /docs/reference/sql/information_schema#show-columns )
46+ - [ SHOW ALL (configuration options)] ( /docs/reference/sql/information_schema#show-all-configuration-options )
47+ - [ SHOW FUNCTIONS] ( /docs/reference/sql/information_schema#show-functions )
48+
49+ ### [ Operators and Literals] ( /docs/reference/sql/operators )
50+
51+ - [ Numerical Operators] ( /docs/reference/sql/operators#numerical-operators )
52+ - [ Comparison Operators] ( /docs/reference/sql/operators#comparison-operators )
53+ - [ Logical Operators] ( /docs/reference/sql/operators#logical-operators )
54+ - [ Bitwise Operators] ( /docs/reference/sql/operators#bitwise-operators )
55+ - [ Other Operators] ( /docs/reference/sql/operators#other-operators )
56+ - [ Literals] ( /docs/reference/sql/operators#literals )
57+
58+ ### [ Scalar Functions] ( /docs/reference/sql/scalar_functions )
59+
60+ - [ Math Functions] ( /docs/reference/sql/scalar_functions#math-functions )
61+ - [ Conditional Functions] ( /docs/reference/sql/scalar_functions#conditional-functions )
62+ - [ String Functions] ( /docs/reference/sql/scalar_functions#string-functions )
63+ - [ Binary String Functions] ( /docs/reference/sql/scalar_functions#binary-string-functions )
64+ - [ Regular Expression Functions] ( /docs/reference/sql/scalar_functions#regular-expression-functions )
65+ - [ Time and Date Functions] ( /docs/reference/sql/scalar_functions#time-and-date-functions )
66+ - [ Array Functions] ( /docs/reference/sql/scalar_functions#array-functions )
67+ - [ Struct Functions] ( /docs/reference/sql/scalar_functions#struct-functions )
68+ - [ Map Functions] ( /docs/reference/sql/scalar_functions#map-functions )
69+ - [ Hashing Functions] ( /docs/reference/sql/scalar_functions#hashing-functions )
70+ - [ Union Functions] ( /docs/reference/sql/scalar_functions#union-functions )
71+ - [ Other Functions] ( /docs/reference/sql/scalar_functions#other-functions )
72+
73+ ### [ Prepared Statements] ( /docs/reference/sql/prepared_statements )
74+
75+ - [ Inferred Types] ( /docs/reference/sql/prepared_statements#inferred-types )
76+ - [ Positional Arguments] ( /docs/reference/sql/prepared_statements#positional-arguments )
10077
10178Refer to each section for detailed syntax, supported features, and examples.
0 commit comments