1. Give the business rules for the tables 2. Give relational schema for all the tables...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Give the business rules for the tables 2. Give relational schema for all the tables 3. Create Relational diagram for the database. 4. Identify the TRUCK table's any two [2] candidate keys 5. For BASE table, identify any two [2] super keys Table name: TRUCK Primary key: TRUCK_NUM Foreign keys: BASE_CODE, TYPE_CODE TRUCK_NUM BASE CODE TYPE_CODE TRUCK_MILES TRUCK_BUY DATE TRUCK_SERIAL_NUM Database name: Ch03_TransCo 1001 501 32123.5 23-Sep-07 AA-322-12212-W11 76984.3 1002 1003 502 05-Feb-06 AC-342-22134-Q23 501 2 12346.6 11-Nov-06 AC-445-78656-Z99 1004 2894.3 06-Jan-07 WQ-112-23144-T34 1005 1006 1007 1008 1009 503 2 45673.1 01-Mar-06 FR-998-32245-W12 15-Jul-03 AD-456-00845-R45 193245.7 32012.3 44213.6 501 2 502 3 17-Oct-04 AA-341-96573-Z84 07-Aug-05 DR-559-22189-D33 12-Feb-08 DE-887-98456-E94 502 3 503 10932.9 Table name: BASE Primary key: BASE_CODE Foreign key: none BASE CODE BASE CITY BASE STATE BASE AREA_CODE BASE PHONE BASE_MANAGER 123-4567 TN 615 Andrea D. Gallager 501 Murfreesboro 502 Lexington 503 Cape Girardeau MO 504 Dalton KY 568 234-5678 George H. Delarosa 456 345-6789 Maria J. Talindo GA 901 456-7890 Peter F. MCAvee Table name: TYPE Primary key: TYPE_CODE Foreign key: none TYPE CODE TYPE DESCRIPTION 1 Single box, double-axde 2 Single box, single-axle 3 Tandem trailer, single-axle 1. Give the business rules for the tables 2. Give relational schema for all the tables 3. Create Relational diagram for the database. 4. Identify the TRUCK table's any two [2] candidate keys 5. For BASE table, identify any two [2] super keys Table name: TRUCK Primary key: TRUCK_NUM Foreign keys: BASE_CODE, TYPE_CODE TRUCK_NUM BASE CODE TYPE_CODE TRUCK_MILES TRUCK_BUY DATE TRUCK_SERIAL_NUM Database name: Ch03_TransCo 1001 501 32123.5 23-Sep-07 AA-322-12212-W11 76984.3 1002 1003 502 05-Feb-06 AC-342-22134-Q23 501 2 12346.6 11-Nov-06 AC-445-78656-Z99 1004 2894.3 06-Jan-07 WQ-112-23144-T34 1005 1006 1007 1008 1009 503 2 45673.1 01-Mar-06 FR-998-32245-W12 15-Jul-03 AD-456-00845-R45 193245.7 32012.3 44213.6 501 2 502 3 17-Oct-04 AA-341-96573-Z84 07-Aug-05 DR-559-22189-D33 12-Feb-08 DE-887-98456-E94 502 3 503 10932.9 Table name: BASE Primary key: BASE_CODE Foreign key: none BASE CODE BASE CITY BASE STATE BASE AREA_CODE BASE PHONE BASE_MANAGER 123-4567 TN 615 Andrea D. Gallager 501 Murfreesboro 502 Lexington 503 Cape Girardeau MO 504 Dalton KY 568 234-5678 George H. Delarosa 456 345-6789 Maria J. Talindo GA 901 456-7890 Peter F. MCAvee Table name: TYPE Primary key: TYPE_CODE Foreign key: none TYPE CODE TYPE DESCRIPTION 1 Single box, double-axde 2 Single box, single-axle 3 Tandem trailer, single-axle
Expert Answer:
Answer rating: 100% (QA)
Truck a Every Base code present in the Truck table must be present in the Base table b Every Type nu... View the full answer
Posted Date:
Students also viewed these computer engineering questions
-
Create a relational database schema from the ERD your designed in question 42 showing all tables in 3NF Each table should include at least three fields Appropriate primary keys should be used Primary...
-
Identify the primary and foreign keys for the entity-relationship diagram created in Problem 14.
-
Create the relational diagram for the database shown in Figure.
-
Can hydrogen or deuterium emit an particle? Explain.
-
Bill scored 1200 on the Scholastic Aptitude Test and entered college as a physics major. As a freshman, he changed to business because he thought it was more interesting. Because he made the deans...
-
A piece of copper wire has a resistance per unit length of 5.90 103/m. The wire is wound into a thin, flat coil of many turns that has a radius of 0.140 m. The ends of the wire are connected to a...
-
The defendant is a highly respected corporation with no record of civil or criminal acts by its employees. Hanna, the CEO, suggested to the board of directors that the company should have an ethics...
-
Ryan Huston's lifelong dream is to own a restaurant. He owns a premium site for a restaurant across the street from the local university. Now he needs to decide what kind of restaurant to open....
-
6. The number of (staircase) paths in the xy-plane from (0, 0) to (7, 5) where each such path is made up of individual steps going one unit upward (U) or one unit to the right (R). (a) 12C5 (b) 12!...
-
Janice Morgan, age 24, is single and has no dependents. She is a freelance writer. In January 2021, Janice opened her own office located at 2751 Waldham Road, Pleasant Hill, NM 88135. She called her...
-
What is the resistance R in the figure? WHat is the emf of the battery in the figure? Hilt 3.0 A ww R 2.0 A wwwwww R C 10 92
-
identify a historical figure or fictional figure that you associate with authenticity. You will describe who they were before they discovered and affirmed their personal talents and creativity. You...
-
Smith & Jones is a partnership engaged in the trucking business. Mr. Smith and Mr. Jones are general partners and are equally invested in the business. A friend, Mr. Green, has advanced a good deal...
-
1. Identify the Quality Tools being used in different industries (like Industrial Sales, Manufacturing, and IT Industry) and explain each.
-
A company makes a standard model flashlight (s) and a deluxe model flashlight (d). The company makes a $3 profit on each standard model and a $4 profit on each deluxe model. The company wants to make...
-
Challenge: Assume that you were newly assigned to the company project office and were faced with managing a number of projects that consisted of virtual project teams. You recognize that you need to...
-
Learning outcome: To understand, be able to think critically, to be aware of the contemporary issues about a business in management accounting. Assignment Brief 1. This assignment is concerned with...
-
Coastal Refining Company operates a refinery with a distillation capacity of 12,000 barrels per day. As a new member of Coastal's management team, you have been given the task of developing a...
-
Carla and Sean Beach have decided to lease some newly built premises for the purpose of opening an ice-creamery. Discuss financial information that they will need to assist them to make economic...
-
Georgia Martin has decided to study medicine at a university in Adelaide. She has arranged to stay with a family on the north side of the city. In order to get to and from the university, she decides...
-
Read the following prefix to Google's code of conduct and discuss the points that follow. Alphabet Investor Relations: Google code of conduct The Google Code of Conduct is one of the ways we put...
Study smarter with the SolutionInn App