MySQL Forums
Forum List  »  Newbie

Re: MySQL syntax
Posted by: Phillip Ward
Date: November 15, 2018 05:53AM

That "Details..." item at the end looks "interesting". Did you look to see what it told you?

I'd guess that either employee.branch_id and branch.branch_id are different Data Types or branch_id is not the primary key on the branch table. (Or, perhaps, the field may not be indexed).

Without knowing the structure of your tables, it's impossible to say for certain, so ...
Show us the output of "SHOW CREATE TABLE X \g" for both tables.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
November 15, 2018 01:56AM
Re: MySQL syntax
November 15, 2018 05:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.