Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

1:1 Relationship

BilalKhanJan 13 2011 — edited Jan 14 2011
Hello Every Body

I want to create the 1:1 relationship between two table. For example i have two table one is DEPTARTMENT and other is CHAIRMAN
DEPARTMENT


Deptno              Dname                                               Loc
01                    Computer                                           xyz
02                    Chemistry                                          uvw
03                    Bio                                                    klm
04                    Eng                                                   zdf


and CHAIRMAN 

S_ID                 Name
01                   Ali
02                   Amjad
03                   Adil
04                   Usman
i want to one to one relationship between these two table, that onle one department is assign to one Chairman and similarly One Chairman has only one department.\


So please help me in this regards..
Thanks

Edited by: BilalKhan on Jan 13, 2011 8:44 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2011
Added on Jan 13 2011
6 comments
229 views