Created
May 11, 2013 20:42
-
-
Save jdwyah/5561371 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target as ( | |
select symptom_id, symptom_severity from latest_symptom_surveys lss | |
join symptom_reports sr on sr.symptom_survey_id = lss.id | |
where lss.user_id = #{self.id} | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment