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
Data Modeling
Table Characteristics
Table Column Rules
Table Row Rules
Columns Entity Attributes
Calculate Domain Types
RDBMS Calculations
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
Normalization Process - Quiz
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
1st, 2nd, 3rd NF
Achieve 3rd Normal Form
Codds Twelve Criteria
(BCNF) Four Important Rules
Beyond 3rd Normal Form
Boyce Codd Normal Form
Denormalizing Tables
3rd Normal Form
Joins, User Views
SQL Joining Tables
SQL Inner Join
Table Join Explanation
Create Equi Join
Business Requirements
Store View Definitions
Creating SQL Views
Permissions Design Role
Requirements Analysis
Table Joins User Views
Physical Design
Physical DB Design
Create index SQL
Drawbacks Field Indexing
Database Clustering
Data Clustering Trade-off
Database Partitioning
Horizontal Partition
Drawbacks Horizontal Partitioning
DB Vertical Partitioning
Drawbacks Vertical Partitioning
Create DB via SQL
Create Table via SQL
Use SQL to Build DB
Data Dictionary Entries
Data Dictionary
Physical Design Conclusion
DB Design Mistakes
Common Mistakes
DB Design Considerations
Business Objects Rules
Database Column Mistakes
Database Key Constraints
Primary Foreign Key Mistakes
Referential Integrity
International DB Mistakes
Eval Relational DB
Design Mistakes Conclusion
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.