Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ER question
Now you've piqued my curiosity. Is the dept_head column mandatory?
Joel
Brian Peasland wrote:
> bcjm wrote:
>
>>Say you have two tables, emp and dept. emp has dept_id foreign key >>which references dept table. What if I need to tract who is the >>department head? Do you add the emp_id to the dept table or do you >>create a indicator flag field in the emp table? Which way is better >>and why. Hope my question is clear. >> >>Thanks