SQL
Our editors will review what you’ve submitted and determine whether to revise the article.
Join Britannica's Publishing Partner Program and our community of experts to gain a global audience for your work!- Also Known As:
- structured query language
- Related Topics:
- Computer programming language Query language fourth-generation language
SQL, in full structured query language, computer language designed for eliciting information from databases.
In the 1970s computer scientists began developing a standardized way to manipulate databases, and out of that research came SQL. The late 1970s and early ’80s saw the release of a number of SQL-based products. SQL gained popularity when the American National Standards Institute (ANSI) adopted the first SQL standard in 1986. Continued work on relational databases led to improvements in SQL, making it one of the most popular database languages in existence. Some large software companies, such as Microsoft Corporation and Oracle Corporation, produced their own versions of SQL, and an open-source version, MySQL, became extremely popular.
SQL works by providing a way for programmers and other computer users to get desired information from a database using something resembling normal English. On the simplest level, SQL consists of only a few commands: Select, which grabs data; Insert, which adds data to a database; Update, which changes information; and Delete, which deletes information. Other commands exist to create, modify, and administer databases.
SQL is used in everything from government databases to e-commerce sites on the Internet. As the popularity of SQL grew, programmers and computer scientists continued to optimize the way that relational databases work.
Learn More in these related Britannica articles:
-
computer programming language: SQLSQL (structured query language) is a language for specifying the organization of databases (collections of records). Databases organized with SQL are called relational, because SQL provides the ability to query a database for information that falls in a given relation. For example, a query…
-
computer science: Programming languages…used database query language is SQL (Structured Query Language) and its variants (e.g., MySQL and SQLite). Associated with these declarative languages are those that describe the layout of a Web page on the user’s screen. For example, HTML (HyperText Markup Language) supports the design of Web pages by specifying their… -
information processing: Query languages…implementation of this approach, the Structured Query Language (SQL), has the form…