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
Get step-by-step solutions from verified subject matter experts
