2.14 LAB - Alter Movie table The Movie table has the following columns: • ID - positive integer • Title - variable-length string • Genre - variable-length string • RatingCode - variable-length string • Year - integer Write ALTER statements to make the following modifications to the Movie table: 1. Add a Producer column with VARCHAR data type (max 50 chars). 2. Remove the Genre column. 3. Change the Year column's name to Release Year, and change the data type to SMALLINT.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 3MQ2
icon
Related questions
Question
2.14 LAB - Alter Movie table
The Movie table has the following columns:
• ID - positive integer
• Title - variable-length string
• Genre - variable-length string
• RatingCode - variable-length string
• Year - integer
Write ALTER statements to make the following modifications to the Movie table:
1. Add a Producer column with VARCHAR data type (max 50 chars).
2. Remove the Genre column.
3. Change the Year column's name to Release Year, and change the data type to SMALLINT.
Transcribed Image Text:2.14 LAB - Alter Movie table The Movie table has the following columns: • ID - positive integer • Title - variable-length string • Genre - variable-length string • RatingCode - variable-length string • Year - integer Write ALTER statements to make the following modifications to the Movie table: 1. Add a Producer column with VARCHAR data type (max 50 chars). 2. Remove the Genre column. 3. Change the Year column's name to Release Year, and change the data type to SMALLINT.
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning