Skip to content

Instantly share code, notes, and snippets.

@goldalworming
Created October 29, 2014 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldalworming/ece8ccec118184231b3d to your computer and use it in GitHub Desktop.
Save goldalworming/ece8ccec118184231b3d to your computer and use it in GitHub Desktop.
schemaless
https://plus.google.com/103477952788636904712/posts/JetPwDUPiyC?pid=5849620255008294978&oid=103477952788636904712
select rel_id from
(
select rel_id,count(rel_id) as id_count from keyword as b
where find_in_set(b.keyword,"komputer,laptop,intel")
group by rel_id
) as a where id_count = 3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment