摘要:
计算每个分组的数量 select parent_dict_code,count(*) from tb_data_dict group by rollup(parent_dict_code) ; 计算占比,注意要*1.0,否则仍为整型,全为0 select parent_dict_code,count 阅读全文
摘要:
explain(ANALYZE,VERBOSE,BUFFERS) select c.* from tb_classification c left join tb_operate_log o on c.id=o.object_id where 1=1 and c.parent_code = 'roo 阅读全文
摘要:
先下载编译sqlite3 wget http://www.sqlite.org/sqlite-3.5.6.tar.gz cd sqlite-3.5.6 ./configure --disable-tcl make && make install 注意add LIBDIR to the ‘LD_LIB 阅读全文
摘要:
接口请求时,报错Property [renew] not found. Using default value [false] 返回: There was an unexpected error (type=Not Found, status=404). 有两种可能: 1、添加扫描路径 使用base 阅读全文