You can compare the two dates as simple as follows in different conditions.
Compare the date is above the 2017 November (mont <=12 is used as a safety check, you can ignore that if you can guarantee the month column doesn't contain values greater than 12).
jahr >= 2017 AND monat >= 11 AND mont <=12
else you can use between
jahr >= 2017 AND monat between 11 AND 12
Compare the date is below the 2018 February (mont >= 1 is used as a safety check, you can ignore that if you can guarantee the month column doesn't contain values less than 1).
jahr <= 2018 AND monat >= 1 AND mont <=2
else you can use between
jahr >= 2017 AND monat between 1 AND 2
The Whole condition with simple operators
(jahr >= 2017 AND monat >= 11 AND monat <=12)
AND (jahr <= 2018 AND monat >= 1 AND monat <=2)
With between conditions
(jahr >= 2017 AND monat between 11 AND 12)
AND (jahr >= 2017 AND monat between 1 AND 2)
Following is the exact sql for your problem. All three queries should work for your purpose.
-- With simple operators
SELECT jahr, monat, alles
FROM dbo.table
WHERE (jahr >= 2017 AND monat >= 11 AND monat <=12)
AND (jahr <= 2018 AND monat >= 1 AND monat <=2)
-- With simple operators (Without security boundary checks)
SELECT jahr, monat, alles
FROM dbo.table
WHERE (jahr >= 2017 AND monat >= 11)
AND (jahr <= 2018 AND monat <=2)
-- With between operator
SELECT jahr, monat, alles
FROM dbo.table
WHERE (jahr >= 2017 AND monat between 11 AND 12)
AND (jahr >= 2017 AND monat between 1 AND 2)