Find fields with certain characters

Posted by Kemo on Stack Overflow See other posts from Stack Overflow or by Kemo
Published on 2010-04-19T13:08:02Z Indexed on 2010/04/19 13:13 UTC
Read the original article Hit count: 155

Filed under:

I'm trying to SELECT fields with multiple dots ( . ) in their value.

Exactly, I'm trying to find fields with a subdomain as an entry in domain column, e.g.;

SELECT * FROM domains WHERE ( number of dots in domain value bigger than 1 ).

Any suggestions ?

© Stack Overflow or respective owner

Related posts about mysql