Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Malayalam Wikipedia Articles without images
by
Gnoeee
This query is marked as a draft
This query has been published
by
Gnoeee
.
Toggle Highlighting
SQL
SET @page_title = 'Buon_Natale'; WITH latest_revision_per_image AS ( SELECT il.il_to AS added_image, MAX(rev.rev_id) AS latest_rev_id FROM revision rev JOIN page p ON rev.rev_page = p.page_id JOIN imagelinks il ON rev.rev_page = il.il_from WHERE p.page_title = @page_title AND p.page_namespace = 0 GROUP BY il.il_to ) SELECT lr.added_image, rev.rev_id, rev.rev_timestamp, u.user_name FROM latest_revision_per_image lr JOIN revision rev ON lr.latest_rev_id = rev.rev_id JOIN imagelinks il ON rev.rev_page = il.il_from JOIN ( SELECT DISTINCT rev_page, rev_actor, rev_timestamp FROM revision ) rev_distinct ON rev_distinct.rev_page = rev.rev_page JOIN user u ON rev_distinct.rev_actor = u.user_id ORDER BY rev.rev_timestamp 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...