| Connolly, Begg, Holowczak | Pratt/Adamski | Elmasri/Navathe (3rd) ed. | Kroenke Book (7th ed.) | McFadden (5th ed.) |
|---|---|---|---|---|
| Ch. 4, 5 and 6 | Ch. 1 and 6 | Ch. 3 and 16 | Ch. 2 and 10 | Ch. 1, 2 and 10 (pg. 381-400) |
The above discussion corresponds to Elmasri/Navathe's 6 Phases for DB design (chapter 14).
ACCOUNTS
Customer_Id, Account_Number, Account_Type,
Date_Opened, Balance
A data entry form would have fields
that correspond to each of the database
columns. For example, a Customer data entry
form would have fields for:
Customer_Id, Name, Street, City, State, Zip
Applications Code:
IF (withdraw_amount > current_balance) THEN
DISPLAY_ERROR("Insufficient Funds")
ELSE
SET current_balance = current_balance - withdraw_amount