diff --git a/docs/en/sql-reference/statements/alter/column.md b/docs/en/sql-reference/statements/alter/column.md index 45f02b5a8df..d580efa4992 100644 --- a/docs/en/sql-reference/statements/alter/column.md +++ b/docs/en/sql-reference/statements/alter/column.md @@ -173,18 +173,21 @@ The query also can change the order of the columns using `FIRST | AFTER` clause, Example: ```sql -CREATE TABLE users -( +CREATE TABLE users ( c1 Int16, c2 String -) -ENGINE = MergeTree +) ENGINE = MergeTree ORDER BY c1; +DESCRIBE users; +┌─name─┬─type───┬ +│ c1 │ Int16 │ +│ c2 │ String │ +└──────┴────────┴ + ALTER TABLE users MODIFY COLUMN c2 String FIRST; DESCRIBE users; - ┌─name─┬─type───┬ │ c2 │ String │ │ c1 │ Int16 │