Question: Write a SQL ALTER TABLE statement that adds a classroom_id column to the college.students table. This new column should be an INTEGER data type with
Write a SQL ALTER TABLE statement that adds a classroom_id column to the college.students table. This new column should be an INTEGER data type with a max. size of 3 digits, UNSIGNED, it can be NULL and it should work as a FOREIGN KEY that uses as a reference the id column of the college.classrooms table.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
