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
Slywriter
.
Toggle Highlighting
SQL
SELECT SUM(CASE WHEN LOWER(page_content) LIKE '%far-right%' THEN 1 ELSE 0 END) AS far_right_count, SUM(CASE WHEN LOWER(page_content) LIKE '%far-left%' THEN 1 ELSE 0 END) AS far_left_count FROM (SELECT p.page_id, p.page_title, CONVERT(p.page_title USING utf8) AS page_content FROM page AS p JOIN categorylinks AS cl ON p.page_id = cl.cl_from WHERE p.page_namespace = 0 AND cl.cl_to = 'American_biographies') AS subquery;
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...