SQL - Aggregate Functions
Given a table
Payments with columns UserID, Amount, and PaymentDate, write a query to find the total amount paid by each user in the year 2023.