I obtained some scrabble dictionary databases today. I want to make a search engine that lets the users search for words to make with their letters. This sounds simple, but I found that its not. I'm trying to develop a function that makes every combination of letters possible from the letters input by the users. This also includes blanks. My question is would it be a pain for SQL to do a query with like 10000 items in the WHERE clause?