Lesson-10: What Is SQL?
Lesson-10: What Is SQL?
Lesson-10: What Is SQL?
Lesson-10
WHAT IS SQL?
SQL provides an interface where the user can specify “What” are the expected results.
The query execution plan and optimization is performed by the DBMS. The query plan
and optimization determines how a query needs to be executed.
Standard Institute (ANSI) has designed standard versions of SQL. The first standard in
this series was created in 1986. It was called SQL-86 or SQL1. This standard was revised
and enhanced later and SQL-92 or SQL-2 was released. A newer standard of SQL is
SQL3 which is also called SQL- 99. In this unit we will try to cover features from latest
standards. However, some features may be found to be very specific to certain DBMSs.
There are many variants of SQL, but the standard SQL is the same for any DBMS
environment. The following table shows the differences between SQL and one of its
superset SQL*Plus which is used in Oracle. This will give you an idea of how various
vendors have enhanced SQL to an environment. The non-standard features of SQL are
not portable across databases, therefore, should not be used preferably while writing SQL
queries.