Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
軽快
.
Toggle Highlighting
SQL
use jawiki_p; select wiki, local_article, local_avg_len, global_article, global_avg_len from ( select "ja" as wiki, count(*) as local_article, avg(page_len) as local_avg_len from page where not exists ( select * from langlinks where page_id = ll_from ) and page_namespace = 0 and page_is_redirect = 0 ) as a inner join ( select "ja" as wiki, count(*) as global_article, avg(page_len) as global_avg_len from page where exists ( select * from langlinks where page_id = ll_from ) and page_namespace = 0 and page_is_redirect = 0 ) as b on a.wiki = b.wiki
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...