摘要:
sql 逐行累加,包括当前行 select name,sl, sum(sl) over(partition by name order by name rows between unbounded preceding and current row) as accumulate from test; 阅读全文
摘要:
一、前置条件-文本类字段 1.文本类字段设置前置条件一定要用三段式:前端看到文本类字段为空,数据库里有时储存的是一个空格符 ①文本不为空:文本<>null and 文本<> '' and 文本<> ' ' ②文本为空:文本==null Or 文本=='' Or 文本==' ' 2.判断文本是否包含某 阅读全文