MySQL Forums
Forum List  »  General

Re: Query - multiple joins won't return any records
Posted by: Peter Brawley
Date: February 14, 2015 10:21AM

No need to reinvent this wheel ...

teams( teamID, ... )
divisions( divID, teamID, ... )
games( gameID, team1id, team1score, team2id, team2score, ...)

I see no need for a cumbersome relations table. If you want to express relationships in the DDL, do it with foreign keys.

And use InnoDB, MyISAM is old and inadequate.

Options: ReplyQuote




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.