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



2.9LAB - Alter Movie table








TheMovietable has the following columns:




  • ID- integer, primary key


  • 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 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.







Aug 30, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here