Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 calculate percentage

Author  Topic 

eugz
Posting Yak Master

210 Posts

Posted - 2010-11-16 : 16:38:47
Hi All.

The query has fields: DateTest, Result. I would like to calculate percentage per year for field Result that has values "Negative" and "Positive". I will appreciate for sample.

Thanks.

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2010-11-16 : 22:11:27
quote:
I will appreciate for sample.

Yes. Me too. Please post your table schema, sample data and expected result.


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-11-17 : 04:40:39
Also post the query that you are currently using

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -