This query is marked as a draft This query has been published by Mile.Horizon.

SQL

x
 
USE wikidatawiki_p;
SELECT COUNT(*) AS count, ips_site_page AS language
FROM wb_items_per_site
WHERE ips_site_id = 'enwiki' AND ips_item_id IN (
    SELECT ips_item_id FROM wb_items_per_site WHERE ips_site_id = 'enwiki' AND ips_item_id IN (
        SELECT DISTINCT iri FROM wb_property_info WHERE propname = 'P1412'
    )
)
GROUP BY ips_site_page
ORDER BY count DESC
LIMIT 10;
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.

Checking query status...