SQL Syntax Formats

Table 1 SQL syntax formats

Format

Description

[ ]

Items (keywords or arguments) in square brackets [ ] are optional.

...

Preceding elements can appear repeatedly.

[ x | y | ... ]

Optional alternative items are grouped in square brackets and separated by vertical bars. One or none is selected.

{ x | y | ... }

Alternative items are grouped in braces and separated by vertical bars. One is selected.

[x | y | ... ] [ ... ]

Multiple parameters or no parameter can be selected. If multiple parameters are selected, separate them with spaces.

[ x | y | ... ] [ ,... ]

Multiple parameters or no parameter can be selected. If multiple parameters are selected, separate them with commas (,).

{ x | y | ... } [ ... ]

At least one parameter can be selected. If multiple parameters are selected, separate them with spaces.

{ x | y | ... } [ ,... ]

At least one parameter can be selected. If multiple parameters are selected, separate them with commas (,).

Feedback
编组 3备份
    openGauss 2024-05-19 00:42:09
    cancel