How to group headers and footers in SQL Server with GROUPING BY? -


I have seen similar references but still could not find the solution.

I have three pillars: class, UPC, value. Value for class: A, B, C

Value for the UPC: A001, A002, A3003, B001, B002, B C3, C001, C002, C003.

I need to use GROUPING BY because I need to show value totals.

What do I need:

  | - Class - | --UPC-- | --Price-- | Aaic $ 1.15 aad2 $ 4.45 ax $ 1.75 a $ 7.35 bbis $ $ 2.00 b002 $ 4.00 b3 3bb $ 9.00 ccc $ $ 10.00 cad 2 $ 20.00 cad 3 $ 30.00 C $ 60.00    

value Value), cube with UPS

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -