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

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