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
MPGuy2824
.
Toggle Highlighting
SQL
SELECT COALESCE(talkC.cl_to, 'Total') as 'Assessment Rating', count(*) as amt, article.page_title as 'example page' FROM page AS article join page as talk on talk.page_namespace=1 and talk.page_title=article.page_title join categorylinks as articleC on articleC.cl_from=article.page_id join categorylinks as talkC on talkC.cl_from=talk.page_id WHERE article.page_is_redirect=0 AND article.page_namespace=0 and (articleC.cl_to="Constituencies_of_the_Lok_Sabha" OR articleC.cl_to like "Assembly_constituencies_of_%" OR articleC.cl_to like "Lok_Sabha_constituencies_in_%") and talkC.cl_to like "%-importance_Indian_politics_articles" group by talkC.cl_to WITH ROLLUP
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...