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 commonswiki_p; SELECT * FROM categorylinks AS super JOIN page AS page_super ON page_super.page_id = super.cl_from JOIN categorylinks AS sub ON sub.cl_to = page_super.page_title JOIN page AS page_sub ON page_sub.page_id = sub.cl_from JOIN categorylinks AS files ON files.cl_to = page_sub.page_title WHERE super.cl_to = 'Ships_by_IMO_number' AND super.cl_type = 'subcat' AND sub.cl_type = 'subcat' AND files.cl_type = 'file' LIMIT 1;
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...