Identify any pattern to these unusual orders

Assignment Help Database Management System
Reference no: EM13930575

**First Problem**

Employee table contains the following information: state, lastname, firstname, hiredate, department, salary.

Get all employees that satisfy the following conditions:

- from the state of Kansas

- hired during the month of Mar-99

- sorted by lastname

- salary greater than 20,000

**Second Problem**

Each week a food wholesaler company fulfills orders from various customers. Normally, each customer orders the same quantity

of certain items each week. Occasionally, the quantity of an item that a customer orders is significantly less than the

customer's usual quantity. The information about each order is stored in a table named Invoice shown below:

CREATE TABLE Invoice (

InvoiceID int NOT NULL,

InvoiceNumber char(10) NOT NULL,

CustomerName char(30) NOT NULL,

InvoiceAmount money NOT NULL DEFAULT (0),

CONSTRAINT PK_Invoice PRIMARY KEY (InvoiceID)
)

You want to identify any pattern to these unusual orders. To do this, you need to produce a list of the invoices for each

customer that is for a lesser amount than the average invoice amount for that customer.

Reference no: EM13930575

Questions Cloud

Difference in gross margin between the fifo and lifo : Compute the difference in gross margin between the FIFO and LIFO cost flow assumptions.
What mental disorder would you consider for marcus : What score would you document for Marcus, if Marcus' family completed the parent- or guardian-rated Level 1 cross-cutting symptom measure? Include the specific information you included when coming up with this score.
Business auto protection approach : Likewise with standard auto protection, business auto protection approaches come in different shapes and sizes, with diverse sorts of strategy offering various types and levels of spread.
What is the largest possible standard deviation : Understanding Standard Deviation A sample consists of 10 test scores that fall between 70 and 100 inclusive. What is the largest possible standard deviation?
Identify any pattern to these unusual orders : Get all employees that satisfy the following conditions
What is the mean value of the sample variance s-two : If you repeatedly select two sample values, what is the mean value of the sample variance s2? The preceding parts show that s2 is an unbiased estimator of s2. Is s an unbiased estimator of u?
Business valuation based on capital market analysis : A business valuation based on Capital market analysis for "Woodside Petroleum Limited" Part 1 (share trading and liquidity): information on the volume of trading and frequency of trading
Short run equilibrium in ad-as model : It is a short run equilibrium in AD-AS model Assume that real GDP in aspacifica is currently equal to the potential level.( aspacifica is a hypothetical,small economy in the Asia-Pecific region.)
What is the difference between einsteins iq and the mean : What is the difference between Einstein's IQ and the mean? How many standard deviations is that [the difference found in part (a)]?

Reviews

Write a Review

Database Management System Questions & Answers

  Design considerations and calculation

Consider a database with objects X and Y and assume that there are two transactions T1 and T 2. Transaction T 1 reads objects X and Y and then writes object X. Transaction T 2 reads objects X and Y and then writes objects X and Y.

  Create a student database in ruby

To create a student database in Ruby that allows for, updating a record within the database

  Background adventure works cycles the fictitious company on

background adventure works cycles the fictitious company on which the adventureworks sample databases are based is a

  Design an er schema with attributes and primary keys

Design an ER schema with attributes, primary keys, cardinalities and participation constraints if appropriate

  Examine the use of databases in organization

Create a 2-3 page (350 words per page) examining the use of databases in organization. Explain what database applications are utilized (Microsoft Access, DB2, Oracle, etc.).

  Give a list of employee names

Using the Northwind database - Give a list of employee names and each employee's corresponding customers by company name.

  What tables and columns would you create in relational data

You need to store information on the business's employees, inventory, and completed sales. You also need to account for the fact that each salesperson receives a different percentage of their sales in commission. What tables and columns would you ..

  Exchange commission edgar database

Select a publicly traded corporation for which you would like to work or are currently working. Research the corporation on its own Website, the public filings on the Securities and Exchange Commission EDGAR database and any other sources you can ..

  Database management and applications

What errors prevent the table displayed above from being first normal form compliant? Bring the table(s) into first normal form compliance without loss of any data. Identify primary and foreign keys (when present) for all tables.

  Create a row function and explain its purpose

Create a row function and explain its purpose. Create some summarizing data and explain its purpose.

  Write select statement that returns two columns

Write a SELECT statement that returns two columns: VendorName and PaymentSum, where PaymentSum is the sum of the PaymentTotal column.

  What is a relational database

What is a relational database-Write a 1500 word essay on the above question. Your response should include the evolution of 1st generation data models

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