You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
SELECT TOP (100) PERCENT YEAR(Statusdatum) AS Jahr, Status, SUM(Total) AS Expr1
|
|
FROM dbo.Faktura
|
|
GROUP BY YEAR(Statusdatum), Status
|
|
HAVING (Status <> '9')
|
|
ORDER BY Jahr |