Question: The Movie table has the following columns: ID - integer, primary key Title - variable-length string Genre - variable-length string RatingCode - variable-length string Year

TheMovietable has the following columns:

  • ID- integer, primary key
  • Title- variable-length string
  • Genre- variable-length string
  • RatingCode- variable-length string
  • Year- integer

ALTER statements to make the following modifications to the Movie table:

  1. Add aProducercolumn with VARCHAR data type (max 50 chars).
  2. Remove theGenrecolumn.
  3. Change the Year column's name toReleaseYear, and change the data type toSMALLINT.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!