Could someone help me with a rough database schema for a timesheet application where the i would be able to
Store hours per day for a time period ( 2 weeks ) fo
A table for people(1)
A table for projects(2)
A table for bookings(3) - who did the work (FK into 1), what project did they work on (FK into 2), when did they do the work, how much work did they do.
Select sum(time_booked) from (3) where person equals (some id from 1) and project = (some ID from 2)
or
Select sum(time_booked) from (3) where person equals (some id from 1)
etc...