I'm trying to make an android game having all single English word. and I successfully made with minimal time.
So my problem is how to match my input random letters to match a word.
for example my characters are 'A','B','C','O','U','P';
so I want the result of this words Ab, Cop, Cap, Bap, Bop, Cup
I already try this example
SELECT *FROM
TABLE_NAME
WHERE COLUMN_NAME LIKE '%A%'
AND COLUMN_NAME LIKE '%B%'
AND COLUMN_NAME LIKE '%C%' ...etc AND
WORD_LEN <=6
I ADD A COLUMN WORD_LEN TO MINIMIZE THE RESULT
BUT IT SHOW ME A WRONG RESULT