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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE mediawikiwiki_p; #SELECT * FROM recentchanges WHERE rc_namespace = 0 AND rc_title = "Q1227189" AND rc_user_text = "MechQuester" ORDER BY rc_id DESC; SELECT rc_type, MAX(rc_id) AS rc_id FROM recentchanges GROUP BY rc_type; /* SELECT * FROM (SELECT rc_type, MAX(rc_id) AS rc_id FROM recentchanges GROUP BY rc_type) AS src JOIN recentchanges AS rc ON src.rc_id = rc.rc_id; */ SELECT rc_source, MAX(rc_id) AS rc_id FROM recentchanges GROUP BY rc_source; /* SELECT * FROM (SELECT rc_source, MAX(rc_id) AS rc_id FROM recentchanges GROUP BY rc_source) AS src JOIN recentchanges AS rc ON src.rc_id = rc.rc_id;*/
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...