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
Smile4ever
.
Toggle Highlighting
SQL
/*SELECT p.page_id, p.page_title, MAX(r.rev_timestamp) AS last_edit FROM page p JOIN revision r ON r.rev_page = p.page_id WHERE p.page_namespace = 0 -- Only include content namespace AND EXISTS ( SELECT 1 FROM externallinks el WHERE el.el_from = p.page_id AND el.el_to_domain_index LIKE '%.archive%' ) AND p.page_title = 'Krukut_(Taman_Sari)' GROUP BY p.page_id HAVING last_edit < DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 5 YEAR), '%Y%m%d%H%i%s') ORDER BY RAND() LIMIT 1000; -- Adjust limit as needed SELECT * FROM externallinks el WHERE el.el_from = p.page_id AND el.el_to_domain_index LIKE '%.archive%'*/ SELECT p.page_id, p.page_title FROM page p WHERE p.page_title = 'Krukut_(Taman_Sari)'
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...