Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MySQL /* Query 3. Write one DDL statement to add a new table Project into exam1. It contains the following three columns: -ProjNum of char(3)

MySQL

/* Query 3.

Write one DDL statement to add a new table Project into exam1. It contains

the following

three columns:

-ProjNum of char(3) type, which is the primary key of Project.

-Pname of varchar(30) type, which could be null. If it has a value,

its first three

characters must be 'UH2' or 'UB5'.

-Budget of smallmoney type, which cannot be null and must have a

minimum of $1,500.

*/

image text in transcribed

E EEE dbo.ProjAssignment Columns o Pno (PK, char(3), not null) StulD (PK, FK, char(3), not null) E EEE dbo.Student Columns StulD (PK, char(3), not null) GPA (decimal(3,2), nul)

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

Students also viewed these Databases questions