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
Abhishek15bahrdwaj
.
Toggle Highlighting
SQL
SELECT p.page_title AS article_title, linked_page.page_title AS link_title FROM page AS p JOIN categorylinks AS cl ON p.page_id = cl.cl_from JOIN pagelinks AS pl ON p.page_id = pl.pl_from JOIN page AS linked_page ON pl.pl_target_id = linked_page.page_id WHERE cl.cl_to = 'LGBTQ' -- Replace with the actual category name, if different AND p.page_namespace = 0 -- Only main namespace (articles) AND linked_page.page_namespace = 0; -- Only links to main namespace articles
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...