DBMS Lab-SQl Part 1
DBMS Lab-SQl Part 1
SOLUTION:
i. Specify the primary keys and foreign keys and enter at least five tuples for each relation.
SQL> create table person(driver_id varchar(10),name varchar(10),address
varchar(10),primary key(driver_id));
iv. Find the total number of people who owned cars that were involved in accidents in the year 2019.
v. Find the number of accidents in which cars belonging Wagon R were involved.