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
Aram
.
Toggle Highlighting
SQL
USE ckbwiki_p; SELECT p.page_title FROM page p LEFT JOIN revision r ON p.page_latest = r.rev_id WHERE p.page_namespace = 0 -- articles only AND p.page_is_redirect = 0 -- exclude redirects AND r.rev_timestamp BETWEEN DATE_SUB(NOW(), INTERVAL 30 DAY) AND NOW() -- last 30 days AND p.page_latest = r.rev_id -- ensure latest revision AND NOT EXISTS (SELECT 1 FROM revision r2 WHERE r2.rev_page = p.page_id AND r2.rev_timestamp > r.rev_timestamp AND r2.rev_text_id != r.rev_text_id AND r2.rev_text LIKE '%<ref%>') -- exclude articles with previous revisions that had references AND r.rev_text LIKE '%<ref%' = 0 -- exclude articles that currently contain <ref> tags
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...