Write a SQL CREATE TABLE statement to create the PET_OWNER table, with OwnerID as a surrogate key.
Question:
Write a SQL CREATE TABLE statement to create the PET_OWNER table, with OwnerID as a surrogate key. Justify your choices of column properties.
PET_OWNER (OwnerID, OwnerLastName, OwnerFirstName, OwnerPhone, OwnerEmail)
PET (PetID, PetName, PetType, PetBreed, PetDOB,?OwnerID)
Transcribed Image Text:
FIGURE 3-18| PET_OWNER Data OwnerID OwnerLastName OwnerFirstName OwnerPhone OwnerEmail 1 Downs Marsha 555-537-8765 Marsha.Downs@somewhere.com 2 James Richard 555-537-7654 Richard.James@somewhere.com 3 Frier Liz 555-537-6543 Liz.Frier@somewhere.com 4 Trent Miles Miles.Trent@somewhere.com
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 64% (14 reviews)
Assumptions OwnerID is a surrogate key starts at 1 and increments by 1 For Microsoft Access The Microsoft Access AutoNumber data type only supports a starting value of 1 and an increment of 1 See Does ...View the full answer
Answered By
Rayan Gilbert
I have been teaching since I started my graduation 3 years ago. As a student, working as Teacher/PA has been tough but made me learn the needs for student and how to help them resolve their problems efficiently. I feel good to be able to help out students because I'm passionate about teaching. My motto for teaching is to convey the knowledge I have to students in a way that makes them understand it without breaking a sweat.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write a SQL CREATE TABLE statement to create the PET tablewithout a referential integrity constraint on OwnerID in PET. Justify your choices of column properties. Why not make every column NOT NULL??...
-
PET_OWNER ( OwnerID , OwnerLastName, OwnerFirstName, OwnerPhone, OwnerEmail) PET ( PetID , PetName, PetType, PetBreed, PetDOB,? OwnerID ) FIGURE 3-18| PET_OWNER Data OwnerID OwnerLastName...
-
Write an SQL statement to display the PetBreed column of PET. PET_OWNER ( OwnerID , OwnerLastName, OwnerFirstName, OwnerPhone, OwnerEmail) PET ( PetID , PetName, PetType, PetBreed, PetDOB,? OwnerID )...
-
47GP: Chapter: CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14 CH15 CH16 CH17 CH18 CH19 CH20 CH21 CH22 CH23 CH24 CH25 CH26 CH27 CH28 CH29 CH30 Problem: 1CQ 1MCP 1P 2CQ 2MCP 2P 3CQ...
-
The shell of the land snail Limocolaria marfensiana has two possible color forms: streaked and pallid. In a certain population of these snails. 60% of the individuals have streaked shells (as in...
-
Race and smoking 2015 Data collected in 2015 by the Behavioral Risk Factor Surveillance System revealed that in the state of New Jersey, 27.3% of whites and 47.2% of blacks were cigarette smokers....
-
The outcomes of two variables are (Low, Medium, High) and (On, Off), respectively. An experiment is conducted in which the outcomes of each of the two variables are observed. The probabilities...
-
A man had to have the muffler replaced on his 2-yearold car. The repairman offered two alternatives. For $50 he would install a muffler guaranteed for 2 years. But for $65 he would install a muffler...
-
6C. Part 3. Proprietary Fund Financial Statements Required: Prepare, in good form, for the proprietary funds accounted for in Parts 1 and 2, the following: (1) A Statement of Revenues, Expenses, and...
-
Would a grant of 24,000 by the state to each district be equalizing in its effect on the two districts? 2. Would a state grant of $100 per student be equalizing in its effect on the two districts?...
-
Why do some standard SQL-92 statements fail to run successfully in Microsoft Access?
-
Stephen R. and Rachel K. Bates, both U.S . citizens, resided in Country K for the entire current year except when Stephen was temporarily assigned to his employer's home office in the United States....
-
How are bad debts accounted for under the direct writeoff method? What are the disadvantages of this method?
-
A drug is used to help prevent blood clots in certain patients. In clinical trials, among 4705 patients treated with the drug, 170 developed the adverse reaction of nausea. Construct a 95% confidence...
-
the assessment include developing gantt chart, work breakdown structure and and all task 3 are related to its respective task 2. all the instructions are given in the assignment itself. Assessment...
-
Mens heights are normally distributed with mean 68.6in. and standard deviation 2.8in. Air Force Pilots The U.S. Air Force required that pilots have heights between 64 in. and 77 in. Find the...
-
Swain Athletic Gear (SAG) operates six retail outlets in a large Midwest city. One is in the center of the city on Cornwall Street and the others are scattered around the perimeter of the city....
-
ACC1810 - PRINCIPLES OF FINANCIAL ACCOUNTING Project 11: Chapter 11 - Stockholders' Equity Part B: Financial Statements The accounts of Rehearsal Corporation are listed along with their adjusted...
-
Write a method called markLength4 that accepts an ArrayList of strings as a parameter and that places a string of four asterisks " **** " in front of every string of length 4. For example, suppose...
-
What recommendations would you make to Big Four firms to help them (1) avoid confrontations with governmental officials in an authoritarian society and (2) deal effectively with such confrontations...
-
What disadvantage of ODBC does OLE DB overcome?
-
Why is OLE DB important?
-
What is the current version of the .NET Framework, and what new features does it include?
-
Ella Funt is planning on buying a $160,000 home and putting 20% down. She will finance the remainder with a 4%, 15 year mortgage through her lender. What will the total interest cost be for Ellas 15...
-
19. Using the following information, calculate the return on assets. Identify the formula and then solve for return on assets (ROA). (Round the ROA to the nearest tenth percent, X.X
-
Which of the following statements regarding the Internal Rate of Return (IRR) is incorrect ? A. IRR is the discount rate at which the projects NPV = 0. B. If the IRR is greater than the required rate...
Study smarter with the SolutionInn App