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

SQL

x
 
Number of articles in a category 
USE knwiki_p;
SELECT page_id, page_title, page_is_new,page_latest, page_len, page_is_redirect,page_namespace,    page_restrictions,    page_counter, page_touched, page_links_updated,    page_no_title_convert    
FROM page AS 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 = "WikiProject Pharmacology 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...