I have a few tables filled with info like this:
jobDetails:
+-----------+------+---------+
| JOBNUMBER | DATA | KEY |
+-----------+------+---------+
| 6015425 | .... | COLOUR |
+-----------+------+---------+
| 6015425 | .... | SIZE |
+-----------+------+---------+
| 6015425 | .... | WEIGHT |
+-----------+------+---------+
| 6015425 | .... | ADDRESS |
+-----------+------+---------+
The ....
string is the data i want.
Is there a MSSQL query i can use to return this information in one row? like this:
Jobnumber, Colour, Size, Weight, Address
because i have to process thousands of jobs and would like to return a single row for each.