So I'm doing homework for a class and I have been stuck on this problem for days, apparently I'm not as good at google as I need to be.
Here it is: "Change the StoreReps table so that NULL values can’t be entered in the first and last name columns."
My Code (does not work):
Alter Table StoreRep Modify lastname Not Null, Modify firstname Not Null;
My Code (does work but I need to be able to change both columns at the same time):
Alter Table StoreRep Modify lastname Not Null;