ITECH 1006 Database Management Systems : Solution Essays

Question:

For this assignment you will implement and query a database from a supplied ER Diagram and Schema.  You will be required to write the SQL statements to create the database structures, to fill the database with data and to run queries on the data.

The following course learning outcomes are assessed by completing this assessment:
Design and implement a relational database using a database management system
Utilise a query language tools and techniques to obtain data and information from a database
Describe relational algebra and its relationship to Structured Query Language (SQL)
Interpret entity-relationship diagrams to implement a relational database
Demonstrate skills in designing and building a database application using a commercially available database management system development tool
Use a query language for data manipulation.

 
 

Answer:

Relational Schema:

Table: CUSTOMER

Attribute

Data Type

Primary Key

Foreign

customerID

int

Yes

 

firstName

varchar (40)

 

 

lastName

varchar (40)

 

 

phone

int

 

 

email

varchar (40)

 

 

address

varchar (40)

 

 

suburb

varchar (40)

 

 

postcode

int

 

 

loyaltyDiscount

double

 

 

Table: ORDER

Attribute

Data Type

Primary Key

Foreign

orderID

int

Yes

 

customerID

int

 

CUSTOMER (customerID)

dateOrdered

DATE

 

 

dateFulfilled

DATE

 

 

postageAmount

decimal(10,2)

 

 

discountApplied

double

 

 

Table: INVENTORY

Attribute

Data Type

Primary Key

Foreign

inventoryID

int

Yes

 

category

Int   

 

CATEGORY(categoryID)

title

varchar (40)

 

 

abstract

varchar (500)

 

 

yearPublished

Year

 

 

unitPrice

decimal(10,2)

 

 

Table: ORDER_LINE

Attribute

Data Type

Primary Key

Foreign

orderID

int

Yes

 

inventoryID

int

Yes

INVENTORY (inventoryID)

dateOrdered

DATE

 

 

dateFulfilled

DATE

 

 

postageAmount

decimal(10,2)

 

 

discountApplied

double

 

 

 

 

Bibliography:

de Medeiros, L. F., Priyatna, F., & Corcho, O. (2015). MIRROR: Automatic R2RML mapping generation from relational databases. In International Conference on Web Engineering (pp. 326-343). Springer, Cham.

El?Assady, M., Sevastjanova, R., Gipp, B., Keim, D., & Collins, C. (2017). NEREx: Named?Entity Relationship Exploration in Multi?Party Conversations. In Computer Graphics Forum (Vol. 36, No. 3, pp. 213-225).

Ferreira, B., Faria, L., Ramalho, J. C., & Ferreira, M. (2016). Database Preservation Toolkit: A relational database conversion and normalization tool. In iPRES: 13th International Conference on Digital Preservation.

Mandery, C., Terlemez, O., Do, M., Vahrenkamp, N., & Asfour, T. (2015). The KIT whole-body human motion database. In Advanced Robotics (ICAR), 2015 International Conference on (pp. 329-336). IEEE.

Mathias, S. L., Hines-Kay, J., Yang, J. J., Zahoransky-Kohalmi, G., Bologa, C. G., Ursu, O., & Oprea, T. I. (2013). The CARLSBAD database: a confederated database of chemical bioactivities. Database, 2013, bat044.

McMinn, P., Wright, C. J., Kinneer, C., McCurdy, C. J., Camara, M., & Kapfhammer, G. M. (2016, October). SchemaAnalyst: Search-based test data generation for relational database schemas. In Software Maintenance and Evolution (ICSME), 2016 IEEE International Conference on (pp. 586-590). IEEE.

Pham, M. D., Passing, L., Erling, O., & Boncz, P. (2015). Deriving an emergent relational schema from rdf data. In Proceedings of the 24th International Conference on World Wide Web (pp. 864-874). International World Wide Web Conferences Steering Committee.

Place your order
(550 words)

Approximate price: $22

Homework help cost calculator

600 words
We'll send you the complete homework by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 customer support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • 4 hour deadline
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 300 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
× How can I help you?