The Expenses Table

The Expenses table (Table 5.3) contains the expenses associated with any movies listed in the Films table.

Table 5.3. The Expenses Table
ColumnData TypeDescription and Size
ExpenseIDNumericUnique ID for each expense; can be populated manually when rows are inserted or automatically (if defined as an Auto Number field)
FilmIDNumericID of associated movie
ExpenseAmountNumeric, or currencyExpense amount
DescriptionTextExpense description
ExpenseDateDateExpense date

The primary key for this table is the ExpenseID column.

This table contains a single foreign key:

  • The FilmID column is related to the primary key of the Films 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.