@Zahoor,
Zahoor: Can any one please correct the sentence
I don't know which book was it
or
I don't know which book it was
////////
In the normal neutral situation we don't keep the inverted question style 'was it' because it's a statement, not a question.
There could be times when you will hear the first one.