Lab 8 Practice Manual 2017-CP
Lab 8 Practice Manual 2017-CP
Task.1. Generate a table named as Careem_Captain having attributes and constraints given below.
Careem_Captain
Task.3. Generate another table named as Careem_Cab having attributes and constraints given
below.
Careem_Cab
Attributes Data Type Constraints
Cab_No Varchar(8) PK, Not null
Manufacturer Varchar(10) Not null
Model Int Model shouldn’t be
under 2010.
Captain Bigint FK references Capt_id
of Careem_Captain,
Allow Nulls
Task.6. Show the statistics of Cabs registered with Careem w.r.t their Manufacturers.
Task.7. Show details of Careem Captain who owns the cab_no MLL-9486.