Created
November 10, 2017 00:54
-
-
Save kstirman/8ab53cdef09f7d5dfbf710fa5e668444 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 | |
business.name, | |
business.full_address, | |
business.city, | |
business.state, | |
review.text, | |
review."date" AS "date", | |
review.user_id AS user_id, | |
review.stars AS stars, | |
review.text AS text | |
FROM | |
elastic.yelp.business AS business | |
INNER JOIN | |
elastic.yelp.review AS review ON business.business_id = review.business_id | |
WHERE CONTAINS(text:'"place amazing"~4 NOT (awful OR terrible)') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment