I have a table which consists of a few columns, including a Key Value pairing. So imagine:
BookID, Key, Value
MyBook, Price, 19.99
MyBook, ISBN, 987878495793
MyBook, Pages, 354
MyBook2, ...., ....
MyBook2, ...., ....
I need to get this into the format:
BookID, Price, ISBN, Pages
MyBook, 19.99, 987878495793, 354
MyBook2,.....,.............,....
i.e transposing the cells- how would I do this in SQL?