Structured Query Language (SQL) is a specialized set of database programming commands that enable the developer or other database users to perform tasks in a database management system. Some examples of the types of tasks you can perform with SQL are
Retrieve data from one or more tables in one or more databases.
Change data in tables by inserting, deleting, and updating records.
Obtain summary information about the data in tables such as total and average values.
Create, modify, or delete database objects such as tables, indexes, and queries.
A SQL statement contains one or more lines of text, much like a code statement in Visual Basic. As you can see from the preceding list, SQL statements fall into two ...