Contents
Chapter 4 · DatabasePractice

LEARN WITH HARU

Video Lesson တွေက Haru အတန်းသားတွေအတွက်ပါ

Haru ရဲ့ ITPEC FE Full Course မှာ ယခု သင်ခန်းစာတွေကို တစ်ခုချင်း တစ်ကြောင်းချင်း အသေးစိတ်ရှင််ရှင်းပြထားပါတယ်

အခြေခံ မရှိတဲ့ ကျောင်းသားများစွာဟာလည်း ဒီ Course နဲ့ ပဲ အောင်မြင်ကုန်ကြပါပြီ

အတန်းမအပ်သေးပဲ Haru ဆီမှာ အစမ်းသင်ကြည့်ချင်ပါသလား?

သင်တန်းသားတွေရဲ့ စကားသံများ

သင်တန်းသားတွေရဲ့ စကားသံများ

Highlighted text? Practice this concept. Highlighted passages and figures open related questions.

Practice related questions (4)Progress & bookmarks

Current section

1-2-2 Relational Model

p. 249

Practice this section 4 linked exam questions with default filters

Progress

Not marked complete

Related questions in this lesson 7

Relational tables and attributes5Original relational-operation definitions2
Progress and bookmarks

p. 249

1-2-2 Relational Model

Relational model is a data model that represents the relations of data in a two-dimensional tabular form. The entire table is called “relation,” rows and columns that constitute the table are called “tuples” and “attributes (fields)” respectively. · 5 questions

Relational-model table with Student_number, Name, Japanese, Mathematics and English columns. A dashed outline identifies the relation; the second row is marked as a tuple and the Name column as an attribute. All original three rows and scores are preserved. Source text: Figure 4-2 Relational model
p. 249 · Enlarge

In Figure 4-2, values that are actually recorded, such as “2001”, “Masayuki Abe”, “80”, “90”, and “60”, are referred to as occurrence (or instance). In addition, a set of occurrences that an attribute can take is referred to as domain. (Domain may include data types and constraint conditions of attributes.) Therefore, relation is defined as a subset of the direct product of domains. (Direct product: a set operation that obtains all combinations, Subset: a set that is included in a certain set)

Domains Student Number 2001/2002 and Japanese 80/60 produce four ordered pairs by direct product. The subset relation retains pairs (2001,80) and (2002,60). Original multiplication and arrows remain aligned. Source text: Figure 4-3 Definition of relations
p. 249 · Enlarge

The relational model has a close relationship with the set. Therefore, in the relational database that implements a relational model, the database is operated in combination with relational operations (relational algebra) that are specific to relational database and set operations that are based on the concept of set.

p. 250

Original textbook table, example or syntax box, with its complete original layout. Source text: Operation name Operation contents Extracts the tuples that satisfy the specified Relational operation Selection conditions. Projection Extracts the specified attributes. Join Combines multiple tables into one. Extracts the tuples that are identical to all tuples in Division another table. Extracts all tuples from two tables excluding any Union overlap. Set operation Extracts all tuples excluding the tuples that belong Difference to another table. Extracts the tuples that appear commonly in two Product tables. Direct product Combines all tuples in two tables.
p. 250 · Enlarge
Original relational-operation definitions · 2 practice questions
Complete original relational operation examples, preserving labels, values, arrows and layout. Source text: [Examples of relational operations/set operations] • Relational operations • Set operations
p. 250 · Enlarge

p. 251

Complete original set operation continuation, preserving labels, values, arrows and layout. Source text:
p. 251 · Enlarge

In addition, there are following manipulations of the relational database.

Original textbook table, example or syntax box, with its complete original layout. Source text: • Insert: Adding (i.e., inserting) new data (i.e., tuples) in a relation (i.e., table) • Update: Changing (i.e., updating) the data (i.e., tuples) recorded in a relation (i.e., table) • Delete: Deleting the data (i.e., tuples) recorded in a relation (i.e., table)
p. 251 · Enlarge

Original chapter exercises

Original chapter exercises →

New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015