Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fixed some syntax errors in zh and sql command #2147

Merged
merged 1 commit into from
Jul 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/zh/reference/sql/dql/NO_TABLE_SELECT_CLAUSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ SELECT const_expr [, const_expr ...];
## 2. SELECT语句元素

| SELECT语句元素 | 状态 | 说明 |
| :------------- | ------------------- | :----------------------------------------------------------- |
| 无标SELECT语句 | OnlineServing不支持 | 无表Select语句计算常量表达式操作列表,表达式计算不需要依赖表和列 |
|:-----------| ------------------- | :----------------------------------------------------------- |
| 无表SELECT语句 | OnlineServing不支持 | 无表Select语句计算常量表达式操作列表,表达式计算不需要依赖表和列 |

#### Examples

```sql
-- desc: SELECT 常量字面量
SELECT 1, 1L, 1.0f, 2.0, 'Hello';
-- desc: SELECT 常量表达式
SELECT 1+1 1L + 1L, 1.0f - 1.0f, 2.0*2.0, 'Hello' LIKE 'He%';
SELECT 1+1, 1L + 1L, 1.0f - 1.0f, 2.0*2.0, 'Hello' LIKE 'He%';
-- desc: SELECT 函数表达式
SELECT substr("hello world", 3, 6);
```
```