l try to insert a new raw to the student table but there is an error as as the f
ID: 3736344 • Letter: L
Question
l try to insert a new raw to the student table but there is an error as
as the following code
this the file as requirement
l did add insert major id to the department table but l am not shore if it is right
l am not shore why there is error when l try to put anew raw
Time Action 60 23:32:04 SELECT FROM student LIMIT 0, 500 61 23:32:04 INSERT INTO Student (Last Name, First Name. EMail, Sex, DateOf Bith, EnrolledDate, Majo... Error Code: 1406. Data too long for column Sex at row 1 103 row(s) retumedExplanation / Answer
As for your question about the error. it must be the size of sex you try to insert "Male" but according to given output "select * from the student;" sex --> "M" so do check your schema of the table whether the size of the sex is appropriate for the varchar "Male"
for more query do ask in comment box. I feel happy to answer any query!!!
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.