Created
April 12, 2019 04:58
-
-
Save ahl/ef1f731d5c7a2645f35c367d17dbfb7f to your computer and use it in GitHub Desktop.
This file contains 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
SELECT * FROM google_hire.list_applications AS app | |
JOIN google_hire.list_candidates AS can | |
ON app.candidate = can.name | |
WHERE app.tenant = 'my_tenant' | |
AND app.filter='status.state=ACTIVE' | |
AND can.tenant = 'my_tenant' | |
AND can.filter='applications.status.state=ACTIVE' | |
AND job = (SELECT name FROM google_hire.list_jobs | |
WHERE tenant='my_tenant' | |
AND filter='state=OPEN' | |
AND title='Software Engineer') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment