Question: Please do the following: Part 1. SQL DDL (36 points) You are given a following schema: PublicChauffeurs(License Number, Renewed, Status, Status Date, Driver Type, License
Please do the following:
Part 1. SQL DDL (36 points) You are given a following schema: PublicChauffeurs(License Number, Renewed, Status, Status Date, Driver Type, License Type, Original Issue Date, Name, Sex, Chauffer City, Chauffer State, Record Number) The table is based on a real data set original taken from City of Chicago data portal (located here: https://data.cityofchicago.org/Community-Economic-Development/ Public-Chauffeurs/97wa-y6ff A. Write SQL DDL to create the table. Make sure to look at the data to decide reasonable domains. B. Declare primary and foreign keys as necessary in your SQL code. C. Create at least three reasonable additional attribute-level, tuple-level, NOT NULL, or UNIQUE constraints in your SQL code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
