Skip to content

Commit

Permalink
Fix ebnf display (#6515)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Jun 24, 2021
1 parent d38019c commit f882af7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql-statements/sql-statement-with.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ summary: TiDB 数据库中 WITH (公共表表达式) 的使用概况。

**WithClause:**

```ebnf
```ebnf+diagram
WithClause ::=
"WITH" WithList
| "WITH" recursive WithList
```

**WithList:**

```ebnf
```ebnf+diagram
WithList ::=
WithList ',' CommonTableExpr
| CommonTableExpr
```

**CommonTableExpr:**

```ebnf
```ebnf+diagram
CommonTableExpr ::=
Identifier IdentListWithParenOpt "AS" SubSelect
```

**IdentListWithParenOpt:**

```ebnf
```ebnf+diagram
IdentListWithParenOpt ::=
| '(' IdentList ')'
Expand Down

0 comments on commit f882af7

Please sign in to comment.