Kenneth C. Laudon,Jane P. Laudon Management Information System 12th Edition pdf


key field . Each table in a relational database has one field that is designated as its  primary key



Download 15,21 Mb.
Pdf ko'rish
bet187/645
Sana20.01.2022
Hajmi15,21 Mb.
#393158
1   ...   183   184   185   186   187   188   189   190   ...   645
Bog'liq
Kenneth C. Laudon ( PDFDrive ) (1)

key field

. Each table in a relational database has one field that is

designated as its 

primary key

. This key field is the unique identifier for all the

information in any row of the table and this primary key cannot be duplicated.

FIGURE 6-4

RELATIONAL DATABASE TABLES

A relational database organizes data in the form of two-dimensional tables. Illustrated here are tables for the entities SUPPLIER and PART

showing how they represent each entity and its attributes. Supplier_Number is a primary key for the SUPPLIER table and a foreign key for

the PART table.




Chapter 6

Foundations of Business Intelligence: Databases and Information Management

215

Supplier_Number is the primary key for the SUPPLIER table and Part_Number



is the primary key for the PART table. Note that Supplier_Number appears in

both the SUPPLIER and PART tables. In the SUPPLIER table, Supplier_Number

is the primary key. When the field Supplier_Number appears in the PART table

it is called a 



foreign key

and is essentially a lookup field to look up data about

the supplier of a specific part. 

O p e r a t i o n s   o f   a   R e l a t i o n a l   D B M S

Relational database tables can be combined easily to deliver data required by

users, provided that any two tables share a common data element. Suppose we

wanted to find in this database the names of suppliers who could provide us

with part number 137 or part number 150. We would need information from

two tables: the SUPPLIER table and the PART table. Note that these two files

have a shared data element: Supplier_Number.

In a relational database, three basic operations, as shown in Figure 6-5, 

are used to develop useful sets of data: select, join, and project. The 



select

operation creates a subset consisting of all records in the file that meet stated

criteria. Select creates, in other words, a subset of rows that meet certain

criteria. In our example, we want to select records (rows) from the PART table

where the Part_Number equals 137 or 150. The 

join

operation combines

relational tables to provide the user with more information than is available in

individual tables. In our example, we want to join the now-shortened PART

table (only parts 137 or 150 will be presented) and the SUPPLIER table into a

single new table.

The 

project

operation creates a subset consisting of columns in a table,

permitting the user to create new tables that contain only the information

required. In our example, we want to extract from the new table only the following

columns: Part_Number, Part_Name, Supplier_Number, and Supplier_Name.

O b j e c t - O r i e n t e d   D B M S

Many applications today and in the future require databases that can store and

retrieve not only structured numbers and characters but also drawings, images,

photographs, voice, and full-motion video. DBMS designed for organizing

structured data into rows and columns are not well suited to handling graphics-

based or multimedia applications. Object-oriented databases are better suited

for this purpose. 

An 


Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   183   184   185   186   187   188   189   190   ...   645




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish