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
Zdzislaw
.
Toggle Highlighting
SQL
use plwikisource_p; SELECT page_title AS title, page_len AS len, pl_title AS autor, DATE_FORMAT(MAX(rev_timestamp),'%Y-%m-%d') AS ledit_date, DATE_FORMAT(MIN(rev_timestamp),'%Y-%m-%d') AS create_date FROM revision, page LEFT JOIN pagelinks on page_id = pl_from AND pl_namespace = 104 WHERE page_id = rev_page AND page_namespace = 0 AND page_is_redirect = 0 AND page_id NOT IN (SELECT DISTINCT tl_from FROM templatelinks, page WHERE page_id=tl_from AND tl_namespace = 100 AND page_namespace = 0) AND page_id NOT IN (SELECT page_id FROM page, templatelinks WHERE page_id=tl_from AND page_namespace=0 AND tl_namespace=10 AND tl_title='Disambig') GROUP BY title ORDER BY len LIMIT 7000;
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...