100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF3703 UNISA 2023 STUDY GUIDE $2.50   Add to cart

Exam (elaborations)

INF3703 UNISA 2023 STUDY GUIDE

 7 views  0 purchase
  • Course
  • Institution

Exam of 13 pages for the course Databases II INF3703 at University of South Africa (STUDY GUIDE)

Preview 2 out of 13  pages

  • January 2, 2023
  • 13
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers
avatar-seller
INF3703 UNISA 2023 STUDY
GUIDE
NOTES ON – DATABASE SYSTEMS INF3703/2012

Chapter 1 and 2 – just read as background not examined

Chapter 3: The relational Database Model

Properties:
1. A table is a two-dimensional structure composed of rows and columns
2. Each row (tuple) represents a single entity – duplicate rows are not allowed
3. Each column represent a attribute and has a name
4. Each cell (column/row) contain only an atomic value – a single data value
5. All values in a column must conform to the same data format
6. Each column has a specific range of values – attribute domain
7. The order of the rows and columns in immaterial to the DBMS
8. Each table must have a attribute of combination of attributes to uniquely identify each row

Degree and cardinality
- Cardinality of a table is the N rows (4 rows means cardinality of 4)
- Degree is the number of columns in the table

Keys
- A key consist of one of more attributes that can be used to identify other attributes. Examples of
keys are primary, super keys, candidate keys and secondary keys.
- The role of the key is based on the concept known as ‘determination’ – use a key in table A to
lookup of (determine) a value in table B.
- The term functional dependence can be defined as the attribute A is functional dependant of B.
- We might need more than one attribute to define a unique key also called multi-attribute or
composite key. E.g. STU_NUM, STU_NAME
- Superkey – any key that uniquely identify each row e.g. STU_NUM, STU_NAME
- Candidate key – a superkey without redundancies e.g. STU_NUM
- A foreign key (FK) is an attribute whose values match the primary key values in the related table
- Secondary key is defined as a key that is use strictly for data retrieval

Integrity rules
1. Entity integrity
a. All primary keys are unique and no part of the primary key may be null
b. Each row will have a unique identity and foreign key values can refer to as primary key
values. E.g. No invoice has a duplicate number, or can be null, and uniquely identified by
invoice number.
2. Referential integrity
a. A foreign key may have a null entry.
b. It is possible for an attribute not to have a corresponding value but impossible to have

, an invalid entry. The referential rule makes it possible to delete a row in one table
whose primary key has mandatory values in another table. E.g. a customer might not
have a sales representative yet but its impossible to have sales

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller DYNAMICSCORES. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.50. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79223 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$2.50
  • (0)
  Add to cart