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
Elph
.
Toggle Highlighting
SQL
USE arwiki_p; -- Extract articles created on July 13, 2024 WITH created_articles AS ( SELECT p.page_id, p.page_title, p.page_len FROM page p JOIN revision r ON p.page_id = r.rev_page WHERE r.rev_timestamp BETWEEN '20240713000000' AND '20240713235959' AND r.rev_parent_id = 0 AND p.page_namespace = 0 ) -- Extract text and count words SELECT ca.page_title, ca.page_len, LENGTH(t.old_text) - LENGTH(REPLACE(t.old_text, ' ', '')) + 1 AS word_count FROM created_articles ca JOIN text t ON ca.page_id = t.old_id WHERE LENGTH(t.old_text) - LENGTH(REPLACE(t.old_text, ' ', '')) + 1 > 300 ORDER BY word_count DESC;
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...