hello...
i have following query and i need to display in matrix format.
rows of matrix should show name of columns('alumina','caustic','ratio') while columns of matrix show values of shift ('A','B','C') and details of matrix should show actual values of columns('alumina','caustic','ration').
select e.empcode,c.shift,CONVERT(varchar,c.edatetime,101) as [date],c.alumina,c.caustic,c.ratio
from caustic_batch_tank c inner join employee e on c.empcode = e.empcode where CONVERT(datetime,c.edatetime,101) in ('05/06/2014')
but matrix does not show any data but i have data in database.
plz help me to show data in matrix format.