mysql的LOCATE

https://blog.csdn.net/qq_31424153/article/details/84323961

https://www.jb51.net/article/148028.htm

https://www.fujieace.com/mysql/functions/locate.html

 

SELECT LOCATE('q', 'asqdfasdfser') 返回 3

 SELECT LOCATE('q', 'asqdfasqdfser',4) 返回 8

SELECT * from  mydb.new_name where locate('6', logID)   这句话的意思是 从mydb的new_name表中筛选出logID带6的那一行数据

 

Linux:

https://www.cnblogs.com/xqzt/p/5426666.html

你可能感兴趣的:(locate)