๐Ÿ“ฆ andres-lowrie / sql

Easy SQL via the cli

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/andres-lowrie/sql.git
HTTPS git clone https://github.com/andres-lowrie/sql.git
SSH git clone git@github.com:andres-lowrie/sql.git
CLI gh repo clone andres-lowrie/sql
Andres Lowrie Andres Lowrie Kinda stuff I want to do 64bed77 6 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“„ README.md
๐Ÿ“„ README.md

sql

Easy SQL via the cli

SQL Cli that get's out of your way

sql "SELECT * FROM localhost:database.table WHERE 1 = 1;"

If you have access, it has access

LOCAl=localhost/database.table 
REMOTE=host.com:3306/database.table

sql "SELECT * FROM $LOCAl AS local JOIN $REMOTE AS remote ON local.id = remote.id;"