A
afatdog
SELECT
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD'), <<-- here!
SUM(T_YZ_JYJL.JYSL) AS JYSL
FROM
T_YZ_JYJL
WHERE
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD') = '2004-01-05'
GROUP BY
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD') <<-- here!
ORDER BY
T_YZ_JYJL.JYSJ
Where is wrong?
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD'), <<-- here!
SUM(T_YZ_JYJL.JYSL) AS JYSL
FROM
T_YZ_JYJL
WHERE
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD') = '2004-01-05'
GROUP BY
FORMAT(T_YZ_JYJL.JYSJ, 'YYYY-MM-DD') <<-- here!
ORDER BY
T_YZ_JYJL.JYSJ
Where is wrong?