Hello,
how can I make a pivot query in SQL server 2008?
This is the select query where an employee can hace more than 1 function. It would be nice to display all the functions of this employee on 1 line.
SELECT Employee.Employeenumber, Employeefunction.FunctionID
FROM Employee INNER JOIN
Employeefunction ON Employee.Employeenumber = Employeefunction.Employeenumber
Thanks in advance,
Sven.
how can I make a pivot query in SQL server 2008?
This is the select query where an employee can hace more than 1 function. It would be nice to display all the functions of this employee on 1 line.
SELECT Employee.Employeenumber, Employeefunction.FunctionID
FROM Employee INNER JOIN
Employeefunction ON Employee.Employeenumber = Employeefunction.Employeenumber
Thanks in advance,
Sven.