23:44:21 unique key (email_adress) Error Code: 1064. You have an error in your SQL syntax; check the
create table customers
customer_id int primary key,
unique key (email_adress)
try this and find this code problem
Thanks for reaching out.
I tested the code and also obtained the same error. Then, run it again without the empty space between the
UNIQUE KEY and
() like this
UNIQUE KEY(). Both are correct but sometimes Workbench gives an error when there are some additional spaces. So, we need to stick to the good practices.
Hope this helps.