SELECT TOP 100
ChannelID, ContactID, ContactKey, AddressID, IsActive, CreatedDate
FROM _MobileLineAddressContactSubscriptionView
WHERE CreatedDate >= DATEADD(day, -30, GETDATE())
ORDER BY CreatedDate DESC
Valid in Query Studio and Automation Studio Query Activities. GROUP BY is only needed for aggregates; ORDER BY is optional but recommended with TOP so rows are meaningful. Narrow date ranges on large tracking views to avoid timeouts.