text:   select c1.concept_id as concept_id,  
      c1.concept_name as concept_name,
    	num.stratum_2 as x_calendar_month,   -- calendar year, note, there could be blanks
    	round(1000*(1.0*num.count_value/denom.count_value),5) as y_prevalence_1000pp  --prevalence, per 1000 persons
  from 
  	(select CAST(stratum_1 as int64) stratum_1, CAST(stratum_2 as int64) stratum_2, count_value from @results_database_schema.achilles_results where analysis_id = 602 GROUP BY analysis_id, stratum_1, stratum_2, count_value) num
  	inner join
  	(select CAST(stratum_1 as int64) stratum_1, count_value from @results_database_schema.achilles_results where analysis_id = 117 GROUP BY analysis_id, stratum_1, count_value)
  	denom on num.stratum_2 = denom.stratum_1  --calendar year
  	inner join @vocab_database_schema.concept c1 on num.stratum_1 = c1.concept_id
  ORDER BY num.stratum_2
  