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

D 427 / D427 Objective Assessment (Latest Update 2025 / 2026) Data Management – Applications | Questions and Answers | Grade A | 100% Correct (Verified Answers).WGU

Rating
-
Sold
-
Pages
32
Grade
A
Uploaded on
29-08-2025
Written in
2025/2026

1. A database has a view named MovieView. Write a SQL statement to delete the view named MovieView from the database.: DROP VIEW MovieView; 2. The Movie table has the following columns: ID—integer Title—variable-length string Genre—variable-length string RatingCode—variable-length string Year—integer Write a SQL statement to modify the Movie table to make the ID column the primary key.: ALTER TABLE Movie ADD PRIMARY KEY (ID); 3. The Movie table has the following columns: ID—integer, primary key Title—variable-length string Genre—variable-length string RatingCode—variable-length string Year—integer The YearStats table has the following columns: Year—integer TotalGross—bigint unsigned Releases—integer 4. Write a SQL statement to designate the Year column in the Movie table as a foreign key to the Year column in the YearStats table.: ALTER TABLE Movie ADD FOREIGN KEY (Year) REFERENCES YearStats(Year);

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
August 29, 2025
Number of pages
32
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

D427




D 427 / D427 Objective Assessment (Latest
Update ) Data Management –
Applications | Questions and Answers | Grade
A | 100% Correct (Verified Answers).WGU



1. A database has a view named MovieView.

Write a SQL statement to delete the view named MovieView from the

database.: DROP VIEW MovieView;

2. The Movie table has the following columns:

ID—integer

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

Write a SQL statement to modify the Movie table to make the ID column

the primary key.: ALTER TABLE Movie

ADD PRIMARY KEY (ID);




, D427




3. The Movie table has the following columns:

ID—integer, primary key

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

The YearStats table has the following columns:

Year—integer

TotalGross—bigint unsigned

Releases—integer

4. Write a SQL statement to designate the Year column in the Movie

table as a foreign key to the Year column in the YearStats table.:

ALTER TABLE Movie

ADD FOREIGN KEY (Year)

REFERENCES YearStats(Year);

5. The Movie table has the following columns:

ID—integer, primary key

Title—variable-length string




, D427




Genre—variable-length string

RatingCode—variable-length string

Year—integer

6. Write a SQL statement to create an index named idx_year on the Year

column of the Movie table.: CREATE INDEX idx_year ON

Movie(Year); 9. The Movie table has the following columns:

ID—integer, primary key, auto-increment

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

The following data needs to be added to the Movie table:


Title Genre RatingCode YearPride

Prejudice Romance G 2005


7. Write a SQL statement to insert the indicated data into the Movie

table.: IN-

SERT INTO Movie (Title, Genre, RatingCode, Year)




, D427




VALUES ('Pride and Prejudice', 'Romance', 'G',

2005); 10. The Movie table has the following

columns:

ID—integer, primary key

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

8. Write a SQL statement to delete the row with the ID value of 3 from

the Movie table.: DELETE FROM Movie

WHERE ID = 3;

9. The Movie table has the following columns:

ID—integer, primary key

Title—variable-length string

Genre—variable-length string

RatingCode—variable-length string

Year—integer

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.
ExamitorMagnus Massachusetts Institute Of Technology
View profile
Follow You need to be logged in order to follow users or courses
Sold
82
Member since
1 year
Number of followers
7
Documents
1652
Last sold
2 weeks ago
Top Score

I am a professional writer with knowledge across diverse academic fields. I provide quality work and I guarantee superb, timely and original content. I know the pain of getting a shoddy work, and I would never wish this on any client! I guarantee a topnotch paper, with a fast High-score turnaround. I provide quality work guaranteed to give you an exemplary grade. Furthermore, I am a tutor of Research paper, Dissertation, proposal, management studies, economics, educational studies, sociology and psychology, marketing, Geography, History, Management, English, Literature, Education. Medical studies, Health Care studies and Nursing, Biology, Economics among other subjects.

Read more Read less
3.3

12 reviews

5
4
4
2
3
2
2
1
1
3

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