Add a constraint to make sure the Rep_ID value entered in the BOOK_STORES table is a valid

Question:

Add a constraint to make sure the Rep_ID value entered in the BOOK_STORES table is a valid value contained in the STORE_REPS table. The Rep_ID columns of both tables were initially created as different datatypes. Does this cause an error when adding the constraint? Make table modifications as needed so that you can add the required constraint.

Constraint Comments Column Name Datatype PRIMARY KEY column NUMBER(8) Store_ID VARCHAR2(30) Should be UNIQUE and NOT Nam

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Oracle 12c SQL

ISBN: 978-1305251038

3rd edition

Authors: Joan Casteel

Question Posted: