Advanced Database Applications
Added on 2023-04-06
33 Pages1634 Words420 Views
|
|
|
University
Semester
ADVANCED DATABASE APPLICATIONS
Student ID
Student Name
Submission Date
1
Semester
ADVANCED DATABASE APPLICATIONS
Student ID
Student Name
Submission Date
1
![Advanced Database Applications_1](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fov%2F77924abeafe4464c9f4e92ddb2caf9cd.jpg&w=3840&q=10)
Table of Contents
Task One - Conceptual Entity-Relationship Diagram for Sonic Live..........................................................3
Task Two - Logical Entity-Relationship Diagram for Sonic Live...............................................................4
Task Three - Use of RDBMS and ORDBMS..............................................................................................5
Similarities..............................................................................................................................................5
Differences..............................................................................................................................................5
Task Four - SQL DDL statements...............................................................................................................6
Task Five - Implement a Distributed Relational Database Environment...................................................20
References.................................................................................................................................................25
Appendix...................................................................................................................................................26
2
Task One - Conceptual Entity-Relationship Diagram for Sonic Live..........................................................3
Task Two - Logical Entity-Relationship Diagram for Sonic Live...............................................................4
Task Three - Use of RDBMS and ORDBMS..............................................................................................5
Similarities..............................................................................................................................................5
Differences..............................................................................................................................................5
Task Four - SQL DDL statements...............................................................................................................6
Task Five - Implement a Distributed Relational Database Environment...................................................20
References.................................................................................................................................................25
Appendix...................................................................................................................................................26
2
![Advanced Database Applications_2](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fbk%2Fa3416e2547c64e13a97fa92f2bc1e1ea.jpg&w=3840&q=10)
Task One - Conceptual Entity-Relationship Diagram for Sonic Live
In this task, we are create the Conceptual Entity-Relationship Diagram for Sonic Live. It
is illustrated as below.
3
In this task, we are create the Conceptual Entity-Relationship Diagram for Sonic Live. It
is illustrated as below.
3
![Advanced Database Applications_3](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fgi%2F2bd3990d55df4ce28c123b12dbddb220.jpg&w=3840&q=10)
Task Two - Logical Entity-Relationship Diagram for Sonic Live
In this task, we are create the logical Entity-Relationship Diagram for Sonic Live. It is
illustrated as below.
4
In this task, we are create the logical Entity-Relationship Diagram for Sonic Live. It is
illustrated as below.
4
![Advanced Database Applications_4](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fza%2Fc5e8009e336a470a94304ae0886c5017.jpg&w=3840&q=10)
Task Three - Use of RDBMS and ORDBMS
Below are the similarities and differences of relational database management system and object
relational database management system (Dick, 2018).
Similarities
i. They both support database creation.
ii. They both support creation of tables.
iii. They both support creation of relationships between database tables.
Differences
S.No RDBMS ORDBMS
1 It means
Relational Database Management
Systems
It means Object – Relational Database
Systems
2 It is mainly based on Relational Data
Models
It is mainly based on Object Data Models
(ODM)
3 It is the most dominated data model It is currently becoming popular.
5 It mainly supports data types which are
small and fixed in nature like integers,
date and strings.
It supports use of complex objects in the
object oriented database systems and
relational database systems.
6 It only support the use of Structured
Query Languages( SQL )
It only support Object Query Languages
(OQL).
8 It is able to support the use of Standard
data types and other additional data
types e.g. integer, date, and varchar
It is able to Support standard data types
and newer richer data typese.g. users-
defined data types, inheritance data types,
and object-identity data types (Michael,
2017).
5
Below are the similarities and differences of relational database management system and object
relational database management system (Dick, 2018).
Similarities
i. They both support database creation.
ii. They both support creation of tables.
iii. They both support creation of relationships between database tables.
Differences
S.No RDBMS ORDBMS
1 It means
Relational Database Management
Systems
It means Object – Relational Database
Systems
2 It is mainly based on Relational Data
Models
It is mainly based on Object Data Models
(ODM)
3 It is the most dominated data model It is currently becoming popular.
5 It mainly supports data types which are
small and fixed in nature like integers,
date and strings.
It supports use of complex objects in the
object oriented database systems and
relational database systems.
6 It only support the use of Structured
Query Languages( SQL )
It only support Object Query Languages
(OQL).
8 It is able to support the use of Standard
data types and other additional data
types e.g. integer, date, and varchar
It is able to Support standard data types
and newer richer data typese.g. users-
defined data types, inheritance data types,
and object-identity data types (Michael,
2017).
5
![Advanced Database Applications_5](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Faj%2F6db0aa1f01d24dd18ba30480a2ccdfe3.jpg&w=3840&q=10)
Task Four - SQL DDL statements
Part One – Table Creation
Creation of table was successfully completed which is illustrated as below.
For Customer Table,
6
Part One – Table Creation
Creation of table was successfully completed which is illustrated as below.
For Customer Table,
6
![Advanced Database Applications_6](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Ffl%2F2efc54d74de74d279b37649a57c7f5d0.jpg&w=3840&q=10)
create table customer
( "customer_id" varchar2(20 byte),
"first_name" varchar2(20 byte),
"last_name" varchar2(20 byte),
"address" varchar2(20 byte),
"firstpointofcall" varchar2(20 byte)
)
For Driver Table,
create table driver
( "staff_id" varchar2(20 byte),
"van_no" varchar2(20 byte),
"van_type" varchar2(20 byte),
"license_no" varchar2(20 byte),
"make_model" varchar2(20 byte),
"bonus" varchar2(20 byte)
)
7
( "customer_id" varchar2(20 byte),
"first_name" varchar2(20 byte),
"last_name" varchar2(20 byte),
"address" varchar2(20 byte),
"firstpointofcall" varchar2(20 byte)
)
For Driver Table,
create table driver
( "staff_id" varchar2(20 byte),
"van_no" varchar2(20 byte),
"van_type" varchar2(20 byte),
"license_no" varchar2(20 byte),
"make_model" varchar2(20 byte),
"bonus" varchar2(20 byte)
)
7
![Advanced Database Applications_7](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fcw%2Fa391ceb90f5c4ee0a858e35cb98fae67.jpg&w=3840&q=10)
For equipment Table,
create table equipment
( "equipment_no" varchar2(20 byte),
"equipment_name" varchar2(20 byte),
"quantity" varchar2(20 byte),
"unitcost" varchar2(20 byte),
"morecareitem" varchar2(20 byte),
"lesscareitem" varchar2(20 byte)
)
For Equipment service Table,
8
create table equipment
( "equipment_no" varchar2(20 byte),
"equipment_name" varchar2(20 byte),
"quantity" varchar2(20 byte),
"unitcost" varchar2(20 byte),
"morecareitem" varchar2(20 byte),
"lesscareitem" varchar2(20 byte)
)
For Equipment service Table,
8
![Advanced Database Applications_8](/_next/image/?url=https%3A%2F%2Fdesklib.com%2Fmedia%2Fimages%2Fct%2F92055a62329247758f8e80919000f863.jpg&w=3840&q=10)
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
Database Design and Development Tasks 2022lg...
|24
|1941
|21
Data Modeling & SQL Languagelg...
|30
|2407
|146
SQL Database | Assignment-1lg...
|30
|3102
|24
Introduction to Web and Database Conceptslg...
|23
|2946
|59
Hospital Assesment And Review Managementlg...
|16
|1869
|19
Database Concepts Theory Assignmentlg...
|25
|2759
|26