• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

Data Management - Applications - D427

Document preview thumbnail
Preview 3 out of 18 pages

Data Management - Applications - D427

Content preview

Data Management - Applications - D427

is a conceptual framework for database systems, with
Database Model
three parts
3 Parts of the Database Model Data structures, operations, rules
Data structures prescribe how data is organized
Operations manipulate data structures
Rules govern valid data
characterized by unprecedented data volumes and rapidly
Big Data
changing data structures.
is an unordered collection of elements enclosed in
braces.
Set
Ex: {a, b, c} and {c, b, a} are the same, since sets are not
ordered.
is an ordered collection of elements enclosed in parenthe-
ses.
Tuple
Ex: (a, b, c) and (c, b, a) are different, since tuples are
ordered.
Table
Column
Database Terminology
Row
Data Type
Relation
Attribute
Math Terminology
Tuple
Domain

File
File Terminology
Field

, Record
Data Type
Select (Relational) selects a subset of rows of a table
Project (Relational) eliminates one or more columns of a table
Product (Relational) lists all combinations of rows of 2 tables
Join (Relational) combines 2 tables by comparing related columns
Union (Relational) selects all rows of 2 tables
Intersect (Relational) selects rows common to 2 tables
Difference (Relational) selects rows that appear in one table but not another
Rename (Relational) changes table name
computes functions over multiple table rows, such as sum
Aggregate (Relational)
and count
Theoretical way of manipulating table contents using re-
lational operators
relational algebra
ex. select, project, product, join...
Relational Rules logical constraints that ensure data is valid
Unique Primary Key - all tables have a primary key column,
or group of columns, in which the values may not repeat

Unique Column Names - different columns of the same
Examples of Rules
table have different names

No Duplicate Rows - no 2 rows of the same table have
identical values in all columns
based on business policy and specific to a particular data-
Business Rule
base
Example of a Business Rule


, all rows of the Employee table must have a valid entry in
the DepartCode column

-or-

PassportNumber values may not repeat in different Em-
ployee rows
relational rules that are implemented and enforced by the
database system.
SQL Constraints
Business rules are discovered during database design
and often implemented as SQL Constraints
is a high-level computer language for storing, manipulat-
Structured Query Language (SQL)
ing and retrieving data
SQL Statement is a complete command composed of one or more clauses
groups SQL keywords like SELECT, FROM, and WHERE
Clause
ex. with tables names like City, column names like Name,
and conditions like Population > 100,000
Data Definition Language (DDL)
Data Query Language (DQL)
SQL Language's 5 Sublanguage Data Manipulation Language (DML)
Data Control Language (DCL)
Data Transaction Language (DTL)
Data Definition Language (DDL) defines the structure of the database
Data Query Language (DQL) retrieves data from the database
Data Manipulation Language (DML) manipulates data stored in a database
Data Control Language (DCL) controls database user access
Data Transaction Language (DTL) manages database transactions

Document information

Uploaded on
September 30, 2025
Number of pages
18
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
R239,05

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STANFORDGRADESS
4,0
(240)
Sold
1646
Followers
108
Items
119944
Last sold
2 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions