Key constrain exercise codes are not working
when I type these code in my sql from sql file exercise it does not work.
CREATE TABLE companies
primary key (company_id)
Great to have you in the course and thanks for reaching out!
I just managed to successfully execute this piece of code, too. Therefore, the error you obtain does not come from the query itself.
Can you please support your question with a screenshot/screenshots containing the code and the error message you've obtained, so that we can assist you better. Thank you.
Looking forward to your answer.