Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions