What is a database transaction

Assignment Help Basic Statistics
Reference no: EM13719308

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.

Reference no: EM13719308

Questions Cloud

What are their compositions and amounts : Assume that the overall composition is 0.6 wt%C (and 99.4 wt%Fe) and a total weight of 10Kg. At T=727C, how many phases are present and what are their compositions and amounts?
Find the steady state temperature in the plate : You have a 2 dimensional (just X&Y) square plate with sides measuring a=24. The upper and lower sides of the plate are perfectly insulated, but the right and left sides are not. The left side is kept at 0°C and the right side is kept at f(y) °C. Find..
Find the temperature in the middle of the bar : You have a bar of silver of length 10 cm and constant cross section of area (density 10.6 g/cm^3), thermal conductivity , specific heat that is perfectly insulated laterally, with the ends of the bar kept at 100*C for a long time. Then at some instan..
Identify and describe existing and potential competitors : Identify and describe existing and potential competitors/allies, then summarise the strengths and weaknesses of each - Develop a separate summary statement
What is a database transaction : 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.
Identify recruitment barriers and possible solutions : What are some possible solutions to the shortage of primary physicians when specialists earn multiple-times more than their primary care counterparts and Does your response suggest anything about the culture of medicine and value systems of indivi..
What is it about chimpanzee society : What research questions might Dr. Hahn and her associates ask and what types of data might the scientists collect and for what reasons? How would these data allow Dr. Hahn to test the proposed hypothesis?
Determine the maximum rate of heat removal from the house : An air conditioning system is used to maintain a house at 70F when the temperature outside is 90F. If the air conditioning system draws 5 hp of power when operating, determine the maximum rate of heat removal from the house that it can provide.
How much did it cost you during this time : In your four years at college you dry your hair every day for 5 minutes with a 1200w hair dryer. how much did it cost you during this time

Reviews

Write a Review

Basic Statistics Questions & Answers

  Binomial random variable

Assume that the number of left-handers is a binomial random variable. (Refer to the formula for mean and standard deviation for binomial prob. Distribution)

  Finding decision rule-rejecting null hypothesis

We desire to test at 0.05 level of significance whether modification increases the life of battery.  What is our decision rule? Reject null hypothesis if calculated t is less than 1.96.

  Information regarding distributions

A rare disease has just broken out. Doctor Johnson is trying to help, but while treating patients he might expose himself to the disease.

  What proportion of the screens have at most 4 defects give

frequency table results for defectsdefectsfrequencyrelative

  What is the null hypothesis for situation

She selected a random sample of 50 students from each of the four dormitories. What is the null hypothesis for this situation?

  Draw a sketch of the standard normal distribution curves

one of dotcoms products has a width dimensional specification of 1.488 plusmn .005 inches. the process is in

  Suppose x and y have joint density fxy e-xy for xy gt 0

suppose x and y have joint density fxy e-xy for xy gt 0. find the distribution

  Normal-approximation to the binomial-distribution

Use the normal approximation to the binomial distribution and part (b) to answer the question: What is the probability that a seat will be available for every person who shows up holding a reservation?

  Using the sample size from part a construct a 90 confidence

in an effort to lure vacationers to exotic locations several vacation packages to world-class golf destinations such as

  Computing z score for the sample data

Select the suitable hypothesis.H 0 : π ≥ .052; H 1 : π 0 if z

  Suppose the service time in minutes at a bank has the

suppose the service time in minutes at a bank has the exponential distribution with lambda 12. use the central limit

  Well-designed sample of at least 30 units

Select a well-designed sample of at least 30 units. (Describe the population to be studied and the sampling frame). Two variables should be measured with a potential for correlation; if you measure more than two variables, you must correlate two at a..

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