SQL is a domain-specific language and its known as Structured Query Language. it is used in programming and designed for stream processing in a relation data stream management system and for managing data held in a relation database management system. Where are relations between different variables of the data there SQL is particularly useful in handing structure data. SQL eliminates the need to specify how to reach a record and how to introduced the concept of accessing many records with one single command. SQL consists of many types of statements which are originally based upon tuple relational calculus and relational algebra and may be informally classed as sublanguages like a data definition language, a data control language, a data query language and a data manipulation language.