Skip to content

Instantly share code, notes, and snippets.

@TarekDib03
Created June 18, 2014 19:46
Show Gist options
  • Save TarekDib03/b9e6cf7f3b33f3b4ad72 to your computer and use it in GitHub Desktop.
Save TarekDib03/b9e6cf7f3b33f3b4ad72 to your computer and use it in GitHub Desktop.
df <- sqldf("SELECT *
FROM distributed, visited
WHERE
distributed.husband == visited.Name
OR
distributed.wife == visited.Name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment