![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
han123__
这个作者很懒,什么都没留下…
展开
-
Docker入门
常用命令原创 2018-09-20 11:13:36 · 164 阅读 · 0 评论 -
求1-1024中的质数
let ll = [2]; let ls = [2]; for(let i=3;i<=1024;i++){ let count = 0; for(let j=2;j<=i-1;j++){ if(i%j==0){ count++; } } if(count==0){ ll.push(i) } } console.log(l...原创 2018-10-24 19:18:59 · 770 阅读 · 0 评论 -
工作中遇到的个人觉得不错的写法大汇总
一、Mysql SELECT GROUP_CONCAT(position_name) position_name FROM ad_position WHERE FIND_IN_SET(pid,'1,2,3');知识点:group_concat 以逗号分隔的方式串联字符串 find_in_set 与 in 的用法基本相同 接受字符串数组。 truncate table 表名 是表的id...原创 2019-01-16 11:58:52 · 321 阅读 · 0 评论