摘要:
-- 按天统计SELECT date_format(send_time,'%Y-%m-%d') as date FROM 表 ORDER BY date;-- 按周统计SELECT date_format(send_time,'%Y-%u') as date FROM 表 ORDER BY date 阅读全文
摘要:
日期函数:date_trunc -- 按小时统计SELECT count(*), DATE_TRUNC('hour', 日期::timestamp)as d FROM 表 GROUP BY d ORDER BY d;--按天统计SELECT count(*), DATE_TRUNC('day', 日 阅读全文
摘要:
jdk11 SonarQube数据库配置(版本8.7.1) # PostgreSQL 9.3 or greater# By default the schema named "public" is used. It can be overridden with the parameter "curr 阅读全文