开发者

String search in mysqltable using python

I want to search the matching strings from a mysql table. The search string is not a correct sentence, its only a part of the sentence.Any one can help me.?

Thanks in开发者_如何转开发 advance...

Nimmy


Something like this?

SELECT * FROM table WHERE string LIKE '%substring%'

http://dev.mysql.com/doc/refman/5.0/en/pattern-matching.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜