随笔分类 -  数据库

摘要:查询表的SQLselect table_name tableName, engine, table_comment tableComment, create_time createTime from information_schema.tables where table_schema IN( ' 阅读全文
posted @ 2022-07-13 16:35 WPMA 阅读(89) 评论(0) 推荐(0) 编辑
摘要:mysql中find_in_set()函数的使用及in()用法详解 - 服务器之家 (zzvips.com) clickhouse 字符串函数_Lara1111的博客-CSDN博客_clickhouse 字符串 阅读全文
posted @ 2022-07-02 01:52 WPMA 阅读(169) 评论(0) 推荐(0) 编辑
摘要:1:以字段开头模糊查询的like的方法查询 select * from t where t.user_code like 'A%' 2:以字段开头模糊查询的left(字段,长度)的方法查询 select * from t where left(t.user_code, 1)='A'; 3:字符间隔查 阅读全文
posted @ 2022-06-02 16:28 WPMA 阅读(938) 评论(0) 推荐(0) 编辑