The option for referential integrity between the Owner table and the Pet table is restrict and an attempt is made to update the row for owner 005 (OwnerNum = 005) in the Owner table to become 500 (OwnerNum = 500). What is the result? (Use only the data in the question. Do not assume other data exists if it is not present in the tables below.) The primary keys are underlined. These are the OwnerNum column in the Owner table and the PetNumber in the Pet table. The foreign key is italicized. This is the OwnerNum column in the Pet table. Owner Table OwnerNum LastName FirstName Address City State Zip 005 Smith Jim 100 Main Dune FL 37465 009 Jones Jane 3245 West Sanford FL 32773 012 Johnson Frank 2 Century Easton FL 37256 020 Doe Sally 101 Basel Orange FL 30998 Pet Table PetNumber PetName DOB Species OwnerNum 100 Fido 1/1/2005 Canine 009 200 Ajax 12/3/2003 Canine 020 300 Sunshine 6./12/2004 Feline 009 400 King 8/15/2007 Canine 009 500 Rex 3/23/2008 Equine 012 600 Slimy 9/21/2005 Reptile 012 700 June Bug 10/9/2001 Equine 009 800 Frisky 12/31/2002 Feline 020 Group of answer choices That row (OwnerNum = 005) will not be updated in the Owner table but the related row(s) in the Pet table will be updated to have a OwnerNum of 500. That row (OwnerNum = 005) in the Owner table will be updated to have a OwnerNum of 500 and so will the related row(s) in the Pet table that refer to it Nothing will be updated in the Owner table and nothing will be updated in the Pet table. Just that row (OwnerNum = 005) in the Owner table will be updated. Its OwnerNum will change from 005 to 500. There are no related rows in the Pet table.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter9: Joining Data From Multiple Tables
Section: Chapter Questions
Problem 17MC
icon
Related questions
icon
Concept explainers
Question

The option for referential integrity between the Owner table and the Pet table is restrict and an attempt is made to update the row for owner 005 (OwnerNum = 005) in the Owner table to become 500 (OwnerNum = 500). What is the result? (Use only the data in the question. Do not assume other data exists if it is not present in the tables below.) The primary keys are underlined. These are the OwnerNum column in the Owner table and the PetNumber in the Pet table. The foreign key is italicized. This is the OwnerNum column in the Pet table.

Owner Table
OwnerNum LastName FirstName Address City State Zip

005

Smith

Jim

100 Main

Dune

FL

37465

009

Jones

Jane

3245 West

Sanford

FL

32773

012

Johnson

Frank

2 Century

Easton

FL

37256

020

Doe

Sally

101 Basel

Orange

FL

30998

Pet Table
PetNumber PetName DOB Species OwnerNum

100

Fido

1/1/2005

Canine

009

200

Ajax

12/3/2003

Canine

020

300

Sunshine

6./12/2004

Feline

009

400

King

8/15/2007

Canine

009

500

Rex

3/23/2008

Equine

012

600

Slimy

9/21/2005

Reptile

012

700

June Bug

10/9/2001

Equine

009

800

Frisky

12/31/2002

Feline

020

Group of answer choices
That row (OwnerNum = 005) will not be updated in the Owner table but the related row(s) in the Pet table will be updated to have a OwnerNum of 500.
That row (OwnerNum = 005) in the Owner table will be updated to have a OwnerNum of 500 and so will the related row(s) in the Pet table that refer to it
Nothing will be updated in the Owner table and nothing will be updated in the Pet table.
Just that row (OwnerNum = 005) in the Owner table will be updated. Its OwnerNum will change from 005 to 500. There are no related rows in the Pet table.
 
 
 
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr