query from tables with diff structure

G

Guest

Hi,
I have one employee table with employeeID as a primary key and availability
days as follows:
EmpID MonAM MonPM TueAM TuePM WedAM
1 0 1 o 1 0
2 1 0 1 0 1
....
and another table with time preferences as follows:
EmpID PrefNum StartTime
1 1 12:00:00AM
1 2 01:00:00AM
1 3 03:00:00AM
....
I'd need to get a one row per employee as for the first table.
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top