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
The Polish
.
Toggle Highlighting
SQL
#Resultset_1 ---- all USE plwiki_p; SELECT CONCAT('[[Wikipedysta:', page_title, ']]') AS page_title, page_len, page_is_redirect, rev_timestamp, rev_user_text FROM revision INNER JOIN page ON (revision.rev_page = page.page_id) WHERE page_title LIKE 'Brudnopis_gościnny/%' AND page_namespace = 2 AND page_latest = rev_id ORDER BY rev_timestamp DESC; #Resultset_2 ---- if the last revision timestamp is less than 2017-01-01-00-00-00 USE plwiki_p; SELECT COUNT(page_title) AS old_ones FROM revision INNER JOIN page ON (revision.rev_page = page.page_id) WHERE page_title LIKE 'Brudnopis_gościnny/%' AND page_namespace = 2 AND page_latest = rev_id AND rev_timestamp < 20170101000000 #Resultset_3 ---- USE plwiki_p; SELECT CONCAT('[[Wikipedysta:', page_title, ']]') AS page_title FROM revision INNER JOIN page ON (revision.rev_page = page.page_id) WHERE page_title LIKE 'Brudnopis_gościnny/%' AND page_namespace = 2 AND page_latest = rev_id AND EXISTS (SELECT * FROM page AS p1 WHERE page_title = p1.page_title AND p1.page_namespace = 0)
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...