Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

he Driver Relationship team wants to ensure that the all driving license IDs in the active drivers table have the length of 7 . Alter

he Driver Relationship team wants to ensure that the all driving license IDs in the active drivers table have the length of 7. Alter the ACTIVE_DRIVERS table created in Chapter 8, Activity 1 to check the length of the DRIVER_DRIVING_LICENSE_ID.
Task 2: Add a CHECK to the ACTIVE_DRIVERS table to enforce a driver license length of 7.
Test Feedback:
Status: FAILED!
Check: 1
Test: Add a `CHECK` to the `ACTIVE_DRIVERS` table
Reason: Expected:
+----------------------+
| CONSTRAINT_NAME |
+----------------------+
| ACTIVE_DRIVERS_chk_1|
+----------------------+

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions