Small fixes

This commit is contained in:
adevyatova 2021-08-18 13:40:09 +00:00
parent 4fb4387180
commit fcf3413ac9
3 changed files with 11 additions and 15 deletions

View File

@ -1,6 +1,6 @@
---
toc_priority: 29
toc_title: "[experimental] MaterializedMySQL"
toc_title: MaterializedMySQL
---
# [experimental] MaterializedMySQL {#materialized-mysql}

View File

@ -5,18 +5,16 @@ toc_title: SQLite
# SQLite {#sqlite}
The engine provide to import and export data to SQLite and query SQLite tables directly in ClickHouse.
The engine provides to import and export data to SQLite and query SQLite tables directly in ClickHouse.
## Creating a Table {#creating-a-table}
``` sql
CREATE TABLE [IF NOT EXISTS] [db.]table_name
CREATE TABLE [IF NOT EXISTS] [db.]table_name
(
name1 [type1],
name2 [type2],
...
)
ENGINE = SQLite('db_path', 'table')
name1 [type1],
name2 [type2], ...
) ENGINE = SQLite('db_path', 'table')
```
**Engine Parameters**
@ -34,8 +32,6 @@ Show query creating the SQLite table:
SHOW CREATE TABLE sqlite_db.table2;
```
Result:
``` text
CREATE TABLE SQLite.table2
(
@ -61,4 +57,4 @@ SELECT * FROM sqlite_db.table2 ORDER BY col1;
**See Also**
- [The `sqlite` table function](../../../sql-reference/table-functions/sqlite.md)
- [sqlite](../../../sql-reference/table-functions/sqlite.md) table function

View File

@ -34,12 +34,12 @@ Result:
``` text
┌─col1──┬─col2─┐
│ line1 │ 1 │
│ line2 │ 2 │
│ line3 │ 3 │
│ line1 │ 1 │
│ line2 │ 2 │
│ line3 │ 3 │
└───────┴──────┘
```
**See Also**
- [`SQLite` table engine](../../engines/table-engines/integrations/sqlite.md)
- [SQLite](../../engines/table-engines/integrations/sqlite.md) table engine