Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A table VEHICLEOWNERS already exists with all relevant columns but no primary keys. Which of the following SQL will correctly create a primary key which

image text in transcribed

image text in transcribed

A table VEHICLEOWNERS already exists with all relevant columns but no primary keys. Which of the following SQL will correctly create a primary key which is composite of 3 columns: VIN, driverLicense, and regDate Selected Answers: ALTER TABLE VEHICLEOWNERS ADD CONSTRAINT PK1 PRIMARY KEY (VIN) , PRIMARY KEY (driverLicense) , PRIMARY KEY (regDate) A table named AIRPLANES already exists with columns as shown above. (note: column names in bold are NOT NULL) Which of the following SQL will successfully change the following 2 columns: 1. manufacturer which needs to be changed to varchar(50) and data is always required; and 2. variant for which data type does not need change but data is not always required

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions