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
AgarwalMahima
.
Toggle Highlighting
SQL
SELECT page_title, CONCAT(LEFT(rev_timestamp, 4), '-', SUBSTRING(rev_timestamp, 5, 2), '-', SUBSTRING(rev_timestamp, 7, 2)) AS creation_date, CONCAT(LEFT(MAX(revision.rev_timestamp), 4), '-', SUBSTRING(MAX(revision.rev_timestamp), 5, 2), '-', SUBSTRING(MAX(revision.rev_timestamp), 7, 2)) AS last_edit_date, COUNT(revision.rev_id) AS total_edits FROM categorylinks JOIN page ON page_id = cl_from JOIN revision ON page_id = rev_page WHERE cl_to = 'Inactive_WikiProjects' AND page_namespace = 4 AND rev_parent_id = 0 GROUP BY page_id;
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...