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
Viswaprabha
.
Toggle Highlighting
SQL
USE mlwiki_p; SET @SNum := 0; SELECT 'ml', @SNum:=@SNum + 1 AS SNum, PageID, WikidataID, Article FROM ( SELECT p.page_id as PageID, p.page_title as Article FROM page p WHERE p.page_id IN ( SELECT page_id FROM page p2 WHERE p2.page_namespace = 0 AND p2.page_title IN ( SELECT page_title FROM page WHERE page_id IN ( SELECT cl_from FROM categorylinks WHERE cl_to LIKE '1%-ൽ_ജനിച്ചവർ' or cl_to LIKE '2%-ൽ_ജനിച്ചവർ' or cl_to LIKE '3%-ൽ_ജനിച്ചവർ' ))) AND p.page_namespace = 0 GROUP BY page_namespace, page_title ) AS t LEFT JOIN (SELECT q.eu_entity_id as WikidataID, q.eu_page_id as QPageID FROM wbc_entity_usage q WHERE q.eu_aspect = 'S' AND q.eu_entity_id LIKE 'Q%') AS q1 ON QPageID = PageID GROUP BY PageID ORDER BY Article ASC ;
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...