Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Up and Running with ALLBASE/SQL: HP 3000 and HP 9000 Computer Systems > Chapter 2 Looking at Data

From Entities to Tables

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Once you have added the necessary key attributes that support relationships, you have arrived at a set of relational tables: the attributes are now columns, and the key values are now key columns. From what has been done so far, you can see a set of relational tables emerging, as follows ( * indicates a key column):

Table 2-2 Columns and Keys for Four Tables

Albums TableSelections TableComposers TableLog Table
*AlbumCode*AlbumCode*ComposerName*AlbumCode
AlbumTitle*SelectionNameBirth*SelectionName
MediumComposerNameDeathStartTime
AlbumCostTimingBirthplaceEndTime
RecordingCoPerformersCommentAnnouncer
DateRecorded   
MfgCode   
Comment   

 

Note that the Selections and Log tables each have two key columns, whereas the other tables have only one apiece. Remember that a key must uniquely identify each entry in the table.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.