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
Saileshpat
.
Toggle Highlighting
SQL
use orwiki_p; SELECT LEFT(log_timestamp, 6) as month, COUNT(*) FROM logging WHERE log_type="thanks" GROUP BY month; SELECT count(page_title) FROM page LEFT JOIN categorylinks ON cl_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND cl_from IS NULL; SELECT count(page_title) FROM page LEFT JOIN pagelinks ON pl_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND pl_from IS NULL; SELECT count(page_title) FROM page LEFT JOIN imagelinks ON il_from=page_id WHERE page_namespace=0 AND page_is_redirect=0 AND page_len > 4000 AND il_from IS NULL; select count(page_id) from page where page_namespace = 0 and page_is_redirect = 0 and page_len < 2048; select count(page_id) from page where page_namespace = 0 and page_is_redirect = 0; select count(page_id) from page where page_namespace = 0 and page_is_redirect = 0 and page_len < 6144;
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...