Subject | Re: [IBO] newbie needs advice |
---|---|
Author | Helen Borrie |
Post date | 2001-06-26T14:04:09Z |
At 12:37 PM 26-06-01 +0000, you wrote:
Could you please show us the structures of these three other tables?
Cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>Hi folks,Maybe a C/S gal can ask a few questions...
>
>I've got a problem. This is kinda general like my last question. I'm
>sure it's a normal circumstance that any C/S guy knows how to tackle,
>but I don't.
>I have "attendance" and "attandance_details" tables. they look likeFirst off, I can't quite sort out these relationships. Do you have separate tables for Students and Contracts? The two foreign keys would suggest that you do...and can one student have multiple contracts? You mentioned that you have a student_contract_link table.
>this (FK for foreign key)
>
>Attendance : attendance_id, FK contract_id, month, notes
>
>Attendance detail : FK attendance_id, FK student_id, hours
>
>Theres also a student_contract_link table so that with the right join
>I can fetch the students needed to generate the "attendance detail"
>rows (one per a student).
Could you please show us the structures of these three other tables?
Cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________