Skip to content

Commit d468e13

Browse files
authored
Fix SQL code block formatting in README
1 parent 5d7a71f commit d468e13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $ clickhouse-sql-parser -f ./test.sql
6464

6565
The `-beautify` flag formats SQL with proper indentation and line breaks, making complex queries more readable:
6666

67-
```bash
67+
```SQL
6868
# Input (compact, hard to read)
6969
$ clickhouse-sql-parser -beautify "SELECT user_id, COUNT(*) AS total, AVG(amount) AS avg_amount FROM orders WHERE status='completed' AND created_at>'2024-01-01' GROUP BY user_id HAVING COUNT(*)>5 ORDER BY total DESC LIMIT 10"
7070

0 commit comments

Comments
 (0)