I'm having an issue I'm generating sudoku puzzles and the solution to the puzzle are being stored in this format: xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx xxxxxxxxx
8 spaces between the 9 sets, I cannot seem to query the row, it returns a blank row..
Is this because there is spaces? If I do a select where solution like 'xxxxxxxxx%' then the row returns properly..
Did I just generate 50,000 rows for nothing :( If so how should I fix this spacing problem?
edit here is the query:
select * from sudoktion_puzzles
where
p_solution='582917643 467283195 391546278 159362784
674851329 823794561 216438957 938675412 745129836'