开发者

String search in mysqltable using python

开发者 https://www.devze.com 2023-01-09 03:20 出处:网络
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.?

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

精彩评论

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