SELECT Statement to pull last 12 months code example Example: sql where last 12 months select Dateadd(Month, -12, GETDATE())