clickhouseSelecting with JSONEachRow format
Usage example
SELECT * FROM tbl FORMAT JSONEachRow
output
{"date":"2022-01-07","col":"Donald","val":0,"age":0}
{"date":"2022-01-10","col":"Donald","val":0,"age":0}
{"date":"2022-01-11","col":"Donald","val":0,"age":0}
More of Clickhouse
- Select sumIf query example
- Convert array to rows
- Using variables in queries
- How to execute SQL query from a file
- Get total database size
- How to restart Clickhouse server
- Convert hex to text
- Select where date column is between dates
- List all tables from all database
- How to get current datetime
See more codes...