Permalink
Browse files

Created sql (markdown)

  • Loading branch information...
hparra committed Aug 14, 2016
1 parent edd80b7 commit 0c97ffdad341f245b89ce57045bc46f812538925
Showing with 22 additions and 0 deletions.
  1. +22 −0 sql.md
22 sql.md
@@ -0,0 +1,22 @@
sql -- language for structured databases queries
================================================
## Querying
`SELECT`
- is used to select which columns to include
- can use `AS` with each column to alias its name
`FROM`
- identifies tables that contain desired columns
- can use `JOIN`
`WHERE`
- filters rows meeting specified conditions
`GROUP BY`
- groups (combines) rows based on a common value
`ORDER BY`
- sorts rows by column(s)
- should also use `ASC` or `DESC`

0 comments on commit 0c97ffd

Please sign in to comment.