Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • SQL has a WHERE clause. That should do it for you with the SQL query already. Commented Nov 18, 2011 at 14:11
  • Yeah but then I'd have to do 4 queries to keep each keyword covered - seems overloaded. Is that the only way ? Commented Nov 18, 2011 at 14:12
  • 1
    No you can use logical operators or the IN function to do that with one query. Additionally there are aggregate functions (GROUP BY). Commented Nov 18, 2011 at 14:15