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
Chaduvari
.
Toggle Highlighting
SQL
USE tewiki_p; set @allNewPages = (select count(substr(rev_timestamp,1,8)) as All_NS_new_pages) from page,revision where page_id=rev_page and substr(rev_timestamp,1,6)="202101" and rev_parent_id=0 and page_is_redirect=0 group by substr(rev_timestamp,1,8); set @NS0NewPages = select count(substr(rev_timestamp,1,8)) as mainspace_new_pages from page,revision where page_id=rev_page and substr(rev_timestamp,1,6)="202101" and page_namespace=0 and rev_parent_id=0 and page_is_redirect=0 group by substr(rev_timestamp,1,8); show @allNewPages,@NS0NewPages
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...