0% found this document useful (0 votes)
18 views

Project Description of Dbms

This document outlines the requirements for a term project on database design and SQL. It includes 3 main sections: 1) logical design with entity relationship diagram and table normalization up to 3NF, 2) application of constraints like primary keys, foreign keys, and checks, and 3) writing SQL statements for data definition, data manipulation, and queries within and across tables using functions, subqueries, and grouping. The project aims to design a database for a selected topic and write SQL code to populate and query the tables.

Uploaded by

vaishali sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Project Description of Dbms

This document outlines the requirements for a term project on database design and SQL. It includes 3 main sections: 1) logical design with entity relationship diagram and table normalization up to 3NF, 2) application of constraints like primary keys, foreign keys, and checks, and 3) writing SQL statements for data definition, data manipulation, and queries within and across tables using functions, subqueries, and grouping. The project aims to design a database for a selected topic and write SQL code to populate and query the tables.

Uploaded by

vaishali sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Databse Design & SQL :

Term Project
- 2021S

1. Logical Design

(1) All the entities of your selected project


(2) Description of the entities
(3) Primary Key(s) of entities
(4) Required /mandatory and optional attributes of entities
(5) Relationships between entities (cardinality, optionality & mandatory)
(6) Relationship Matrix (refer to lesson 2 lecture slides)
(7) Complete Entity Relationship Diagram (ERD)

2. Normalization/ Constraints

Normalize the tables up to Third Normal Form (3NF) –

Note:

Specify the criteria for 1NF, 2NF & 3 NF once at the beginning and then
take one entity (table) → apply the criteria for each norms form
Example:
Student Table
Primary key is defined, no multivalued columns, no repeating groups
hence it is in 1NF
No partial dependencies → it is in 2NF
No transitive dependencies → it is in 3NF
(If there is partial dependencies or transitive dependencies you have to
normalize the tables)
**** Continue the process for ALL the Tables

Constraints
Select one or two main tables of your project and apply at least four (4)
of the following database constraints.

Primary Key Constraint


NOT NULL Constraint
UNIQUE KEY Constraint (Single column, Multicolumn)
Foreign Key Constraint (Referential integrity Constraint)
CHECK Constraint
DEFAULT Constraint
Any other constraint that you learned by yourself (not included in the
lecture)
(Implementation methods may be different across different RDBMS’s.For
example CHECK Constraint can be implemented as a Validation Rule in
Microsoft Access)

Note:
Use software tool for ERD’S
Use Oracle for all SQL Statements
3. SQL Statements: DDL & DML
Create the database/Tables of your project - use Oracle
Populate tables with data (5 – 10 records for each table)

Write at least 4 SQL Statements from each category given below

1. Single Table Queries


2. Multiple Table Queries
3. Functions: -i.e., Character/String Functions, Aggregate/Numeric
Functions, Date/Time Functions

4. Sub Queries

5. Group By

Marks will be given after final project presentation


In group projects, marks will be given on individual basis

You might also like