Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 of 1 Lab Assignment-3 (DBMS) 27/01/2021 Create the following tables using primary ko.. foreign ko (if needed), not null. unique check Owner (driver.id, name,

image text in transcribed
1 of 1 Lab Assignment-3 (DBMS) 27/01/2021 Create the following tables using primary ko.. foreign ko (if needed), not null. unique check Owner (driver.id, name, address, License year) car (License model) accident (report number, year, location license) participated (driver-id, model, report-number damage-amount) (a) Add a column "contact_no" and "age" in table Owner with conditions that all phone numbers must be unique (b) Find the names, driver-id, and damage amount of those involved in accidents (e) Find the models of cars that were involved in accidents in 2018. (d) Delete the records of Lamborghini belonging to "John Smith". (e) Update the damage amount for the car with license number "H10-9492" in the accident with report number "AR2197" to 30,000/- (1) Give report_number, name who have damage_amount>40,000 and location'Mumbai

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

More Books

Students also viewed these Databases questions

Question

Know how to use reservations systems to inventory demand.

Answered: 1 week ago

Question

Be familiar with the integrative servicescape model.

Answered: 1 week ago