Consider the following schemas for a database used by a share price information system. Table shares...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following schemas for a database used by a share price information system. Table shares ISIN symbol name issuedate date char(12) varchar(6) varchar(25) Table prices symbol varchar(6) date date price integer volume integer Shares are traded on stock market using a "ticker symbol" (the symbol attribute). But the actual share is identified by an ISIN number. The ISIN number can change from time to time (due to share splits etc.). The prices table gives the number of shares of a particular ticker symbol traded on each day and the average price. (a) Write a relational algebra expression for the following problem: Find the ISIN's of stocks that traded over 1,000 shares in any single day in 2021. [4 marks] (b) Write a relational algebra expression for the following problem: Find the ISIN's of stocks that traded over 1,000 shares everyday in 2021. [5 marks] Hint: You may find the following logical equivalence useful in devising your solution: for all x, P not (exists x such that not P) (c) Define precisely what it means for a decomposition of a table into two tables to be lossless decomposition. [1 mark] Consider the following schemas for a database used by a share price information system. Table shares ISIN symbol name issuedate date char(12) varchar(6) varchar(25) Table prices symbol varchar(6) date date price integer volume integer Shares are traded on stock market using a "ticker symbol" (the symbol attribute). But the actual share is identified by an ISIN number. The ISIN number can change from time to time (due to share splits etc.). The prices table gives the number of shares of a particular ticker symbol traded on each day and the average price. (a) Write a relational algebra expression for the following problem: Find the ISIN's of stocks that traded over 1,000 shares in any single day in 2021. [4 marks] (b) Write a relational algebra expression for the following problem: Find the ISIN's of stocks that traded over 1,000 shares everyday in 2021. [5 marks] Hint: You may find the following logical equivalence useful in devising your solution: for all x, P not (exists x such that not P) (c) Define precisely what it means for a decomposition of a table into two tables to be lossless decomposition. [1 mark]
Expert Answer:
Answer rating: 100% (QA)
a Find the ISINS of stocks that traded over 1000 shares in any single day in 2021 ISIN ... View the full answer
Related Book For
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman
Posted Date:
Students also viewed these law questions
-
tion's net income for the month in dollas? In percent? Given this information, help Tina calculate the following investor ratios: Moonbean Coffee House stock. He wants her to bay today, however, Tina...
-
Tina has been working on her newly invented silicone potholder. Tina has invited several friends to her home each week for dinner to test out the potholder and to make sure the invention actually...
-
Stockbroker Susan Drexler has advised her client as shown in the following table. The client agrees to this list but provides several conditions: (1) No more than $3,000,000 can be invested, (2) the...
-
What steps have been taken in the EU to provide lighter accounting regulation for micro-entities?
-
Consider the format ion, HCO2-, which is the anion formed when formic acid loses an H+ ion. The H and the two O atoms are bonded to the central C atom. (a) Write one or more appropriate Lewis...
-
Purchase of Stock, Air Products & Chemicals, Inc., made a tender offer of $70 per share to the shareholders of Airgas, Inc. The Airgas board rejected the offer as inadequate and took defensive...
-
The probabilities that a quality control team will visit \(0,1,2,3\), or 4 production sites on a single day are 0.15,0.22,0.35,0.21, and 0.07. (a) Simulate the inspection team's visits on 30 days....
-
On September 3, 2011, the Robers Company exchanged equipment with Phifer Corporation. The facts of the exchange are as follows: To equalize the exchange, Phifer paid Robers $5,000 in cash. Required:...
-
At the end of June, the job cost sheets at Ace Roofers show the following costs accumulated on three jobs. At June 3 0 Job 5 Job 6 Job 7 Direct materials $ 1 8 , 0 0 0 $ 3 4 , 5 0 0 $ 2 8 , 5 0 0...
-
You're very bullish about NVDA and want to initiate a bull spread with the company's stock options. The premium for options that mature in 6 months with OTM calls and OTM puts are as follow: Calls:...
-
Find additional definitions, perspectives, knowledge of Industry 4.0 "SMART and Intelligent" concepts on the Internet to assist with answering the questions. Question 1 What is meant by...
-
Imagine you are a Financial Planner, standing in an elevator with a prospective client. Write brief 30 second elevator speech to describe what you do and how you help clients. 2. Tom and Sara have...
-
Assume we have two firms that have the same earnings per share ($10). Firm A has a P/E ratio of 5 and Firm B has a P/E ratio of 40. Assume that investors do not expect the P/E ratio for Firm A to...
-
The global financial crisis of 2007-2009 lowered barriers to entry in the financial industry by making the regulatory environments more accommodative to financial innovation, lowering interest rates,...
-
First, locate the financial statement (10 - K Annual Reporting) information for each company (listed below) that you will be investigating for your final project. This information can be found on...
-
Financial markets and intermediaries provide financing (i.e., money) for businesses around the world. Several other functions of financial markets are discussed. Which of these other functions did...
-
What would be the voltage on a 4700uF capacitor 3.2 seconds after a 2602 resistor were connected across its terminals, assuming that the capacitor initially had a voltage of 12V on it?
-
Research an article from an online source, such as The Economist, Wall Street Journal, Journal of Economic Perspectives, American Journal of Agricultural Economics, or another academic journal. The...
-
Consider the following problem, where the value of c1 has not yet been ascertained. Maximize Z = c1x1 + 2x2, Subject to and x1 0, x2 0. Use graphical analysis to determine the optimal solution(s)...
-
From the tenth floor of her office building, Katherine Rally watches the swarms of New Yorkers fight their way through the streets infested with yellow cabs and the sidewalks littered with hot dog...
-
For each of the following cases, prove that the key property of separable programming given in Sec. 13.8 must hold. (a) The special case of separable programming where all the gi(x) are linear...
-
Nestls financial statements are presented in Appendix B. Financial statements of Delfi Limited are presented in Appendix C. Instructions Refer to the financial statements and answer the following...
-
Writing Financial statement information about four different companies is as follows. Instructions a. Determine the missing amounts. (Hint: For example, to solve for (a), Assets Liabilities = Equity...
-
The financial statements of TSMC are presented in Appendix A. The complete annual report, including the notes to the financial statements, is available at the companys website. Instructions Refer to...
Study smarter with the SolutionInn App