If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database nad simple question ( relations )

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-12, 06:15
dexter90 dexter90 is offline
Registered User
 
Join Date: Aug 2012
Posts: 33
Database nad simple question ( relations )

Hello!

I have some tables:

- CLIENTS,
- EMPLOYEES,
- INVOICES,
- BILLS,

My idea on relation is:

One CLIENT may have one or more INVOICEES or BILLS and one EMPLOYEE may issue one or more INVOICCES or BILLS, then:

CLIENTS --------------------< INVOICEES >-------- EMPLOYEES
|
|
|
|
^
BILLS > --- ( line to table EMPLOYEES )

I greet.
Reply With Quote
  #2 (permalink)  
Old 12-01-12, 23:25
papadi papadi is offline
Registered User
 
Join Date: Oct 2009
Location: 221B Baker St.
Posts: 487
What columns and keys have you defined for these tables?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On