Skip to content

Commit

Permalink
Merge pull request #196 from mbrukman/readme-images-to-code
Browse files Browse the repository at this point in the history
Replace image code samples with text.
  • Loading branch information
harelba authored Jun 14, 2019
2 parents 28f776e + 0719c6f commit 02821fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# q - Text as Data
q is a command line tool that allows direct execution of SQL-like queries on CSVs/TSVs (and any other tabular text files).

q treats ordinary files as database tables, and supports all SQL constructs, such as WHERE, GROUP BY, JOINs etc. It supports automatic column name and type detection, and q provides full support for multiple character encodings.
q treats ordinary files as database tables, and supports all SQL constructs, such as `WHERE`, `GROUP BY`, `JOIN`s, etc. It supports automatic column name and type detection, and q provides full support for multiple character encodings.

q's web site is [http://harelba.github.io/q/](http://harelba.github.io/q/). It contains everything you need to download and use q immediately.

Expand All @@ -14,7 +14,11 @@ Instructions for all OSs are [here](http://harelba.github.io/q/install.html).

## Examples

![blah](doc/basic-examples.png)
```
q "SELECT COUNT(*) FROM ./clicks_file.csv WHERE c3 > 32.3"
ps -ef | q -H "SELECT UID, COUNT(*) cnt FROM - GROUP BY UID ORDER BY cnt DESC LIMIT 3"
```

Go [here](http://harelba.github.io/q/examples.html) for more examples.

Expand Down
Binary file removed doc/basic-examples.png
Binary file not shown.

0 comments on commit 02821fe

Please sign in to comment.