What is SQL?

Structured Query Language is a computer language that we use to interact with a relational database. SQL is a tool for organizing, managing, and retrieving archived data from a computer database. The original name was given by IBM as Structured English Query Language, abbreviated by the acronym SEQUEL. When data needs to be retrieved from a database, SQL is used to make the request. The DBMS processes the SQL query, retrieves the requested data, and returns it to us. Rather, SQL statements describe how a collection of data should be organized or what data should be extracted or added to the database.

SQL

Reference: Microsoft

In common usage, SQL encompasses DDL and DML commands for creating, updating, modifying, or performing other operations on the database structure.

Uses of SQL

SQL also differs from other computer languages because it describes what the user wants the computer to do rather than how the computer should do it. (In more technical terms, SQL is a declarative or descriptive language rather than a procedural one.) SQL contains no IF statement for testing conditions and no GOTO, DO, or FOR statements for program flow control. Rather, SQL statements describe how a collection of data is to be organized or what data is to be retrieved or added to the database. The sequence of steps to do those tasks is left for the DBMS to determine.

Features of SQL