mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 00:57:21 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user