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
Edgars2007
.
Toggle Highlighting
SQL
use lvwiki_p; select page_title, (SELECT count(*) FROM templatelinks WHERE tl_title = page_title AND tl_namespace = 10) as transclusions from page where page_namespace=10 and page_title like "%nfo%" and page_is_redirect=0; SELECT rd_title, rd_namespace, p1.page_title, p1.page_namespace, (SELECT count(*) FROM templatelinks WHERE tl_title = rd_title AND tl_namespace = 10) as transclusions FROM redirect INNER JOIN page p1 ON rd_from=p1.page_id join page p2 on rd_title=p2.page_title and p2.page_namespace=10 and p2.page_title like "%nfo%" and p2.page_is_redirect=0 WHERE #d_title IN ('Basketbolista_infokaste') #nd rd_namespace=10;
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...