Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

1. What is a database transaction? List and define the transaction properties. It is important that you answer in your own words. Please use diagrams to enhance your answer.

 

2. Discuss Concurrency control.  What is it use for? Why is it important? It is important that you answer in your own words. Please use diagrams to enhance your answer

 

Q3. The following question are based on these database tables:

 

EMPLOYEE

 

FNAME

MIDINT

LNAME

SSN

BDATE

ADDRESS

SEX

SALARY

SUPER_SSN

Dept_No

James

A

Borg

123123123

 

Houston, TX

M

55000

Null

1

Franklin

S

Wong

234234234

 

Houston, TX

M

40000

123123123

5

John

Q

Smith

345345345

 

Houston, TX

M

30000

234234234

5

Jennifer

L

Wallace

456456456

 

Bellaire, TX

F

43000

123123123

4

Alicia

M

Zalaya

567567567

 

Spring,

TX

F

25000

456456456

4

Ramesh

R

Narayan

678678678

 

Humble, TX

M

38000

234234234

5

Joyce

V

English

7897789789

 

Houston, TX

F

25000

234234234

5

Ahmed

B

Jabbar

890890890

 

Houston, TX

M

25000

456456456

1

 

 

 

DEPARTMENT

 

Dept_No

Dept_Name

1

Headquarter

 

4

Administration

 

5

Research

 

 

 

 

Write out the SQL queries pertaining to the following questions. You must write the SQL query such that if they was copied and pasted on a database, the query would run.

 

a) Give me every thing you have on employee.

 

b) Give me only the social security numbers, last names and the first names of all employees.

c.) Show me all  the salaries, but do not show me duplicate salaries figures.

 

D) Show me the ssn of employees that are paid 25, 000 in salary.

 

e) Show me the last name of all male employees

 

f) Show me the department number, the first and last name of all employees. Make sure that the department's number are displayed in order from low to high.

 

g) Give me a list of all those employees whose last name is English and whose sex is female

 

h) Give me the total salary paid to all the employees who work in department 5

 

 

i) Give me average salary for each department.

 

j) Show me the employees' first name, last name along with the department name they work for.

 

 

 

Q4 Include these business rules:

 

  • An employee could be staff or a professor or an administrator.
  • A professor may also be an administrator.
  • Staff employees have a work level classification, such a Level I and Level II.
  • Only professors can chair a department. A department is chaired by only one professor.
  • Only professors can serve as the dean of a college. Each of the university's colleges is served by one dean.
  • A professor can teach many classes.
  • Administrators have a position title.

 

Given that information, create the complete ERD containing all primary keys, foreign keys, and main attributes. In VIZIO.

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91258698
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question?


Related Questions in Statistics and Probability

You know that the price of sunland inc stock will be 36

You know that the price of Sunland, Inc., stock will be $36 exactly one year from today. Today the price of the stock is $34. Determine what must happen to the price of Sunland, Inc., today in order for an investor to ge ...

A restaurant serves hot chocolate that has a mean

A restaurant serves hot chocolate that has a mean temperature of 175 degrees with a standard deviation of 8.1 degrees. Find the probability that a randomly selected cup of hot chocolate would have a temperature of less t ...

Flyers inc just paid an eps of 49 this year flyers is

Flyers, Inc., just paid an EPS of $4.9 this year. Flyers is expected to maintain a retained earnings ratio of 50% and ROE of 5.5% for the next five years. After the fifth year, ROE is expected to decrease to 3.3%. Applyi ...

Jen and barry perform a survey of consumers about home meal

Jen and Barry perform a survey of consumers about home meal salad preferences ("fresh" or "fast"). 395 consumers said they prefer to make fresh salad. 426 said they prefer to make salad fast (out of a bag). 331 said they ...

The probability that a shot will hit the target is 002

The probability that a shot will hit the target is 0.02. Successive shots are independent of each other. What is the probability that at least one out of four shots will hit the target?

If no payments are made a loan of amount 44000 would

If no payments are made, a loan of amount $44000 would increase to $49103.89 after 2 years of monthly compounding interest. If instead, payments of $718.87 are made at the end of each month, how many years would it be un ...

The ph acidity of the liquor is critical for regulating dye

The pH (acidity) of the liquor is critical for regulating dye uptake and hence the final color. There are 5 kettles, all of which receive dye liquor from a common source. Past data show that pH varies according to a Norm ...

A stock price is currently 112 stock price move up by 10 or

A stock price is currently $112. Stock price move up by 10% or down by 14%. The risk-free interest rate is APR 2% with continuous compounding. What is the value of a six-month European put option with a strike price of $ ...

Consider a machine with exponential reliability model

Consider a machine with exponential reliability model. Assume that the breakdown rate is 1 and the repair rate is 2. Calculate the probability that the machine is up for more than 10 units of time. Calculate the probabil ...

You invested 7900 one year ago today it is worth 865490

You invested $7,900 one year ago. Today it is worth $8,654.90. What annual rate of interest did you earn? [use annual compounding]

  • 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