vanjaxi.sm Posted March 14, 2016 Share Posted March 14, 2016 There are 2 tables SL and DL.DL:id, device_name, usernameSL: id, time(hh:mm:ss)My required output should be I tried queryselect DE.device_name, AVG(SL.time),MAX(SL.time)FROM DE INNER JOIN SLON DE.id= SL.idgroup by DE.device_name and few other queries, I get average and maximum duration in column header and rest all values zero. I should get average values and max values for every device _name. Help me get it using crosstab element in jasper soft studio. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now