Skip to content

Instantly share code, notes, and snippets.

@zobar
Created October 5, 2011 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zobar/1265410 to your computer and use it in GitHub Desktop.
Save zobar/1265410 to your computer and use it in GitHub Desktop.
select:
applicants:
- cas_id
- last_name
- first_name
designations:
- date_locked
statuses:
- name
join:
applicants:
designations: "designations.applicant_id = applicants.id"
statuses: "designations.application_status_id = statuses.id"
where:
applicants
association_id: 11
statuses:
show: true
order:
applicants:
- last_name
- first_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment