100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU D427 PRACTICE TEST QUESTIONS AND ANSWERS

Rating
3.0
(1)
Sold
-
Pages
9
Grade
A+
Uploaded on
07-02-2025
Written in
2024/2025

WGU D427 PRACTICE TEST QUESTIONS AND ANSWERS....

Institution
WGU D427
Course
WGU D427

Content preview

WGU D427 PRACTICE TEST QUESTIONS AND ANSWERS



The Member table will contain the following columns:



ID—positive integer

FirstName—variable-length string with up to 100 characters

MiddleInitial—fixed-length string with 1 character

LastName—variable-length string with up to 100 characters

DateOfBirth—date

AnnualPledge—positive decimal value representing a cost of up to $999,999,
with 2 digits for cents

Write a SQL statement that creates the Member table. - ANSWER CREATE
TABLE Member (

ID INT UNSIGNED,

FirstName VARCHAR(100),

MiddleInitial CHAR(1),

LastName VARCHAR(100),

DateOfBirth DATE,

AnnualPledge DECIMAL(9, 2)

);



Rating Table Columns



RatingCode—variable-length string, primary key

RatingDescription—variable-length string

, The columns for the Movie table are as follows:



Title—variable-length string, maximum 30 characters

RatingCode—variable-length string, maximum 5 characters

Write SQL to create a Movie table. Make the RatingCode column of the Movie
table a foreign key to the RatingCode column of the Rating table. - ANSWER
CREATE TABLE Movie (

Title VARCHAR(30),

RatingCode VARCHAR(5),

FOREIGN KEY (RatingCode) REFERENCES Rating(RatingCode)

);



The following columns are in the Movie table:



ID—integer, primary key

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

Add the following column to the Movie table:



Column name: Score

Data type: decimal(3,1)

Write a SQL statement to add the Score column to the Movie table. - ANSWER
ALTER TABLE Movie

Written for

Institution
WGU D427
Course
WGU D427

Document information

Uploaded on
February 7, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Reviews from verified buyers

Showing all reviews
9 months ago

3.0

1 reviews

5
0
4
0
3
1
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
luzlinkuz Chamberlain University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1444
Member since
4 year
Number of followers
850
Documents
28712
Last sold
3 days ago

3.8

306 reviews

5
133
4
61
3
55
2
17
1
40

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions