What Is SQL
What Is SQL
1. What is DBMS?
Database Management System (DBMS)
2. What is RDBMS?
Relational Database Management System (RDBMS)
Example: SQL Server.
3. What is SQL?
SQL (pronounced "ess-que-el") stands for Structured Query Language.
4. What is a Database?
A database is an organized collection of data. The data is typically organized to model aspects of reality in a
way that supports processes requiring information.
The UNIQUE and PRIMARY KEY constraints both provide a guarantee for uniqueness for a column or set of
columns.
The purpose of the foreign key is to ensure referential integrity of the data. In other words, only values that
are supposed to appear in the database are permitted.
8. What is a join?
An SQL JOIN clause is used to combine rows from two or more tables, based on a common field between
them.
A subquery can be used anywhere an expression is allowed. In this example a subquery is used as a column
expression named MaxUnitPrice in a SELECT statement.
Triggers are, in fact, written to be executed in response to any of the following events:
A database manipulation (DML) statement (DELETE, INSERT, or UPDATE).
A database definition (DDL) statement (CREATE, ALTER, or DROP).
A database operation (SERVERERROR, LOGON, LOGOFF, STARTUP, or SHUTDOWN).