Fork of
Sample usage of thanks stats
by Framawiki
This query is marked as a draft
This query has been published
by Artbarte.
SQL
x
use enwiki_p;
select COUNT(DISTINCT SUBSTRING_INDEX(page_title, '/', 1))/(select COUNT(DISTINCT SUBSTRING_INDEX(page_title, '/', 1))
from page
where page_namespace=2) * 100 as Percentage
from page
where page_namespace=2 and page_content_model="javascript"
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.