日期:2014-05-16 浏览次数:20738 次
root@localhost : test 01:14:58>select * from cs; +-------+----------+ | a | b | +-------+----------+ | 123 | 123,234 | | 11 | 12,13,32 | | 54,43 | 54 | +-------+----------+ 3 rows in set (0.00 sec) root@localhost : test 01:15:52>select * from cs where find_in_set(a,b); +------+---------+ | a | b | +------+---------+ | 123 | 123,234 | +------+---------+ 1 row in set (0.00 sec)