|
Using a combination of SQL and a host language, you must prepare and load the
data into a schema will all foreign key, primary key, unique and index
constraints for an application that could be used to provide the following functionality:
- A normalized database derived from all fields in the project database
- Data entry for new records
- Data modification and deletion for a specifically identified product
- At least the following queries:*
- Allow a person to select a dosage form and a single ingredient from lists of
each and show the product brandname and dosage form of all products containing that ingredient in the specified dosage form
- Allow a person to select a product brandname, the brandname's strength
(if any), the dosage form, the route of administration and the package from
their respective lists, in any order, and show the
ingredients for that product
organized in ascending order for all fields but where ingredient quantities are in descending order
- Allow a person to enter up to three ingredients and show the location of all
firms that make the specified combination of ingredients
- Allow a person to enter a company name and show all product brandnames for
that company, along with the brandname and company name for all products in the
same dosage form and given by the same route of administration on the market that contain the same combination
and strength of ingredients as each product made by the specified company
*You do not have to write the application to implement these queries.
You can create views or stored procedures instead.
Turn in documentation for this product by utilizing Items I-III below. Your database, source code, conceptual
design using an Entity Relationship Model, a diagrammatic illustration of the
Steps of Normalization, and consideration and application of Indexes and Keys
must be included in the final submission.
Grading will be subjective, but
every effort will be made to evaluate you on your database functionality (10%),
SQL code(20%), the ER design meeting the business needs in 1-4 above, the
resulting relational model - including the use of constraints and
access methods (20%), and the 5-10 pages of documentation
you provide regarding consideration and discussion of:
- Conceptual Database Design using 1) an entity-relationship diagram and
2) a relational model for the highest
level of normalization in your resulting tables for the specific business needs
described in 1-4 above
- The steps of Normalization and their impact on the speed of each query and deletion
of a minimum of 5% of records (e.g., 1NF - speed of queries 4.a-4.d; your
final normal form (BCNF or 3NF) - speed of queries...), and
- The impact of constraints and Indexes on the speed of each query
and concurrent update and deletion of a minimum of 5% of records for 1NF and
your final NF
|