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
Brainbout
.
Toggle Highlighting
SQL
-- DESCRIBE enwiki_p.page; /* USE commonswiki_p; SELECT * FROM page WHERE page_title LIKE "%Sally%Field%" LIMIT 1; */ SELECT CONCAT('*{{lf|', REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '), '}}') FROM page JOIN pagelinks ON pl_from = page_id -- INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from JOIN categorylinks ON cl_from = page_id JOIN imagelinks i ON page_title = i.il_to AND (i.il_from_namespace = 0) WHERE cl_to = "American_film_actresses" AND pl_namespace = 0 -- AND pl_title = "American_film_actresses" AND page_namespace = 0 ORDER BY RAND() LIMIT 2;
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...