mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Small fixes
This commit is contained in:
parent
4fb4387180
commit
fcf3413ac9
@ -1,6 +1,6 @@
|
||||
---
|
||||
toc_priority: 29
|
||||
toc_title: "[experimental] MaterializedMySQL"
|
||||
toc_title: MaterializedMySQL
|
||||
---
|
||||
|
||||
# [experimental] MaterializedMySQL {#materialized-mysql}
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user