WGU - D427 DATA MANAGEMENT - APPLICATIONS ZYBOOKS LABS 7 AND 8
7.1 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 ReleaseYear, and change the data type to SMALLINT. ALTER TABLE Movie ADD Producer VARCHAR(50); ALTER TABLE Movie DROP Genre; ALTER TABLE Movie CHANGE Year ReleaseYear SMALLINT; 7.2 LAB - Insert rows into Horse table The Horse table has the following columns: ID - integer, auto increment, primary key RegisteredName - variable-length string Breed - variable-length string, must be one of the following: Egyptian Arab, Holsteiner, Quarter Horse, Paint, Saddlebred Height - decimal number, must be between 10.0 and 20.0 BirthDate - date, must be on or after Jan 1, 2015 Insert the following data into the Horse table:
Escuela, estudio y materia
- Institución
-
Western Governers University
- Grado
-
WGU - D427
Información del documento
- Subido en
- 7 de junio de 2024
- Número de páginas
- 13
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
wgu d427 data management applications zybooks