www.webdeveloper.com
Results 1 to 3 of 3

Thread: Worksheet Query

  1. #1
    Join Date
    May 2006
    Posts
    11

    Worksheet Query

    Hello,

    I have 2 tables:

    Employee: EmployeeID, name

    Worksheet: WorksheetID, Week, Year, EmployeeID, Hours

    The worksheetrecord stores the hours worked by an employee. What i want to know is: Which Employee has no worksheet in a specific year and week.

    For instance for year 2006 and week 21. That sql tells me that Employee 5 and 9 doesn't have a worksheet with week 21 and year 2006.

    Is this possible and how?

    Thanks...

    Willio

  2. #2
    Join Date
    May 2006
    Location
    Kirkland, WA
    Posts
    5
    What happens if there is no worksheet? ie. Is there still a record with a null value for Hours or just a complete lack of data?

  3. #3
    Join Date
    May 2006
    Posts
    11
    No there isn't.

    When a worksheet is filled it will appear in de worksheet table.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles