Design and implement the best deal business database

Assignment Help PL-SQL Programming
Reference no: EM13939434

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. [email protected]

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.

Reference no: EM13939434

Questions Cloud

Human activities leading to changes in the climate : how the current human activities is leading to changes in the climate and how it is also affecting their socail lifes.
New aerospace simulator system : In 2008, Raytheon Incorporation purchased a new Aerospace simulator System for $600,000. The estimated salvage value was $28,000 after 12 years. If the MARR for the Incorporation is 10% per year, find the minimum trade-in value necessary now to make ..
Estate planning to a group of aboriginal people : You have been asked to present an information session on wills and estate planning to a group of Aboriginal people.
Compute the npv and the irr for each investment : Compute the NPV and the IRR for each investment. Explain why the project with the larger NPV is the correct choice for the company.
Design and implement the best deal business database : 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.
Using the P-E ratio-compute the current EPS : The stock of Ragnar Lothbrok's Viking Cruises is currently selling for $117.13, which equates to a P/E ratio of 16x. Using the P/E ratio, compute the current EPS of Mr. Lothbrok's stock.
Situation in term of process consultation : To what extent does the cyclical model of Episodic Conflict reflect the situation and as a third-party consultant what process would you recommend to resolve the matter?
Issued some preferred stock-share of preferred stock cost : Pied Piper Inc. has just issued some new preferred stock. The issue will pay an annual dividend of $10 in perpetuity, beginning five years from now. If the market requires a return of 8.4 percent on this investment, how much does a share of preferred..
What tasks are involved in designing database table : WHAT IS THE NAME FOR COLUMN THAT UNIQUELY IDENTIFIES A RECORD?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd