How about:  WHERE ( field1 LIKE '123,%' OR field1 LIKE '*,123,%' OR
field1 LIKE '%,123' OR field1 = '123' )

Note that this could that a long time on large tables.  You'd be better
off to normalize your tables ;)
How can we normalize the tables? could you explain bit more?


Thanks,
Siva


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to