MySQL Forums
Forum List  »  MySQL Query Browser

Re: Relationship between tables
Posted by: Sam Hocking
Date: March 21, 2005 01:19PM

I understand the sql JOIN. It's how the tables are actually related to one another 'within' the database i think is what both alejandro and i are having trouble grasping. ie what makes 2 tables + column ID's within mysql related?

Using sql JOIN ON queries that force relationships between column ID's infers you have duplicated data ie 2 columns of id's in 2 tables that the sql joins on. I know the above works, as this is how I’ve been using mysql, but i thought there was a way to make the relationship within the actual schema rather than just the query?

I'm a total newbie to mysql and maybe am loking at database from M$ Access eyes which is probably blurring my understanding of how mysql works relationally wise.

Kind regards

Sam

Options: ReplyQuote


Subject
Written By
Posted
Re: Relationship between tables
March 21, 2005 01:19PM


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.