cas=(
SELECT CONVERT(DECIMAL(15, 2), sum(somme))
AND CAST(DATEP AS DATE) BETWEEN DATE(YEAR, -1, CAST(@DATED AS DATE))
AND DATEAD(YEAR, -1, CAST(@DAT AS DATE))
GROUP BY etab,
libelle
我想要一个查询不返回空值的解决方案。
![在此处输入图片描述] [1]
答案 0 :(得分:0)
查询工作正常 非常感谢您的帮助