MySQL Forums
Forum List  »  Newbie

Request for help. Im a beginner.
Posted by: Marc Janzs
Date: November 25, 2016 11:50AM

Could somebody explain to me the following. a have one Table called "Projectname" and one "Projectaddress" sometimes i have a projectname but not the address at that moment. So the autoincrement on the primary key in projectname keeps increasing. When i use a inner join querie on the primairykeyID it happens that addresses dont match up with the projectname as i have added the adresses later. How do you make sure that in the address table an empty row is added that keeps corresponding with the first added projectname. I tried everything but cant figure out how this is done. The best would be if i could add the projectname to the addresstable and then run a querie on projectnames in both tables.

thanks for your help

Options: ReplyQuote


Subject
Written By
Posted
Request for help. Im a beginner.
November 25, 2016 11:50AM


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.