This query is marked as a draft This query has been published by MPGuy2824.

SQL

AخA
 
SELECT  distinct article.page_title
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
             talk.page_id not in (select distinct cl_from from categorylinks where
                    cl_to in ("WikiProject_Indian_politics_articles")
                                 )
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...