Skip to content

Commit

Permalink
fix siorgp query
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmscholz committed Oct 29, 2024
1 parent e576407 commit 2da8519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/sql/SIORGP_PUBLIC_MAIN
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ union
-- patients having 5 organoids
select 'MetPredict' as project, 'pat_pdos_5' as field, (select count(distinct pat_pseudonym) from t8 where n_organoids = 5) as value
union
-- patients having >= 5 organoids
select 'MetPredict' as project, 'pat_pdos_geq_5' as field, (select count(distinct pat_pseudonym) from t8 where n_organoids >= 5) as value
-- patients having > 5 organoids
select 'MetPredict' as project, 'pat_pdos_gt_5' as field, (select count(distinct pat_pseudonym) from t8 where n_organoids > 5) as value
union
-- the total number of patients
select 'MetPredict' as project, 'n_patients' as field, (select count(distinct pat_pseudonym) from t2) as value
Expand Down

0 comments on commit 2da8519

Please sign in to comment.