SQL
AخA
SET @pattern="Fareed_Ahmed%";
SELECT lt_title, COUNT(*)
FROM linktarget
WHERE lt_namespace=0 AND lt_title LIKE @pattern
AND NOT EXISTS (SELECT 1 FROM page WHERE page_namespace=0 AND page_title=lt_title)
GROUP BY lt_title
ORDER BY lt_title
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.