Mid Term Flashcards
(57 cards)
What does DML stand for?
Data Manipulation Language
What is the purpose of DML operations?
To manipulate the table.
3 types of DML operations?
- Insert
- delete
- Update
A notation for describing data or information
A data model
What are 3 ways a data model can describe data?
- Structure of the data
- Operations on the data
- Constraints on the data
Represents data in 2-D table (rows and columns)
Relations
True me false: Table, entity, and relation are the same?
True
The columns of a relation are called?
Attributes
What do attributes describe?
The meaning of entries in the column
What is a logical structure for data?
Schema
The set of schemas for the relations in a relational database are called?
Relational Database Schema
The name of a relation and the set of attributes for a relation?
Schema (for relation)
What is ‘a set’?
The attributes in a relation schema
True or False: Rows and Tuples are the same thing?
True
What are tuples?
The rows of a relation, minus the header.
What is the relationship between an attribute and a domain?
Each attribute of a relation is a domain
What are the two parts of a relation?
- Schema
- Instance
Formal term for ‘Table’
Relation
Formal term for ‘Column’
Attribute
Formal term for ‘Row’
Tuple
Formal term for values in a Column
Domain
Formal term for Table Definition
Relation Schema
Formal term for populated Table
Relation Instance/Extension
Properties of relations
- No duplicate tuples
- Tuples have no order
- No duplicate attributes
- Attributes have no order
- Every tuple must have attribute values from each of the domains or NULL