Following are the complete Query to this question:
SELECT DATEPART(week, created_at) AS Week, Sum(revenue) AS Revenue FROM country WHERE '20180101' <= created_at AND created_at < '20190101' GROUP BY DATEPART(week, created_at) ORDER BY DATEPART(week, created_at);
Learn more:
brainly.com/question/22044117
brainly.com/question/11771506