# SQL - Structured Query Language

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Cheat-sheets.org topic in the Databases group.

Source: [https://www.cheat-sheets.org/#SQL](https://www.cheat-sheets.org/#SQL).

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Official websites](#official-websites)
- [Wikipedia](#wikipedia)
- [Saved copies](#saved-copies)
- [Cheat sheets](#cheat-sheets)
- [See also](#see-also)
- [Contributing](#contributing)
- [License](#license)

## Install

This folder is part of the local archive. Clone the repository:

```sh
git clone .
```

## Usage

Open this README, the Wikipedia clone, and files under `saved-copy/`.

```sh
ls saved-copy wikipedia.md
```

## Official websites

None listed on cheat-sheets.org.

## Wikipedia

- Live: [https://en.wikipedia.org/wiki/SQL](https://en.wikipedia.org/wiki/SQL)
- Local clone: [wikipedia.md](wikipedia.md)

## Saved copies

- [/sites/sql.su/](saved-copy//sites/sql.su/) — `https://www.cheat-sheets.org/sites/sql.su/`
- [SQL_Cheatsheet.html](saved-copy/SQL_Cheatsheet.html) — `https://www.cheat-sheets.org/saved-copy/SQL_Cheatsheet.html`
- [sqlcheetsheet.pdf](saved-copy/sqlcheetsheet.pdf) — `https://www.cheat-sheets.org/saved-copy/sqlcheetsheet.pdf`
- [sqlcheetsheet.gif](saved-copy/sqlcheetsheet.gif) — `https://www.cheat-sheets.org/saved-copy/sqlcheetsheet.gif`
- [SQL-Cheat-Sheet.pdf](saved-copy/SQL-Cheat-Sheet.pdf) — `https://www.cheat-sheets.org/saved-copy/SQL-Cheat-Sheet.pdf`
- [Muppix_SQL_commands.pdf](saved-copy/Muppix_SQL_commands.pdf) — `https://www.cheat-sheets.org/saved-copy/Muppix_SQL_commands.pdf`

## Cheat sheets

- SQL in one page [html] (sql.su) ([saved](https://www.cheat-sheets.org/sites/sql.su/))
- SQL Cheatsheet [html] (3gwt.net) ([saved](https://www.cheat-sheets.org/saved-copy/SQL_Cheatsheet.html))
- SQL Cheat Sheet [pdf, gif] (sqltutorial.org) ([saved](https://www.cheat-sheets.org/saved-copy/sqlcheetsheet.pdf), [saved](https://www.cheat-sheets.org/saved-copy/sqlcheetsheet.gif), [online](http://www.sqltutorial.org/sql-cheat-sheet.aspx))
- SQL Cheat Sheet  [pdf] (sql-tutorial.net) ([saved](https://www.cheat-sheets.org/saved-copy/SQL-Cheat-Sheet.pdf), [online](http://www.sql-tutorial.net/SQL-Cheat-Sheet.pdf))
- SQL Tutorial - Learn SQL  [html] (sql-tutorial.net) ([online](http://www.sql-tutorial.net/), [archived](https://web.archive.org/web/*/http://www.sql-tutorial.net/))
- SQL Commands by Muppix [html, pdf] (muppix.co) ([saved](https://www.cheat-sheets.org/saved-copy/Muppix_SQL_commands.pdf))
- SQL Injection Cheat Sheet [html] (netsparker.com) ([archived](https://web.archive.org/web/20210301162443/https://www.netsparker.com/blog/web-security/sql-injection-cheat-sheet/))
- SQL Injection Cheat Sheet [html] (invicti.com) ([online](https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet/), [archived](https://web.archive.org/web/*/https://www.invicti.com/blog/web-security/sql-injection-cheat-sheet/))
- SQL Injection  [html] (websec.ca) ([online](http://www.websec.ca/kb/sql_injection), [archived](https://web.archive.org/web/*/http://www.websec.ca/kb/sql_injection))
- SQL Injection [html] (hacktricks.xyz) ([online](https://book.hacktricks.xyz/pentesting-web/sql-injection), [archived](https://web.archive.org/web/*/https://book.hacktricks.xyz/pentesting-web/sql-injection))

## See also

- DB2 (`#DB2`)
- MySQL (`#MySQL`)
- Oracle (`#Oracle`)
- PostgreSQL (`#PostgreSQL`)
- SQL Server (`#SQLServer`)
- SQLite (`#SQLite`)
- Sybase (`#Sybase`)

## Contributing

Questions: open an issue in this repository. Pull requests that fix catalog grouping or add missing saved copies are welcome.

## License

UNLICENSED © George Lambert. Indexed cheat sheets, saved copies, and Wikipedia extracts remain under their original publishers' terms; Wikipedia text is CC BY-SA 4.0.
