RelationalDBDesign
SiteMap
Database Analysis
Database Design
Extended DB Features
Oracle SQL Extensions
Relational Constructs
«Prev
Next»
Data Analysis
Relational Constraints
DB Life Cycle
Relational Notation
Database Notation
Table Characteristics
Table Column Rules
Table Row Rules
Columns Entity Attributes
Calculate Domain Types
Database Null Values
Key Column Descriptors
Primary Key
Surrogate Keys
Concatenated Keys
Primary Foreign Key
Defining Foreign Keys
Referential Integrity
Relational Constructs Conclusion
Normal Forms
Reduce Data Redundancy
Normalization Defined
Normalization Objective
First Normal Form
Achieving First Normal
First NF Limitations
Second Normal Form
Define Functional Dependencies
Identify Functional Dependencies
Achieving 2ND Normal Form
Second NF Limitations
DB Normalization Conclusion
Normalization - Quiz
Third Normal Form
2NF Limitations
Transitive Dependencies
Eliminate Dependencies
Achieve Third Normal Form
1st, 2nd, 3rd NF
Codds Twelve Criteria
(BCNF) Four Important Rules
Codds Twelve Rules
Boyce Codd Normal Form
Denormalizing Tables
Joins, User Views
Permissions Design Role
SQL Joining Tables
Table Join Explanation
Create Equi Join
Permissions Requirements Analysis
SQL Inner Join
Physical Design
Database Clustering
Database Partitioning
Horizontal Partition
Disadvantages Horizontal Partitioning
DB Vertical Partitioning
Disadvantages Vertical Partitioning
Use SQL to Build DB
SQL Commands to Create Table
DB Design Mistakes
Business Objects Rules
Common Mistakes
Primary Foreign Key Mistakes
Calculations Domain Types Exercise
Database Table and Domain Types - Exercise
Identify the correct domain for calculations
Objective:
Apply correct domain types to columns that support calculations.
Exercise scoring
This exercise is worth a total of 20 points.
You will receive up to five points for identifying the column in the table illustrated below that calculates a value, up to five points for choosing the correct domain for that column, and up to 10 points for correctly formulating the equation for the calculation the column will perform.
Background/overview
In this exercise you will identify the column in a virtual table named Line Item that uses a calculation to derive its value and then apply the proper domain to the column.
Instructions
Examine the columns in virtual table Line Item illustrated below and answer the following questions:
Which column in the table calculates a value?
What is the appropriate domain for the column?
How would you formulate the equation for the calculation the column will perform?
LINE ITEM
OrderNo
CDNo
Quantity
SellingPrice
Discount
LineCost
Shipped
Submitting your exercise
Paste or type your answers to the questions above into the text box below.
Click the
Submit
to submit the exercise and view a results page.
Submit