SlideShare a Scribd company logo
CD Store Management
Group Members:
Jamil Malik
Adil Iqbal
Samama
Nabeel Abbasi
Introduction to CD store
 A CD management store is a retail establishment that specializes in
selling and managing compact discs (CDs). These stores typically
offer a wide selection of music, movies, and other media on CD
format. The staff at these stores may provide recommendations,
help customers find specific titles, and offer information on new
releases. CD management stores may also offer services such as CD
repair, cleaning, and trade-ins. In recent years, many CD
management stores have expanded their offerings to include vinyl
records, DVDs, and Blu-rays.
Why we choose MS SQL
 Storing data in MS SQL for a CD store management system can offer several benefits,
including:
1. Relational database management: MS SQL is a powerful relational database management
system, which means it can efficiently manage large volumes of data and ensure data
consistency and accuracy.
2. Scalability: MS SQL can handle large amounts of data and can scale easily as the CD store
grows, making it a suitable choice for businesses that expect to expand their operations over
time.
3. Security: MS SQL provides robust security features, including role-based access control, data
encryption, and auditing, to protect sensitive data from unauthorized access and ensure
compliance with data protection regulations.
4. Data analysis and reporting: MS SQL has powerful data analysis and reporting capabilities,
allowing CD store owners to gain insights into customer behavior, sales trends, and inventory
management, among other things.
Abstract of the project
 We created a database program that manage CD store.
 Management include storing record of CD’s
customer, employees.
 It also store the data of hourly based employees.
 We have ensure column level security and row level
security in our project.
 It also perform some mathematical calculation like avg
salary of employee's etc. using aggregate function.
Conti:
 We will retrieve specific record from our database using
joins, stored procedure etc.
Operation to create CD-store management
 Tables
 Inserting data into these tables.
 Retrieval of data with the help different queries(on
demand/request).
 Constraints
 View
 Stored procedure
 Aggregate function
 Joins etc.
ER diagram
Tables/Relation
 To store Record.
 Different tables in our Program
 CD: store detail of cd which are common among all type of cd.
 Movie_CD:Store additional detail of movie cd’s.
 Game_CD:Store additional detail of movie cd’s.
 Customer: To store customer detail.
 Order CD: To store order detail.
 Employees: Store Employees detail of the store.
 Employees Hours: store detail of hourly based employee's (extra
time)
Class Diagram/Schema
Relation ship:
 CD to Movie_CD: Cd table contain primary key and Movie_CD
contain foreign key.
 CD to Game_cd: Cd table contain primary key and Movie_CD
contain foreign key.
 Customer to order CD: customer table contain primary key and
order CD contain foreign key.
 Employees to Employees hours: Employees table contain primary
key and Employees hours contain foreign key.
View:
 Virtual table to store specific information
 Different views in our program
 Cd_price:It stores the information of those cd whose price
is greater than 7.It also ensure row level security in our
program.
 Employee detail: It stores the all information of employees
excluding salary (ensure column level security).
 Select_ Employee: it stores all information of employees
whose employe id is greater than 20002
Conti:
 Selected Employee for salary: stores information all
employees whose salary is greater than 60000.
 Customer detail: It stores all information of customer
excluding phone number.
 Extra hour: store all information of hourly based
employees whose overtime hour is greater than 5.
Stored procedure:
 Set of quires that can be executed when we need(reuse it).
 Different stored procedure in our program.
 Employee detail in the store.
 Employee detail according to salary.
 Cd detail according to artist.
 Order detail.
 Developer of the game_cd.
Aggregate Function
 Takes multiple values as input and return a single value as output.
 Different aggregate function in our program.
 total_quantity_of_order_CD: uses sum function to calculate total number of
CD in the store.
 average_price_of_CD: use avg function to calculate average selling price of
Cd.
 maximum_Salary_of_Employe: use max function to calculate minimum
salary of an employee.
 minimum_Salary_of_Employe:use min function to calculate minimum salary
of an employee.
Joins
 Use to retrieve combine data from different tables.
 Different joins in our program
 Inner join:Retrive common data from CD and movie cd.
 Left join:Retrive all data from cd table and common data
with movie CD.
 Full outer join: Retrieve all data from cd and movie cd

More Related Content

Similar to CD Store Management.pptx

GERSIS INDUSTRY CASES
GERSIS INDUSTRY CASESGERSIS INDUSTRY CASES
GERSIS INDUSTRY CASESSergej Markov
 
Business Intelligence and Analytics Services
Business Intelligence and Analytics Services  Business Intelligence and Analytics Services
Business Intelligence and Analytics Services
Thinklayer
 
Handling your backups
Handling your backupsHandling your backups
Handling your backups
zedwickm
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on Snowflake
AtScale
 
Make your BW fit for the future
Make your BW fit for the futureMake your BW fit for the future
Make your BW fit for the future
DataVard
 
Mobile management
Mobile managementMobile management
Mobile management
Freelancer
 
IBM Cognos tutorial - ABC LEARN
IBM Cognos tutorial - ABC LEARNIBM Cognos tutorial - ABC LEARN
IBM Cognos tutorial - ABC LEARN
abclearnn
 
Cloud MigrationNTC30205122020Running head CLOU.docx
Cloud MigrationNTC30205122020Running head CLOU.docxCloud MigrationNTC30205122020Running head CLOU.docx
Cloud MigrationNTC30205122020Running head CLOU.docx
mary772
 
Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overviewashok kumar
 
1) 500 words or less, differentiate a Databases Management Systems.pdf
1) 500 words or less, differentiate  a Databases Management Systems.pdf1) 500 words or less, differentiate  a Databases Management Systems.pdf
1) 500 words or less, differentiate a Databases Management Systems.pdf
manjan6
 
Canteen Store Department
Canteen Store DepartmentCanteen Store Department
Canteen Store Department
A-Tech and Software Development
 
DX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to workDX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to work
Principled Technologies
 
Efficient storage solutions for your dynamic infrastructure
Efficient storage solutions for your dynamic infrastructureEfficient storage solutions for your dynamic infrastructure
Efficient storage solutions for your dynamic infrastructure
IBM India Smarter Computing
 
Course Outline Ch 2
Course Outline Ch 2Course Outline Ch 2
Course Outline Ch 2
Megan Espinoza
 
AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019
Intel® Software
 

Similar to CD Store Management.pptx (20)

GERSIS INDUSTRY CASES
GERSIS INDUSTRY CASESGERSIS INDUSTRY CASES
GERSIS INDUSTRY CASES
 
Thinklayer-Corporate-Deck
Thinklayer-Corporate-DeckThinklayer-Corporate-Deck
Thinklayer-Corporate-Deck
 
Business Intelligence and Analytics Services
Business Intelligence and Analytics Services  Business Intelligence and Analytics Services
Business Intelligence and Analytics Services
 
ManagedBackup
ManagedBackupManagedBackup
ManagedBackup
 
ITReady DW Day2
ITReady DW Day2ITReady DW Day2
ITReady DW Day2
 
Handling your backups
Handling your backupsHandling your backups
Handling your backups
 
Report Storage
Report StorageReport Storage
Report Storage
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on Snowflake
 
Make your BW fit for the future
Make your BW fit for the futureMake your BW fit for the future
Make your BW fit for the future
 
Mobile management
Mobile managementMobile management
Mobile management
 
IBM Cognos tutorial - ABC LEARN
IBM Cognos tutorial - ABC LEARNIBM Cognos tutorial - ABC LEARN
IBM Cognos tutorial - ABC LEARN
 
Cloud MigrationNTC30205122020Running head CLOU.docx
Cloud MigrationNTC30205122020Running head CLOU.docxCloud MigrationNTC30205122020Running head CLOU.docx
Cloud MigrationNTC30205122020Running head CLOU.docx
 
IT Ready - DW: 1st Day
IT Ready - DW: 1st Day IT Ready - DW: 1st Day
IT Ready - DW: 1st Day
 
Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overview
 
1) 500 words or less, differentiate a Databases Management Systems.pdf
1) 500 words or less, differentiate  a Databases Management Systems.pdf1) 500 words or less, differentiate  a Databases Management Systems.pdf
1) 500 words or less, differentiate a Databases Management Systems.pdf
 
Canteen Store Department
Canteen Store DepartmentCanteen Store Department
Canteen Store Department
 
DX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to workDX2000 from NEC lets you put big data to work
DX2000 from NEC lets you put big data to work
 
Efficient storage solutions for your dynamic infrastructure
Efficient storage solutions for your dynamic infrastructureEfficient storage solutions for your dynamic infrastructure
Efficient storage solutions for your dynamic infrastructure
 
Course Outline Ch 2
Course Outline Ch 2Course Outline Ch 2
Course Outline Ch 2
 
AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019AIDC NY: BODO AI Presentation - 09.19.2019
AIDC NY: BODO AI Presentation - 09.19.2019
 

More from jamilmalik19

Evolution of Database Technology.pptx
Evolution of Database Technology.pptxEvolution of Database Technology.pptx
Evolution of Database Technology.pptx
jamilmalik19
 
Deadlocks.ppt
Deadlocks.pptDeadlocks.ppt
Deadlocks.ppt
jamilmalik19
 
Evolution of Database Technology.pptx
Evolution of Database Technology.pptxEvolution of Database Technology.pptx
Evolution of Database Technology.pptx
jamilmalik19
 
bankers-algorithm2.pptx
bankers-algorithm2.pptxbankers-algorithm2.pptx
bankers-algorithm2.pptx
jamilmalik19
 
Exception Handling ,templates in C++
Exception Handling ,templates in C++Exception Handling ,templates in C++
Exception Handling ,templates in C++
jamilmalik19
 
Introduction to DSA
Introduction to DSAIntroduction to DSA
Introduction to DSA
jamilmalik19
 
Wildcard In database
Wildcard In databaseWildcard In database
Wildcard In database
jamilmalik19
 
Angular momentum
Angular momentumAngular momentum
Angular momentum
jamilmalik19
 
What is IDE in C++?
What is IDE in C++?What is IDE in C++?
What is IDE in C++?
jamilmalik19
 
introduction to C++.pptx
introduction to C++.pptxintroduction to C++.pptx
introduction to C++.pptx
jamilmalik19
 
Data Types and variables in C++.pptx
Data Types and variables in C++.pptxData Types and variables in C++.pptx
Data Types and variables in C++.pptx
jamilmalik19
 

More from jamilmalik19 (11)

Evolution of Database Technology.pptx
Evolution of Database Technology.pptxEvolution of Database Technology.pptx
Evolution of Database Technology.pptx
 
Deadlocks.ppt
Deadlocks.pptDeadlocks.ppt
Deadlocks.ppt
 
Evolution of Database Technology.pptx
Evolution of Database Technology.pptxEvolution of Database Technology.pptx
Evolution of Database Technology.pptx
 
bankers-algorithm2.pptx
bankers-algorithm2.pptxbankers-algorithm2.pptx
bankers-algorithm2.pptx
 
Exception Handling ,templates in C++
Exception Handling ,templates in C++Exception Handling ,templates in C++
Exception Handling ,templates in C++
 
Introduction to DSA
Introduction to DSAIntroduction to DSA
Introduction to DSA
 
Wildcard In database
Wildcard In databaseWildcard In database
Wildcard In database
 
Angular momentum
Angular momentumAngular momentum
Angular momentum
 
What is IDE in C++?
What is IDE in C++?What is IDE in C++?
What is IDE in C++?
 
introduction to C++.pptx
introduction to C++.pptxintroduction to C++.pptx
introduction to C++.pptx
 
Data Types and variables in C++.pptx
Data Types and variables in C++.pptxData Types and variables in C++.pptx
Data Types and variables in C++.pptx
 

Recently uploaded

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

CD Store Management.pptx

  • 1. CD Store Management Group Members: Jamil Malik Adil Iqbal Samama Nabeel Abbasi
  • 2. Introduction to CD store  A CD management store is a retail establishment that specializes in selling and managing compact discs (CDs). These stores typically offer a wide selection of music, movies, and other media on CD format. The staff at these stores may provide recommendations, help customers find specific titles, and offer information on new releases. CD management stores may also offer services such as CD repair, cleaning, and trade-ins. In recent years, many CD management stores have expanded their offerings to include vinyl records, DVDs, and Blu-rays.
  • 3. Why we choose MS SQL  Storing data in MS SQL for a CD store management system can offer several benefits, including: 1. Relational database management: MS SQL is a powerful relational database management system, which means it can efficiently manage large volumes of data and ensure data consistency and accuracy. 2. Scalability: MS SQL can handle large amounts of data and can scale easily as the CD store grows, making it a suitable choice for businesses that expect to expand their operations over time. 3. Security: MS SQL provides robust security features, including role-based access control, data encryption, and auditing, to protect sensitive data from unauthorized access and ensure compliance with data protection regulations. 4. Data analysis and reporting: MS SQL has powerful data analysis and reporting capabilities, allowing CD store owners to gain insights into customer behavior, sales trends, and inventory management, among other things.
  • 4. Abstract of the project  We created a database program that manage CD store.  Management include storing record of CD’s customer, employees.  It also store the data of hourly based employees.  We have ensure column level security and row level security in our project.  It also perform some mathematical calculation like avg salary of employee's etc. using aggregate function.
  • 5. Conti:  We will retrieve specific record from our database using joins, stored procedure etc.
  • 6. Operation to create CD-store management  Tables  Inserting data into these tables.  Retrieval of data with the help different queries(on demand/request).  Constraints  View  Stored procedure  Aggregate function  Joins etc.
  • 8. Tables/Relation  To store Record.  Different tables in our Program  CD: store detail of cd which are common among all type of cd.  Movie_CD:Store additional detail of movie cd’s.  Game_CD:Store additional detail of movie cd’s.  Customer: To store customer detail.  Order CD: To store order detail.  Employees: Store Employees detail of the store.  Employees Hours: store detail of hourly based employee's (extra time)
  • 10. Relation ship:  CD to Movie_CD: Cd table contain primary key and Movie_CD contain foreign key.  CD to Game_cd: Cd table contain primary key and Movie_CD contain foreign key.  Customer to order CD: customer table contain primary key and order CD contain foreign key.  Employees to Employees hours: Employees table contain primary key and Employees hours contain foreign key.
  • 11. View:  Virtual table to store specific information  Different views in our program  Cd_price:It stores the information of those cd whose price is greater than 7.It also ensure row level security in our program.  Employee detail: It stores the all information of employees excluding salary (ensure column level security).  Select_ Employee: it stores all information of employees whose employe id is greater than 20002
  • 12. Conti:  Selected Employee for salary: stores information all employees whose salary is greater than 60000.  Customer detail: It stores all information of customer excluding phone number.  Extra hour: store all information of hourly based employees whose overtime hour is greater than 5.
  • 13. Stored procedure:  Set of quires that can be executed when we need(reuse it).  Different stored procedure in our program.  Employee detail in the store.  Employee detail according to salary.  Cd detail according to artist.  Order detail.  Developer of the game_cd.
  • 14. Aggregate Function  Takes multiple values as input and return a single value as output.  Different aggregate function in our program.  total_quantity_of_order_CD: uses sum function to calculate total number of CD in the store.  average_price_of_CD: use avg function to calculate average selling price of Cd.  maximum_Salary_of_Employe: use max function to calculate minimum salary of an employee.  minimum_Salary_of_Employe:use min function to calculate minimum salary of an employee.
  • 15. Joins  Use to retrieve combine data from different tables.  Different joins in our program  Inner join:Retrive common data from CD and movie cd.  Left join:Retrive all data from cd table and common data with movie CD.  Full outer join: Retrieve all data from cd and movie cd