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
Arkanosis
.
Toggle Highlighting
SQL
USE frwiki_p; SELECT date, COUNT(time) + 1 AS edit_count, AVG(time) AS average_interval FROM (SELECT DATE(DATE_SUB(rev_timestamp, INTERVAL 10 HOUR)) AS date, TIMESTAMPDIFF(MINUTE, @previous, rev_timestamp) AS time, @previous := rev_timestamp FROM (SELECT @previous := 0) AS _ JOIN revision JOIN page ON page_id = rev_page WHERE page_namespace = 0 AND page_title = 'Insomnie' AND (HOUR(rev_timestamp) > 19 OR HOUR(rev_timestamp) < 5) ORDER BY rev_timestamp) AS deltas WHERE time < 600 GROUP BY date;
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...