Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-02 00:22:05 +00:00
parent 359cefe811
commit fe5e4dcb31
6 changed files with 157 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Manipulate complex SQL query with data from multiple CSV files with first line is header (`-ih`):
`trdsql -icsv -ih "SELECT {{column1,column2}} FROM {{path/to/file*.csv}} WHERE column2 != '' ORDER BY column1 GROUP BY column1"`
`trdsql -icsv -ih "SELECT {{column1,column2}} FROM {{path/to/file*.csv}} WHERE column2 != '' ORDER BY {{column1}} GROUP BY {{column1}}"`
- Merge content of 2 CSV files to one CSV file: