The FilmsDirectors Table

The FilmsDirectors table (Table 5.5) is used to relate the Films and Directors tables (so as to associate directors with their movies).

Table 5.5. The FilmsDirectors Table
ColumnData TypeDescription and Size
FDRecIDNumericUnique ID for each row; can be populated manually when rows are inserted or automatically (if defined as an Auto Number field)
FilmIDNumericID of associated movie
DirectorIDNumericID of associated director
SalaryNumeric, or currencyDirector’s salary

The primary key for this table is the FDRecID column.

This table contains two foreign keys:

  • The FilmID column is related to the primary key of the Films table.

  • The DirectorID column is related to the primary key of the Directors table.

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.