Last answered:

26 Jul 2023

Posted on:

18 Mar 2023

0

Unknown gender column in the field

I have been following your tutorials one by one, but why don't I get the same result as you do? For someone who doesn't know anything about SQL, this is quite confusing. i don't know where i got it wrong, even after following it diligently.

3 answers ( 0 marked as helpful)
Instructor
Posted on:

20 Mar 2023

1

Hi Aina!
Thanks for reaching out.


You forgot to add the gender column in the customers table. This is why Workbench does not find this column.


Hope this helps.
Best,
Tsvetelin

Posted on:

26 Jul 2023

0

how can we add the gender column?

Posted on:

26 Jul 2023

0

To answer Hassan,


Here is the querry to add gender column:

ALTER TABLE customers

ADD COLUMN gender ENUM('M', 'F') AFTER last_name;


Submit an answer