Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PL-SQL Expert

The Assignment: Specification and Marking Criteria

In this assignment, you are to design and implement the Best Deal business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of the Best Deal.

Note: If your assignment-1 was incomplete to cover the application scenario or incorrect in some parts, you will need to remodel it before completing this assignment. Read the marking comments of assignment-1 carefully and talk to your marker if necessary.

The specification of this assignment

1. Database implementation

• You are to design and implement the ER model of assignment-1, including entities/associative entities, relationships and cardinalities, into a Microsoft Access database.

You need to ensure that your database is compatible with MS Access 2007 for marking purpose.

• You need to ensure that relations of your database meet 3NF.

• Your database needs to include sample data to support the required SQL queries.

2. SQL query

As a way to demonstrate success, you are to implement a series of queries on the database to reflect the business logic of the Best Deal. Note: You are to create the queries manually by using the SQL view of MS Access query builder to demonstrate your competency in SQL. Failing to do so may result in marks to be deducted.

Query-1: List all the sellers to show:

• The seller names

• The seller addresses

Query-2: List all the buyers to show:

• The buyer names

• The buyer addresses

Query-3: List all the contact details of a seller or a buyer to show:

• The buyer/seller name

• The contact type e.g. email

• The contact details e.g. w.li@cqu.edu.au

Note: the seller name is a parameter to enter when executing this query in Microsoft Access. A seller or buyer could have more than one contact e.g. email, mobile and home phone.

Query-4: List all the sellers and the products that they have already sold to show:

• The seller name

• The product brand, model , sold price and sold amount

Query-5: List all the listings that have no bids to be put for them so far to show:

• The product ID, brand and model

• The listing numbers

Query-6: List all the applications for all used phones to show

• The product ID, brand and model

• The data, call rates and network

• The weekly rent

• The application numbers

Query-7: List sellers and the benefit they have made to show:

• The customer name

• The product ID, brand and model

• The data, call rates and network

• The weekly rent and contract weeks

• The benefit that can be made in dollars

Query-8: List all sellers who had obtained quick delivery comments to show:

• The seller name

• The complete comment

3. Query Report

Generate a Microsoft Access report for the biggest bid of each listing to show:

• The listing ID

• The brand and model

• The starting price of the listing and the biggest bid for it

• The bidder name and all of his/her contact details

4. Implementation document

You are to write a short report to demonstrate that you have thought carefully about the issues that arise when implementing the database. You may address:

• The multiple implementation choices, such as the data type and size selection for a particular attribute or the cardinality of a relationship etc and justify your selection.

• The major issues that you have encountered for the database implementation.

• The major issues that you have encountered for creating queries/reports.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M91610308

Have any Question?


Related Questions in PL-SQL

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As