SQL (/ˌɛsˌkjuːˈɛl/ (About this soundlisten) S-Q-L, /ˈsiːkwəl/ "sequel"; 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). It is particularly useful in handling structured data, i.e. data incorporating relations among entities and variables.
SQL offers two main advantages over older read–write APIs such as ISAM or VSAM. Firstly, it introduced the concept of accessing many records with one single command. Secondly, it eliminates the need to specify how to reach a record, e.g. with or without an index.
Originally based upon relational algebra and tuple relational calculus, SQL consists of many types of statements, which may be informally classed as sublanguages, commonly: a data query language (DQL),[a] a data definition language (DDL),[b] a data control language (DCL), and a data manipulation language (DML).[c] The scope of SQL includes data query, data manipulation (insert, update and delete), data definition (schema creation and modification), and data access control. Although SQL is essentially a declarative language (4GL), it also includes procedural elements.
SQL was one of the first commercial languages to use Edgar F. Codd’s relational model. The model was described in his influential 1970 paper, "A Relational Model of Data for Large Shared Data Banks". Despite not entirely adhering to the relational model as described by Codd, it became the most widely used database language.
SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987. Since then, the standard has been revised to include a larger set of features. Despite the existence of standards, most SQL code requires at least some changes before being ported to different database systems.
Peterborough (/ˈpiːtərbərə, -ˌbʌrə/ (About this soundlisten)) is a cathedral city in Cambridgeshire, England, with a population of 202,110 in 2017. Historically part of Northamptonshire, it is 76 miles (122 km) north of London, on the River Nene which flows into the North Sea 30 miles (48 km) to the north-east. The railway station is an important stop on the East Coast Main Line between London and Edinburgh. Peterborough is also the largest city and borough in Cambridgeshire and the East Anglia area of England.
The local topography is flat, and in some places the land lies below sea level, for example in parts of the Fens to the east of Peterborough. Human settlement in the area began before the Bronze Age, as can be seen at the Flag Fen archaeological site to the east of the current city centre, also with evidence of Roman occupation. The Anglo-Saxon period saw the establishment of a monastery, Medeshamstede, which later became Peterborough Cathedral.
The population grew rapidly after the railways arrived in the 19th century, and Peterborough became an industrial centre, particularly known for its brick manufacture. After the Second World War, growth was limited until designation as a New Town in the 1960s. Housing and population are expanding and a £1 billion regeneration of the city centre and immediately surrounding area is under way. Industrial employment has fallen since then, a significant proportion of new jobs being in financial services and distribution.