Table name: TRAINING INSERT TIMES TAMP ID 1 2 + m 4 5 6 2023-02-04...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Table name: TRAINING INSERT TIMES TAMP ID 1 2 + m ليا 4 5 6 2023-02-04 10:33:12 2023-02-05 15:30:02 2023-02-06 20:26:52 2023-02-08 12:23:42 2023-02-09 6:20:32 2023-02-10 11:17:03 WORKOUT _DATE WORKOU WORKO T_TYPE UT DUR ATION 1/12/2023 Running 1:05:34 1/3/2023 Please review the proposed data structure and answer the questions listed below. 2/2/2023 10/13/202 3 g Swimmin 0:22:10 0.5 Hiking WORKOU T DISTAN CE MILES 2/3/2023 Weight 0:45:01 Lifting 8.12 2/2/2023 Walking 3:15:33 6.48 3:12:09 6.41 Running 1:58:12 26.2 WORKOUT C ITY Cambridge Boston WORK OUT S TATE Chicago MA Awesome lisa@my run! MA Burlington Vi New Haven CT WORKOU USER EM T COMME AIL NT IL Boring but necessar y Scenic views Nailed it! Set my PR on this one! Lisa mail.com Simpson wonka@y Willie ahoo.com Wonka USER NA ME jhn@work John Doe org jdoe@vz com jdoe@vz com jr@yahoo .com Jane Doe USER PA YMENT Jack Rabbit VISA Jane Doe MC PAYPAL MC Question 1.1: Which field(s) could be selected as Candidate Keys and why?_ Question 1.2: Among the keys you listed in your answer above, which would be considered Composite Keys? Question 1.3: Which one of the candidate keys would you select to be the Primary Key and why? Question 1.4: Which fields would be good candidates for moving into a separate table? Why would you store them in a separate table? Question 1.5: Suppose you were told that instead of storing the workout, the city and state in the same table, you need to reference the location stored in a separate locations table (example shown below). Describe how you would reference the locations table from your training table? Which fields would you drop and/or add from/to your training table? What would be your foreign key? LOCATION_ID 34561 30999 CITY Boston New York STATE MA NY ZIP CODE 02101 10001 Table name: TRAINING INSERT TIMES TAMP ID 1 2 + m ليا 4 5 6 2023-02-04 10:33:12 2023-02-05 15:30:02 2023-02-06 20:26:52 2023-02-08 12:23:42 2023-02-09 6:20:32 2023-02-10 11:17:03 WORKOUT _DATE WORKOU WORKO T_TYPE UT DUR ATION 1/12/2023 Running 1:05:34 1/3/2023 Please review the proposed data structure and answer the questions listed below. 2/2/2023 10/13/202 3 g Swimmin 0:22:10 0.5 Hiking WORKOU T DISTAN CE MILES 2/3/2023 Weight 0:45:01 Lifting 8.12 2/2/2023 Walking 3:15:33 6.48 3:12:09 6.41 Running 1:58:12 26.2 WORKOUT C ITY Cambridge Boston WORK OUT S TATE Chicago MA Awesome lisa@my run! MA Burlington Vi New Haven CT WORKOU USER EM T COMME AIL NT IL Boring but necessar y Scenic views Nailed it! Set my PR on this one! Lisa mail.com Simpson wonka@y Willie ahoo.com Wonka USER NA ME jhn@work John Doe org jdoe@vz com jdoe@vz com jr@yahoo .com Jane Doe USER PA YMENT Jack Rabbit VISA Jane Doe MC PAYPAL MC Question 1.1: Which field(s) could be selected as Candidate Keys and why?_ Question 1.2: Among the keys you listed in your answer above, which would be considered Composite Keys? Question 1.3: Which one of the candidate keys would you select to be the Primary Key and why? Question 1.4: Which fields would be good candidates for moving into a separate table? Why would you store them in a separate table? Question 1.5: Suppose you were told that instead of storing the workout, the city and state in the same table, you need to reference the location stored in a separate locations table (example shown below). Describe how you would reference the locations table from your training table? Which fields would you drop and/or add from/to your training table? What would be your foreign key? LOCATION_ID 34561 30999 CITY Boston New York STATE MA NY ZIP CODE 02101 10001
Expert Answer:
Answer rating: 100% (QA)
Lets address each of the questions based on the provided data structure Question 11 Which fields could be selected as Candidate Keys and why Answer A candidate key is a column or a set of columns that ... View the full answer
Related Book For
Systems Analysis And Design
ISBN: 9781118897843
6th Edition
Authors: Alan Dennis, Barbara Haley Wixom, Roberta M. Roth
Posted Date:
Students also viewed these databases questions
-
Suppose you own 5,000 shares of Abbvie (Ticker: ABBV) in your portfolio and want to sell some shares. The current price for ABBV is $78 per share. Your valuation model indicates that this share price...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-6. On December 12, Irene purchased the building where her store is located. She paid...
-
Let S represent the amount of steel produced (in tons). Steel production is related to the amount of labor used (L) and the amount of capital used (C) by the following function: S = 20 L0.30 C 0.70...
-
If f and are functions, then f o g = g o f.
-
Identify at least two KSA leaders who embody a concept (the five principals of finance). Principle 1: Cash Flow Is What Matters, Principle 2: Money Has a Time Value, Principle 3: Risk Requires a...
-
Use Table 1, or software, to find (a) \(B(8 ; 16,0.40)\); (b) \(b(8 ; 16,0.40)\); (c) \(B(9 ; 12,0.60)\); (d) \(b(9 ; 12,0.60)\); (e) \(\sum_{k=6}^{20} b(k ; 20,0.15)\); (f) \(\sum_{k=6}^{9} b(k ;...
-
On January 1, 2012, Ginsberg, Corp., issued $400,000 of 7.375%, five-year bonds payable when the market interest rate was 8%. Ginsberg pays interest annually at year-end. The issue price of the bonds...
-
Joint Cost Allocation-Net Realizable Value Method Nature's Garden Inc. produces wood chips, wood pulp, and mulch. These products are produced through harvesting trees and sending the logs through a...
-
On May 2, 1987, Hannah acquired residential real estate for $450,000. Of the cost, $100,000 was allocated to the land and $350,000 to the building. On August 20, 2015, the building, which then had an...
-
The density of 2,000 bbl of 10 lbm/gal mud will be increased to 13 lbm/gal using API barite. The total mud volume is limited to 1,500 bbl. Compute the volume of old mud that must be discarded before...
-
Why is it inappropriate to compare leasing to buying?
-
Why do companies provide trade credit?
-
What is an asset-backed security?
-
What is a say-on-pay vote?
-
What are the benefits and costs of holding inventory?
-
When Jason joined the basketball team, his coach introduced him to the 10 other players on the team. As the coach finished, Jason was dismayed to find that he could only remember the names of the...
-
A business had revenues of $280,000 and operating expenses of $315,000. Did the business (a) Incur a net loss (b) Realize net income?
-
Mark Foster has recently been hired by a mid-sized machine shop that supplies various machine parts on contract to a large manufacturer. Mark has several years of systems development experience,...
-
John is a systems analyst on the Holiday Travel Vehicle project team (see minicase 4, this chapter). The team is currently developing the systems user interface design. John has been given the task...
-
Harry has met with Bill and determined that Bill would like a system that allows customers to browse through products on-line, find store locations nearest them, and also place orders for products...
-
The isotope cesium-137, which has a half-life of 30 years, is a product of nuclear power plants. How long will it take for this isotope to decay to about one-half its original amount? (a) 0 yr (b) 15...
-
Which of the three raysalpha, beta, or gammahas the greatest penetrating power?
-
Which type of radiationalpha, beta, or gammaresults in the greatest change in mass number? The greatest change in atomic number?
Study smarter with the SolutionInn App