SQL and Database Terminologies

This section provides brief descriptions of terminologies related to SQl and database.

RDBMS - Relational Database Management System

Attribute - A kind of information that describes one aspect of a data object. For example, "age" is an attribute of a person, and "salary" is an attribute of an employee. "Attribute" is also called "column".

Relation - A data object defined by a set of attributes. For example, "employee" is a relation with various attributes that define the employee data object. "Relation" is also called "table".

Tuple - An instance of a data object with specific values for all attributes of the relation. For example, one tuple of the "course" relation is the operating system course with "operating system" as the value of the "course name" attribute, and other values for other attributes. "Tuple" is also called "row" or "record".

DDL (Data Definition Language) - A set of SQL statements that manage data structures in the database. Examples of DDL are CREATE, ALTER, DROP, etc.

DML (Data Manipulation Language) - A set of SQL statements that manages data instances in the database. Examples of DML are INSERT, UPDATE, DELETE, etc.

Last update: 2015.

Table of Contents

 About This Book

Introduction of SQL

 What Is SQL?

 SQL History and Revisions

SQL and Database Terminologies

 MySQL Introduction and Installation

 Introduction of MySQL Programs

 Perl Programs and MySQL Servers

 PHP Programs and MySQL Servers

 Java Programs and MySQL Servers

 Datatypes and Data Literals

 Operations and Expressions

 Character Strings and Bit Strings

 Commonly Used Functions

 Table Column Types for Different Types of Values

 Using DDL to Create Tables and Indexes

 Using DML to Insert, Update and Delete Records

 Using SELECT to Query Database

 Transaction Management and Isolation Levels

 Locks Used in MySQL

 Defining and Calling Stored Procedures

 Variables, Loops and Cursors Used in Stored Procedures

 Outdated Tutorials


 PDF Printing Version