Como obter registros que contêm caracteres alfanuméricos + espaços em branco
Como obter registros que contêm caracteres alfanuméricos + espaços em branco.OU Caractere numérico único na lista no nome.
ou seja, homem-aranha 1, abc12 parte1
O que eu fiz.:
select * from table t where t.name REGEXP '^[A-Za-z0-9]+mas fornece apenas registros que não possuem espaço em branco: ou seja, abc123
então eu também tentei
select * from table t where t.name REGEXP '^[A-Za-z0-9 ]+Agora, ele me fornece alguns registros que não contêm caracteres numéricos. ou seja, abcdefg hij
mas fornece apenas registros que não possuem espaço em branco: ou seja, abc123
então eu também tentei
select * from table t where t.name REGEXP '^[A-Za-z0-9 ]+$'
Agora, ele me fornece alguns registros que não contêm caracteres numéricos. ou seja, abcdefg hij
Agora, ele me fornece alguns registros que não contêm caracteres numéricos. ou seja, abcdefg hij
mas fornece apenas registros que não possuem espaço em branco: ou seja, abc123
então eu também tentei
select * from table t where t.name REGEXP '^[A-Za-z0-9 ]+$'
Agora, ele me fornece alguns registros que não contêm caracteres numéricos. ou seja, abcdefg hij