Questions
Based on the tables below, write SQL command to perform the following tasks for MySql: Create...

  1. Based on the tables below, write SQL command to perform the following tasks for MySql:
  1. Create SALESREP and CUSTOMER tables
  2. Create primary and foreign keys as appropriate. The custNo should use a surrogate key as the primary key with auto-increment
  3. increase the balance of the Gonzales account by $100 to a total of $450?
  4. Find an average customer balance
  5. Display the name of the sales representative and the name of the customer for each customer that has a balance greater than 400

SALESREP

SalesRepNo

RepName

HireDate

654

Jones

01/02/2005

734

Smith

02/03/2007

345

Chen

01/25/2004

434

Johnson

11/23/2004

CUSTOMER

CustNo

CustName

Balance

SalesRepNo

9870

Winston

500

345

8590

Gonzales

350

434

7840

Harris

800

654

4870

Miles

100

345

In: Computer Science

Between about December 2007 and June 2009, the United States was considered to be in a...

Between about December 2007 and June 2009, the United States was considered to be in a recession. The U.S. Gross Domestic Product fell approximately 3% from the third quarter of 2008 to the third quarter of 2009. Also, during December 2007 and June 2009, the Standard and Poor’s 500 index dropped by 38% and the unemployment rate climbed from 5% to 9.5%.

The macroeconomic situation affected almost all companies since higher unemployment affected personal consumption, which dropped from 10,140.3 Billion Dollars in Aug 2008 to 9,807 Billion Dollars in June 2009, a drop of 3.8 percent.

Starbucks is one of the companies affected by the December 2007 recession. The following table shows several ratios for Starbucks corresponding to the years 2006, 2007, and 2008. Use a stock price of 10.9 dollars per share for the year 2009.

Year

2006

2007

2008

2009

ROE

0.253

0.294

0.127

ROA

0.106

0.126

0.056

ROIC

0.207

0.250

0.121

Asset Turnover

1.758

1.761

1.830

Op. Profit Margin

0.115

0.746

0.048

Long Term Debt Ratio

0.0009

0.241

0.221

D/E Ratio

0.987

1.340

1.277

Current Ratio

0.970

0.787

0.798

Quick Ratio

0.462

0.466

0.482

Payout Ratio

0.000

0.000

0.000

Plowback Ratio

1.000

1.000

1.000

Market to Book Ratio

6.088

3.099

1.374

Stock Price Used for Mark/Book

17.71

9.450

4.68

By using the financial statements provided, calculate the ratios presented in the table for the year 2009 and answer the following questions:

a-       Were sales per dollar of assets impacted by the recession?

b-      which ratio shows the impact of the recession on sales per dollar of assets?

c-       Did the company operating profit margin increased, decreased, or was the same, between the years 2007 and 2009?

d-      Did the mix of debt and equity changed for Starbucks between the years 2007 and 2009?

e-      In what ratio can you see the change in the mix of debt and equity reflected?

f-        Did the value added by management, reflected in market to book ratio, increased or decreased between the years 2007 and 2009?

g-       Did the quick ratio increase or decrease between the years 2007 and 2009?

h-      Explain why you expect the quick ratio to increase or decrease during a recession?

i-        Use the ratios for the years 2007 and 2009 to explain if, in your view, Starbucks is in a better or worse situation in the year 2009 due to the recession.

j-        What areas should Starbucks improve for the years 2010 onwards, if any?

In: Accounting

Estimate how many deaths there are annually from tornado and drowning in the United States. Provide...

Estimate how many deaths there are annually from tornado and drowning in the United States. Provide an actual number in your answer and explain statistically how you came to that answer.

Info:

DROWNINGS:

From 2005-2014, there were an average of 3,536 fatal unintentional drownings (non-boating related) annually in the United States — about ten deaths per day.1 An additional 332 people died each year from drowning in boating-related incidents.

TORNADOS:

Year tornado deaths
1875 183
1876 51
1877 64
1878 102
1879 85
1880 256
1881 73
1882 200
1883 292
1884 252
1885 58
1886 129
1887 60
1888 48
1889 32
1890 244
1891 36
1892 114
1893 294
1894 124
1895 30
1896 537
1897 60
1898 162
1899 227
1900 101
1901 52
1902 157
1903 216
1904 87
1905 184
1906 70
1907 80
1908 477
1909 404
1910 12
1911 55
1912 175
1913 346
1914 41
1915 84
1916 150
1917 551
1918 136
1919 206
1920 499
1921 202
1922 135
1923 110
1924 376
1925 794
1926 144
1927 540
1928 95
1929 274
1930 179
1931 36
1932 394
1933 362
1934 47
1935 71
1936 552
1937 29
1938 183
1939 91
1940 65
1941 53
1942 384
1943 58
1944 275
1945 210
1946 78
1947 313
1948 139
1949 211
1950 70
1951 34
1952 230
1953 519
1954 36
1955 129
1956 83
1957 193
1958 67
1959 58
1960 46
1961 52
1962 30
1963 31
1964 73
1965 301
1966 98
1967 114
1968 131
1969 66
1970 73
1971 159
1972 27
1973 89
1974 366
1975 60
1976 44
1977 43
1978 53
1979 84
1980 28
1981 24
1982 64
1983 34
1984 122
1985 94
1986 15
1987 59
1988 32
1989 50
1990 53
1991 39
1992 39
1993 33
1994 69
1995 30
1996 25
1997 67
1998 130
1999 94
2000 41
2001 40
2002 55
2003 54
2004 35
2005 39
2006 67
2007 81
2008 126
2009 21
2010 45
2011 553
2012 70

In: Statistics and Probability

The difference between IFRS and GAAP are well documented and in the 2000's and early 2010's...

The difference between IFRS and GAAP are well documented and in the 2000's and early 2010's several convergence projects were undertakem by IASB and FASB in the effort to align the two. One of the projects relate to revenue recongnition and specifically that of construction contracts. You are to critically reflect on the cponvergence projects taking into account the following:

(a) the differences in revenue recognition (of construction contracts) between IFRS and GAAP?

(b) Why it is importatant to consider the differences in IFRS and GAAP in general?

(c) Potential for lobbying to take place in final outcome of convergence projects.

In: Accounting

Extensions of Demand and Supply Analysis Graph the accompanying demand data, and then use the midpoint...

Extensions of Demand and Supply Analysis

  1. Graph the accompanying demand data, and then use the midpoint formula for Ed to determine price elasticity of demand for each of the four possible $1 price changes. What can you conclude about the relationship between the slope of a curve and its elasticity? Explain in a
    nontechnical way why demand is elastic in the northwest segment of the demand curve and inelastic in the southeast segment.
product price Quantitiy Demanded
$5 1
4 2
3 3
2 4
1 5

2- Calculate total-revenue data from the demand schedule in question 2. Graph total revenue below your demand curve. Generalize about the relationship between price elasticity and total revenue.

In: Economics

As the population ages, there is increasing concern about accident-related injuries to the elderly. An article...

As the population ages, there is increasing concern about accident-related injuries to the elderly. An article reported on an experiment in which the maximum lean angle—the farthest a subject is able to lean and still recover in one step—was determined for both a sample of younger females (21–29 years) and a sample of older females (67–81 years). The following observations are consistent with summary data given in the article:

YF: 29, 35, 32, 27, 28, 32, 31, 35, 32, 27
OF: 18, 16, 23, 13, 12

Calculate the test statistic and determine the P-value. (Round your test statistic to two decimal places and your P-value to three decimal places.)

In: Statistics and Probability

A perfectly competitive firm sells pencils for $3.00 per box with marginal revenues of .60 per...

A perfectly competitive firm sells pencils for $3.00 per box with marginal revenues of .60 per box. The following is its production level and the marginal costs associated with each level:

  • 1 box, MC of .10; ATC = .50
  • 20 boxes, MC of .05; ATC = .30
  • 30 boxes, MC of .15; ATC = .45
  • 40 boxes, MC of .58; ATC = .50
  • 50 boxes, MC of .68; ATC = .68

My answer =The firm is operating in perfectly competitive industry. The Marginal Revenue = $ 0.60 per box thus, the firm maximizes profit at the point where, MR = MC.
The firm will maximize profit at MC = $ 0.58
40 boxes, MC = $ 0.58 and ATC = $ 0.50

* What is the firms profit maximization level and what is profit at that level? Also, what factors might contribute to rising costs in the short and long run?

In: Economics

Monopsonistic exploitation is A.the difference between the number of workers employed by a competitive firm and...

Monopsonistic exploitation is

A.the difference between the number of workers employed by a competitive firm and those employed by a monopsonist.

B. equal to the marginal factor cost of the monopsonist.

C. the difference between the marginal revenue product of labor and the wage paid by the monopsonist.

D. the difference between the monopsony wage and the competitive wage.

In: Economics

Use the given information to find the number of degrees of freedom, the critical values 2χ2L...

Use the given information to find the number of degrees of freedom, the critical values 2χ2L and χ2R, and the confidence interval estimate of sigma σ. It is reasonable to assume that a simple random sample has been selected from a population with a normal distribution.

Nicotine in menthol cigarettes 98​% ​confidence; n= 27​, s=0.27 mg.

df=

2χ2L=___

​(Round to three decimal places as​ needed.)

2χ2=____

​(Round to three decimal places as​ needed.)

The confidence interval estimate of σ is ___mg < σ <___mg.

​(Round to two decimal places as​ needed.)

In: Statistics and Probability

  States Probability Asset M Return Asset N Return Asset O Return   Boom 27​% 10% 21​% 2​%   ...

  States

Probability

Asset M Return

Asset N Return

Asset O Return

  Boom

27​%

10%

21​%

2​%

  Normal

50​%

8%

12​%

8%

  Recession

23​%

2%

1​%

10​%

a. What is the expected return of investing equally in all three assets M, N, O?

b. What is the expected return of investing in asset M alone?

c. What is the standard deviation of the portfolio that invests equally in all three assets?

d. What is he standard deviation of asset M?

In: Finance