database (db)
query
an inquiry into the database that returns information back from the database
database servers
contain databases so they can be accessed by multiple users and provide a high level of performance
DBMS - database management system
a collection of programs that indirectly enables you to enter, organize, and select data in a database
3 types of databases
Flat-type databases
field refers to…
a column in a table taht is designed to maintain specific informatio;n about every record in the table
-vertical entry
a record refers to…
a row
hierarchical database
relational database
Database objects are inherently divided into two broad categories…
storage and programmability
Definition of constraints
limitations or rules placed on a field or column to ensure that data that is considered invalid is not entereed
types of constraints
unique constraint
allows the database administer to specifically identify which column should not contain duplicate values
check constraint
allows the administrator to limit the types of data a usere can insert into the database
default constraint
is used to insert a default value into a column if no other value is specified
not null constraint
ensures that data is entered into a cell - cell cannot be blank
primary key constraint
foreign key constraint
-points to a primary key in another table
DML stands for
Data Manipulation Language
Data Manipulation Language
is the language element that allows you to use the core statements INSERT, UPDATE, DELETE, MERGE, SELECT
SELECT statement
- retrieves rows from the database and enables the selection of one or many rows or columns from on or many tables
INSERT statement
adds one or more new rows to a table or a view
UPDATE statement
- changes existing data in one or more columns in table or view