O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required