1
Reply

How to use where condition in piviot query

Ask a question
Vithal Wadje

Vithal Wadje

11y
739
1
how to use where condition in piviot query ,

i am trying following but i got error


set @convert = 'select * from (select * from Loandt where lnno=123 ) Repayment
pivot(sum(Amount) for Lndt
in ('+@columns+')) as pivottable'



Answers (1)