/t5/coldfusion-discussions/db-help-select/td-p/860145Oct 20, 2008
Oct 20, 2008
Copy link to clipboard
Copied
I am trying to graph number of males and females per year for
a specific conditon...However my query doesnt work
properly....Numbers shows on the wrong year....
For sample please visit nexium-vs-joints.com
loop
select start_yr,count(*) from table where gender ='#gen#'
group by start_yr order by start_yr
End loop