Skip to content

Instantly share code, notes, and snippets.

@nkpart
Created December 27, 2008 07:05
Show Gist options
  • Save nkpart/40213 to your computer and use it in GitHub Desktop.
Save nkpart/40213 to your computer and use it in GitHub Desktop.
alias sql="echo Okay idjit, it goes like this:
echo CREATE TABLE tablename \(id INTEGER, name VARCHAR\)
echo SELECT row FROM tablename WHERE condition
echo INSERT INTO tablename \(column1, column2\) VALUES \(value1, value2\)
echo UPDATE tablename SET column1 = value1 WHERE condition
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment