Skip to content

Instantly share code, notes, and snippets.

@TarekDib03
Created June 18, 2014 19:41
Show Gist options
  • Save TarekDib03/c39d646402614e11486f to your computer and use it in GitHub Desktop.
Save TarekDib03/c39d646402614e11486f 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