Combining two queries?

sdp_tws

Registered User.
Local time
Today, 09:48
Joined
Apr 29, 2009
Messages
28
I wasn't sure what to title this thread, as I'm really not sure how this will work so I hope somebody can help.

Ok, what I have is a training database, with an employees table, and a training items table.

trainingitems table:
- trainingitem_id (PK)
- trainingitem_description
(plus more not relevent here)

employees table:
- emp_id (PK)
- emp_name
- emp_jobroleid (FK - for job roles table)

trainerstable:
- emp_id (FK for employees table)
- trainingitem_id (FK for trainingitems table)

Basically the trainers table is used to link certain employees to certain training items - to show they are authorised to train people on that item.

This all works fine, but there's a catch. We would like to give an option to select "Line Leaders" as authorised trainers and link them to a training item. We have several line leaders and they may leave, or we may promote people to line leader, so the list is constantly changing.

I have a query that filters the employees table for line leaders only.

What I want is to be able to say, for example, training item 5 may be trained by line leaders (and include the record from the line leader query) plus certain selected people - but show them all in the same list.

I hope I explained that well enough, can anyone suggest how this can be done?
 
Actually, to clear it up a little. I think what I'm looking for is to return the results of two separate queries (both with identical fields) - as one list.
 

Users who are viewing this thread

Back
Top Bottom