Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5990033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:11:09+00:00 2026-05-22T23:11:09+00:00

I have an existing Access database which contains training records for employees. If an

  • 0

I have an existing Access database which contains training records for employees. If an employee has been trained or has been scheduled for training there is a record in the linking table. If not, there is no record. I want to query all employees not trained on a certain thing, but there aren’t any records.

Database is like follows:

Table: Trainings   
TrainingID    AutoNumber   
Description   Text   
...

Table: EmployeeTrainings
EmployeeTrainingID     AutoNumber   
TrainingID             Number
EmployeeID             Number
ScheduledDate          Date/Time
...

Table: Employees  
EmployeeID       Number  
FullName         Text  
...

I want result like following with following fields for employees who are not trained on a given training:

Trainings.Description, Employees.FullName, EMployeeTrainings.ScheduledDate

How can I achieve this? I need some guidance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:11:10+00:00Added an answer on May 22, 2026 at 11:11 pm

    I think this should get it for you… However, since they would not have been trained, we can’t make up a Training Date for them, hence I’ve only included the two columns…

    select
          t.Description,
          emp.FullName,
          et.ScheduledDate
       from
          trainings t
             join employees emp
                left join EmployeeTrainings et
                   on emp.EmployeeID = et.EmployeeID
                   AND et.TrainingID = t.TrainingID
       where
          t.TrainingID IN ( 1, 3 )
       order by
          t.Description,
          emp.FullName
    

    This should get you what you want… by doing a LEFT JOIN, it returns all entries on the left side of the join with records to the right table. If no such records on the right side (hence the employees that have never been scheduled), their scheduled date value will come out as NULL… For those that DID find proper match, will have their dates included in the result set. Not positive about “Access” syntax on the IN clause… but it SHOULD work as it would in other SQL engines.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have existing Linux shared object file (shared library) which has been stripped. I
I have a program which needs to upgrade any Access (Jet) database it opens
I have an existing database (PostgreSQL in my case), and would like to access
We have a database that has been deployed to various clients. We are currently
I have an Access 2003 database using MS-JET linked tables (that is, there are
I have existing code with their own makefiles which I want to load into
I have an existing database(myDatabse) that I created with Microsoft Sql Managenent studio and
I am currently working on a project which has Employee, Manager entities. At the
I have a SqlServer Compact Edition database that contains 2 tables. For each of
I have an existing asp.net c# application for which I'd like to implement a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.