Usql – A Universal CLI for Databases
github.com
github.com
Actually
SELECT table_name FROM information_schedule.tables;
But yes, that's harder to type/remember than \d.https://webstore.iec.ch/preview/info_isoiec9075-11%7Bed4.0%7...
Not the actual standard though, that'll cost you a few hundred bucks.
[edit - you can see the 1992 complete version here; do a search for information_schema.
http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
courtesy of Ian Winand - https://modern-sql.com/standard]
to get a zip file of pdfs. The schema is in 7IWD2-11-Schemata-2011-12.pdf
Sadly this is "just" a plain old CLI.
Also: had to install with `go get -tags "no_sqlite3" -u github.com/xo/usql` since the sqlite3 package did not build.
I started using mycli recently and it actually made me joyful about how good it was. DBeaver is really good but for most things I’d prefer a cli, and the autocomplete actually makes it faster to use for many things.
Some may argue that DNS isn't really a database, but by that metric, neither is Redis.
It's particularly helpful to include "comments > N" or "points > N" if looking for old threads.
One piece of feedback though - I've never been a huge fan of using backslashes for anything that isn't escaping as it can get confusing to know when it's escaping or if it's syntactic (do I use two slashes here? Or three or four? Especially when piping input or putting stuff in text files).
Very cool though and will be keeping an eye on it!
It lets you query multiple databases but also join between them. Or say, translate your mysql table to a local csv file. And if you need it to be faster you can deploy to hadoop.
worth checking out anyway, I used to use it a lot before i started on Apache Spark.
It not only presents a SQL interface to sql databases, NoSQL databases and files (Excel, csv, json for now), but also lets you join data between them and use multiple databases at once in queries.
Though it's definitely in an earlier stage and maturity than this, with fewer supported databases. (Though we do support redis for instance, which this does not)