SQL
AخA
USE frwiki_p;
SELECT
COUNT(*),
SUBSTRING_INDEX(SUBSTRING_INDEX(el_to, '/', 3), '.', -2) AS sito
FROM externallinks, page
WHERE el_from = page_id
AND page_namespace = 0
AND SUBSTRING_INDEX(SUBSTRING_INDEX(el_to, '/', 3), '.', -1) = 'fr'
GROUP BY sito
HAVING COUNT(*) > 10
ORDER BY 1 DESC;
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.