Alinafe
asked on
SQL and percentages
I have a table that returns counts of values, on a daily basis. i.e if I have column named users this column will have total user numbers on day1, day2, day3, etc.... Is there a way to get the percentage growth using SQl, I know the math operators are limited... so if a user count on monday show 2 users, and the count on tuesday shows four users I want to calculate the percent growth, and show this value on a table, showing daliy percentage growth.....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you're using the first method yes, something like that would probably work.
again though, I highly recommend you use analytics over joins. Much, much more efficient
again though, I highly recommend you use analytics over joins. Much, much more efficient
ASKER
Thanks