Database design

I have a [Employee] who belongs to a [group] and works on a constraction [Site] using a certain [Tool]. The employee can move to a different group and a Tool can be assigned to a different person.Employee can have multiple tools. Also, we rent the tool from a company that charges us per hour usage. So we receive a [bill] monthly for an [Employee] of certain [group] using certain [Tool]. My attempt for the first part is as follows but I am not sure. I ask help for where to start.

Employee-->EmployeeGroup<--Group | EmployeeTool | Tool

I receive the following pages for the bill

invoice {each line contains group summary} InvoiceSummaryPerEmployee{each line contains an emplyee of certain group using cetain tool) InvoiceToolUsage{hourly usage of a tool, including, chares, taxes etc)

-the InvoiceToolUsage contains hourly mutple lines per tool -InvoiceSummaryPerEmployee contains total lines of each tool used by employee in a group -invoice is group total


more ▼

asked Nov 07, 2009 at 02:32 PM in Default

avatar image

1 1 1 1

(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Nov 07, 2009 at 02:32 PM

Seen: 588 times

Last Updated: Nov 07, 2009 at 02:32 PM

Copyright 2018 Redgate Software. Privacy Policy