Presentation is loading. Please wait.

Presentation is loading. Please wait.

0404271 Terminology Formal TermCommon TermAlternative Common Term RelationTableFile TupleRowRecord AttributeColumnField.

Similar presentations


Presentation on theme: "0404271 Terminology Formal TermCommon TermAlternative Common Term RelationTableFile TupleRowRecord AttributeColumnField."— Presentation transcript:

1 Terminology Formal TermCommon TermAlternative Common Term RelationTableFile TupleRowRecord AttributeColumnField

2 Primary Key, … etc. Primary key (column) –Every table must have a unique primary key Foreign key –An attribute (a column) in one table that matches the primary key of another table Composite primary key –A composite primary key consists of more than one attribute (column)

3 Table 1 Form 1 Input data Query Database Link Table 2 Form 2 Input data Report Query / extract info Produce report

4 Entity-Relationship Models Customer Sales Order 1M Inventory Inventory Item 1M Sales Order Inventory Item MM Customer / Sales Order / Inventory

5 Customer / Sales Invoice / Inventory Customer Sales (Invoice) 1M SI / Inventory Inventory 1 1 M M

6 Customer / Sales Order /Sales Invoice / Inventory Customer Sales (Invoice) 1M SI / Inventory Inventory 1 1 M M Sales Order SO/ Inventory 1 1 M M 1 M

7 Sales Order Form Database tblCustomer Read tblInventory tblSalesOrdertblSalesOrder-Inventory Write


Download ppt "0404271 Terminology Formal TermCommon TermAlternative Common Term RelationTableFile TupleRowRecord AttributeColumnField."

Similar presentations


Ads by Google