Sales By Year and Product Category
Include Levels
  • Details
  • Subtotal by Product Class
  • Subtotal by Ship Year
  • Grand Total
Include Levels
Detail
Subtotal by Product Class
Subtotal by Ship Year
Grand Total
Report Format
  • HTML
  • Excel
  • PDF
  Report Format  
StatementCallback; SQL [SELECT T01.`SHIPYR`, max( ( CASE WHEN T01.`CLASS` = '100' THEN 'Bicycles' WHEN T01.`CLASS` = '200' THEN 'Accessories' WHEN T01.`CLASS` = '300' THEN 'Clothing' END) ), T01.`CLASS`, sum(T01.`SHPTOT`), sum(T01.`REVCALC`), sum( (T01.`REVCALC`-T01.`TOTCOST`) ), sum(T01.`PRICES`), sum(T01.`COSTS`), sum(T01.`PROFCALC`), sum(T01.`TOTCOST`), sum( (T01.`PRICES`) ) FROM CRAZYBIKES.`SF00050` T01 GROUP BY T01.`SHIPYR`,T01.`CLASS` ORDER BY T01.`SHIPYR` ASC,T01.`CLASS` ASC limit 10002]; The last packet successfully received from the server was 258,671,496 milliseconds ago. The last packet sent successfully to the server was 258,671,497 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.