SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Submitted to:
Dr Ala Al-Zobaidie
Greenwich Coordinator
Submitted by: Md. Mahbub Alam
Student ID: 000788896
Daffodil Institute of IT, Bangladesh
Coursework On
Database Design and Implementation
Course: COMP1302
Title: Database System for MORP
DATABASE DESIGN AND IMPLEMENTATION 1
Table of Contents
[D1] Assumptions....................................................................................................................................2
[D2] Conceptual Model Diagram ............................................................................................................0
[D3] Relational Schema...........................................................................................................................1
[D4] Normalisation Declaration..............................................................................................................0
[D5] Database .........................................................................................................................................1
[D6] SQL Codes........................................................................................................................................2
[D7] User Registration Form ...................................................................................................................3
[D8] Report for Application.....................................................................................................................4
[D9] Master and Detail Form ..................................................................................................................5
[D10] Output of all queries, forms and reports ......................................................................................6
Conclusion...............................................................................................................................................8
DATABASE DESIGN AND IMPLEMENTATION 2
[D1] Assumptions
 With Purchase & Metamorphosis table, all query and report can be execute. So, they are not
included into the database.
 Super Avatars (who are wanted to join breed process) unable to breed if both are under one
user.
 After sell of avatar user unable to return it with buy.
[D2] Conceptual Model Diagram
SPECIES AVATAR
MEGA
SUPER
MASTER
SELLUSER
WEAPONS_USERWEAPONS
Can
Contain
Has
Have
Has
May
Can be
Assigned
(0,1)
(1,M)
(1,1)
(1,M)
(1,1)
(1,M)
(1,1)
(1,M)
(1,1)
(1,1)
(1,1)
(1,1)
(1,1)(1,M)
Sale_IDUID
SID AID
WUIDWID
DATABASE DESIGN AND IMPLEMENTATION 1
[D3] Relational Schema
SPECIES (SID, s_name, strenth, cost)
WEAPONS (WID, w_name, range, max_use, damage_factor, cost)
WEAPONS_USER (WUID, WID, AID)
AVATAR (AID, A_NAME, DOB, joining_date, strenth_indicator, gender, hoard, UID, SID)
USER (UID, user_email, password, u_name, DOB, gender, joining_date)
SELL (Sale_ID, UID, AID, buyer_id, exchange)
SUPER (AID, wisdom_level)
MEGA (AID, F_name, m_name, magic_power)
MASTER (AID, leadership_skill)
[D4] Normalisation Declaration
The Relational Schema satisfies 3NF criteria
DATABASE DESIGN AND IMPLEMENTATION 1
[D5] Database
The database for the relational schema as stated above has been done with the DBMS Microsoft
Access and named as MORF. So, the MORF database has been attached in a zip file.
DATABASE DESIGN AND IMPLEMENTATION 2
[D6] SQL Codes
The SQL code for the application from A1-A4 is given below:
A1.
SELECT u.user_email AS Email, a.DOB, m.F_name AS Father, m.m_name AS
Mother
FROM AVATAR AS a, [USER] AS u, MEGA AS m
WHERE a.UID=u.UID and m.AID = a.AID and a.a_name= [Insert Avatar
Name];
A2.
SELECT u.user_email AS [User Email], a.a_name AS [Avatar Name],
sp.s_name AS [Species Name], s.wisdom_level AS [Wisdom Category],
m.leadership_skill AS [Leadership Skill], a.hoard AS Hoard
FROM SPECIES AS sp, AVATAR AS a, [USER] AS u, MASTER AS m, SUPER AS
s
WHERE a.UID=u.UID and m.AID = a.AID and s.AID = a.AID and sp.SID =
a.SID and a.DOB >= [First Date ] and a.DOB <= [Last Date ]
ORDER BY a.hoard;
A3.
SELECT a.a_name AS [Avater Name], a.DOB, a.strenth_indicator AS
[Strenth Indicator], a.gender AS Gender, a.hoard AS Hoard,
s.wisdom_level AS [Wisdom Level], sa.UID AS [User ID], sa.buyer_id
AS [Buyer ID], sa.exchange AS [Exchange Date]
FROM AVATAR AS a, [USER] AS u, SELL AS sa, SUPER AS s
WHERE sa.AID = a.AID and s.AID = sa.AID and u.UID = sa.UID and a.AID
in ( Select AID from SELL group by AID having count(AID)>2);
A4.
SELECT AVATAR.a_name, SPECIES.s_name, MEGA.magic_power, MEGA.f_name,
s1.s_name, s1.cost, SUPER.wisdom_level, MEGA.m_name, s2.s_name,
s2.cost, su.wisdom_level
FROM MEGA, AVATAR, SPECIES, SUPER, SPECIES AS s1, SPECIES AS s2,
AVATAR AS a1, AVATAR AS a2, SUPER AS su
WHERE MEGA.AID=AVATAR.AID and AVATAR.a_name=SPECIES.s_name and
MEGA.AID=SUPER.AID and SUPER.AID=a1.AID and a1.a_name=s1.s_name And
MEGA.AID=su.AID And su.AID=a2.AID And a2.a_name=s2.s_name And
AVATAR.hoard>16;
DATABASE DESIGN AND IMPLEMENTATION 3
[D7] User Registration Form
DATABASE DESIGN AND IMPLEMENTATION 4
[D8] Report for Application
DATABASE DESIGN AND IMPLEMENTATION 5
[D9] Master and Detail Form
DATABASE DESIGN AND IMPLEMENTATION 6
[D10] Output of all queries, forms and reports
Relationship in Access:
Output- A1
Output- A2
DATABASE DESIGN AND IMPLEMENTATION 7
Output- A3
Output- A4
DATABASE DESIGN AND IMPLEMENTATION 8
Conclusion
By completing this course work I get knowledge about extended Entity Relationship Diagram, master
detail form and report. This course work developed my developing skill my research and creative
ability. Now I am more confident about Database Design and Implementation. At this moment I am so
much happy by complete this course work successfully.

Weitere Àhnliche Inhalte

Was ist angesagt?

Animation
AnimationAnimation
Animationdaveparky
 
Data mining extensions dmx - reference
Data mining extensions   dmx - referenceData mining extensions   dmx - reference
Data mining extensions dmx - referenceSteve Xu
 
Agm bit locker_administration_and_monitoring_1.0
Agm bit locker_administration_and_monitoring_1.0Agm bit locker_administration_and_monitoring_1.0
Agm bit locker_administration_and_monitoring_1.0Steve Xu
 
Windows azure sql_database_tutorials
Windows azure sql_database_tutorialsWindows azure sql_database_tutorials
Windows azure sql_database_tutorialsSteve Xu
 
Sql server community_fa_qs_manual
Sql server community_fa_qs_manualSql server community_fa_qs_manual
Sql server community_fa_qs_manualSteve Xu
 
Trevo project management documentation
Trevo project management documentationTrevo project management documentation
Trevo project management documentationTuononenP
 
automatic database schema generation
automatic database schema generationautomatic database schema generation
automatic database schema generationsoma Dileep kumar
 
Getting started with the entity framework 4.1 using asp.net mvc
Getting started with the entity framework 4.1 using asp.net mvcGetting started with the entity framework 4.1 using asp.net mvc
Getting started with the entity framework 4.1 using asp.net mvcSteve Xu
 
Autoscaling application block and transient fault handling application block ...
Autoscaling application block and transient fault handling application block ...Autoscaling application block and transient fault handling application block ...
Autoscaling application block and transient fault handling application block ...Steve Xu
 
3 openerp hr-book.complete
3 openerp hr-book.complete3 openerp hr-book.complete
3 openerp hr-book.completeopenerpwiki
 
Thesis klausi
Thesis klausiThesis klausi
Thesis klausimooru
 
Sql server 2012 tutorials reporting services
Sql server 2012 tutorials   reporting servicesSql server 2012 tutorials   reporting services
Sql server 2012 tutorials reporting servicesSteve Xu
 
Access Tutorial
Access TutorialAccess Tutorial
Access TutorialZombie Black
 

Was ist angesagt? (15)

Animation
AnimationAnimation
Animation
 
Data mining extensions dmx - reference
Data mining extensions   dmx - referenceData mining extensions   dmx - reference
Data mining extensions dmx - reference
 
Agm bit locker_administration_and_monitoring_1.0
Agm bit locker_administration_and_monitoring_1.0Agm bit locker_administration_and_monitoring_1.0
Agm bit locker_administration_and_monitoring_1.0
 
Windows azure sql_database_tutorials
Windows azure sql_database_tutorialsWindows azure sql_database_tutorials
Windows azure sql_database_tutorials
 
Sql server community_fa_qs_manual
Sql server community_fa_qs_manualSql server community_fa_qs_manual
Sql server community_fa_qs_manual
 
Trevo project management documentation
Trevo project management documentationTrevo project management documentation
Trevo project management documentation
 
automatic database schema generation
automatic database schema generationautomatic database schema generation
automatic database schema generation
 
Getting started with the entity framework 4.1 using asp.net mvc
Getting started with the entity framework 4.1 using asp.net mvcGetting started with the entity framework 4.1 using asp.net mvc
Getting started with the entity framework 4.1 using asp.net mvc
 
Live chat srs
Live chat srsLive chat srs
Live chat srs
 
Word 2007 2
Word 2007 2Word 2007 2
Word 2007 2
 
Autoscaling application block and transient fault handling application block ...
Autoscaling application block and transient fault handling application block ...Autoscaling application block and transient fault handling application block ...
Autoscaling application block and transient fault handling application block ...
 
3 openerp hr-book.complete
3 openerp hr-book.complete3 openerp hr-book.complete
3 openerp hr-book.complete
 
Thesis klausi
Thesis klausiThesis klausi
Thesis klausi
 
Sql server 2012 tutorials reporting services
Sql server 2012 tutorials   reporting servicesSql server 2012 tutorials   reporting services
Sql server 2012 tutorials reporting services
 
Access Tutorial
Access TutorialAccess Tutorial
Access Tutorial
 

Ähnlich wie Database Design & Implementation

Leveraging Apache Spark for Scalable Data Prep and Inference in Deep Learning
Leveraging Apache Spark for Scalable Data Prep and Inference in Deep LearningLeveraging Apache Spark for Scalable Data Prep and Inference in Deep Learning
Leveraging Apache Spark for Scalable Data Prep and Inference in Deep LearningDatabricks
 
Planning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft PlannerPlanning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft PlannerAndré Vala
 
Build a Big Data solution using DB2 for z/OS
Build a Big Data solution using DB2 for z/OSBuild a Big Data solution using DB2 for z/OS
Build a Big Data solution using DB2 for z/OSJane Man
 
Lecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningLecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningmy6305874
 
Prisoner Management System
Prisoner Management SystemPrisoner Management System
Prisoner Management SystemPrince Kumar
 
E_Commerce
E_CommerceE_Commerce
E_CommerceSilpiNandi1
 
E_Commerce Data model
E_Commerce Data modelE_Commerce Data model
E_Commerce Data modelSilpiNandi1
 
SQL Statement Template
SQL Statement TemplateSQL Statement Template
SQL Statement TemplateOsama M. Khaled
 
Udf&views in sql...by thanveer melayi
Udf&views in sql...by thanveer melayiUdf&views in sql...by thanveer melayi
Udf&views in sql...by thanveer melayiMuhammed Thanveer M
 
Spark ml streaming
Spark ml streamingSpark ml streaming
Spark ml streamingAdam Doyle
 
Spark streaming , Spark SQL
Spark streaming , Spark SQLSpark streaming , Spark SQL
Spark streaming , Spark SQLYousun Jeong
 
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdfyishengxi
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
ProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSsunmitraeducation
 
01 nosql and multi model database
01   nosql and multi model database01   nosql and multi model database
01 nosql and multi model databaseMahdi Atawneh
 
Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developersllangit
 
Database@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenTammy Bednar
 
Move a successful onpremise oltp application to the cloud
Move a successful onpremise oltp application to the cloudMove a successful onpremise oltp application to the cloud
Move a successful onpremise oltp application to the cloudIke Ellis
 
R language tutorial
R language tutorialR language tutorial
R language tutorialDavid Chiu
 

Ähnlich wie Database Design & Implementation (20)

Leveraging Apache Spark for Scalable Data Prep and Inference in Deep Learning
Leveraging Apache Spark for Scalable Data Prep and Inference in Deep LearningLeveraging Apache Spark for Scalable Data Prep and Inference in Deep Learning
Leveraging Apache Spark for Scalable Data Prep and Inference in Deep Learning
 
Planning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft PlannerPlanning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft Planner
 
Build a Big Data solution using DB2 for z/OS
Build a Big Data solution using DB2 for z/OSBuild a Big Data solution using DB2 for z/OS
Build a Big Data solution using DB2 for z/OS
 
Lecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learningLecture 1 Pandas Basics.pptx machine learning
Lecture 1 Pandas Basics.pptx machine learning
 
Prisoner Management System
Prisoner Management SystemPrisoner Management System
Prisoner Management System
 
E_Commerce
E_CommerceE_Commerce
E_Commerce
 
E_Commerce Data model
E_Commerce Data modelE_Commerce Data model
E_Commerce Data model
 
SQL Statement Template
SQL Statement TemplateSQL Statement Template
SQL Statement Template
 
Udf&views in sql...by thanveer melayi
Udf&views in sql...by thanveer melayiUdf&views in sql...by thanveer melayi
Udf&views in sql...by thanveer melayi
 
Spark ml streaming
Spark ml streamingSpark ml streaming
Spark ml streaming
 
Spark streaming , Spark SQL
Spark streaming , Spark SQLSpark streaming , Spark SQL
Spark streaming , Spark SQL
 
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
22-4_PerformanceTuningUsingtheAdvisorFramework.pdf
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
ProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPS
 
01 nosql and multi model database
01   nosql and multi model database01   nosql and multi model database
01 nosql and multi model database
 
Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developers
 
Database@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data Driven
 
My sql udf,views
My sql udf,viewsMy sql udf,views
My sql udf,views
 
Move a successful onpremise oltp application to the cloud
Move a successful onpremise oltp application to the cloudMove a successful onpremise oltp application to the cloud
Move a successful onpremise oltp application to the cloud
 
R language tutorial
R language tutorialR language tutorial
R language tutorial
 

Mehr von Md. Mahbub Alam

Employee Leave Management System
Employee Leave Management SystemEmployee Leave Management System
Employee Leave Management SystemMd. Mahbub Alam
 
Advance Java course work under NCC Education June 2011
Advance Java course work  under NCC Education June 2011Advance Java course work  under NCC Education June 2011
Advance Java course work under NCC Education June 2011Md. Mahbub Alam
 
Enterprise networking course work under NCC Education
Enterprise networking course work under NCC EducationEnterprise networking course work under NCC Education
Enterprise networking course work under NCC EducationMd. Mahbub Alam
 
Database design and Development
Database design and DevelopmentDatabase design and Development
Database design and DevelopmentMd. Mahbub Alam
 
Advance web Design
Advance web DesignAdvance web Design
Advance web DesignMd. Mahbub Alam
 
System Analysis & Design (NCC Education)
System Analysis & Design (NCC Education)System Analysis & Design (NCC Education)
System Analysis & Design (NCC Education)Md. Mahbub Alam
 
Interaction Design
Interaction DesignInteraction Design
Interaction DesignMd. Mahbub Alam
 
Accessories Shop Management System on Advance JAVA
 Accessories Shop Management System on Advance JAVA Accessories Shop Management System on Advance JAVA
Accessories Shop Management System on Advance JAVAMd. Mahbub Alam
 
Development, Frameworks and Methods
Development, Frameworks and MethodsDevelopment, Frameworks and Methods
Development, Frameworks and MethodsMd. Mahbub Alam
 
Information Requirement Analysis
Information Requirement AnalysisInformation Requirement Analysis
Information Requirement AnalysisMd. Mahbub Alam
 
IT Project and Quality Management
IT Project and Quality ManagementIT Project and Quality Management
IT Project and Quality ManagementMd. Mahbub Alam
 

Mehr von Md. Mahbub Alam (12)

Employee Leave Management System
Employee Leave Management SystemEmployee Leave Management System
Employee Leave Management System
 
Advance Java course work under NCC Education June 2011
Advance Java course work  under NCC Education June 2011Advance Java course work  under NCC Education June 2011
Advance Java course work under NCC Education June 2011
 
Enterprise networking course work under NCC Education
Enterprise networking course work under NCC EducationEnterprise networking course work under NCC Education
Enterprise networking course work under NCC Education
 
Database design and Development
Database design and DevelopmentDatabase design and Development
Database design and Development
 
Advance web Design
Advance web DesignAdvance web Design
Advance web Design
 
System Analysis & Design (NCC Education)
System Analysis & Design (NCC Education)System Analysis & Design (NCC Education)
System Analysis & Design (NCC Education)
 
Interaction Design
Interaction DesignInteraction Design
Interaction Design
 
Accessories Shop Management System on Advance JAVA
 Accessories Shop Management System on Advance JAVA Accessories Shop Management System on Advance JAVA
Accessories Shop Management System on Advance JAVA
 
eCommerce
eCommerceeCommerce
eCommerce
 
Development, Frameworks and Methods
Development, Frameworks and MethodsDevelopment, Frameworks and Methods
Development, Frameworks and Methods
 
Information Requirement Analysis
Information Requirement AnalysisInformation Requirement Analysis
Information Requirement Analysis
 
IT Project and Quality Management
IT Project and Quality ManagementIT Project and Quality Management
IT Project and Quality Management
 

KĂŒrzlich hochgeladen

Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 

KĂŒrzlich hochgeladen (20)

Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 

Database Design & Implementation

  • 1. Submitted to: Dr Ala Al-Zobaidie Greenwich Coordinator Submitted by: Md. Mahbub Alam Student ID: 000788896 Daffodil Institute of IT, Bangladesh Coursework On Database Design and Implementation Course: COMP1302 Title: Database System for MORP
  • 2. DATABASE DESIGN AND IMPLEMENTATION 1 Table of Contents [D1] Assumptions....................................................................................................................................2 [D2] Conceptual Model Diagram ............................................................................................................0 [D3] Relational Schema...........................................................................................................................1 [D4] Normalisation Declaration..............................................................................................................0 [D5] Database .........................................................................................................................................1 [D6] SQL Codes........................................................................................................................................2 [D7] User Registration Form ...................................................................................................................3 [D8] Report for Application.....................................................................................................................4 [D9] Master and Detail Form ..................................................................................................................5 [D10] Output of all queries, forms and reports ......................................................................................6 Conclusion...............................................................................................................................................8
  • 3. DATABASE DESIGN AND IMPLEMENTATION 2 [D1] Assumptions  With Purchase & Metamorphosis table, all query and report can be execute. So, they are not included into the database.  Super Avatars (who are wanted to join breed process) unable to breed if both are under one user.  After sell of avatar user unable to return it with buy.
  • 4. [D2] Conceptual Model Diagram SPECIES AVATAR MEGA SUPER MASTER SELLUSER WEAPONS_USERWEAPONS Can Contain Has Have Has May Can be Assigned (0,1) (1,M) (1,1) (1,M) (1,1) (1,M) (1,1) (1,M) (1,1) (1,1) (1,1) (1,1) (1,1)(1,M) Sale_IDUID SID AID WUIDWID
  • 5. DATABASE DESIGN AND IMPLEMENTATION 1 [D3] Relational Schema SPECIES (SID, s_name, strenth, cost) WEAPONS (WID, w_name, range, max_use, damage_factor, cost) WEAPONS_USER (WUID, WID, AID) AVATAR (AID, A_NAME, DOB, joining_date, strenth_indicator, gender, hoard, UID, SID) USER (UID, user_email, password, u_name, DOB, gender, joining_date) SELL (Sale_ID, UID, AID, buyer_id, exchange) SUPER (AID, wisdom_level) MEGA (AID, F_name, m_name, magic_power) MASTER (AID, leadership_skill)
  • 6. [D4] Normalisation Declaration The Relational Schema satisfies 3NF criteria
  • 7. DATABASE DESIGN AND IMPLEMENTATION 1 [D5] Database The database for the relational schema as stated above has been done with the DBMS Microsoft Access and named as MORF. So, the MORF database has been attached in a zip file.
  • 8. DATABASE DESIGN AND IMPLEMENTATION 2 [D6] SQL Codes The SQL code for the application from A1-A4 is given below: A1. SELECT u.user_email AS Email, a.DOB, m.F_name AS Father, m.m_name AS Mother FROM AVATAR AS a, [USER] AS u, MEGA AS m WHERE a.UID=u.UID and m.AID = a.AID and a.a_name= [Insert Avatar Name]; A2. SELECT u.user_email AS [User Email], a.a_name AS [Avatar Name], sp.s_name AS [Species Name], s.wisdom_level AS [Wisdom Category], m.leadership_skill AS [Leadership Skill], a.hoard AS Hoard FROM SPECIES AS sp, AVATAR AS a, [USER] AS u, MASTER AS m, SUPER AS s WHERE a.UID=u.UID and m.AID = a.AID and s.AID = a.AID and sp.SID = a.SID and a.DOB >= [First Date ] and a.DOB <= [Last Date ] ORDER BY a.hoard; A3. SELECT a.a_name AS [Avater Name], a.DOB, a.strenth_indicator AS [Strenth Indicator], a.gender AS Gender, a.hoard AS Hoard, s.wisdom_level AS [Wisdom Level], sa.UID AS [User ID], sa.buyer_id AS [Buyer ID], sa.exchange AS [Exchange Date] FROM AVATAR AS a, [USER] AS u, SELL AS sa, SUPER AS s WHERE sa.AID = a.AID and s.AID = sa.AID and u.UID = sa.UID and a.AID in ( Select AID from SELL group by AID having count(AID)>2); A4. SELECT AVATAR.a_name, SPECIES.s_name, MEGA.magic_power, MEGA.f_name, s1.s_name, s1.cost, SUPER.wisdom_level, MEGA.m_name, s2.s_name, s2.cost, su.wisdom_level FROM MEGA, AVATAR, SPECIES, SUPER, SPECIES AS s1, SPECIES AS s2, AVATAR AS a1, AVATAR AS a2, SUPER AS su WHERE MEGA.AID=AVATAR.AID and AVATAR.a_name=SPECIES.s_name and MEGA.AID=SUPER.AID and SUPER.AID=a1.AID and a1.a_name=s1.s_name And MEGA.AID=su.AID And su.AID=a2.AID And a2.a_name=s2.s_name And AVATAR.hoard>16;
  • 9. DATABASE DESIGN AND IMPLEMENTATION 3 [D7] User Registration Form
  • 10. DATABASE DESIGN AND IMPLEMENTATION 4 [D8] Report for Application
  • 11. DATABASE DESIGN AND IMPLEMENTATION 5 [D9] Master and Detail Form
  • 12. DATABASE DESIGN AND IMPLEMENTATION 6 [D10] Output of all queries, forms and reports Relationship in Access: Output- A1 Output- A2
  • 13. DATABASE DESIGN AND IMPLEMENTATION 7 Output- A3 Output- A4
  • 14. DATABASE DESIGN AND IMPLEMENTATION 8 Conclusion By completing this course work I get knowledge about extended Entity Relationship Diagram, master detail form and report. This course work developed my developing skill my research and creative ability. Now I am more confident about Database Design and Implementation. At this moment I am so much happy by complete this course work successfully.