SELECT 'day',DATEADD(day,-7,GETDATE())
参考微软:https://docs.microsoft.com/zh-cn/sql/t-sql/functions/dateadd-transact-sql?redirectedfrom=MSDN&view=sql-server-ver15