Last active
August 29, 2015 14:06
-
-
Save teodanciu/b6d7ed121a8184f03f48 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 tags.name, tree_nodes.id from tree_nodes inner join tags on tree_nodes.tag_id = tags.id where tags.name in ( | |
'afternoon tea', | |
'byob', | |
'bar', | |
'breakfast', | |
'brunch', | |
'cafe', | |
'catering', | |
'dj (facilities)', | |
'dinner', | |
'entertainment facilities', | |
'fireplace', | |
'karaoke (facilities)', | |
"kids' menu", | |
'lunch', | |
'no alcohol', | |
'outdoor area', | |
'outdoor dining', | |
'outdoor facilities', | |
'parking (free)', | |
'pinball', | |
'pool table', | |
'private rooms', | |
'restaurant & bar facilities', | |
'restaurant', | |
'rooftop', | |
'terrace/patio', | |
'wheelchair access', | |
'wireless (free)', | |
'al fresco', | |
'birthdays', | |
'business', | |
'celebrations', | |
'cocktails', | |
'dating', | |
'dinner & a show', | |
'fine dining', | |
"girls' night out", | |
'great views', | |
'happy hour', | |
'hen nights', | |
'just opened', | |
'late night', | |
'post-theatre', | |
'pre-theatre', | |
'quirky', | |
'romantic', | |
'speciality beers' | |
) order by FIELD(tags.name,'afternoon tea','byob','bar','breakfast','brunch','cafe','catering','dj (facilities)','dinner','entertainment facilities','fireplace','karaoke (facilities)',"kids' menu",'lunch','no alcohol','outdoor area','outdoor dining','outdoor facilities','parking (free)','pinball','pool table','private rooms','restaurant & bar facilities','restaurant','rooftop','terrace/patio','wheelchair access','wireless (free)','al fresco','birthdays','business','celebrations','cocktails','dating','dinner & a show','fine dining',"girls' night out",'great views','happy hour','hen nights','just opened','late night','post-theatre','pre-theatre','quirky','romantic','speciality beers') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment