05 2018 档案
摘要:首先创建group_concat聚集函数: CREATE AGGREGATE group_concat(anyelement) ( sfunc = array_append, -- 每行的操作函数,将本行append到数组里 stype = anyarray, -- 聚集后返回数组类型 initco
阅读全文
摘要:有个前同事在群里问如何判断是否为同花顺我用javascript的二维数组写了个简易demo。 <!DOCTYPE html> <html> <body> <script> /* 判断是否为顺子 */ function isStraight(arrs) { arrs.sort();//排序 var f
阅读全文