Exam 1 Flashcards
Database Management System = SOFT CRIN WTDB
Database Management System: software to create and interact with database.
Database = LOST 2 STD
Database = logical structure to store data
Each byte = CH BBB I
Each byte = character that is the basic building block of information.
Record = CFSE & RPD
Record = collection of fields for specific entity and row in the physical database
Relational Database Management System: SP CRDB ENT MAN RTD
Software to create the database and allows you to enter, manipulate, and retrieve data.
SELECT statements are: ST 2 RT DFDB
Used to retrieve data from the database
Syntax gives the BS ORU 4 CO
Gives the basic structure or rules for a command
SELECT clause identifies
Columns
FROM clause identifies
Tables
Each clause begins with a:
Keyword
To execute SQL statements use:
Semicolon or slash
To select all data in a table:
Substitute an asterisk for the column names in a SELECT clause
To select one column from a table:
Enter column name in SELECT clause
To select multiple columns from a table:
Separate column names with a comma
Enclose in double quotation marks when:
It contains blank spaces, special symbols or to retain case
Arithmetic Operations are:
Executed left to right
Multiplication and division are solved:
First with arithmetic operations
Addition and subtraction are solved:
Last with arithmetic operations
You override arithmetic operations with:
Parentheses
To suppress duplicates:
Enter DISTINCT or UNIQUE after SELECT keyword
Field= GRC
Field= group of related characters
Field= ACE
Attribute or character of an entity
Field= CPD
Column in the physical database
File= GRSE
Group of records about the same type of entity
Relational database = COR
Collection of relations
Rows= DAE
Contain data about an entity
Columns= DAAE
Data about attributes of the entity
Cells= THSV
Cells of the table hold a single value
Character = BUD & L, N, SS
Basic unit of data and can be a letter, #, or special symbol
Bit= SDU
Smallest data unit
Byte= 8FB
Few bits (usually 8)
Database components:
Field, record, and file
Relation:
Two-dimensional table
Each column has:
A unique name
The order of the columns is:
Unimportant
The order of the rows is:
Unimportant
No two rows can be:
Identical
Table =
File
File =
Relation