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
Gopavasanth
.
Toggle Highlighting
SQL
SELECT CASE WHEN rev_timestamp >= DATE_SUB(CURRENT_DATE, INTERVAL 3 MONTH) THEN 'Last 3 months' WHEN rev_timestamp >= DATE_SUB(CURRENT_DATE, INTERVAL 6 MONTH) THEN 'Last 6 months' WHEN rev_timestamp >= DATE_SUB(CURRENT_DATE, INTERVAL 12 MONTH) THEN 'Last 12 months' ELSE 'Last 24 months' END AS time_period, COUNT(rev_id) AS edit_count FROM revision JOIN page ON page.page_id = revision.rev_page WHERE page.page_title = 'రచ్చబండ' AND page.page_namespace = 4 AND rev_timestamp >= DATE_SUB(CURRENT_DATE, INTERVAL 24 MONTH) GROUP BY time_period ORDER BY time_period;
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...