Wypróbuj ten kod: SELECT * FROM table WHERE column REGEXP '^[A-Za-z0-9]+$' Dzięki temu wszystkie znaki pasują do siebie.