Last active
May 16, 2019 13:24
-
-
Save patdevinwilson/398209b77760f4a63e86c108370f2f0a 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 | |
p.record_id, | |
p.photo_id, | |
p.latitude, | |
p.longitude | |
FROM | |
photos p | |
INNER JOIN "Photos test for Patrick" i ON p.record_id = i._record_id | |
WHERE p.latitude IS NULL and p.longitude IS NULL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SELECT
p.record_id,
p.photo_id,
p.latitude,
p.longitude
FROM
photos p
INNER JOIN "survey name" i ON p.record_id = i._record_id
WHERE p.latitude IS NULL and p.longitude IS NULL AND i._status = 'Approved';