Skip to content

Commit

Permalink
sql-statement-create-index.md: fix the example of expression index cr…
Browse files Browse the repository at this point in the history
…eate by 'create table' (pingcap#8332)
  • Loading branch information
knull-cn authored Feb 11, 2022
1 parent f6d1e4c commit 0a08575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-create-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ ALTER TABLE t1 ADD INDEX idx1((lower(col1)));
{{< copyable "sql" >}}

```sql
CREATE TABLE t1(col1 char(10), col2 char(10), key index((lower(col1))));
CREATE TABLE t1(col1 char(10), col2 char(10), index((lower(col1))));
```

> **注意:**
Expand Down

0 comments on commit 0a08575

Please sign in to comment.