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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING 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