View Single Post
Join Date: Dec 2008
Posts: 9
Reputation: muek is an unknown quantity at this point 
Solved Threads: 0
muek muek is offline Offline
Newbie Poster

Crazy CrossTab problems

 
0
  #1
Dec 29th, 2008
Hi there,
I'm completely lost.

I have 3 tables:
- work (workID, description)
- machine (machineID, name)
- work_machine (machineID, workID, hours)

What I want is to obtain a result similar to:

work, machine1, machine2
A , 1 ,
B , 3 , 5

The problem is that the number of works and the number of machines is unknown.

Can anyone help?
Reply With Quote