摘要: SUBSTRING_INDEX(str,delim,count) Returns the substring from string str before count occurrences of the delimiter delim. If count is positive, everythi 阅读全文
posted @ 2016-11-18 10:16 woqiaoxun 阅读(191) 评论(0) 推荐(0) 编辑
摘要: eg:计划url中有多少个小数点 select length('www.mysql.com')-length(REPLACE('www.mysql.com','.','')); 阅读全文
posted @ 2016-11-18 10:15 woqiaoxun 阅读(1381) 评论(3) 推荐(1) 编辑