instruction: Unanswered questions older than 30 days with score greater than 4.
response: SELECT Posts.CreationDate, Posts.Id AS "post_link", Posts.OwnerUserId AS "user_link", Posts.Score FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE Posts.PostTypeId = 1 AND Posts.ClosedDate IS NULL AND Posts.CreationDate < DATEADD(DAY, -30, GETDATE()) AND Posts.Score > 4 AND Posts.Id NOT IN (SELECT DISTINCT ParentId FROM Posts WHERE NOT ParentId IS NULL) AND Tags.TagName = @TagName ORDER BY Posts.Score DESC