Question: EX1: Create 2 tables car and owner using SQL commands: a)car contain (ID, owner_ID) b)owner contain (ID, name,age) make sure that no owner younger than

EX1:

Create 2 tables car and owner using SQL commands:

a)car contain (ID, owner_ID)

b)owner contain (ID, name,age)

make sure that no owner younger than 18.

Hint: Owner_ID in car table is a foreign key.

---

EX2:

a)Create an index named "Owner_index" on the "name" column in the owner table.

b)Create a role named your name and give it the ability to see the Car table.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!