human
Create a database query to calculate the total sales in the past week.
Input:
Table name = sales
gpt
SELECT SUM(amount) as weekly_sales FROM sales WHERE sales_date >= DATEADD(day, -7, GETDATE());
alpaca_gpt4_data_22795