Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008

    Unanswered: Calculating % in SQL

    I have a table that contains 2008 and 2009 sales information.
    The table have the following columns Year, Month, Customer, Region,Product,SalesValue.
    I want to calculate the percentage growth between the two years, that when you select a Customer and product and month from both years you can
    also see the growth percentage.
    I am not sure how to do this, is it possible.
    Thank You

  2. #2
    Join Date
    Jun 2003
    Provided Answers: 1
    Percentage growth would be ([2009]-[2008])/[2008]
    If it's not practically useful, then it's practically useless.

    blindman "sqlblindman"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts