The FilmsActors Table

The FilmsActors table (Table 5.7) is used to relate the Films and Actors tables (so as to associate actors with their movies).

Table 5.7. The FilmsActors Table
ColumnData TypeDescription and Size
FARecIDNumericUnique 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
ActorIDNumericID of associated actor
IsStarringRoleBit or Yes/NoFlag specifying whether this is a starring role
SalaryNumeric or currencyActor’s salary

The primary key for this table is the FARecID column.

This table contains two foreign keys:

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

  • The ActorID column is related to the primary key of ...

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.