Mysql Table Relationships
Good Days!
I have two table on mysql.
Firt Table --> Create Table takvim(id varchar(255) PRIMARY KEY NOT NULL, name varchar(255));
Second Table --> Create Table personel (ID Varchar(255) PRIMARY KEY NOT NULL,name varchar(255), takvim_id varchar(255),Foreign Key(takvim_id) references takvim(id));
Insert into Personel values('1','ASDASD','takvim-1');
Insert into takvim values('1','takvim-1');
Insert into takvim values('2','takvim-2');
Insert into takvim values('3','takvim-3');
now I do relationship beetwen two table but I insert single value to takvim_id in personel table but single personel relationship two takvim LIKE
Insert into Personel values('1','ASDASD','takvim-1,takvim-2');
Subject
Written By
Posted
Mysql Table Relationships
September 09, 2015 09:53AM
September 09, 2015 01:04PM
September 10, 2015 01:32AM
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.