SQL  Structured Query Language) is a domain-specific language used in programming and designed for managing data held in a relational database management system (RDBMS), or for stream processing in a relational data stream management system (RDSMS).

Originally based upon relational algebra and tuple relational calculus, SQL consists of a data definition languagedata manipulation language, and data control language. The scope of SQL includes data insert, query, update and delete, schemacreation and modification, and data access control. Although SQL is often described as, and to a great extent is, a declarative language (4GL), it also includes procedural elements.


Here are some commands of SQL

Some more code for administration task you can find form my git repo: