https://meta.stackoverflow.com/q/427414/10871900
Q&A for professional and enthusiast programmers
SELECT Id, DisplayName, CONCAT('https://stackoverflow.com/users/',Id) AS 'user link', CreationDate, (SELECT COUNT(*) FROM Posts p WHERE u.Id = p.OwnerUserId) AS '# posts' --,(SELECT COUNT(*) FROM PostsWithDeleted p WHERE u.Id = p.OwnerUserId) AS '# posts (includes deleted posts)' FROM users u WHERE Location LIKE '%Lovely Professional University%' OR Location LIKE '%LPU%' OR AboutMe LIKE '%Lovely Professional University%' OR AboutMe LIKE '%LPU%' ORDER BY CreationDate DESC