Subject DataBase/MySQL
What is wrong with this statement?
SELECT vendor_id, (SELECT vendor_name FROM vendors), avg(invoice_total) FROM invoices GROUP BY vendor_id;
Select one:
a. The subquery returns more than 1 row.
b. You need a JOIN ON clause to pull from multiple tables.
c. You cannot have a subquery in the SELECT statement.
d. The result is a Cartesian Product.
e. There is nothing wrong with this statement.
What is wrong with this statement?
SELECT vendor_name, avg(invoice_total) AS 'Invoice Total' FROM vendors v JOIN invoices i ON v.vendor_id = i.vendor_id
Select one:
a. You are missing the GROUP BY clause.
b. Nothing, this statement runs correctly.
c. The JOIN ON clause is incorrect.
d. Invoices should also be in the FROM clause.
e. You are using single quotes instead of double quotes.
- TIA
In: Computer Science
E(R)
Stock A Stock B
State p(i) E(Ra) E(Rb)
Recession 30% -30% -20%
Normal 40% 10% 10%
Expansion 30% 50% 30%
Beta 1.4 1.25
Rf 3%
RM 8%
What is the expected return on Stock B across all market situations?
What is the standard deviation of Stock B’s return?
With a mix of 75% Stock A and 25% Stock B what is the portfolio standard deviation?
Which of the two stocks has higher systematic risk?
Are the two stocks under or over-valued based on the Capital asset Pricing Model?
In: Finance
P [1r / 0s] = 0.03 and P [0r / 1s] = 0.02 conditional in an asymmetric binary communication channel
available. The probability of sending 0 in this channel is P [1s] = 0.56. 25 bits from this channel
It has been sent. Accordingly, find the possibility of fewer than 3 faulty bits in the 25 bits transmitted.
Note: 0s : 0 transmit, 1s : 1 transmit, 0r : 0 represent, 1r : 1 represent running events.
In: Statistics and Probability
a) Construct a 99% confidence interval for the true proportion of all female students who were on a diet at the time of this study.
b) Explain what this interval means.
c) Is it reasonable to think that only 17% of college women are on a diet?
In: Statistics and Probability
With one sentence or two explain how are the two key terms relate to each other:
1-Marketing (The 4P's) and Value Proposition &Value Creation:
2-Marketing (The 4P's) and Logos:
3- Marketing (The 4P's) and Organizational Culture:
4-Marketing (The 4P's) and Customer experience mapping:
5-Opportunity Cost and Marketing (The 4P's):
6-Brand Loyalty and Marketing (The 4P's):
7- Customer Relationship Building and Marketing (The 4P's):
8- Competitive Advantage and Marketing (The 4P's):
9- Digital and Online Marketing and Marketing (The 4P's):
In: Operations Management
Consider a two-period binomial model in which a stock trades currently at $44. The stock price can go up 6% or down 6% each period. The risk free rate is 2% per period.
A) Calculate the price of a call option expiring in two periods with an exercise price of $45.
B) Calculate the price of a put option expiring in two periods with an exercise price of $45.
In: Finance
Consider a two-period binomial model in which a stock trades currently at $44. The stock price can go up 6% or down 6% each period. The risk free rate is 2% per period.
A) Calculate the price of a call option expiring in two periods with an exercise price of $45.
B) Calculate the price of a put option expiring in two periods with an exercise price of $45.
C) Based on your answer in A), calculate the number of units of the underlying stock that would be needed at t=0 in the binomial tree to construct a risk-free hedged portfolio which includes 10,000 calls.
In: Finance
You have a portfolio of two stocks that has a total value of $32,000. The portfolio is 44 percent invested in Stock J. If you own 205 shares of Stock K, what is Stock K's share price?
In: Finance
Consider two vectors F1 with magnitude 44 N inclined at 61 o and F2 with magnitude 98 N inclined at 139 o , measured from the positive x axis with counterclockwise positive.
Find the direction of this resultant vector (between the limits of 0 and −180◦ from the positive x-axis). Answer in units of o . Your answer must be within ± 5.0%
In: Physics
Applications that do not violate the OLS assumptions for inference. Identify the response and explanatory variable(s) for each problem. Write the OLS assumptions for inference in the context of each study.
In: Math