tencent cloud

Cloud Log Service

AS Syntax

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-05-14 21:13:54
The AS clause is used to specify an alias for a column (KEY).

Syntax Format

* | SELECT column name (KEY) AS alias

Syntax Sample

Creating a Chinese Alias

* | SELECT remote_addr AS "client IP", request_time AS "request time (unit: second)"
Note:
If the alias contains Chinese or other special characters, double quotation marks should be used.

Counting access requests

* | SELECT COUNT(*) AS PV


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백