Skip to content

Instantly share code, notes, and snippets.

@fusco
Created November 13, 2011 18:38
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 fusco/1362463 to your computer and use it in GitHub Desktop.
Save fusco/1362463 to your computer and use it in GitHub Desktop.
# Time: 111113 19:34:31
# Query_time: 135.645604 Lock_time: 0.000054 Rows_sent: 2353 Rows_examined: 71471585
SET timestamp=1321209271;
SELECT DISTINCT `id_product`
FROM `ps_search_word` sw
LEFT JOIN `ps_search_index` si ON sw.`id_word` = si.`id_word`
WHERE sw.`id_lang` = 2
AND sw.`word` LIKE 'co%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment